@riverbankcms/sdk 0.130.0 → 0.130.2
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/CHANGELOG.md +85 -0
- package/README.md +1 -1
- package/dist/{PreviewEditorSidebar-DiEpbOdw.mjs → PreviewEditorSidebar-BY-1QdE2.mjs} +18 -15
- package/dist/{PreviewEditorUI-C6MvxnIa.mjs → PreviewEditorUI-BS34jI9_.mjs} +3 -3
- package/dist/{PreviewQueryProvider-C2rnoPz6.mjs → PreviewQueryProvider-BD0kOjtI.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-DRXA_m5L.mjs → SdkPreviewModeRuntime-B1pWnhu-.mjs} +48 -21
- package/dist/{SiteChromeCustomizeContext-BTHdv5_-.mjs → SiteChromeCustomizeContext-BhUG_72i.mjs} +6180 -5076
- package/dist/_dts/ai/src/contracts/proposals.d.ts +309 -32
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +969 -112
- package/dist/_dts/api/src/accountApi.d.ts +213 -0
- package/dist/_dts/api/src/accountEndpointDefinitions.d.ts +30 -0
- package/dist/_dts/api/src/accountEndpoints.d.ts +254 -0
- package/dist/_dts/api/src/apiCallParams.d.ts +60 -0
- package/dist/_dts/api/src/bookingConfig.d.ts +10 -20
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -5
- package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +15 -0
- package/dist/_dts/api/src/bookingSettingsSections.d.ts +9 -0
- package/dist/_dts/api/src/bookingVerticals.d.ts +2 -2
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +2 -0
- package/dist/_dts/api/src/endpoints.d.ts +1253 -1209
- package/dist/_dts/api/src/event-destination-policy.d.ts +1 -1
- package/dist/_dts/api/src/eventManagementContracts.d.ts +83 -7
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +26 -0
- package/dist/_dts/api/src/eventSeriesPresentationPreset.d.ts +12 -0
- package/dist/_dts/api/src/index.d.ts +11 -3
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -0
- package/dist/_dts/api/src/oauth.d.ts +8 -0
- package/dist/_dts/api/src/preview-auth.d.ts +26 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +5 -5
- package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +0 -1
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +2 -0
- package/dist/_dts/api/src/sdkBlockUpsertContracts.d.ts +48 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +5 -13
- package/dist/_dts/api/src/sdkEventCategoryContracts.d.ts +9 -0
- package/dist/_dts/api/src/sdkThemeWire.d.ts +40 -8
- package/dist/_dts/api/src/settings/permissions.d.ts +2 -2
- package/dist/_dts/api/src/siteApiKeyEndpointDefinitions.d.ts +66 -0
- package/dist/_dts/api/src/siteInfrastructure.d.ts +3 -3
- package/dist/_dts/api/src/siteOperations.d.ts +1 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +12 -4
- package/dist/_dts/api/src/types.d.ts +7 -59
- package/dist/_dts/block-form/src/client/index.d.ts +15 -23
- package/dist/_dts/block-form/src/index.d.ts +23 -22
- package/dist/_dts/blocks/src/primitives/layout/Grid.d.ts +18 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +61 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +24 -22
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +25 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +7 -30
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +4 -63
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +1 -3
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +13 -1
- package/dist/_dts/blocks/src/system/fields/gridLayout.d.ts +20 -0
- package/dist/_dts/blocks/src/system/node/fragments/classNameBinding.d.ts +6 -1
- package/dist/_dts/blocks/src/system/node/fragments/styledCard.d.ts +31 -0
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +24 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.validationErrors.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.planning.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/FeedbackMessage.d.ts +17 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/spacing.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/boxStyleClassNames.d.ts +90 -0
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +4 -0
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +26 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +4 -37
- package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +2 -2
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +6 -6
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +6 -6
- package/dist/_dts/core/src/branded.d.ts +4 -0
- package/dist/_dts/core/src/event-page-surface-subject.d.ts +25 -4
- package/dist/_dts/core/src/index.d.ts +3 -0
- package/dist/_dts/core/src/public-event-booking-availability.d.ts +8 -0
- package/dist/_dts/core/src/secret.d.ts +44 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +341 -0
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockValidationManifests.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/preparedManifest.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/blockPayload.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonVariantField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/index.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeSelectField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/index.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/inline-text/InlineTextField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewGroupOrderField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewSiteFontStorageContext.d.ts +6 -0
- package/dist/_dts/preview-next/src/client/preview/siteFontPreview.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/sdk/contentStorage.d.ts +10 -0
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +1 -1
- package/dist/_dts/preview-next/src/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/keepAlive.d.ts +3 -5
- package/dist/_dts/preview-next/src/refresh-contract.d.ts +1 -0
- package/dist/_dts/preview-next/src/route-contract.d.ts +7 -0
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +61 -39
- package/dist/_dts/sdk/src/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +9 -1
- package/dist/_dts/sdk/src/theme-bridge/types.d.ts +4 -2
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/cards/core.d.ts +54 -10
- package/dist/_dts/theme-core/src/cards/decorations.d.ts +33 -0
- package/dist/_dts/theme-core/src/cards/generateDefaultCardSystem.d.ts +7 -2
- package/dist/_dts/theme-core/src/cards/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/cards/openCardVariant.d.ts +24 -0
- package/dist/_dts/theme-core/src/cards/roles.d.ts +38 -0
- package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +53 -8
- package/dist/_dts/theme-core/src/cards/types.d.ts +489 -21
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/legacyHeaderVariant.d.ts +59 -0
- package/dist/_dts/theme-core/src/header/paintTargets.d.ts +2 -2
- package/dist/_dts/theme-core/src/header/scrollTreatment.d.ts +3 -2
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +12 -135
- package/dist/_dts/theme-core/src/palette/utils/contrast.d.ts +1 -0
- package/dist/_dts/theme-core/src/palette/utils/opaqueSurfaceColor.d.ts +6 -0
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +301 -94
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +84 -102
- package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +12 -1
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +9 -4
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +0 -20
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +84 -102
- package/dist/_dts/theme-core/src/site-styles/cardRoleVocabulary.d.ts +48 -0
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +21 -385
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +10 -18
- package/dist/_dts/theme-core/src/site-styles/headerLayoutTypes.d.ts +2 -4
- package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +2 -9
- package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +0 -2
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +5 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignAppearanceAvailability.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorCapabilities.d.ts +22 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +9 -8
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntentEquality.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/previewRuntimeCapabilities.d.ts +19 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +9 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +1 -62
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +13 -12
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +50 -39
- package/dist/_dts/theme-core/src/siteChromePlanning.d.ts +9 -9
- package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +1 -0
- package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +39 -0
- package/dist/_dts/ui/src/navigation-tabs.d.ts +3 -2
- package/dist/client/{CourseRegistrationWizard-Bvtz9G9g.mjs → CourseRegistrationWizard-DGW9F0SQ.mjs} +7 -7
- package/dist/client/{DiscountCodeDisclosure-Ur-Xx1U_.mjs → DiscountCodeDisclosure-BPZ-yfGI.mjs} +1 -1
- package/dist/client/{EventCombined.client-EhscD4U6.mjs → EventCombined.client-Cjt3kKYR.mjs} +4 -4
- package/dist/client/{EventListing.client-Bn26cFTY.mjs → EventListing.client-DY9dn6Fh.mjs} +2 -2
- package/dist/client/{FeedbackMessage-ByMrs3cr.mjs → FeedbackMessage-CtLvvS_d.mjs} +15 -3
- package/dist/client/{LeafletStaticMap-BUw9Ntzr.mjs → LeafletStaticMap--2c61XYn.mjs} +1 -1
- package/dist/client/{StepIndicator-BfbdiVQI.mjs → StepIndicator-CLjQhkDb.mjs} +3 -3
- package/dist/client/{accordion-CjIeof73.mjs → accordion-_boYwHHi.mjs} +1 -1
- package/dist/client/{bookingForm-DwEeovf_.mjs → bookingForm--AqEfyBX.mjs} +56 -39
- package/dist/client/bookings.mjs +393 -192
- package/dist/client/{carousel-BMrfgOba.mjs → carousel-CVI2dqZr.mjs} +2 -2
- package/dist/client/{carousel.client-CpwTUhIo.mjs → carousel.client-59G_WMr4.mjs} +1 -1
- package/dist/client/{cart-rXEdxTdb.mjs → cart-DR6IiPz9.mjs} +3 -3
- package/dist/client/{checkout-D3JlSzh3.mjs → checkout-CsrGAfQt.mjs} +3 -3
- package/dist/client/client.mjs +4524 -3512
- package/dist/client/{colorStyles-BWpj_h4C.mjs → colorStyles-CrxJrPjJ.mjs} +277 -1
- package/dist/client/{context-CJz1Vlsz.mjs → context-B83PiNzm.mjs} +6 -21
- package/dist/client/{courseRegistration-DO5XvMAA.mjs → courseRegistration-aNJVaLa3.mjs} +3 -3
- package/dist/client/{eventCalendar-DO6rTqCn.mjs → eventCalendar-OZ7h59VN.mjs} +6 -6
- package/dist/client/{eventCombined-bJ3i_ovU.mjs → eventCombined-BbJ6bFKz.mjs} +3 -3
- package/dist/client/{eventDetails-CCbrXE7o.mjs → eventDetails-BLyUBiCT.mjs} +3 -3
- package/dist/client/{eventListing-Bdlt9YTm.mjs → eventListing-DuP1yhBS.mjs} +3 -3
- package/dist/client/{eventRegistration-B02lt6iY.mjs → eventRegistration-BXyECPa-.mjs} +11 -12
- package/dist/client/{form-DrUBAAox.mjs → form-BA4t3kKU.mjs} +4 -4
- package/dist/client/{headerSection-MzqvHL6T.mjs → headerSection-CpNaJxhW.mjs} +2 -2
- package/dist/client/hooks.mjs +1967 -2059
- package/dist/client/{locationMap-DG8BxTBm.mjs → locationMap-3HGMCL7_.mjs} +3 -3
- package/dist/client/{media-CNE1Z-wb.mjs → media-BOHuueS5.mjs} +16 -4
- package/dist/client/{newsletterForm-BzO-Td3p.mjs → newsletterForm-C2s6Mw67.mjs} +4 -4
- package/dist/client/{pricing-NgK7ozkg.mjs → pricing-BiqIMgZk.mjs} +1 -1
- package/dist/client/{productDetail-CfQ7rhVK.mjs → productDetail-C9joWhdE.mjs} +3 -3
- package/dist/client/{productList-C23rOLUi.mjs → productList-CjzdU3pB.mjs} +3 -3
- package/dist/client/{propsDecoder-CAZdhwjs.mjs → propsDecoder-CBPGXEYX.mjs} +395 -402
- package/dist/client/rendering/client.mjs +2004 -2856
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +4605 -3496
- package/dist/client/{scrollToBlock-DSSqVQr1.mjs → scrollToBlock-DZ73aEX6.mjs} +1 -1
- package/dist/client/{shop-BMToKLK7.mjs → shop-CQRai7hj.mjs} +7 -7
- package/dist/client/{shop-commerce-DB4JRKmp.mjs → shop-commerce-hP9UboOx.mjs} +8 -8
- package/dist/client/{shop-commerce-store-BOqSIOuc.mjs → shop-commerce-store-DiD5a32e.mjs} +1 -1
- package/dist/client/{shopShared-B6SK9DZv.mjs → shopShared-DP8DXTkF.mjs} +5 -5
- package/dist/client/{useEventFilters-CULOa4nB.mjs → useEventFilters-pF_OJNQP.mjs} +137 -81
- package/dist/client/{usePolling-BGG_8-jl.mjs → usePolling-Cls91SD2.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +192 -108
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +7406 -29
- package/dist/preview-next/middleware.mjs +186 -107
- package/dist/{previewAuthStore-_GXFRg2W.mjs → previewAuthStore-CX1C_KJ4.mjs} +185 -107
- package/dist/{sdk-runtime-hhSOMShR.mjs → sdk-runtime-5CcPAI14.mjs} +2 -2
- package/dist/{separator-flRaFc14.mjs → separator-BXlYN_gr.mjs} +1 -1
- package/dist/server/components.mjs +6363 -4998
- package/dist/server/config-validation.mjs +1967 -2059
- package/dist/server/config.mjs +1967 -2059
- package/dist/server/data.mjs +1967 -2059
- package/dist/server/index.mjs +186 -108
- package/dist/server/next.mjs +6553 -5285
- package/dist/server/page-converter.mjs +1031 -1844
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +3352 -3006
- package/dist/server/rendering.mjs +6289 -4924
- package/dist/server/routing.mjs +1906 -1036
- package/dist/server/server.mjs +1976 -2165
- package/dist/server/theme-bridge.mjs +949 -670
- package/dist/server/theme.mjs +252 -51
- package/dist/styles/index.css +295 -334
- package/package.json +3 -2
- package/dist/_dts/block-form/src/client/blockDraftSaveability.d.ts +0 -1
- package/dist/_dts/block-form/src/widgets/index.d.ts +0 -20
- package/dist/_dts/blocks/src/system/runtime/api/requestBody.d.ts +0 -7
- package/dist/client/clsx-DgIEfj3H.mjs +0 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const blockAppearancePresets: readonly [{
|
|
1
|
+
export declare const blockAppearancePresets: readonly [import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
2
2
|
readonly id: "hero-immersive-image";
|
|
3
3
|
readonly target: "hero";
|
|
4
4
|
readonly label: "Immersive image hero";
|
|
@@ -20,7 +20,6 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
20
20
|
readonly contentFrame: {
|
|
21
21
|
readonly kind: "plain";
|
|
22
22
|
};
|
|
23
|
-
readonly itemSurface: "none";
|
|
24
23
|
readonly sectionHeight: "hero";
|
|
25
24
|
readonly heroComposition: "center";
|
|
26
25
|
readonly heroTypographyScale: "display";
|
|
@@ -28,7 +27,7 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
28
27
|
readonly kind: "neutral-wash";
|
|
29
28
|
};
|
|
30
29
|
};
|
|
31
|
-
}
|
|
30
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
32
31
|
readonly id: "hero-bottom-left-panel";
|
|
33
32
|
readonly target: "hero";
|
|
34
33
|
readonly label: "Bottom-left panel hero";
|
|
@@ -76,7 +75,6 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
76
75
|
kind: "panel";
|
|
77
76
|
treatment: "raised";
|
|
78
77
|
}>;
|
|
79
|
-
readonly itemSurface: "none";
|
|
80
78
|
readonly sectionHeight: "immersive";
|
|
81
79
|
readonly heroComposition: "bottom-left";
|
|
82
80
|
readonly heroTypographyScale: "display";
|
|
@@ -85,7 +83,7 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
85
83
|
readonly intensity: "balanced";
|
|
86
84
|
};
|
|
87
85
|
};
|
|
88
|
-
}
|
|
86
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
89
87
|
readonly id: "hero-poster-image";
|
|
90
88
|
readonly target: "hero";
|
|
91
89
|
readonly label: "Poster image hero";
|
|
@@ -107,7 +105,6 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
107
105
|
readonly contentFrame: {
|
|
108
106
|
readonly kind: "plain";
|
|
109
107
|
};
|
|
110
|
-
readonly itemSurface: "none";
|
|
111
108
|
readonly sectionHeight: "immersive";
|
|
112
109
|
readonly heroComposition: "center";
|
|
113
110
|
readonly heroTypographyScale: "poster";
|
|
@@ -117,7 +114,7 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
117
114
|
readonly intensity: "strong";
|
|
118
115
|
};
|
|
119
116
|
};
|
|
120
|
-
}
|
|
117
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
121
118
|
readonly id: "hero-brand-scrim";
|
|
122
119
|
readonly target: "hero";
|
|
123
120
|
readonly label: "Brand scrim image hero";
|
|
@@ -161,7 +158,6 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
161
158
|
readonly contentFrame: {
|
|
162
159
|
readonly kind: "plain";
|
|
163
160
|
};
|
|
164
|
-
readonly itemSurface: "none";
|
|
165
161
|
readonly sectionHeight: "immersive";
|
|
166
162
|
readonly heroComposition: "center";
|
|
167
163
|
readonly heroTypographyScale: "display";
|
|
@@ -170,7 +166,7 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
170
166
|
readonly token: "primary";
|
|
171
167
|
};
|
|
172
168
|
};
|
|
173
|
-
}
|
|
169
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
174
170
|
readonly id: "hero-brand-scrim-fixed-frame";
|
|
175
171
|
readonly target: "hero";
|
|
176
172
|
readonly label: "Fixed-frame brand scrim hero";
|
|
@@ -214,7 +210,6 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
214
210
|
readonly contentFrame: {
|
|
215
211
|
readonly kind: "plain";
|
|
216
212
|
};
|
|
217
|
-
readonly itemSurface: "none";
|
|
218
213
|
readonly sectionHeight: "immersive";
|
|
219
214
|
readonly heroComposition: "center";
|
|
220
215
|
readonly heroTypographyScale: "display";
|
|
@@ -225,7 +220,7 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
225
220
|
readonly imageSurfaceMotion: "fixed-frame";
|
|
226
221
|
readonly eyebrowTreatment: "accent-pill-bounce";
|
|
227
222
|
};
|
|
228
|
-
}
|
|
223
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
229
224
|
readonly id: "hero-brand-depth-expressive";
|
|
230
225
|
readonly target: "hero";
|
|
231
226
|
readonly label: "Expressive brand-depth hero";
|
|
@@ -238,12 +233,11 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
238
233
|
readonly contentFrame: {
|
|
239
234
|
readonly kind: "plain";
|
|
240
235
|
};
|
|
241
|
-
readonly itemSurface: "none";
|
|
242
236
|
readonly heroComposition: "center";
|
|
243
237
|
readonly heroTypographyScale: "editorial";
|
|
244
238
|
readonly eyebrowTreatment: "accent-pill-bounce";
|
|
245
239
|
};
|
|
246
|
-
}
|
|
240
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
247
241
|
readonly id: "hero-contained-intro";
|
|
248
242
|
readonly target: "hero";
|
|
249
243
|
readonly label: "Contained intro hero";
|
|
@@ -254,11 +248,10 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
254
248
|
kind: "panel";
|
|
255
249
|
treatment: "inset";
|
|
256
250
|
}>;
|
|
257
|
-
readonly itemSurface: "none";
|
|
258
251
|
readonly heroComposition: "center";
|
|
259
252
|
readonly heroTypographyScale: "editorial";
|
|
260
253
|
};
|
|
261
|
-
}
|
|
254
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
262
255
|
readonly id: "hero-split-editorial";
|
|
263
256
|
readonly target: "hero";
|
|
264
257
|
readonly label: "Editorial split hero";
|
|
@@ -271,10 +264,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
271
264
|
readonly contentFrame: {
|
|
272
265
|
readonly kind: "plain";
|
|
273
266
|
};
|
|
274
|
-
readonly itemSurface: "none";
|
|
275
267
|
readonly heroTypographyScale: "editorial";
|
|
276
268
|
};
|
|
277
|
-
}
|
|
269
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
278
270
|
readonly id: "hero-split-brand";
|
|
279
271
|
readonly target: "hero";
|
|
280
272
|
readonly label: "Brand split hero";
|
|
@@ -287,11 +279,10 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
287
279
|
readonly contentFrame: {
|
|
288
280
|
readonly kind: "plain";
|
|
289
281
|
};
|
|
290
|
-
readonly itemSurface: "none";
|
|
291
282
|
readonly heroTypographyScale: "display";
|
|
292
283
|
readonly eyebrowTreatment: "accent-pill-bounce";
|
|
293
284
|
};
|
|
294
|
-
}
|
|
285
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
295
286
|
readonly id: "hero-split-soft-panel";
|
|
296
287
|
readonly target: "hero";
|
|
297
288
|
readonly label: "Soft panel split hero";
|
|
@@ -305,10 +296,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
305
296
|
kind: "panel";
|
|
306
297
|
treatment: "raised";
|
|
307
298
|
}>;
|
|
308
|
-
readonly itemSurface: "none";
|
|
309
299
|
readonly heroTypographyScale: "editorial";
|
|
310
300
|
};
|
|
311
|
-
}
|
|
301
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
312
302
|
readonly id: "hero-split-accent";
|
|
313
303
|
readonly target: "hero";
|
|
314
304
|
readonly label: "Accent split hero";
|
|
@@ -322,10 +312,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
322
312
|
kind: "panel";
|
|
323
313
|
treatment: "raised";
|
|
324
314
|
}>;
|
|
325
|
-
readonly itemSurface: "none";
|
|
326
315
|
readonly heroTypographyScale: "display";
|
|
327
316
|
};
|
|
328
|
-
}
|
|
317
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
329
318
|
readonly id: "intro-editorial-statement";
|
|
330
319
|
readonly target: "intro";
|
|
331
320
|
readonly label: "Editorial intro statement";
|
|
@@ -338,13 +327,12 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
338
327
|
readonly contentFrame: {
|
|
339
328
|
readonly kind: "plain";
|
|
340
329
|
};
|
|
341
|
-
readonly itemSurface: "none";
|
|
342
330
|
readonly composition: {
|
|
343
331
|
readonly kind: "intro";
|
|
344
332
|
readonly treatment: "editorial-statement";
|
|
345
333
|
};
|
|
346
334
|
};
|
|
347
|
-
}
|
|
335
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
348
336
|
readonly id: "intro-portrait-bio";
|
|
349
337
|
readonly target: "intro";
|
|
350
338
|
readonly label: "Portrait and bio";
|
|
@@ -357,13 +345,12 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
357
345
|
readonly contentFrame: {
|
|
358
346
|
readonly kind: "plain";
|
|
359
347
|
};
|
|
360
|
-
readonly itemSurface: "none";
|
|
361
348
|
readonly composition: {
|
|
362
349
|
readonly kind: "intro";
|
|
363
350
|
readonly treatment: "portrait-bio";
|
|
364
351
|
};
|
|
365
352
|
};
|
|
366
|
-
}
|
|
353
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
367
354
|
readonly id: "offerings-preview-default-cards";
|
|
368
355
|
readonly target: "offerings";
|
|
369
356
|
readonly label: "Default offering cards";
|
|
@@ -373,9 +360,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
373
360
|
readonly contentFrame: {
|
|
374
361
|
readonly kind: "plain";
|
|
375
362
|
};
|
|
376
|
-
readonly
|
|
363
|
+
readonly cardRole: "default";
|
|
377
364
|
};
|
|
378
|
-
}
|
|
365
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
379
366
|
readonly id: "offerings-preview-secondary-cards";
|
|
380
367
|
readonly target: "offerings";
|
|
381
368
|
readonly label: "Secondary offering cards";
|
|
@@ -385,9 +372,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
385
372
|
readonly contentFrame: {
|
|
386
373
|
readonly kind: "plain";
|
|
387
374
|
};
|
|
388
|
-
readonly
|
|
375
|
+
readonly cardRole: "alternative";
|
|
389
376
|
};
|
|
390
|
-
}
|
|
377
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
391
378
|
readonly id: "offerings-preview-non-carded";
|
|
392
379
|
readonly target: "offerings";
|
|
393
380
|
readonly label: "Non-carded offerings";
|
|
@@ -397,9 +384,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
397
384
|
readonly contentFrame: {
|
|
398
385
|
readonly kind: "plain";
|
|
399
386
|
};
|
|
400
|
-
readonly
|
|
387
|
+
readonly cardRole: "open";
|
|
401
388
|
};
|
|
402
|
-
}
|
|
389
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
403
390
|
readonly id: "offerings-preview-paired-feature-cards";
|
|
404
391
|
readonly target: "offerings";
|
|
405
392
|
readonly label: "Paired feature cards";
|
|
@@ -412,9 +399,8 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
412
399
|
readonly contentFrame: {
|
|
413
400
|
readonly kind: "plain";
|
|
414
401
|
};
|
|
415
|
-
readonly itemSurface: "none";
|
|
416
402
|
};
|
|
417
|
-
}
|
|
403
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
418
404
|
readonly id: "offerings-preview-open-editorial-columns";
|
|
419
405
|
readonly target: "offerings";
|
|
420
406
|
readonly label: "Open editorial columns";
|
|
@@ -427,9 +413,8 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
427
413
|
readonly contentFrame: {
|
|
428
414
|
readonly kind: "plain";
|
|
429
415
|
};
|
|
430
|
-
readonly itemSurface: "none";
|
|
431
416
|
};
|
|
432
|
-
}
|
|
417
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
433
418
|
readonly id: "offerings-preview-joined-programme-panel";
|
|
434
419
|
readonly target: "offerings";
|
|
435
420
|
readonly label: "Joined programme panel";
|
|
@@ -442,9 +427,8 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
442
427
|
readonly contentFrame: {
|
|
443
428
|
readonly kind: "plain";
|
|
444
429
|
};
|
|
445
|
-
readonly itemSurface: "none";
|
|
446
430
|
};
|
|
447
|
-
}
|
|
431
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
448
432
|
readonly id: "feature-cards-raised-rule";
|
|
449
433
|
readonly target: "feature-cards";
|
|
450
434
|
readonly label: "Raised cards with rule";
|
|
@@ -454,9 +438,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
454
438
|
readonly contentFrame: {
|
|
455
439
|
readonly kind: "plain";
|
|
456
440
|
};
|
|
457
|
-
readonly
|
|
441
|
+
readonly cardRole: "default";
|
|
458
442
|
};
|
|
459
|
-
}
|
|
443
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
460
444
|
readonly id: "feature-cards-bold-colors";
|
|
461
445
|
readonly target: "feature-cards";
|
|
462
446
|
readonly label: "Bold colour-blocked cards";
|
|
@@ -466,21 +450,21 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
466
450
|
readonly contentFrame: {
|
|
467
451
|
readonly kind: "plain";
|
|
468
452
|
};
|
|
469
|
-
readonly
|
|
453
|
+
readonly cardRole: "alternative";
|
|
470
454
|
};
|
|
471
|
-
}
|
|
455
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
472
456
|
readonly id: "feature-cards-editorial-columns";
|
|
473
457
|
readonly target: "feature-cards";
|
|
474
458
|
readonly label: "Editorial open columns";
|
|
475
459
|
readonly blockKinds: readonly ["block.feature-cards"];
|
|
476
460
|
readonly design: {
|
|
477
|
-
readonly sectionSurface: "
|
|
461
|
+
readonly sectionSurface: "muted-band";
|
|
478
462
|
readonly contentFrame: {
|
|
479
463
|
readonly kind: "plain";
|
|
480
464
|
};
|
|
481
|
-
readonly
|
|
465
|
+
readonly cardRole: "open";
|
|
482
466
|
};
|
|
483
|
-
}
|
|
467
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
484
468
|
readonly id: "feature-cards-asymmetric-emphasis";
|
|
485
469
|
readonly target: "feature-cards";
|
|
486
470
|
readonly label: "Asymmetric emphasis pair";
|
|
@@ -493,13 +477,12 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
493
477
|
readonly contentFrame: {
|
|
494
478
|
readonly kind: "plain";
|
|
495
479
|
};
|
|
496
|
-
readonly itemSurface: "none";
|
|
497
480
|
readonly composition: {
|
|
498
481
|
readonly kind: "feature-cards";
|
|
499
482
|
readonly treatment: "asymmetric-emphasis";
|
|
500
483
|
};
|
|
501
484
|
};
|
|
502
|
-
}
|
|
485
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
503
486
|
readonly id: "feature-cards-framed-programme";
|
|
504
487
|
readonly target: "feature-cards";
|
|
505
488
|
readonly label: "Framed programme cards";
|
|
@@ -512,13 +495,13 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
512
495
|
readonly contentFrame: {
|
|
513
496
|
readonly kind: "plain";
|
|
514
497
|
};
|
|
515
|
-
readonly
|
|
498
|
+
readonly cardRole: "alternative";
|
|
516
499
|
readonly composition: {
|
|
517
500
|
readonly kind: "feature-cards";
|
|
518
501
|
readonly treatment: "framed-programme";
|
|
519
502
|
};
|
|
520
503
|
};
|
|
521
|
-
}
|
|
504
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
522
505
|
readonly id: "feature-cards-soft-panels";
|
|
523
506
|
readonly target: "feature-cards";
|
|
524
507
|
readonly label: "Soft tinted panels";
|
|
@@ -528,9 +511,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
528
511
|
readonly contentFrame: {
|
|
529
512
|
readonly kind: "plain";
|
|
530
513
|
};
|
|
531
|
-
readonly
|
|
514
|
+
readonly cardRole: "alternative";
|
|
532
515
|
};
|
|
533
|
-
}
|
|
516
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
534
517
|
readonly id: "feature-cards-editorial-diptych";
|
|
535
518
|
readonly target: "feature-cards";
|
|
536
519
|
readonly label: "Editorial diptych";
|
|
@@ -543,9 +526,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
543
526
|
readonly contentFrame: {
|
|
544
527
|
readonly kind: "plain";
|
|
545
528
|
};
|
|
546
|
-
readonly
|
|
529
|
+
readonly cardRole: "default";
|
|
547
530
|
};
|
|
548
|
-
}
|
|
531
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
549
532
|
readonly id: "feature-cards-editorial-pathways";
|
|
550
533
|
readonly target: "feature-cards";
|
|
551
534
|
readonly label: "Editorial pathways";
|
|
@@ -558,9 +541,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
558
541
|
readonly contentFrame: {
|
|
559
542
|
readonly kind: "plain";
|
|
560
543
|
};
|
|
561
|
-
readonly
|
|
544
|
+
readonly cardRole: "default";
|
|
562
545
|
};
|
|
563
|
-
}
|
|
546
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
564
547
|
readonly id: "feature-cards-photo-tiles";
|
|
565
548
|
readonly target: "feature-cards";
|
|
566
549
|
readonly label: "Photo tiles";
|
|
@@ -570,9 +553,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
570
553
|
readonly contentFrame: {
|
|
571
554
|
readonly kind: "plain";
|
|
572
555
|
};
|
|
573
|
-
readonly
|
|
556
|
+
readonly cardRole: "default";
|
|
574
557
|
};
|
|
575
|
-
}
|
|
558
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
576
559
|
readonly id: "events-lined-panel";
|
|
577
560
|
readonly target: "events";
|
|
578
561
|
readonly label: "Raised event panel";
|
|
@@ -583,9 +566,8 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
583
566
|
kind: "panel";
|
|
584
567
|
treatment: "raised";
|
|
585
568
|
}>;
|
|
586
|
-
readonly itemSurface: "none";
|
|
587
569
|
};
|
|
588
|
-
}
|
|
570
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
589
571
|
readonly id: "events-ruled-register";
|
|
590
572
|
readonly target: "events";
|
|
591
573
|
readonly label: "Ruled event register";
|
|
@@ -595,10 +577,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
595
577
|
readonly contentFrame: {
|
|
596
578
|
readonly kind: "plain";
|
|
597
579
|
};
|
|
598
|
-
readonly itemSurface: "none";
|
|
599
580
|
readonly eventListTreatment: "ruled-register";
|
|
600
581
|
};
|
|
601
|
-
}
|
|
582
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
602
583
|
readonly id: "events-editorial-register";
|
|
603
584
|
readonly target: "events";
|
|
604
585
|
readonly label: "Editorial event register";
|
|
@@ -608,10 +589,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
608
589
|
readonly contentFrame: {
|
|
609
590
|
readonly kind: "plain";
|
|
610
591
|
};
|
|
611
|
-
readonly itemSurface: "none";
|
|
612
592
|
readonly eventListTreatment: "editorial-register";
|
|
613
593
|
};
|
|
614
|
-
}
|
|
594
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
615
595
|
readonly id: "events-dense-index";
|
|
616
596
|
readonly target: "events";
|
|
617
597
|
readonly label: "Dense event index";
|
|
@@ -621,10 +601,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
621
601
|
readonly contentFrame: {
|
|
622
602
|
readonly kind: "plain";
|
|
623
603
|
};
|
|
624
|
-
readonly itemSurface: "none";
|
|
625
604
|
readonly eventListTreatment: "dense-index";
|
|
626
605
|
};
|
|
627
|
-
}
|
|
606
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
628
607
|
readonly id: "schedule-details-brand-depth";
|
|
629
608
|
readonly target: "events";
|
|
630
609
|
readonly label: "Brand-depth schedule details";
|
|
@@ -634,10 +613,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
634
613
|
readonly contentFrame: {
|
|
635
614
|
readonly kind: "plain";
|
|
636
615
|
};
|
|
637
|
-
readonly itemSurface: "none";
|
|
638
616
|
readonly tileTreatment: "brand-depth";
|
|
639
617
|
};
|
|
640
|
-
}
|
|
618
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
641
619
|
readonly id: "media-text-flush-feature";
|
|
642
620
|
readonly target: "media-text";
|
|
643
621
|
readonly label: "Flush media feature";
|
|
@@ -649,9 +627,8 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
649
627
|
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
650
628
|
bleed: "start";
|
|
651
629
|
}>;
|
|
652
|
-
readonly itemSurface: "none";
|
|
653
630
|
};
|
|
654
|
-
}
|
|
631
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
655
632
|
readonly id: "testimonials-simple-cards";
|
|
656
633
|
readonly target: "testimonials";
|
|
657
634
|
readonly label: "Simple testimonial cards";
|
|
@@ -661,9 +638,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
661
638
|
readonly contentFrame: {
|
|
662
639
|
readonly kind: "plain";
|
|
663
640
|
};
|
|
664
|
-
readonly
|
|
641
|
+
readonly cardRole: "default";
|
|
665
642
|
};
|
|
666
|
-
}
|
|
643
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
667
644
|
readonly id: "testimonials-raised-panel";
|
|
668
645
|
readonly target: "testimonials";
|
|
669
646
|
readonly label: "Raised testimonial panel";
|
|
@@ -674,9 +651,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
674
651
|
kind: "panel";
|
|
675
652
|
treatment: "raised";
|
|
676
653
|
}>;
|
|
677
|
-
readonly
|
|
654
|
+
readonly cardRole: "default";
|
|
678
655
|
};
|
|
679
|
-
}
|
|
656
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
680
657
|
readonly id: "testimonials-accent-panel";
|
|
681
658
|
readonly target: "testimonials";
|
|
682
659
|
readonly label: "Accent testimonial panel";
|
|
@@ -687,9 +664,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
687
664
|
kind: "panel";
|
|
688
665
|
treatment: "raised";
|
|
689
666
|
}>;
|
|
690
|
-
readonly
|
|
667
|
+
readonly cardRole: "default";
|
|
691
668
|
};
|
|
692
|
-
}
|
|
669
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
693
670
|
readonly id: "testimonials-default-cards";
|
|
694
671
|
readonly target: "testimonials";
|
|
695
672
|
readonly label: "Default cards";
|
|
@@ -699,10 +676,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
699
676
|
readonly contentFrame: {
|
|
700
677
|
readonly kind: "plain";
|
|
701
678
|
};
|
|
702
|
-
readonly
|
|
703
|
-
readonly testimonialCardTreatment: "default";
|
|
679
|
+
readonly cardRole: "default";
|
|
704
680
|
};
|
|
705
|
-
}
|
|
681
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
706
682
|
readonly id: "testimonials-statement-cards";
|
|
707
683
|
readonly target: "testimonials";
|
|
708
684
|
readonly label: "Statement cards";
|
|
@@ -712,10 +688,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
712
688
|
readonly contentFrame: {
|
|
713
689
|
readonly kind: "plain";
|
|
714
690
|
};
|
|
715
|
-
readonly
|
|
716
|
-
readonly testimonialCardTreatment: "statement";
|
|
691
|
+
readonly cardRole: "alternative";
|
|
717
692
|
};
|
|
718
|
-
}
|
|
693
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
719
694
|
readonly id: "testimonials-brand-statement-cards";
|
|
720
695
|
readonly target: "testimonials";
|
|
721
696
|
readonly label: "Brand statement cards";
|
|
@@ -725,10 +700,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
725
700
|
readonly contentFrame: {
|
|
726
701
|
readonly kind: "plain";
|
|
727
702
|
};
|
|
728
|
-
readonly
|
|
729
|
-
readonly testimonialCardTreatment: "statement";
|
|
703
|
+
readonly cardRole: "alternative";
|
|
730
704
|
};
|
|
731
|
-
}
|
|
705
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
732
706
|
readonly id: "testimonials-non-carded";
|
|
733
707
|
readonly target: "testimonials";
|
|
734
708
|
readonly label: "Non-carded";
|
|
@@ -738,10 +712,12 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
738
712
|
readonly contentFrame: {
|
|
739
713
|
readonly kind: "plain";
|
|
740
714
|
};
|
|
741
|
-
readonly
|
|
742
|
-
|
|
715
|
+
readonly composition: {
|
|
716
|
+
readonly kind: "testimonials";
|
|
717
|
+
readonly treatment: "open-editorial";
|
|
718
|
+
};
|
|
743
719
|
};
|
|
744
|
-
}
|
|
720
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
745
721
|
readonly id: "testimonials-evergreen-lead";
|
|
746
722
|
readonly target: "testimonials";
|
|
747
723
|
readonly label: "Evergreen lead";
|
|
@@ -754,9 +730,8 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
754
730
|
readonly contentFrame: {
|
|
755
731
|
readonly kind: "plain";
|
|
756
732
|
};
|
|
757
|
-
readonly itemSurface: "none";
|
|
758
733
|
};
|
|
759
|
-
}
|
|
734
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
760
735
|
readonly id: "testimonials-room-and-response";
|
|
761
736
|
readonly target: "testimonials";
|
|
762
737
|
readonly label: "Room and response";
|
|
@@ -769,9 +744,8 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
769
744
|
readonly contentFrame: {
|
|
770
745
|
readonly kind: "plain";
|
|
771
746
|
};
|
|
772
|
-
readonly itemSurface: "none";
|
|
773
747
|
};
|
|
774
|
-
}
|
|
748
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
775
749
|
readonly id: "testimonials-open-floor";
|
|
776
750
|
readonly target: "testimonials";
|
|
777
751
|
readonly label: "Open floor";
|
|
@@ -784,9 +758,8 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
784
758
|
readonly contentFrame: {
|
|
785
759
|
readonly kind: "plain";
|
|
786
760
|
};
|
|
787
|
-
readonly itemSurface: "none";
|
|
788
761
|
};
|
|
789
|
-
}
|
|
762
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
790
763
|
readonly id: "faq-base-accordion";
|
|
791
764
|
readonly target: "faq";
|
|
792
765
|
readonly label: "Base accordion FAQ";
|
|
@@ -796,9 +769,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
796
769
|
readonly contentFrame: {
|
|
797
770
|
readonly kind: "plain";
|
|
798
771
|
};
|
|
799
|
-
readonly
|
|
772
|
+
readonly cardRole: "default";
|
|
800
773
|
};
|
|
801
|
-
}
|
|
774
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
802
775
|
readonly id: "faq-contained-help";
|
|
803
776
|
readonly target: "faq";
|
|
804
777
|
readonly label: "Contained help panel";
|
|
@@ -809,9 +782,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
809
782
|
kind: "panel";
|
|
810
783
|
treatment: "inset";
|
|
811
784
|
}>;
|
|
812
|
-
readonly
|
|
785
|
+
readonly cardRole: "default";
|
|
813
786
|
};
|
|
814
|
-
}
|
|
787
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
815
788
|
readonly id: "contact-form-panel";
|
|
816
789
|
readonly target: "contact-form";
|
|
817
790
|
readonly label: "Raised form panel";
|
|
@@ -822,9 +795,19 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
822
795
|
kind: "panel";
|
|
823
796
|
treatment: "raised";
|
|
824
797
|
}>;
|
|
825
|
-
readonly itemSurface: "none";
|
|
826
798
|
};
|
|
827
|
-
}
|
|
799
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
800
|
+
readonly id: "booking-brand-band";
|
|
801
|
+
readonly target: "contact-form";
|
|
802
|
+
readonly label: "Brand band booking";
|
|
803
|
+
readonly blockKinds: readonly ["block.appointment-booking"];
|
|
804
|
+
readonly design: {
|
|
805
|
+
readonly sectionSurface: "brand-depth-band";
|
|
806
|
+
readonly contentFrame: {
|
|
807
|
+
readonly kind: "plain";
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
828
811
|
readonly id: "cta-accent-band";
|
|
829
812
|
readonly target: "cta";
|
|
830
813
|
readonly label: "Accent CTA band";
|
|
@@ -834,7 +817,6 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
834
817
|
readonly contentFrame: {
|
|
835
818
|
readonly kind: "plain";
|
|
836
819
|
};
|
|
837
|
-
readonly itemSurface: "none";
|
|
838
820
|
readonly eyebrowTreatment: "accent";
|
|
839
821
|
};
|
|
840
|
-
}];
|
|
822
|
+
}>];
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type CardRole } from '../cards';
|
|
3
|
+
/**
|
|
4
|
+
* The legacy `itemSurface` treatment vocabulary, and how it reads as a card
|
|
5
|
+
* role.
|
|
6
|
+
*
|
|
7
|
+
* `itemSurface` named a *treatment* ("raised", "inset"); a role names *which
|
|
8
|
+
* card* a Look wants and defers the appearance to the site style. Phase 3
|
|
9
|
+
* deleted the treatment vocabulary and the recipe table it fed, so this map is
|
|
10
|
+
* no longer a migration coexistence device — it is the one parse boundary where
|
|
11
|
+
* persisted design plans written before the cutover still load, normalizing to
|
|
12
|
+
* the role they meant.
|
|
13
|
+
*
|
|
14
|
+
* Per-value rationale is recorded in
|
|
15
|
+
* `.project/plans/1297-card-role-contract-site-styles-own-card-surfaces/mapping-table.md`.
|
|
16
|
+
*/
|
|
17
|
+
export declare const legacyItemSurfaceCardRoles: {
|
|
18
|
+
readonly none: "none";
|
|
19
|
+
readonly flat: "default";
|
|
20
|
+
readonly default: "default";
|
|
21
|
+
readonly outlined: "default";
|
|
22
|
+
readonly raised: "default";
|
|
23
|
+
readonly inset: "alternative";
|
|
24
|
+
readonly editorial: "open";
|
|
25
|
+
readonly 'color-blocked': "alternative";
|
|
26
|
+
};
|
|
27
|
+
export type LegacyItemSurfaceValue = keyof typeof legacyItemSurfaceCardRoles;
|
|
28
|
+
/**
|
|
29
|
+
* The enum form of the legacy vocabulary, for schemas that still parse it.
|
|
30
|
+
* Derived from the map so the two cannot drift.
|
|
31
|
+
*/
|
|
32
|
+
export declare const legacyItemSurfaceValues: [LegacyItemSurfaceValue, ...LegacyItemSurfaceValue[]];
|
|
33
|
+
/**
|
|
34
|
+
* Read a card role from untrusted input, accepting the legacy `itemSurface`
|
|
35
|
+
* vocabulary as aliases. Returns `null` for anything else.
|
|
36
|
+
*/
|
|
37
|
+
export declare function cardRoleFromLegacyVocabulary(value: unknown): CardRole | null;
|
|
38
|
+
/**
|
|
39
|
+
* The parse boundary for card roles reaching design intents and persisted
|
|
40
|
+
* design plans: roles pass through, legacy `itemSurface` values normalize to
|
|
41
|
+
* the role they meant, everything else fails the parse.
|
|
42
|
+
*/
|
|
43
|
+
export declare const cardRoleWithLegacyAliasSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodEnum<{
|
|
44
|
+
open: "open";
|
|
45
|
+
default: "default";
|
|
46
|
+
none: "none";
|
|
47
|
+
alternative: "alternative";
|
|
48
|
+
}>>;
|