@riverbankcms/sdk 0.79.0 → 0.81.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-RDCMEXIJ.mjs +3163 -0
- package/dist/{PreviewEditorUI-27KJVEET.mjs → PreviewEditorUI-NYGQ6K7B.mjs} +194 -30
- package/dist/SdkPreviewModeRuntime-AKCSCZEC.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +20 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +12 -0
- package/dist/_dts/api/src/contentTypes.d.ts +6 -0
- package/dist/_dts/api/src/endpoints.d.ts +24 -0
- package/dist/_dts/api/src/index.d.ts +3 -3
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +53 -0
- package/dist/_dts/api/src/siteInfrastructure.d.ts +124 -0
- package/dist/_dts/api/src/siteOnboarding.d.ts +13 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +10 -1
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +3 -1
- package/dist/_dts/block-form/src/backend/types.d.ts +3 -3
- package/dist/_dts/block-form/src/client/index.d.ts +2 -0
- package/dist/_dts/block-form/src/index.d.ts +2 -0
- package/dist/_dts/block-form/src/utils/evaluateVisibility.d.ts +2 -1
- package/dist/_dts/blocks/src/PageRenderer.d.ts +3 -0
- package/dist/_dts/blocks/src/client/header.d.ts +1 -1
- package/dist/_dts/blocks/src/client.d.ts +12 -12
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +20 -28
- package/dist/_dts/blocks/src/index.d.ts +7 -5
- package/dist/_dts/blocks/src/primitives/content/components/Text.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +1 -0
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +135 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +9 -1
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +20 -1
- package/dist/_dts/blocks/src/system/blocks/hero.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +19 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +134 -0
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +7 -1
- package/dist/_dts/blocks/src/system/componentFactory.d.ts +1 -0
- package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +34 -15
- package/dist/_dts/blocks/src/system/data/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/data/linkedContentEntries.d.ts +64 -0
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/designCapabilities.d.ts +2 -2
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +10 -3
- package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +5 -0
- package/dist/_dts/blocks/src/system/media/slotContracts.d.ts +2 -0
- package/dist/_dts/blocks/src/system/node/fragments/headingDecoration.d.ts +1 -4
- package/dist/_dts/blocks/src/system/node/types.d.ts +8 -1
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +2 -2
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +51 -57
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +24 -27
- package/dist/_dts/blocks/src/system/runtime/header/enhanceHeaderSection.d.ts +10 -2
- package/dist/_dts/blocks/src/system/runtime/headingDecoration.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +45 -14
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +2 -9
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.d.ts +1 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +21 -16
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +21 -16
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +22 -33
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.server.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventSpotlight.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventPaginatedListView.client.d.ts +2 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekAgendaView.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +50 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +29 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +7 -0
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/sectionForegroundStyles.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +7 -2
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +9 -0
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +14 -1
- package/dist/_dts/calendar/src/grid.d.ts +27 -0
- package/dist/_dts/calendar/src/index.d.ts +2 -2
- package/dist/_dts/content-editor/src/controller/useAutosaveTriggers.d.ts +3 -1
- package/dist/_dts/content-editor/src/editorTransactionState.d.ts +1 -0
- package/dist/_dts/content-editor/src/hooks/autosaveScopePlanning.d.ts +26 -0
- package/dist/_dts/content-editor/src/hooks/publishability.d.ts +1 -0
- package/dist/_dts/content-editor/src/hooks/useLinkedEntryAutosave.d.ts +23 -0
- package/dist/_dts/content-editor/src/hooks/useReactiveToolbar.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +2 -2
- package/dist/_dts/content-editor/src/index.d.ts +3 -1
- package/dist/_dts/content-editor/src/lib/json.d.ts +2 -0
- package/dist/_dts/content-editor/src/linkedEntries/domain.d.ts +8 -0
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +58 -0
- package/dist/_dts/content-editor/src/ui/editorTransactionState.d.ts +93 -0
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +60 -3
- package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +2 -0
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +43 -0
- package/dist/_dts/content-model/src/metadataConfig.d.ts +87 -47
- package/dist/_dts/core/src/branded.d.ts +5 -0
- package/dist/_dts/core/src/index.d.ts +1 -0
- package/dist/_dts/core/src/stable-json.d.ts +1 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +9 -3
- package/dist/_dts/editor/src/EditorProvider.d.ts +26 -0
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +26 -0
- package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +45 -0
- package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +25 -0
- package/dist/_dts/editor/src/components/EditingToggle.d.ts +9 -0
- package/dist/_dts/editor/src/hooks/useEditableElement.d.ts +18 -0
- package/dist/_dts/editor/src/index.d.ts +29 -0
- package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +1 -0
- package/dist/_dts/editor/src/lib/utils.d.ts +1 -0
- package/dist/_dts/editor/src/primitives/EditorPrimitivesProvider.d.ts +20 -0
- package/dist/_dts/editor/src/primitives/InlineFieldContext.d.ts +11 -0
- package/dist/_dts/editor/src/primitives/SaveContext.d.ts +12 -0
- package/dist/_dts/editor/src/primitives/helpers.d.ts +1 -0
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +26 -0
- package/dist/_dts/editor/src/primitives/rich-text/RichTextToolbar.d.ts +16 -0
- package/dist/_dts/editor/src/primitives/rich-text/config.d.ts +23 -0
- package/dist/_dts/editor/src/primitives/rich-text/extensions/RichTextImage.d.ts +2 -0
- package/dist/_dts/editor/src/primitives/rich-text/extensions/RichTextLink.d.ts +1 -0
- package/dist/_dts/editor/src/primitives/rich-text/imageActions.d.ts +22 -0
- package/dist/_dts/editor/src/primitives/rich-text/sanitize.d.ts +23 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/BlockTypeDropdown.d.ts +6 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/LinkPopover.d.ts +10 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/ToolbarIconButton.d.ts +11 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/linkPopoverUtils.d.ts +58 -0
- package/dist/_dts/editor/src/primitives/rich-text/useRichTextEditor.d.ts +19 -0
- package/dist/_dts/editor/src/primitives/rich-text/utils.d.ts +20 -0
- package/dist/_dts/editor/src/utils/optimisticTokens.d.ts +27 -0
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +5 -9
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +6 -10
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +6 -4
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +4 -8
- package/dist/_dts/editor-blocks/src/block-editor/actionPresentation.d.ts +15 -0
- package/dist/_dts/editor-blocks/src/block-editor/blockHeaderActionPlan.d.ts +49 -0
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/useImagePicker.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionWidgetProvider.d.ts +14 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/index.d.ts +6 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +51 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/types.d.ts +20 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +5 -0
- package/dist/_dts/media-core/src/index.d.ts +1 -0
- package/dist/_dts/media-core/src/renderableMediaAsset.d.ts +18 -0
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +4 -1
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +2 -1
- package/dist/_dts/media-editor/src/index.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +7 -2
- package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +5 -1
- package/dist/_dts/preview-next/src/client/blocks/blockCustomizePopoverRows.d.ts +25 -0
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +4 -30
- package/dist/_dts/preview-next/src/client/blocks/linkedEntryRenderOverlay.d.ts +11 -0
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +3 -9
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +24 -0
- package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +35 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +0 -1
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/preview/LinkedEntryEditEventBridge.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +5 -6
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignHistoryOrderContext.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +19 -19
- package/dist/_dts/preview-next/src/client/preview/PreviewSidebarSection.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +47 -4
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +14 -1
- package/dist/_dts/preview-next/src/client/preview/linkedEntryEditEvents.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/previewChromePlacement.d.ts +46 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeControls.d.ts +68 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeEditorDraftPatch.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +8 -1
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +11 -9
- package/dist/_dts/preview-next/src/client/preview/previewDesignHistoryOrder.d.ts +18 -0
- package/dist/_dts/preview-next/src/client/preview/previewUndoDomains.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +41 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +101 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +29 -0
- package/dist/_dts/preview-next/src/client/preview/siteStyleHistoryState.d.ts +55 -0
- package/dist/_dts/preview-next/src/client/preview/storeTypes.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/widgets/widgetAdapters.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +6 -3
- package/dist/_dts/preview-next/src/constants.d.ts +0 -1
- package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +44 -0
- package/dist/_dts/sdk/src/cli/config-loader.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +5 -3
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +1 -0
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +56 -0
- package/dist/_dts/sdk/src/client/management/webhooks.d.ts +3 -0
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +34 -5
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +10 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +42 -0
- package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +4 -0
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/siteStyleDefaults.d.ts +220 -0
- package/dist/_dts/theme-core/src/accordions/types.d.ts +45 -2
- package/dist/_dts/theme-core/src/blockOverrides.d.ts +8 -0
- package/dist/_dts/theme-core/src/blocks/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/blocks/vars/testimonials.d.ts +4 -1
- package/dist/_dts/theme-core/src/buttons/constants.d.ts +26 -1
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
- package/dist/_dts/theme-core/src/buttons/personalities/joy-stamp.d.ts +22 -0
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +2 -1
- package/dist/_dts/theme-core/src/buttons/types.d.ts +9 -0
- package/dist/_dts/theme-core/src/cards/core.d.ts +20 -0
- package/dist/_dts/theme-core/src/cards/generateDefaultCardSystem.d.ts +6 -3
- package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +149 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +177 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/interactive/types.d.ts +10 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +180 -21
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +30 -0
- package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +16 -0
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/variants/warm-dark.d.ts +27 -0
- package/dist/_dts/theme-core/src/schema.d.ts +486 -55
- package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +4 -1
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +172 -47
- package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +6 -2
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +172 -47
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +140 -2
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +18 -2
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +20 -1
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +10 -2
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +291 -6
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +193 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +3 -23
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +276 -4
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +2 -8
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +43 -10
- package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +508 -0
- package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +11 -0
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +10 -10
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/testimonialQuotePresets.d.ts +15 -0
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +28 -32
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +16 -1
- package/dist/{chunk-4HCW7FHJ.mjs → chunk-3PTVPAT4.mjs} +1984 -1142
- package/dist/{PreviewEditorSidebar-56NMJMIK.mjs → chunk-3QWQ2MUQ.mjs} +1050 -2609
- package/dist/{chunk-GP555I66.mjs → chunk-3VT7LZY2.mjs} +413 -157
- package/dist/{chunk-A3HHFKVT.mjs → chunk-4T5JIPWY.mjs} +1 -1
- package/dist/{chunk-K2IIF34C.mjs → chunk-E3NZYEKF.mjs} +25 -7
- package/dist/{chunk-V47ZU33I.mjs → chunk-WUHKQBB6.mjs} +12062 -3211
- package/dist/cli/index.mjs +3395 -817
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +16 -4
- package/dist/client/{accordion-QLA7KBYO.mjs → accordion-SFIIZWNH.mjs} +2 -2
- package/dist/client/{bookingForm-PYZIPA5G.mjs → bookingForm-CFKZVWGA.mjs} +5 -5
- package/dist/client/bookings.mjs +1422 -345
- package/dist/client/{carousel-5EIULWBI.mjs → carousel-ELXWSBLA.mjs} +3 -3
- package/dist/client/{cart-DOP3FNI4.mjs → cart-6SSCPYY5.mjs} +6 -6
- package/dist/client/{checkout-BVMF6FBV.mjs → checkout-UFQ34HPV.mjs} +6 -6
- package/dist/client/{chunk-44K2U3QI.mjs → chunk-76JUETXQ.mjs} +139 -186
- package/dist/client/{chunk-AUJ5DBZJ.mjs → chunk-7BXX7WXH.mjs} +112 -28
- package/dist/client/{chunk-UDS3NTWA.mjs → chunk-G56BSZAM.mjs} +2 -2
- package/dist/client/{chunk-V6M5FCR5.mjs → chunk-IUEDYLFJ.mjs} +1 -1
- package/dist/client/{chunk-YLDYVRZL.mjs → chunk-NP47RHIX.mjs} +5 -5
- package/dist/client/{chunk-R5ESWNKX.mjs → chunk-NX6X3GRF.mjs} +419 -85
- package/dist/client/{chunk-CCNTDRCF.mjs → chunk-PA2LJH2M.mjs} +2 -2
- package/dist/client/{chunk-CE7IBGVW.mjs → chunk-RMWMT3ZD.mjs} +1 -1
- package/dist/client/{chunk-TYONZMST.mjs → chunk-TCJS3NY5.mjs} +1 -1
- package/dist/client/{chunk-GG4M2NP6.mjs → chunk-V6XI4M2Q.mjs} +1 -1
- package/dist/client/client.mjs +9077 -4410
- package/dist/client/{courseRegistration-E6EAA6NL.mjs → courseRegistration-HJIISAAG.mjs} +5 -5
- package/dist/client/{eventCalendar-HBG3HAK6.mjs → eventCalendar-F6YVUCZR.mjs} +7 -7
- package/dist/client/{eventCombined-6K5ZZWAK.mjs → eventCombined-B5DSTIOK.mjs} +7 -7
- package/dist/client/{eventDetails-Q75ICXLT.mjs → eventDetails-SEJDDHQC.mjs} +7 -7
- package/dist/client/{eventListing-27P5F7DZ.mjs → eventListing-TPMWIIBO.mjs} +7 -7
- package/dist/client/{eventRegistration-IQ7AMASR.mjs → eventRegistration-QU6W2PV6.mjs} +7 -7
- package/dist/client/{form-JRTD65FN.mjs → form-LVTYNTDE.mjs} +2 -2
- package/dist/client/{headerSection-7FPSSZHS.mjs → headerSection-SO3MFC4U.mjs} +110 -28
- package/dist/client/hooks.mjs +4695 -2260
- package/dist/client/{locationMap-7NGFNYBH.mjs → locationMap-5E5FLAKO.mjs} +2 -2
- package/dist/client/{newsletterForm-F3BADCI2.mjs → newsletterForm-GN32JEBQ.mjs} +2 -2
- package/dist/client/{productDetail-V3HP7ITJ.mjs → productDetail-Q346KSVR.mjs} +6 -6
- package/dist/client/{productList-L3EGJUF2.mjs → productList-DTDMQYGZ.mjs} +6 -6
- package/dist/client/rendering/client.mjs +5795 -3582
- package/dist/client/rendering/islands.mjs +32 -20
- package/dist/client/rendering.mjs +7988 -3317
- package/dist/client/{shop-DQUB5E2C.mjs → shop-OFUW7KPN.mjs} +6 -6
- package/dist/preview-next/before-render.mjs +24 -0
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/constants.mjs +0 -2
- package/dist/preview-next/index.mjs +0 -2
- package/dist/preview-next/middleware.mjs +24 -0
- package/dist/{sdk-runtime-AF6KXJU4.mjs → sdk-runtime-2GIX6I7X.mjs} +6 -6
- package/dist/server/components.mjs +7384 -3089
- package/dist/server/config-validation.mjs +4747 -2418
- package/dist/server/config.mjs +4747 -2418
- package/dist/server/data.mjs +4695 -2260
- package/dist/server/index.mjs +26 -1
- package/dist/server/next.mjs +7430 -3039
- package/dist/server/page-converter.mjs +3985 -2070
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +7489 -3094
- package/dist/server/rendering.mjs +7491 -3096
- package/dist/server/routing.mjs +4965 -2386
- package/dist/server/server.mjs +4713 -2278
- package/dist/server/theme-bridge.mjs +2181 -383
- package/dist/server/theme.mjs +477 -222
- package/dist/styles/index.css +747 -71
- package/package.json +1 -1
- package/dist/SdkPreviewModeRuntime-H4BSP6E7.mjs +0 -8
- package/dist/_dts/editor-blocks/src/block-editor/actionControlMode.d.ts +0 -2
- package/dist/_dts/preview-next/src/client/preview/previewSurface.d.ts +0 -3
- package/dist/chunk-LCY32PXF.mjs +0 -1175
|
@@ -2,7 +2,7 @@ import type { ExpandedPalette } from '../palette/expandPalette';
|
|
|
2
2
|
import type { SiteStyleSurfaceIntent } from './types';
|
|
3
3
|
export type AccessibleColorSurfaceIntent = Exclude<SiteStyleSurfaceIntent, 'hero-image'>;
|
|
4
4
|
export type ContrastPolicy = 'body-aa' | 'large-text-aa' | 'decorative';
|
|
5
|
-
export type ForegroundRole = 'heading' | 'text' | 'supporting';
|
|
5
|
+
export type ForegroundRole = 'heading' | 'text' | 'link' | 'supporting';
|
|
6
6
|
export type AccessibleSurfaceToken = string & {
|
|
7
7
|
readonly __brand: 'AccessibleSurfaceToken';
|
|
8
8
|
};
|
|
@@ -51,6 +51,9 @@ export type ResolvedAccessibleSurface = Readonly<{
|
|
|
51
51
|
text: Extract<ResolvedForeground, {
|
|
52
52
|
kind: 'safe-token';
|
|
53
53
|
}>;
|
|
54
|
+
link: Extract<ResolvedForeground, {
|
|
55
|
+
kind: 'safe-token';
|
|
56
|
+
}>;
|
|
54
57
|
supporting: ResolvedForeground;
|
|
55
58
|
rejectedCandidates: readonly RejectedSurfaceCandidate[];
|
|
56
59
|
}>;
|
|
@@ -384,7 +384,7 @@ export declare const appearancePresets: readonly [{
|
|
|
384
384
|
readonly kind: "block-design";
|
|
385
385
|
readonly id: "intro-organic-statement";
|
|
386
386
|
readonly target: "intro";
|
|
387
|
-
readonly label: "
|
|
387
|
+
readonly label: "Intro statement";
|
|
388
388
|
readonly blockKinds: readonly ["block.intro"];
|
|
389
389
|
readonly design: {
|
|
390
390
|
readonly sectionSurface: "base";
|
|
@@ -394,11 +394,42 @@ export declare const appearancePresets: readonly [{
|
|
|
394
394
|
readonly itemSurface: "none";
|
|
395
395
|
readonly transitionAfter: "soft-fade-short";
|
|
396
396
|
readonly emphasis: "high";
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
397
|
+
};
|
|
398
|
+
}, {
|
|
399
|
+
readonly kind: "block-design";
|
|
400
|
+
readonly id: "intro-editorial-statement";
|
|
401
|
+
readonly target: "intro";
|
|
402
|
+
readonly label: "Editorial intro statement";
|
|
403
|
+
readonly blockKinds: readonly ["block.intro"];
|
|
404
|
+
readonly constraints: {
|
|
405
|
+
readonly layoutVariantKeys: readonly ["centered-copy", "statement-copy"];
|
|
406
|
+
};
|
|
407
|
+
readonly design: {
|
|
408
|
+
readonly sectionSurface: "base";
|
|
409
|
+
readonly contentFrame: {
|
|
410
|
+
readonly kind: "plain";
|
|
401
411
|
};
|
|
412
|
+
readonly itemSurface: "none";
|
|
413
|
+
readonly transitionAfter: "soft-fade-short";
|
|
414
|
+
readonly emphasis: "high";
|
|
415
|
+
};
|
|
416
|
+
}, {
|
|
417
|
+
readonly kind: "block-design";
|
|
418
|
+
readonly id: "intro-portrait-bio";
|
|
419
|
+
readonly target: "intro";
|
|
420
|
+
readonly label: "Portrait and bio";
|
|
421
|
+
readonly blockKinds: readonly ["block.intro"];
|
|
422
|
+
readonly constraints: {
|
|
423
|
+
readonly layoutVariantKeys: readonly ["media-copy"];
|
|
424
|
+
};
|
|
425
|
+
readonly design: {
|
|
426
|
+
readonly sectionSurface: "base";
|
|
427
|
+
readonly contentFrame: {
|
|
428
|
+
readonly kind: "plain";
|
|
429
|
+
};
|
|
430
|
+
readonly itemSurface: "none";
|
|
431
|
+
readonly transitionAfter: "soft-fade-short";
|
|
432
|
+
readonly emphasis: "medium";
|
|
402
433
|
};
|
|
403
434
|
}, {
|
|
404
435
|
readonly kind: "block-design";
|
|
@@ -415,6 +446,51 @@ export declare const appearancePresets: readonly [{
|
|
|
415
446
|
readonly transitionAfter: "soft-fade-short";
|
|
416
447
|
readonly emphasis: "medium";
|
|
417
448
|
};
|
|
449
|
+
}, {
|
|
450
|
+
readonly kind: "block-design";
|
|
451
|
+
readonly id: "offerings-preview-default-cards";
|
|
452
|
+
readonly target: "offerings";
|
|
453
|
+
readonly label: "Default offering cards";
|
|
454
|
+
readonly blockKinds: readonly ["block.offerings-preview"];
|
|
455
|
+
readonly design: {
|
|
456
|
+
readonly sectionSurface: "base";
|
|
457
|
+
readonly contentFrame: {
|
|
458
|
+
readonly kind: "plain";
|
|
459
|
+
};
|
|
460
|
+
readonly itemSurface: "default";
|
|
461
|
+
readonly transitionAfter: "soft-fade-short";
|
|
462
|
+
readonly emphasis: "medium";
|
|
463
|
+
};
|
|
464
|
+
}, {
|
|
465
|
+
readonly kind: "block-design";
|
|
466
|
+
readonly id: "offerings-preview-secondary-cards";
|
|
467
|
+
readonly target: "offerings";
|
|
468
|
+
readonly label: "Secondary offering cards";
|
|
469
|
+
readonly blockKinds: readonly ["block.offerings-preview"];
|
|
470
|
+
readonly design: {
|
|
471
|
+
readonly sectionSurface: "muted-band";
|
|
472
|
+
readonly contentFrame: {
|
|
473
|
+
readonly kind: "plain";
|
|
474
|
+
};
|
|
475
|
+
readonly itemSurface: "inset";
|
|
476
|
+
readonly transitionAfter: "soft-fade-short";
|
|
477
|
+
readonly emphasis: "medium";
|
|
478
|
+
};
|
|
479
|
+
}, {
|
|
480
|
+
readonly kind: "block-design";
|
|
481
|
+
readonly id: "offerings-preview-non-carded";
|
|
482
|
+
readonly target: "offerings";
|
|
483
|
+
readonly label: "Non-carded offerings";
|
|
484
|
+
readonly blockKinds: readonly ["block.offerings-preview"];
|
|
485
|
+
readonly design: {
|
|
486
|
+
readonly sectionSurface: "muted-band";
|
|
487
|
+
readonly contentFrame: {
|
|
488
|
+
readonly kind: "plain";
|
|
489
|
+
};
|
|
490
|
+
readonly itemSurface: "editorial";
|
|
491
|
+
readonly transitionAfter: "soft-fade-short";
|
|
492
|
+
readonly emphasis: "medium";
|
|
493
|
+
};
|
|
418
494
|
}, {
|
|
419
495
|
readonly kind: "block-design";
|
|
420
496
|
readonly id: "feature-cards-raised-rule";
|
|
@@ -429,11 +505,66 @@ export declare const appearancePresets: readonly [{
|
|
|
429
505
|
readonly itemSurface: "raised";
|
|
430
506
|
readonly transitionAfter: "none";
|
|
431
507
|
readonly emphasis: "high";
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
508
|
+
};
|
|
509
|
+
}, {
|
|
510
|
+
readonly kind: "block-design";
|
|
511
|
+
readonly id: "feature-cards-bold-colors";
|
|
512
|
+
readonly target: "feature-cards";
|
|
513
|
+
readonly label: "Bold colour-blocked cards";
|
|
514
|
+
readonly blockKinds: readonly ["block.feature-cards"];
|
|
515
|
+
readonly design: {
|
|
516
|
+
readonly sectionSurface: "base";
|
|
517
|
+
readonly contentFrame: {
|
|
518
|
+
readonly kind: "plain";
|
|
519
|
+
};
|
|
520
|
+
readonly itemSurface: "color-blocked";
|
|
521
|
+
readonly transitionAfter: "none";
|
|
522
|
+
readonly emphasis: "high";
|
|
523
|
+
};
|
|
524
|
+
}, {
|
|
525
|
+
readonly kind: "block-design";
|
|
526
|
+
readonly id: "feature-cards-editorial-columns";
|
|
527
|
+
readonly target: "feature-cards";
|
|
528
|
+
readonly label: "Editorial open columns";
|
|
529
|
+
readonly blockKinds: readonly ["block.feature-cards"];
|
|
530
|
+
readonly design: {
|
|
531
|
+
readonly sectionSurface: "base";
|
|
532
|
+
readonly contentFrame: {
|
|
533
|
+
readonly kind: "plain";
|
|
436
534
|
};
|
|
535
|
+
readonly itemSurface: "editorial";
|
|
536
|
+
readonly transitionAfter: "none";
|
|
537
|
+
readonly emphasis: "medium";
|
|
538
|
+
};
|
|
539
|
+
}, {
|
|
540
|
+
readonly kind: "block-design";
|
|
541
|
+
readonly id: "feature-cards-soft-panels";
|
|
542
|
+
readonly target: "feature-cards";
|
|
543
|
+
readonly label: "Soft tinted panels";
|
|
544
|
+
readonly blockKinds: readonly ["block.feature-cards"];
|
|
545
|
+
readonly design: {
|
|
546
|
+
readonly sectionSurface: "base";
|
|
547
|
+
readonly contentFrame: {
|
|
548
|
+
readonly kind: "plain";
|
|
549
|
+
};
|
|
550
|
+
readonly itemSurface: "inset";
|
|
551
|
+
readonly transitionAfter: "none";
|
|
552
|
+
readonly emphasis: "medium";
|
|
553
|
+
};
|
|
554
|
+
}, {
|
|
555
|
+
readonly kind: "block-design";
|
|
556
|
+
readonly id: "feature-cards-photo-tiles";
|
|
557
|
+
readonly target: "feature-cards";
|
|
558
|
+
readonly label: "Photo tiles";
|
|
559
|
+
readonly blockKinds: readonly ["block.feature-cards"];
|
|
560
|
+
readonly design: {
|
|
561
|
+
readonly sectionSurface: "base";
|
|
562
|
+
readonly contentFrame: {
|
|
563
|
+
readonly kind: "plain";
|
|
564
|
+
};
|
|
565
|
+
readonly itemSurface: "raised";
|
|
566
|
+
readonly transitionAfter: "none";
|
|
567
|
+
readonly emphasis: "high";
|
|
437
568
|
};
|
|
438
569
|
}, {
|
|
439
570
|
readonly kind: "block-design";
|
|
@@ -578,9 +709,25 @@ export declare const appearancePresets: readonly [{
|
|
|
578
709
|
};
|
|
579
710
|
}, {
|
|
580
711
|
readonly kind: "block-design";
|
|
581
|
-
readonly id: "testimonials-
|
|
712
|
+
readonly id: "testimonials-default-cards";
|
|
582
713
|
readonly target: "testimonials";
|
|
583
|
-
readonly label: "
|
|
714
|
+
readonly label: "Default cards";
|
|
715
|
+
readonly blockKinds: readonly ["block.testimonials"];
|
|
716
|
+
readonly design: {
|
|
717
|
+
readonly sectionSurface: "base";
|
|
718
|
+
readonly contentFrame: {
|
|
719
|
+
readonly kind: "plain";
|
|
720
|
+
};
|
|
721
|
+
readonly itemSurface: "none";
|
|
722
|
+
readonly transitionAfter: "soft-fade-short";
|
|
723
|
+
readonly emphasis: "medium";
|
|
724
|
+
readonly testimonialCardTreatment: "default";
|
|
725
|
+
};
|
|
726
|
+
}, {
|
|
727
|
+
readonly kind: "block-design";
|
|
728
|
+
readonly id: "testimonials-statement-cards";
|
|
729
|
+
readonly target: "testimonials";
|
|
730
|
+
readonly label: "Statement cards";
|
|
584
731
|
readonly blockKinds: readonly ["block.testimonials"];
|
|
585
732
|
readonly design: {
|
|
586
733
|
readonly sectionSurface: "accent-band";
|
|
@@ -590,28 +737,23 @@ export declare const appearancePresets: readonly [{
|
|
|
590
737
|
readonly itemSurface: "raised";
|
|
591
738
|
readonly transitionAfter: "soft-fade-short";
|
|
592
739
|
readonly emphasis: "high";
|
|
593
|
-
readonly testimonialCardTreatment: "
|
|
740
|
+
readonly testimonialCardTreatment: "statement";
|
|
594
741
|
};
|
|
595
742
|
}, {
|
|
596
743
|
readonly kind: "block-design";
|
|
597
|
-
readonly id: "testimonials-
|
|
744
|
+
readonly id: "testimonials-non-carded";
|
|
598
745
|
readonly target: "testimonials";
|
|
599
|
-
readonly label: "
|
|
746
|
+
readonly label: "Non-carded";
|
|
600
747
|
readonly blockKinds: readonly ["block.testimonials"];
|
|
601
748
|
readonly design: {
|
|
602
|
-
readonly sectionSurface: "
|
|
749
|
+
readonly sectionSurface: "muted-band";
|
|
603
750
|
readonly contentFrame: {
|
|
604
751
|
readonly kind: "plain";
|
|
605
752
|
};
|
|
606
753
|
readonly itemSurface: "none";
|
|
607
754
|
readonly transitionAfter: "soft-fade-short";
|
|
608
|
-
readonly emphasis: "
|
|
609
|
-
readonly testimonialCardTreatment: "
|
|
610
|
-
readonly headingDecoration: {
|
|
611
|
-
readonly family: "short-center-rule";
|
|
612
|
-
readonly placement: "under-centered-heading";
|
|
613
|
-
readonly colorToken: "border";
|
|
614
|
-
};
|
|
755
|
+
readonly emphasis: "medium";
|
|
756
|
+
readonly testimonialCardTreatment: "non-carded";
|
|
615
757
|
};
|
|
616
758
|
}, {
|
|
617
759
|
readonly kind: "block-design";
|
|
@@ -648,7 +790,7 @@ export declare const appearancePresets: readonly [{
|
|
|
648
790
|
readonly kind: "block-design";
|
|
649
791
|
readonly id: "contact-form-panel";
|
|
650
792
|
readonly target: "contact-form";
|
|
651
|
-
readonly label: "
|
|
793
|
+
readonly label: "Raised form panel";
|
|
652
794
|
readonly blockKinds: readonly ["block.form"];
|
|
653
795
|
readonly design: {
|
|
654
796
|
readonly sectionSurface: "muted-band";
|
|
@@ -662,35 +804,18 @@ export declare const appearancePresets: readonly [{
|
|
|
662
804
|
};
|
|
663
805
|
}, {
|
|
664
806
|
readonly kind: "block-design";
|
|
665
|
-
readonly id: "contact-form-
|
|
666
|
-
readonly target: "contact-form";
|
|
667
|
-
readonly label: "Dark form card";
|
|
668
|
-
readonly blockKinds: readonly ["block.form"];
|
|
669
|
-
readonly design: {
|
|
670
|
-
readonly sectionSurface: "accent-band";
|
|
671
|
-
readonly contentFrame: Readonly<{
|
|
672
|
-
kind: "panel";
|
|
673
|
-
treatment: "raised";
|
|
674
|
-
}>;
|
|
675
|
-
readonly itemSurface: "none";
|
|
676
|
-
readonly transitionAfter: "soft-fade-short";
|
|
677
|
-
readonly emphasis: "high";
|
|
678
|
-
};
|
|
679
|
-
}, {
|
|
680
|
-
readonly kind: "block-design";
|
|
681
|
-
readonly id: "contact-form-brand-depth-card";
|
|
807
|
+
readonly id: "contact-form-open";
|
|
682
808
|
readonly target: "contact-form";
|
|
683
|
-
readonly label: "
|
|
809
|
+
readonly label: "Open form";
|
|
684
810
|
readonly blockKinds: readonly ["block.form"];
|
|
685
811
|
readonly design: {
|
|
686
|
-
readonly sectionSurface: "
|
|
687
|
-
readonly contentFrame:
|
|
688
|
-
kind: "
|
|
689
|
-
|
|
690
|
-
}>;
|
|
812
|
+
readonly sectionSurface: "muted-band";
|
|
813
|
+
readonly contentFrame: {
|
|
814
|
+
readonly kind: "plain";
|
|
815
|
+
};
|
|
691
816
|
readonly itemSurface: "none";
|
|
692
817
|
readonly transitionAfter: "none";
|
|
693
|
-
readonly emphasis: "
|
|
818
|
+
readonly emphasis: "medium";
|
|
694
819
|
};
|
|
695
820
|
}, {
|
|
696
821
|
readonly kind: "block-design";
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type { BlockLayoutDesignProfile } from './blockFlow';
|
|
2
2
|
import type { BlockAppearanceDesign, BlockAppearancePreset, BlockAppearancePresetConstraints } from './appearancePresetTypes';
|
|
3
|
-
import type { BlockDesignPlan } from './types';
|
|
4
|
-
|
|
3
|
+
import type { BlockDesignPlan, NoExtraKeys } from './types';
|
|
4
|
+
type ExactBlockAppearancePreset<TPreset extends BlockAppearancePreset> = TPreset & NoExtraKeys<TPreset, BlockAppearancePreset> & Readonly<{
|
|
5
|
+
design: NoExtraKeys<TPreset['design'], BlockAppearanceDesign>;
|
|
6
|
+
}>;
|
|
7
|
+
export declare function defineBlockAppearancePreset<const TPreset extends BlockAppearancePreset>(preset: ExactBlockAppearancePreset<TPreset>): TPreset;
|
|
5
8
|
export declare function layoutProfileSupportsConstraints(profile: BlockLayoutDesignProfile, constraints: BlockAppearancePresetConstraints): boolean;
|
|
6
9
|
export declare function resolveBlockAppearancePresetDesign(preset: BlockAppearancePreset, layoutProfile?: BlockLayoutDesignProfile | null): BlockAppearanceDesign;
|
|
7
10
|
export declare function blockDesignPlanFromAppearancePreset<TBlockId extends string, TPurpose extends string>(preset: BlockAppearancePreset, input: Readonly<{
|
|
@@ -10,3 +13,4 @@ export declare function blockDesignPlanFromAppearancePreset<TBlockId extends str
|
|
|
10
13
|
purpose: TPurpose;
|
|
11
14
|
layoutProfile?: BlockLayoutDesignProfile | null;
|
|
12
15
|
}>): BlockDesignPlan<TBlockId, TPurpose>;
|
|
16
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BlockLayoutFamily } from './blockFlow';
|
|
2
|
-
import type { ContentFrameIntent, EyebrowTreatment, EventListTreatment, HeroCompositionIntent, HeroLegibilityStrategy, HeroTypographyScaleIntent,
|
|
2
|
+
import type { ContentFrameIntent, EyebrowTreatment, EventListTreatment, HeroCompositionIntent, HeroLegibilityStrategy, HeroTypographyScaleIntent, ImageSurfaceMotion, ImageSurfaceTreatment, AccordionIconTreatment, NonEmptyReadonlyArray, SectionHeightIntent, SiteStyleEmphasis, SiteStyleItemSurfaceIntent, SiteStyleSectionTransitionIntent, SiteStyleSurfaceIntent, TestimonialCardTreatment, TileTreatment } from './types';
|
|
3
3
|
export type AppearancePresetTarget = 'hero' | 'intro' | 'body-text' | 'offerings' | 'feature-cards' | 'events' | 'media-text' | 'testimonials' | 'faq' | 'contact-form' | 'cta';
|
|
4
4
|
export type BlockAppearanceDesign = Readonly<{
|
|
5
5
|
sectionSurface: SiteStyleSurfaceIntent;
|
|
@@ -17,14 +17,13 @@ export type BlockAppearanceDesign = Readonly<{
|
|
|
17
17
|
tileTreatment?: TileTreatment;
|
|
18
18
|
eventListTreatment?: EventListTreatment;
|
|
19
19
|
eyebrowTreatment?: EyebrowTreatment;
|
|
20
|
-
headingDecoration?: HeadingDecoration;
|
|
21
20
|
accordionIconTreatment?: AccordionIconTreatment | null;
|
|
22
21
|
}>;
|
|
23
22
|
export type BlockAppearancePresetConstraints = Readonly<{
|
|
24
23
|
layoutFamilies?: readonly BlockLayoutFamily[];
|
|
25
24
|
layoutVariantKeys?: readonly string[];
|
|
26
25
|
}>;
|
|
27
|
-
export type BlockAppearanceOptionDesignPatch = Readonly<Partial<Pick<BlockAppearanceDesign, 'heroLegibility' | 'heroComposition' | 'heroTypographyScale' | 'imageSurfaceTreatment' | 'imageSurfaceMotion' | 'sectionHeight' | 'testimonialCardTreatment' | 'tileTreatment' | 'eventListTreatment' | 'eyebrowTreatment' | '
|
|
26
|
+
export type BlockAppearanceOptionDesignPatch = Readonly<Partial<Pick<BlockAppearanceDesign, 'heroLegibility' | 'heroComposition' | 'heroTypographyScale' | 'imageSurfaceTreatment' | 'imageSurfaceMotion' | 'sectionHeight' | 'testimonialCardTreatment' | 'tileTreatment' | 'eventListTreatment' | 'eyebrowTreatment' | 'accordionIconTreatment'>>>;
|
|
28
27
|
export type BlockAppearanceLayoutDesignPatch = BlockAppearanceOptionDesignPatch;
|
|
29
28
|
export type BlockAppearanceOption = Readonly<{
|
|
30
29
|
id: string;
|
|
@@ -383,7 +383,7 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
383
383
|
readonly kind: "block-design";
|
|
384
384
|
readonly id: "intro-organic-statement";
|
|
385
385
|
readonly target: "intro";
|
|
386
|
-
readonly label: "
|
|
386
|
+
readonly label: "Intro statement";
|
|
387
387
|
readonly blockKinds: readonly ["block.intro"];
|
|
388
388
|
readonly design: {
|
|
389
389
|
readonly sectionSurface: "base";
|
|
@@ -393,11 +393,42 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
393
393
|
readonly itemSurface: "none";
|
|
394
394
|
readonly transitionAfter: "soft-fade-short";
|
|
395
395
|
readonly emphasis: "high";
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
396
|
+
};
|
|
397
|
+
}, {
|
|
398
|
+
readonly kind: "block-design";
|
|
399
|
+
readonly id: "intro-editorial-statement";
|
|
400
|
+
readonly target: "intro";
|
|
401
|
+
readonly label: "Editorial intro statement";
|
|
402
|
+
readonly blockKinds: readonly ["block.intro"];
|
|
403
|
+
readonly constraints: {
|
|
404
|
+
readonly layoutVariantKeys: readonly ["centered-copy", "statement-copy"];
|
|
405
|
+
};
|
|
406
|
+
readonly design: {
|
|
407
|
+
readonly sectionSurface: "base";
|
|
408
|
+
readonly contentFrame: {
|
|
409
|
+
readonly kind: "plain";
|
|
400
410
|
};
|
|
411
|
+
readonly itemSurface: "none";
|
|
412
|
+
readonly transitionAfter: "soft-fade-short";
|
|
413
|
+
readonly emphasis: "high";
|
|
414
|
+
};
|
|
415
|
+
}, {
|
|
416
|
+
readonly kind: "block-design";
|
|
417
|
+
readonly id: "intro-portrait-bio";
|
|
418
|
+
readonly target: "intro";
|
|
419
|
+
readonly label: "Portrait and bio";
|
|
420
|
+
readonly blockKinds: readonly ["block.intro"];
|
|
421
|
+
readonly constraints: {
|
|
422
|
+
readonly layoutVariantKeys: readonly ["media-copy"];
|
|
423
|
+
};
|
|
424
|
+
readonly design: {
|
|
425
|
+
readonly sectionSurface: "base";
|
|
426
|
+
readonly contentFrame: {
|
|
427
|
+
readonly kind: "plain";
|
|
428
|
+
};
|
|
429
|
+
readonly itemSurface: "none";
|
|
430
|
+
readonly transitionAfter: "soft-fade-short";
|
|
431
|
+
readonly emphasis: "medium";
|
|
401
432
|
};
|
|
402
433
|
}, {
|
|
403
434
|
readonly kind: "block-design";
|
|
@@ -414,6 +445,51 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
414
445
|
readonly transitionAfter: "soft-fade-short";
|
|
415
446
|
readonly emphasis: "medium";
|
|
416
447
|
};
|
|
448
|
+
}, {
|
|
449
|
+
readonly kind: "block-design";
|
|
450
|
+
readonly id: "offerings-preview-default-cards";
|
|
451
|
+
readonly target: "offerings";
|
|
452
|
+
readonly label: "Default offering cards";
|
|
453
|
+
readonly blockKinds: readonly ["block.offerings-preview"];
|
|
454
|
+
readonly design: {
|
|
455
|
+
readonly sectionSurface: "base";
|
|
456
|
+
readonly contentFrame: {
|
|
457
|
+
readonly kind: "plain";
|
|
458
|
+
};
|
|
459
|
+
readonly itemSurface: "default";
|
|
460
|
+
readonly transitionAfter: "soft-fade-short";
|
|
461
|
+
readonly emphasis: "medium";
|
|
462
|
+
};
|
|
463
|
+
}, {
|
|
464
|
+
readonly kind: "block-design";
|
|
465
|
+
readonly id: "offerings-preview-secondary-cards";
|
|
466
|
+
readonly target: "offerings";
|
|
467
|
+
readonly label: "Secondary offering cards";
|
|
468
|
+
readonly blockKinds: readonly ["block.offerings-preview"];
|
|
469
|
+
readonly design: {
|
|
470
|
+
readonly sectionSurface: "muted-band";
|
|
471
|
+
readonly contentFrame: {
|
|
472
|
+
readonly kind: "plain";
|
|
473
|
+
};
|
|
474
|
+
readonly itemSurface: "inset";
|
|
475
|
+
readonly transitionAfter: "soft-fade-short";
|
|
476
|
+
readonly emphasis: "medium";
|
|
477
|
+
};
|
|
478
|
+
}, {
|
|
479
|
+
readonly kind: "block-design";
|
|
480
|
+
readonly id: "offerings-preview-non-carded";
|
|
481
|
+
readonly target: "offerings";
|
|
482
|
+
readonly label: "Non-carded offerings";
|
|
483
|
+
readonly blockKinds: readonly ["block.offerings-preview"];
|
|
484
|
+
readonly design: {
|
|
485
|
+
readonly sectionSurface: "muted-band";
|
|
486
|
+
readonly contentFrame: {
|
|
487
|
+
readonly kind: "plain";
|
|
488
|
+
};
|
|
489
|
+
readonly itemSurface: "editorial";
|
|
490
|
+
readonly transitionAfter: "soft-fade-short";
|
|
491
|
+
readonly emphasis: "medium";
|
|
492
|
+
};
|
|
417
493
|
}, {
|
|
418
494
|
readonly kind: "block-design";
|
|
419
495
|
readonly id: "feature-cards-raised-rule";
|
|
@@ -428,11 +504,66 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
428
504
|
readonly itemSurface: "raised";
|
|
429
505
|
readonly transitionAfter: "none";
|
|
430
506
|
readonly emphasis: "high";
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
507
|
+
};
|
|
508
|
+
}, {
|
|
509
|
+
readonly kind: "block-design";
|
|
510
|
+
readonly id: "feature-cards-bold-colors";
|
|
511
|
+
readonly target: "feature-cards";
|
|
512
|
+
readonly label: "Bold colour-blocked cards";
|
|
513
|
+
readonly blockKinds: readonly ["block.feature-cards"];
|
|
514
|
+
readonly design: {
|
|
515
|
+
readonly sectionSurface: "base";
|
|
516
|
+
readonly contentFrame: {
|
|
517
|
+
readonly kind: "plain";
|
|
518
|
+
};
|
|
519
|
+
readonly itemSurface: "color-blocked";
|
|
520
|
+
readonly transitionAfter: "none";
|
|
521
|
+
readonly emphasis: "high";
|
|
522
|
+
};
|
|
523
|
+
}, {
|
|
524
|
+
readonly kind: "block-design";
|
|
525
|
+
readonly id: "feature-cards-editorial-columns";
|
|
526
|
+
readonly target: "feature-cards";
|
|
527
|
+
readonly label: "Editorial open columns";
|
|
528
|
+
readonly blockKinds: readonly ["block.feature-cards"];
|
|
529
|
+
readonly design: {
|
|
530
|
+
readonly sectionSurface: "base";
|
|
531
|
+
readonly contentFrame: {
|
|
532
|
+
readonly kind: "plain";
|
|
435
533
|
};
|
|
534
|
+
readonly itemSurface: "editorial";
|
|
535
|
+
readonly transitionAfter: "none";
|
|
536
|
+
readonly emphasis: "medium";
|
|
537
|
+
};
|
|
538
|
+
}, {
|
|
539
|
+
readonly kind: "block-design";
|
|
540
|
+
readonly id: "feature-cards-soft-panels";
|
|
541
|
+
readonly target: "feature-cards";
|
|
542
|
+
readonly label: "Soft tinted panels";
|
|
543
|
+
readonly blockKinds: readonly ["block.feature-cards"];
|
|
544
|
+
readonly design: {
|
|
545
|
+
readonly sectionSurface: "base";
|
|
546
|
+
readonly contentFrame: {
|
|
547
|
+
readonly kind: "plain";
|
|
548
|
+
};
|
|
549
|
+
readonly itemSurface: "inset";
|
|
550
|
+
readonly transitionAfter: "none";
|
|
551
|
+
readonly emphasis: "medium";
|
|
552
|
+
};
|
|
553
|
+
}, {
|
|
554
|
+
readonly kind: "block-design";
|
|
555
|
+
readonly id: "feature-cards-photo-tiles";
|
|
556
|
+
readonly target: "feature-cards";
|
|
557
|
+
readonly label: "Photo tiles";
|
|
558
|
+
readonly blockKinds: readonly ["block.feature-cards"];
|
|
559
|
+
readonly design: {
|
|
560
|
+
readonly sectionSurface: "base";
|
|
561
|
+
readonly contentFrame: {
|
|
562
|
+
readonly kind: "plain";
|
|
563
|
+
};
|
|
564
|
+
readonly itemSurface: "raised";
|
|
565
|
+
readonly transitionAfter: "none";
|
|
566
|
+
readonly emphasis: "high";
|
|
436
567
|
};
|
|
437
568
|
}, {
|
|
438
569
|
readonly kind: "block-design";
|
|
@@ -577,9 +708,25 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
577
708
|
};
|
|
578
709
|
}, {
|
|
579
710
|
readonly kind: "block-design";
|
|
580
|
-
readonly id: "testimonials-
|
|
711
|
+
readonly id: "testimonials-default-cards";
|
|
581
712
|
readonly target: "testimonials";
|
|
582
|
-
readonly label: "
|
|
713
|
+
readonly label: "Default cards";
|
|
714
|
+
readonly blockKinds: readonly ["block.testimonials"];
|
|
715
|
+
readonly design: {
|
|
716
|
+
readonly sectionSurface: "base";
|
|
717
|
+
readonly contentFrame: {
|
|
718
|
+
readonly kind: "plain";
|
|
719
|
+
};
|
|
720
|
+
readonly itemSurface: "none";
|
|
721
|
+
readonly transitionAfter: "soft-fade-short";
|
|
722
|
+
readonly emphasis: "medium";
|
|
723
|
+
readonly testimonialCardTreatment: "default";
|
|
724
|
+
};
|
|
725
|
+
}, {
|
|
726
|
+
readonly kind: "block-design";
|
|
727
|
+
readonly id: "testimonials-statement-cards";
|
|
728
|
+
readonly target: "testimonials";
|
|
729
|
+
readonly label: "Statement cards";
|
|
583
730
|
readonly blockKinds: readonly ["block.testimonials"];
|
|
584
731
|
readonly design: {
|
|
585
732
|
readonly sectionSurface: "accent-band";
|
|
@@ -589,28 +736,23 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
589
736
|
readonly itemSurface: "raised";
|
|
590
737
|
readonly transitionAfter: "soft-fade-short";
|
|
591
738
|
readonly emphasis: "high";
|
|
592
|
-
readonly testimonialCardTreatment: "
|
|
739
|
+
readonly testimonialCardTreatment: "statement";
|
|
593
740
|
};
|
|
594
741
|
}, {
|
|
595
742
|
readonly kind: "block-design";
|
|
596
|
-
readonly id: "testimonials-
|
|
743
|
+
readonly id: "testimonials-non-carded";
|
|
597
744
|
readonly target: "testimonials";
|
|
598
|
-
readonly label: "
|
|
745
|
+
readonly label: "Non-carded";
|
|
599
746
|
readonly blockKinds: readonly ["block.testimonials"];
|
|
600
747
|
readonly design: {
|
|
601
|
-
readonly sectionSurface: "
|
|
748
|
+
readonly sectionSurface: "muted-band";
|
|
602
749
|
readonly contentFrame: {
|
|
603
750
|
readonly kind: "plain";
|
|
604
751
|
};
|
|
605
752
|
readonly itemSurface: "none";
|
|
606
753
|
readonly transitionAfter: "soft-fade-short";
|
|
607
|
-
readonly emphasis: "
|
|
608
|
-
readonly testimonialCardTreatment: "
|
|
609
|
-
readonly headingDecoration: {
|
|
610
|
-
readonly family: "short-center-rule";
|
|
611
|
-
readonly placement: "under-centered-heading";
|
|
612
|
-
readonly colorToken: "border";
|
|
613
|
-
};
|
|
754
|
+
readonly emphasis: "medium";
|
|
755
|
+
readonly testimonialCardTreatment: "non-carded";
|
|
614
756
|
};
|
|
615
757
|
}, {
|
|
616
758
|
readonly kind: "block-design";
|
|
@@ -647,7 +789,7 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
647
789
|
readonly kind: "block-design";
|
|
648
790
|
readonly id: "contact-form-panel";
|
|
649
791
|
readonly target: "contact-form";
|
|
650
|
-
readonly label: "
|
|
792
|
+
readonly label: "Raised form panel";
|
|
651
793
|
readonly blockKinds: readonly ["block.form"];
|
|
652
794
|
readonly design: {
|
|
653
795
|
readonly sectionSurface: "muted-band";
|
|
@@ -661,35 +803,18 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
661
803
|
};
|
|
662
804
|
}, {
|
|
663
805
|
readonly kind: "block-design";
|
|
664
|
-
readonly id: "contact-form-
|
|
665
|
-
readonly target: "contact-form";
|
|
666
|
-
readonly label: "Dark form card";
|
|
667
|
-
readonly blockKinds: readonly ["block.form"];
|
|
668
|
-
readonly design: {
|
|
669
|
-
readonly sectionSurface: "accent-band";
|
|
670
|
-
readonly contentFrame: Readonly<{
|
|
671
|
-
kind: "panel";
|
|
672
|
-
treatment: "raised";
|
|
673
|
-
}>;
|
|
674
|
-
readonly itemSurface: "none";
|
|
675
|
-
readonly transitionAfter: "soft-fade-short";
|
|
676
|
-
readonly emphasis: "high";
|
|
677
|
-
};
|
|
678
|
-
}, {
|
|
679
|
-
readonly kind: "block-design";
|
|
680
|
-
readonly id: "contact-form-brand-depth-card";
|
|
806
|
+
readonly id: "contact-form-open";
|
|
681
807
|
readonly target: "contact-form";
|
|
682
|
-
readonly label: "
|
|
808
|
+
readonly label: "Open form";
|
|
683
809
|
readonly blockKinds: readonly ["block.form"];
|
|
684
810
|
readonly design: {
|
|
685
|
-
readonly sectionSurface: "
|
|
686
|
-
readonly contentFrame:
|
|
687
|
-
kind: "
|
|
688
|
-
|
|
689
|
-
}>;
|
|
811
|
+
readonly sectionSurface: "muted-band";
|
|
812
|
+
readonly contentFrame: {
|
|
813
|
+
readonly kind: "plain";
|
|
814
|
+
};
|
|
690
815
|
readonly itemSurface: "none";
|
|
691
816
|
readonly transitionAfter: "none";
|
|
692
|
-
readonly emphasis: "
|
|
817
|
+
readonly emphasis: "medium";
|
|
693
818
|
};
|
|
694
819
|
}, {
|
|
695
820
|
readonly kind: "block-design";
|