@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
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { type MediaAssetId } from '../../../../core/src/index';
|
|
2
|
+
import { type AppearancePresetId, type LayoutVariantKey } from '../../../../theme-core/src/site-styles/index';
|
|
2
3
|
import { type ThemeColorToken } from '../../../../theme-core/src/tokens/index';
|
|
3
|
-
import type {
|
|
4
|
+
import type { RenderableMediaAsset } from '../../../../media-core/src/index';
|
|
4
5
|
export type BackgroundMode = 'default' | 'color' | 'gradient' | 'image';
|
|
5
6
|
export type BackgroundModeCycleDirection = 'prev' | 'next';
|
|
7
|
+
export type BackgroundColorToken = ThemeColorToken & {
|
|
8
|
+
readonly __backgroundColorTokenBrand: 'BackgroundColorToken';
|
|
9
|
+
};
|
|
6
10
|
export type GradientPresetId = string & {
|
|
7
11
|
readonly __brand: 'GradientPresetId';
|
|
8
12
|
};
|
|
@@ -10,7 +14,7 @@ export type BackgroundOverride = Readonly<{
|
|
|
10
14
|
kind: 'default';
|
|
11
15
|
}> | Readonly<{
|
|
12
16
|
kind: 'color';
|
|
13
|
-
token:
|
|
17
|
+
token: BackgroundColorToken;
|
|
14
18
|
}> | Readonly<{
|
|
15
19
|
kind: 'gradient';
|
|
16
20
|
gradientId: GradientPresetId;
|
|
@@ -28,12 +32,19 @@ export type ParsedBackgroundOverride = Readonly<{
|
|
|
28
32
|
background: Readonly<Record<string, unknown>>;
|
|
29
33
|
}>;
|
|
30
34
|
export type BackgroundImagePoolSource = 'current' | 'generated-ambient' | 'previous-background' | 'general-media';
|
|
31
|
-
export type
|
|
35
|
+
export type BackgroundImagePoolMediaAsset = RenderableMediaAsset;
|
|
36
|
+
type BaseBackgroundImagePoolItem = Readonly<{
|
|
32
37
|
mediaId: MediaAssetId;
|
|
33
|
-
source: BackgroundImagePoolSource;
|
|
34
38
|
label?: string;
|
|
35
39
|
rank?: number;
|
|
36
40
|
}>;
|
|
41
|
+
export type BackgroundImagePoolItem = Readonly<BaseBackgroundImagePoolItem & {
|
|
42
|
+
source: 'current';
|
|
43
|
+
mediaAsset?: BackgroundImagePoolMediaAsset;
|
|
44
|
+
}> | Readonly<BaseBackgroundImagePoolItem & {
|
|
45
|
+
source: Exclude<BackgroundImagePoolSource, 'current'>;
|
|
46
|
+
mediaAsset: BackgroundImagePoolMediaAsset;
|
|
47
|
+
}>;
|
|
37
48
|
export type BackgroundContrastTreatment = Readonly<{
|
|
38
49
|
kind: 'theme-foreground';
|
|
39
50
|
minContrastRatio: 4.5;
|
|
@@ -46,9 +57,9 @@ export type BackgroundModeCapability = Readonly<{
|
|
|
46
57
|
kind: 'default';
|
|
47
58
|
}> | Readonly<{
|
|
48
59
|
kind: 'color';
|
|
49
|
-
recommendedTokens: readonly
|
|
50
|
-
advancedTokens: readonly
|
|
51
|
-
selectableTokens: readonly
|
|
60
|
+
recommendedTokens: readonly BackgroundColorToken[];
|
|
61
|
+
advancedTokens: readonly BackgroundColorToken[];
|
|
62
|
+
selectableTokens: readonly BackgroundColorToken[];
|
|
52
63
|
treatment: BackgroundContrastTreatment;
|
|
53
64
|
}> | Readonly<{
|
|
54
65
|
kind: 'gradient';
|
|
@@ -62,9 +73,9 @@ export type BackgroundModeCapability = Readonly<{
|
|
|
62
73
|
export type BackgroundCapability = Readonly<{
|
|
63
74
|
modeCapabilities: readonly BackgroundModeCapability[];
|
|
64
75
|
modes: readonly BackgroundMode[];
|
|
65
|
-
recommendedColorTokens?: readonly
|
|
66
|
-
advancedColorTokens?: readonly
|
|
67
|
-
colorTokens?: readonly
|
|
76
|
+
recommendedColorTokens?: readonly BackgroundColorToken[];
|
|
77
|
+
advancedColorTokens?: readonly BackgroundColorToken[];
|
|
78
|
+
colorTokens?: readonly BackgroundColorToken[];
|
|
68
79
|
gradientIds?: readonly GradientPresetId[];
|
|
69
80
|
imagePool?: readonly BackgroundImagePoolItem[];
|
|
70
81
|
colorTreatment?: BackgroundContrastTreatment;
|
|
@@ -79,7 +90,7 @@ export type BackgroundTransitionAction = Readonly<{
|
|
|
79
90
|
direction: BackgroundModeCycleDirection;
|
|
80
91
|
}> | Readonly<{
|
|
81
92
|
kind: 'choose-color';
|
|
82
|
-
token:
|
|
93
|
+
token: BackgroundColorToken;
|
|
83
94
|
}> | Readonly<{
|
|
84
95
|
kind: 'choose-gradient';
|
|
85
96
|
gradientId: GradientPresetId;
|
|
@@ -142,16 +153,23 @@ export type BackgroundCapabilityLookOption = Readonly<{
|
|
|
142
153
|
export type ResolveBackgroundCapabilityInput = Readonly<{
|
|
143
154
|
block: BackgroundCapabilityBlock;
|
|
144
155
|
imagePool?: readonly BackgroundImagePoolItem[];
|
|
156
|
+
palette?: BackgroundColorPalette | null;
|
|
145
157
|
}>;
|
|
146
158
|
export declare const BACKGROUND_MODES: readonly ["default", "color", "gradient", "image"];
|
|
147
159
|
export declare const DEFAULT_BACKGROUND_OVERRIDE: BackgroundOverride;
|
|
148
|
-
export declare const BACKGROUND_CUSTOMIZABLE_BLOCK_KINDS: readonly ["block.hero", "block.testimonials", "block.cta-full", "block.form"];
|
|
160
|
+
export declare const BACKGROUND_CUSTOMIZABLE_BLOCK_KINDS: readonly ["block.hero", "block.intro", "block.testimonials", "block.cta-full", "block.form"];
|
|
161
|
+
export declare const BACKGROUND_COLOR_ONLY_BLOCK_KINDS: readonly ["block.intro"];
|
|
149
162
|
export declare const BACKGROUND_RICH_LAYOUT_FAMILIES: readonly ["split"];
|
|
150
163
|
export declare const BACKGROUND_RICH_SECTION_SURFACES: readonly ["hero-image"];
|
|
151
164
|
export declare function isBackgroundCustomizableBlockKind(blockKind: string): boolean;
|
|
152
|
-
export
|
|
153
|
-
export declare const
|
|
154
|
-
export declare const
|
|
165
|
+
export type BackgroundColorPalette = Readonly<Record<string, string | null | undefined>>;
|
|
166
|
+
export declare const backgroundColorTokens: readonly BackgroundColorToken[];
|
|
167
|
+
export declare const recommendedBackgroundColorTokens: readonly BackgroundColorToken[];
|
|
168
|
+
export declare const advancedBackgroundColorTokens: BackgroundColorToken[];
|
|
169
|
+
export declare function parseBackgroundColorToken(value: unknown): BackgroundColorToken | null;
|
|
170
|
+
export declare function isBackgroundColorToken(value: unknown): value is BackgroundColorToken;
|
|
171
|
+
export declare function foregroundTokenForBackgroundColorToken(token: BackgroundColorToken): string;
|
|
172
|
+
export declare function dedupeBackgroundColorTokensByPalette(tokens: readonly BackgroundColorToken[], palette: BackgroundColorPalette): readonly BackgroundColorToken[];
|
|
155
173
|
export declare function parseGradientPresetId(value: unknown): GradientPresetId | null;
|
|
156
174
|
export declare function isGradientPresetId(value: unknown): value is GradientPresetId;
|
|
157
175
|
export declare function backgroundModeForOverride(override: BackgroundOverride): BackgroundMode;
|
|
@@ -168,3 +186,4 @@ export declare function planBackgroundTransition(current: BackgroundOverride, ca
|
|
|
168
186
|
export declare function planBackgroundOverride(current: ParsedBackgroundOverride, capability: BackgroundCapability, override: BackgroundOverride): BackgroundOverridePlan;
|
|
169
187
|
export declare function rankBackgroundImagePoolItems(items: readonly BackgroundImagePoolItem[]): readonly BackgroundImagePoolItem[];
|
|
170
188
|
export declare function enabledBackgroundModes(capability: BackgroundCapability): readonly BackgroundMode[];
|
|
189
|
+
export {};
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export { prefetchBlockData } from './prefetchBlockData';
|
|
6
6
|
export type { PrefetchBlockDataOptions } from './prefetchBlockData';
|
|
7
|
+
export { LINKED_CONTENT_ENTRY_META_KEY, buildLinkedContentEditTarget, coerceLinkedContentEntriesPayload, describeLinkedContentEditSupport, getLinkedContentEntryMeta, } from './linkedContentEntries';
|
|
8
|
+
export type { LinkedContentEditSupport, LinkedContentEditTarget, LinkedContentEntryMeta, LinkedContentEntryRecord, PublicContentTypeFieldMeta, PublicContentTypeMeta, } from './linkedContentEntries';
|
|
7
9
|
export { initialPreviewResolvedDataState, previewResolvedDataReducer, selectPreviewResolvedData, } from './previewResolvedDataState';
|
|
8
10
|
export type { PreviewLoaderError, PreviewResolvedDataAction, PreviewResolvedDataState, } from './previewResolvedDataState';
|
|
9
11
|
export { SUPPORTED_LOADER_ENDPOINTS, isSupportedLoaderEndpoint, } from './loaderEndpoints';
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const LINKED_CONTENT_ENTRY_META_KEY: "__rbLinkedContentEntry";
|
|
2
|
+
export type PublicContentTypeFieldMeta = Readonly<{
|
|
3
|
+
id: string;
|
|
4
|
+
type: string;
|
|
5
|
+
mediaKinds?: readonly string[] | null;
|
|
6
|
+
fileKinds?: readonly string[] | null;
|
|
7
|
+
}>;
|
|
8
|
+
export type PublicContentTypeMeta = Readonly<{
|
|
9
|
+
key: string;
|
|
10
|
+
titleField: string | null;
|
|
11
|
+
fields: readonly PublicContentTypeFieldMeta[];
|
|
12
|
+
previewLinkedEntryEditing?: PublicContentTypeLinkedEntryEditing | null;
|
|
13
|
+
}>;
|
|
14
|
+
export type PublicContentTypeLinkedEntryEditing = Readonly<{
|
|
15
|
+
kind: 'generic';
|
|
16
|
+
}> | Readonly<{
|
|
17
|
+
kind: 'unsupported-domain-backed';
|
|
18
|
+
reason: string;
|
|
19
|
+
}>;
|
|
20
|
+
export type LinkedContentEditSupport = Readonly<{
|
|
21
|
+
kind: 'supported';
|
|
22
|
+
}> | Readonly<{
|
|
23
|
+
kind: 'unsupported-domain-backed';
|
|
24
|
+
reason: string;
|
|
25
|
+
}> | Readonly<{
|
|
26
|
+
kind: 'unsupported-content-type';
|
|
27
|
+
reason: string;
|
|
28
|
+
}> | Readonly<{
|
|
29
|
+
kind: 'unsupported-missing-schema';
|
|
30
|
+
reason: string;
|
|
31
|
+
}>;
|
|
32
|
+
export type LinkedContentEntryMeta = Readonly<{
|
|
33
|
+
kind: 'linked-content-entry';
|
|
34
|
+
entryId: string;
|
|
35
|
+
contentTypeKey: string;
|
|
36
|
+
contentTypeLabel: string;
|
|
37
|
+
title: string;
|
|
38
|
+
optimisticHash: string | null;
|
|
39
|
+
support: LinkedContentEditSupport;
|
|
40
|
+
contentType: PublicContentTypeMeta;
|
|
41
|
+
}>;
|
|
42
|
+
export type LinkedContentEditTarget = Readonly<{
|
|
43
|
+
kind: 'linked-content-entry';
|
|
44
|
+
entryId: string;
|
|
45
|
+
contentTypeKey: string;
|
|
46
|
+
contentTypeLabel: string;
|
|
47
|
+
title: string;
|
|
48
|
+
sourceBlockId: string | null;
|
|
49
|
+
sourceBlockKind: string | null;
|
|
50
|
+
itemIndex: number;
|
|
51
|
+
content: Record<string, unknown>;
|
|
52
|
+
optimisticHash: string | null;
|
|
53
|
+
contentType: PublicContentTypeMeta;
|
|
54
|
+
}>;
|
|
55
|
+
export type LinkedContentEntryRecord = Record<string, unknown> & Partial<Record<typeof LINKED_CONTENT_ENTRY_META_KEY, LinkedContentEntryMeta>>;
|
|
56
|
+
export declare function coerceLinkedContentEntriesPayload(payload: unknown): unknown;
|
|
57
|
+
export declare function getLinkedContentEntryMeta(value: unknown): LinkedContentEntryMeta | null;
|
|
58
|
+
export declare function buildLinkedContentEditTarget(input: {
|
|
59
|
+
entry: unknown;
|
|
60
|
+
sourceBlockId?: string | null;
|
|
61
|
+
sourceBlockKind?: string | null;
|
|
62
|
+
itemIndex: number;
|
|
63
|
+
}): LinkedContentEditTarget | null;
|
|
64
|
+
export declare function describeLinkedContentEditSupport(support: LinkedContentEditSupport): string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const SUPPORTED_LOADER_ENDPOINTS: readonly ["listPublishedEntries", "getPublishedEntryPreview", "listPublicEvents", "getPublicEventDetails", "listPublicCourses", "listPublicTeamMembers", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "getPublicFormById", "getPublicBookingServices"];
|
|
1
|
+
export declare const SUPPORTED_LOADER_ENDPOINTS: readonly ["listPublishedEntries", "getPublishedEntryPreview", "listPublicEvents", "getPublicEventDetails", "listPublicCourses", "listPublicRouteCandidates", "listPublicTeamMembers", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "getPublicFormById", "getPublicBookingServices"];
|
|
2
2
|
export type SupportedLoaderEndpoint = typeof SUPPORTED_LOADER_ENDPOINTS[number];
|
|
3
3
|
export declare function isSupportedLoaderEndpoint(endpoint: string): endpoint is SupportedLoaderEndpoint;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BlockDesignCapability, type DesignedBlockDesignCapability, type DesignedBlockDesignCapabilityInput, type EyebrowTreatment, type BlockDesignCapabilityMap, type BlockDesignMetadataMap, type NonEmptyReadonlyArray, type UnsupportedBlockDesignCapabilityReason } from '../../../theme-core/src/site-styles/index';
|
|
1
|
+
import { type BlockDesignCapability, type DesignedBlockDesignCapability, type DesignedBlockDesignCapabilityInput, type EyebrowTreatment, type BlockDesignCapabilityMap, type BlockDesignMetadataMap, type NonEmptyReadonlyArray, type NoExtraKeys, type UnsupportedBlockDesignCapabilityReason } from '../../../theme-core/src/site-styles/index';
|
|
2
2
|
import type { AnyBlockRuntimeDefinition } from '../contracts';
|
|
3
3
|
import type { SystemBlockDefinition } from './registry';
|
|
4
4
|
export type NoBlockDesignCapabilityReason = UnsupportedBlockDesignCapabilityReason;
|
|
@@ -9,7 +9,7 @@ export type BlockDesignCapabilityDeclaration = Readonly<{
|
|
|
9
9
|
kind: 'none';
|
|
10
10
|
reason: NoBlockDesignCapabilityReason;
|
|
11
11
|
}>;
|
|
12
|
-
export declare function declareBlockDesignCapability(capability: DesignedBlockDesignCapabilityInput): BlockDesignCapabilityDeclaration;
|
|
12
|
+
export declare function declareBlockDesignCapability<const TCapability extends DesignedBlockDesignCapabilityInput>(capability: NoExtraKeys<TCapability, DesignedBlockDesignCapabilityInput>): BlockDesignCapabilityDeclaration;
|
|
13
13
|
export declare function withEyebrowCapability(declaration: BlockDesignCapabilityDeclaration, eyebrowTreatments: NonEmptyReadonlyArray<EyebrowTreatment>): BlockDesignCapabilityDeclaration;
|
|
14
14
|
export declare function declareNoBlockDesignCapability(reason: NoBlockDesignCapabilityReason): BlockDesignCapabilityDeclaration;
|
|
15
15
|
export declare function resolveDeclaredBlockDesignCapability(declaration: BlockDesignCapabilityDeclaration | undefined): BlockDesignCapability | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ModalFieldDefinition } from '../manifest/schema';
|
|
2
|
-
import type { AccordionIconTreatment, EyebrowTreatment, EventListTreatment,
|
|
2
|
+
import type { AccordionIconTreatment, EyebrowTreatment, EventListTreatment, HeadingDecorationOverride, PageDesignEditorBackgroundOverrideOwner, TileTreatment } from '../../../../theme-core/src/site-styles/index';
|
|
3
3
|
import type { Media } from '../../lib/media';
|
|
4
4
|
/**
|
|
5
5
|
* Options for customizing a section styles field.
|
|
@@ -59,9 +59,12 @@ type CardStylesOptions = {
|
|
|
59
59
|
export type SectionStylesContent = {
|
|
60
60
|
background?: {
|
|
61
61
|
type?: 'color' | 'gradient' | 'image';
|
|
62
|
+
contentOwner?: PageDesignEditorBackgroundOverrideOwner | null;
|
|
62
63
|
color?: string | null;
|
|
63
64
|
/** CSS gradient string (e.g., "linear-gradient(...)") */
|
|
64
65
|
gradient?: string | null;
|
|
66
|
+
/** Curated gradient preset identifier. */
|
|
67
|
+
gradientPresetId?: string | null;
|
|
65
68
|
image?: Media | null;
|
|
66
69
|
objectFit?: 'fill' | 'fit' | 'original' | 'custom' | null;
|
|
67
70
|
scale?: string | null;
|
|
@@ -78,13 +81,16 @@ export type SectionStylesContent = {
|
|
|
78
81
|
textColor?: string | null;
|
|
79
82
|
/** Optional color token for headings. Falls back to textColor if not set. */
|
|
80
83
|
headingColor?: string | null;
|
|
84
|
+
/** Optional color token for links. Falls back to textColor if not set. */
|
|
85
|
+
linkColor?: string | null;
|
|
86
|
+
/** Optional color token for supporting copy. Falls back to textColor if not set. */
|
|
87
|
+
supportingColor?: string | null;
|
|
81
88
|
} | null;
|
|
82
89
|
spacing?: string | null;
|
|
83
90
|
minHeight?: 'none' | 'banner' | 'hero' | 'immersive' | null;
|
|
84
91
|
tileTreatment?: TileTreatment | null;
|
|
85
92
|
eventListTreatment?: EventListTreatment | null;
|
|
86
93
|
eyebrowTreatment?: EyebrowTreatment | null;
|
|
87
|
-
headingDecoration?: HeadingDecoration | null;
|
|
88
94
|
headingDecorationOverride?: HeadingDecorationOverride | null;
|
|
89
95
|
accordionIconTreatment?: AccordionIconTreatment | null;
|
|
90
96
|
} | null;
|
|
@@ -98,7 +104,8 @@ export type CardStylesContent = {
|
|
|
98
104
|
spacing?: string | null;
|
|
99
105
|
raised?: boolean | null;
|
|
100
106
|
rounded?: string | null;
|
|
101
|
-
|
|
107
|
+
cardVariant?: string | null;
|
|
108
|
+
treatment?: 'accent-quote' | 'editorial-rule' | 'soft-panel' | 'editorial-serif-quote' | 'editorial-open' | null;
|
|
102
109
|
} | null;
|
|
103
110
|
export type ContainerStylesContent = {
|
|
104
111
|
background?: Record<string, unknown> | null;
|
|
@@ -20,6 +20,11 @@ export declare function buildCarouselLayout(): NodeDefinition;
|
|
|
20
20
|
* Renders testimonials in a responsive grid with configurable columns.
|
|
21
21
|
*/
|
|
22
22
|
export declare function buildGridLayout(): NodeDefinition;
|
|
23
|
+
/**
|
|
24
|
+
* Build the highlight layout: a single, centered testimonial with no carousel.
|
|
25
|
+
* Renders only the first entry regardless of how many are configured.
|
|
26
|
+
*/
|
|
27
|
+
export declare function buildHighlightLayout(): NodeDefinition;
|
|
23
28
|
/**
|
|
24
29
|
* Build just the responsive testimonial card grid, for variants that place
|
|
25
30
|
* heading copy in a sibling column instead of above the cards.
|
|
@@ -6,5 +6,7 @@ type ResolveMediaSlotContractInput = {
|
|
|
6
6
|
fieldAspectRatio?: string | null;
|
|
7
7
|
fieldUi?: unknown;
|
|
8
8
|
};
|
|
9
|
+
export declare const SECTION_BACKGROUND_MIN_SOURCE_WIDTH = 1920;
|
|
10
|
+
export declare const SECTION_BACKGROUND_MIN_SOURCE_HEIGHT = 900;
|
|
9
11
|
export declare function resolveMediaSlotContract({ blockKind, fieldPath, values, fieldAspectRatio, fieldUi, }: ResolveMediaSlotContractInput): MediaSlotContract;
|
|
10
12
|
export {};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import type { VisibleHeadingDecorationFamily, VisibleHeadingDecorationPlacement } from "../../../../../theme-core/src/site-styles/index";
|
|
2
1
|
import type { NodeDefinition } from "../schema";
|
|
3
2
|
type HeadingDecorationOptions = Readonly<{
|
|
4
3
|
bindFrom?: string;
|
|
5
|
-
family?: VisibleHeadingDecorationFamily;
|
|
6
|
-
placement: VisibleHeadingDecorationPlacement;
|
|
7
4
|
className?: string;
|
|
8
5
|
}>;
|
|
9
|
-
export declare function headingDecoration({ bindFrom,
|
|
6
|
+
export declare function headingDecoration({ bindFrom, className, }?: HeadingDecorationOptions): NodeDefinition;
|
|
10
7
|
export {};
|
|
@@ -60,7 +60,14 @@ export type NodeTypeProps<T extends string> = T extends 'grid' ? NodeProps & {
|
|
|
60
60
|
align?: unknown;
|
|
61
61
|
justify?: unknown;
|
|
62
62
|
className?: unknown;
|
|
63
|
-
} : T extends 'text'
|
|
63
|
+
} : T extends 'text' ? NodeProps & {
|
|
64
|
+
as?: string;
|
|
65
|
+
className?: unknown;
|
|
66
|
+
/** Internal resolver hint for rare headings that should not receive theme decorations. */
|
|
67
|
+
headingDecoration?: 'auto' | 'off';
|
|
68
|
+
size?: never;
|
|
69
|
+
weight?: never;
|
|
70
|
+
} : T extends 'richText' ? NodeProps & {
|
|
64
71
|
as?: string;
|
|
65
72
|
className?: unknown;
|
|
66
73
|
size?: never;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* SdkCustomBlock.layout definitions. Node types not in this list
|
|
12
12
|
* will be rejected during validation.
|
|
13
13
|
*/
|
|
14
|
-
export declare const ALLOWED_NODE_TYPES: readonly ["div", "figure", "section", "headerSection", "stack", "inline", "grid", "text", "richText", "media", "videoEmbed", "button", "link", "carousel", "accordion", "accordionItem", "form", "booking-form", "event-registration", "event-spotlight", "event-listing", "event-calendar", "event-combined", "shop", "product-list", "product-detail", "cart", "checkout", "gifting"];
|
|
14
|
+
export declare const ALLOWED_NODE_TYPES: readonly ["div", "figure", "section", "headerSection", "stack", "inline", "grid", "text", "richText", "media", "videoEmbed", "button", "link", "carousel", "accordion", "accordionItem", "form", "booking-form", "event-registration", "event-spotlight", "event-listing", "event-calendar", "offerings-preview", "event-combined", "shop", "product-list", "product-detail", "cart", "checkout", "gifting"];
|
|
15
15
|
export type AllowedNodeType = (typeof ALLOWED_NODE_TYPES)[number];
|
|
16
16
|
/**
|
|
17
17
|
* Valid transform IDs for declarative layouts.
|
|
@@ -20,7 +20,7 @@ export type AllowedNodeType = (typeof ALLOWED_NODE_TYPES)[number];
|
|
|
20
20
|
* $bind.transforms within custom block layouts. Transform IDs
|
|
21
21
|
* not in this list will be rejected during validation.
|
|
22
22
|
*/
|
|
23
|
-
export declare const ALLOWED_TRANSFORM_IDS: readonly ["string.uppercase", "value.fallback", "date.formatShort", "array.length", "value.jsonArray", "value.csv", "array.marqueeLoop", "layout.maxWidthClass", "layout.headerRootClass", "layout.footerRootClass", "layout.headerRootStyle", "layout.headerSectionBackground", "layout.footerRootStyle", "ui.headerNavLinkClass", "ui.headingClassFromAlignment", "ui.bodyClassFromAlignment", "ui.stackAlignFromAlignment", "ui.sectionStateTone", "ui.heroContentWrapperClass", "ui.heroCtaJustify", "ui.heroStackJustifyFromVerticalAlignment", "ui.heroGridClassFromVerticalAlignment", "ui.conditionalClass", "ui.twoColumnContainerClass", "ui.twoColumnFlexBasis", "ui.imageGalleryFilterClass", "ui.imageGalleryTileClass", "ui.imageGalleryTileStyle", "ui.imageGalleryMarqueeTileStyle", "ui.imageGalleryMarqueeDuration", "ui.imageGalleryMarqueeDirection", "ui.imageFragmentClass", "ui.imageFragmentSize", "media.fromUrl", "background.resolveStyle", "background.resolveColorsStyle", "background.resolveAllowOverflow", "background.resolveImageStyle", "background.resolveImageClassName", "background.resolveOverlayStyle", "links.resolve", "links.label", "content.interpolateRichTextTokens", "boxStyles.spacing", "boxStyles.resolveRootClass", "boxStyles.resolveRootStyle", "boxStyles.semanticGap", "boxStyles.semanticGapValue", "containerStyles.resolveBoxClassName"];
|
|
23
|
+
export declare const ALLOWED_TRANSFORM_IDS: readonly ["string.uppercase", "value.fallback", "date.formatShort", "array.length", "value.jsonArray", "value.csv", "array.marqueeLoop", "layout.maxWidthClass", "layout.headerRootClass", "layout.footerRootClass", "layout.headerRootStyle", "layout.headerSectionBackground", "layout.footerRootStyle", "ui.headerNavLinkClass", "ui.headingClassFromAlignment", "ui.bodyClassFromAlignment", "ui.stackAlignFromAlignment", "ui.sectionStateTone", "ui.heroContentWrapperClass", "ui.heroCtaJustify", "ui.heroStackJustifyFromVerticalAlignment", "ui.heroGridClassFromVerticalAlignment", "ui.conditionalClass", "ui.twoColumnContainerClass", "ui.twoColumnFlexBasis", "ui.imageGalleryFilterClass", "ui.imageGalleryTileClass", "ui.imageGalleryTileStyle", "ui.imageGalleryMarqueeTileStyle", "ui.imageGalleryMarqueeDuration", "ui.imageGalleryMarqueeDirection", "ui.imageFragmentClass", "ui.imageFragmentSize", "media.fromUrl", "background.resolveStyle", "background.resolveColorsStyle", "background.resolveAllowOverflow", "background.resolveImageStyle", "background.resolveImageClassName", "background.resolveOverlayStyle", "links.resolve", "links.label", "content.interpolateRichTextTokens", "boxStyles.spacing", "boxStyles.resolveRootClass", "boxStyles.resolveRootStyle", "boxStyles.semanticGap", "boxStyles.semanticGapValue", "boxStyles.cardVariantClass", "containerStyles.resolveBoxClassName"];
|
|
24
24
|
export type AllowedTransformId = (typeof ALLOWED_TRANSFORM_IDS)[number];
|
|
25
25
|
/**
|
|
26
26
|
* Set for O(1) lookup of allowed node types.
|
|
@@ -29,6 +29,7 @@ export type SystemBlockComponentProps<TContent = Record<string, unknown>> = {
|
|
|
29
29
|
blockBindings?: Record<string, unknown>;
|
|
30
30
|
editableRouteMetadataFieldIds?: ResolverContext['editableRouteMetadataFieldIds'];
|
|
31
31
|
fragmentRegistry?: ResolverContext['fragmentRegistry'];
|
|
32
|
+
imageResolveContext?: ResolverContext['imageResolveContext'];
|
|
32
33
|
};
|
|
33
34
|
export type SystemBlockComponent<TContent = Record<string, unknown>> = ComponentType<SystemBlockComponentProps<TContent>>;
|
|
34
35
|
export type BlockDataLoader = {
|