@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
|
@@ -0,0 +1,508 @@
|
|
|
1
|
+
import { type BoundaryOptionId, type NonEmptyReadonlyArray, type SiteStyleSectionTransitionIntent } from './types';
|
|
2
|
+
export type BoundaryEdgeHeight = 'compact' | 'medium' | 'large' | 'expansive';
|
|
3
|
+
export type FadeCurve = 'soft' | 'spacious' | 'expansive';
|
|
4
|
+
export type WaveAmplitude = 'subtle' | 'balanced' | 'bold';
|
|
5
|
+
export type WaveRhythm = 'single' | 'double';
|
|
6
|
+
export type WaveSymmetry = 'symmetrical' | 'asymmetrical' | 'drift';
|
|
7
|
+
export type BoundaryDirection = 'forward' | 'reverse';
|
|
8
|
+
export type AngleSlope = 'subtle' | 'balanced' | 'steep';
|
|
9
|
+
export type SectionBoundaryTreatment = Readonly<{
|
|
10
|
+
kind: 'none';
|
|
11
|
+
}> | Readonly<{
|
|
12
|
+
kind: 'soft-fade';
|
|
13
|
+
height: BoundaryEdgeHeight;
|
|
14
|
+
curve: FadeCurve;
|
|
15
|
+
}> | Readonly<{
|
|
16
|
+
kind: 'wave-edge';
|
|
17
|
+
height: BoundaryEdgeHeight;
|
|
18
|
+
amplitude: WaveAmplitude;
|
|
19
|
+
rhythm: WaveRhythm;
|
|
20
|
+
symmetry: WaveSymmetry;
|
|
21
|
+
}> | Readonly<{
|
|
22
|
+
kind: 'angle-edge';
|
|
23
|
+
height: BoundaryEdgeHeight;
|
|
24
|
+
slope: AngleSlope;
|
|
25
|
+
direction: BoundaryDirection;
|
|
26
|
+
}> | Readonly<{
|
|
27
|
+
kind: 'legacy-unsupported';
|
|
28
|
+
boundaryOptionId: BoundaryOptionId;
|
|
29
|
+
}>;
|
|
30
|
+
export type BoundaryOption = Readonly<{
|
|
31
|
+
id: BoundaryOptionId;
|
|
32
|
+
label: string;
|
|
33
|
+
transitionAfter: SiteStyleSectionTransitionIntent;
|
|
34
|
+
treatment: SectionBoundaryTreatment;
|
|
35
|
+
}>;
|
|
36
|
+
export type SectionTransitionFamilyId = 'none' | 'gradient' | 'wave' | 'angle';
|
|
37
|
+
export type GradientSectionTransitionVariantId = 'soft' | 'spacious' | 'expansive';
|
|
38
|
+
export type WaveSectionTransitionVariantId = 'balanced' | 'classic' | 'gentle' | 'bold' | 'drift';
|
|
39
|
+
export type AngleSectionTransitionVariantId = 'subtle' | 'balanced' | 'steep';
|
|
40
|
+
export type SectionTransitionVariantId = 'none' | GradientSectionTransitionVariantId | WaveSectionTransitionVariantId | AngleSectionTransitionVariantId;
|
|
41
|
+
export type SectionTransitionVariant = Readonly<{
|
|
42
|
+
familyId: SectionTransitionFamilyId;
|
|
43
|
+
variantId: SectionTransitionVariantId;
|
|
44
|
+
label: string;
|
|
45
|
+
boundaryOption: BoundaryOption;
|
|
46
|
+
}>;
|
|
47
|
+
export type SectionTransitionFamily = Readonly<{
|
|
48
|
+
id: SectionTransitionFamilyId;
|
|
49
|
+
label: string;
|
|
50
|
+
variants: NonEmptyReadonlyArray<SectionTransitionVariant>;
|
|
51
|
+
}>;
|
|
52
|
+
export declare const noneBoundaryOption: {
|
|
53
|
+
readonly id: BoundaryOptionId;
|
|
54
|
+
readonly label: "None";
|
|
55
|
+
readonly transitionAfter: "none";
|
|
56
|
+
readonly treatment: {
|
|
57
|
+
readonly kind: "none";
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export declare const softBoundaryOption: {
|
|
61
|
+
readonly id: BoundaryOptionId;
|
|
62
|
+
readonly label: "Soft";
|
|
63
|
+
readonly transitionAfter: "soft-fade-short";
|
|
64
|
+
readonly treatment: {
|
|
65
|
+
readonly kind: "soft-fade";
|
|
66
|
+
readonly height: "medium";
|
|
67
|
+
readonly curve: "soft";
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
export declare const spaciousBoundaryOption: {
|
|
71
|
+
readonly id: BoundaryOptionId;
|
|
72
|
+
readonly label: "Spacious";
|
|
73
|
+
readonly transitionAfter: "soft-fade-long";
|
|
74
|
+
readonly treatment: {
|
|
75
|
+
readonly kind: "soft-fade";
|
|
76
|
+
readonly height: "large";
|
|
77
|
+
readonly curve: "spacious";
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
export declare const expansiveBoundaryOption: {
|
|
81
|
+
readonly id: BoundaryOptionId;
|
|
82
|
+
readonly label: "Expansive";
|
|
83
|
+
readonly transitionAfter: "soft-fade-expansive";
|
|
84
|
+
readonly treatment: {
|
|
85
|
+
readonly kind: "soft-fade";
|
|
86
|
+
readonly height: "expansive";
|
|
87
|
+
readonly curve: "expansive";
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
export declare const waveBoundaryOption: {
|
|
91
|
+
readonly id: BoundaryOptionId;
|
|
92
|
+
readonly label: "Classic wave";
|
|
93
|
+
readonly transitionAfter: "wave-edge";
|
|
94
|
+
readonly treatment: {
|
|
95
|
+
readonly kind: "wave-edge";
|
|
96
|
+
readonly height: "medium";
|
|
97
|
+
readonly amplitude: "balanced";
|
|
98
|
+
readonly rhythm: "double";
|
|
99
|
+
readonly symmetry: "asymmetrical";
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
export declare const balancedWaveBoundaryOption: {
|
|
103
|
+
readonly id: BoundaryOptionId;
|
|
104
|
+
readonly label: "Balanced wave";
|
|
105
|
+
readonly transitionAfter: "wave-edge-balanced";
|
|
106
|
+
readonly treatment: {
|
|
107
|
+
readonly kind: "wave-edge";
|
|
108
|
+
readonly height: "medium";
|
|
109
|
+
readonly amplitude: "balanced";
|
|
110
|
+
readonly rhythm: "double";
|
|
111
|
+
readonly symmetry: "symmetrical";
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
export declare const gentleWaveBoundaryOption: {
|
|
115
|
+
readonly id: BoundaryOptionId;
|
|
116
|
+
readonly label: "Gentle wave";
|
|
117
|
+
readonly transitionAfter: "wave-edge-gentle";
|
|
118
|
+
readonly treatment: {
|
|
119
|
+
readonly kind: "wave-edge";
|
|
120
|
+
readonly height: "compact";
|
|
121
|
+
readonly amplitude: "subtle";
|
|
122
|
+
readonly rhythm: "single";
|
|
123
|
+
readonly symmetry: "symmetrical";
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
export declare const boldWaveBoundaryOption: {
|
|
127
|
+
readonly id: BoundaryOptionId;
|
|
128
|
+
readonly label: "Bold wave";
|
|
129
|
+
readonly transitionAfter: "wave-edge-bold";
|
|
130
|
+
readonly treatment: {
|
|
131
|
+
readonly kind: "wave-edge";
|
|
132
|
+
readonly height: "large";
|
|
133
|
+
readonly amplitude: "bold";
|
|
134
|
+
readonly rhythm: "double";
|
|
135
|
+
readonly symmetry: "symmetrical";
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
export declare const driftWaveBoundaryOption: {
|
|
139
|
+
readonly id: BoundaryOptionId;
|
|
140
|
+
readonly label: "Drift wave";
|
|
141
|
+
readonly transitionAfter: "wave-edge-drift";
|
|
142
|
+
readonly treatment: {
|
|
143
|
+
readonly kind: "wave-edge";
|
|
144
|
+
readonly height: "medium";
|
|
145
|
+
readonly amplitude: "balanced";
|
|
146
|
+
readonly rhythm: "double";
|
|
147
|
+
readonly symmetry: "drift";
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
export declare const subtleAngleBoundaryOption: {
|
|
151
|
+
readonly id: BoundaryOptionId;
|
|
152
|
+
readonly label: "Subtle angle";
|
|
153
|
+
readonly transitionAfter: "angle-edge-subtle";
|
|
154
|
+
readonly treatment: {
|
|
155
|
+
readonly kind: "angle-edge";
|
|
156
|
+
readonly height: "compact";
|
|
157
|
+
readonly slope: "subtle";
|
|
158
|
+
readonly direction: "forward";
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
export declare const balancedAngleBoundaryOption: {
|
|
162
|
+
readonly id: BoundaryOptionId;
|
|
163
|
+
readonly label: "Balanced angle";
|
|
164
|
+
readonly transitionAfter: "angle-edge";
|
|
165
|
+
readonly treatment: {
|
|
166
|
+
readonly kind: "angle-edge";
|
|
167
|
+
readonly height: "medium";
|
|
168
|
+
readonly slope: "balanced";
|
|
169
|
+
readonly direction: "forward";
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
export declare const steepAngleBoundaryOption: {
|
|
173
|
+
readonly id: BoundaryOptionId;
|
|
174
|
+
readonly label: "Steep angle";
|
|
175
|
+
readonly transitionAfter: "angle-edge-steep";
|
|
176
|
+
readonly treatment: {
|
|
177
|
+
readonly kind: "angle-edge";
|
|
178
|
+
readonly height: "large";
|
|
179
|
+
readonly slope: "steep";
|
|
180
|
+
readonly direction: "forward";
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
export declare const sectionTransitionFamilies: readonly [{
|
|
184
|
+
readonly id: "none";
|
|
185
|
+
readonly label: "None";
|
|
186
|
+
readonly variants: readonly [{
|
|
187
|
+
readonly familyId: "none";
|
|
188
|
+
readonly variantId: "none";
|
|
189
|
+
readonly label: "None";
|
|
190
|
+
readonly boundaryOption: {
|
|
191
|
+
readonly id: BoundaryOptionId;
|
|
192
|
+
readonly label: "None";
|
|
193
|
+
readonly transitionAfter: "none";
|
|
194
|
+
readonly treatment: {
|
|
195
|
+
readonly kind: "none";
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
}];
|
|
199
|
+
}, {
|
|
200
|
+
readonly id: "gradient";
|
|
201
|
+
readonly label: "Gradient";
|
|
202
|
+
readonly variants: readonly [{
|
|
203
|
+
readonly familyId: "gradient";
|
|
204
|
+
readonly variantId: "soft";
|
|
205
|
+
readonly label: "Soft";
|
|
206
|
+
readonly boundaryOption: {
|
|
207
|
+
readonly id: BoundaryOptionId;
|
|
208
|
+
readonly label: "Soft";
|
|
209
|
+
readonly transitionAfter: "soft-fade-short";
|
|
210
|
+
readonly treatment: {
|
|
211
|
+
readonly kind: "soft-fade";
|
|
212
|
+
readonly height: "medium";
|
|
213
|
+
readonly curve: "soft";
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
}, {
|
|
217
|
+
readonly familyId: "gradient";
|
|
218
|
+
readonly variantId: "spacious";
|
|
219
|
+
readonly label: "Spacious";
|
|
220
|
+
readonly boundaryOption: {
|
|
221
|
+
readonly id: BoundaryOptionId;
|
|
222
|
+
readonly label: "Spacious";
|
|
223
|
+
readonly transitionAfter: "soft-fade-long";
|
|
224
|
+
readonly treatment: {
|
|
225
|
+
readonly kind: "soft-fade";
|
|
226
|
+
readonly height: "large";
|
|
227
|
+
readonly curve: "spacious";
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
}, {
|
|
231
|
+
readonly familyId: "gradient";
|
|
232
|
+
readonly variantId: "expansive";
|
|
233
|
+
readonly label: "Expansive";
|
|
234
|
+
readonly boundaryOption: {
|
|
235
|
+
readonly id: BoundaryOptionId;
|
|
236
|
+
readonly label: "Expansive";
|
|
237
|
+
readonly transitionAfter: "soft-fade-expansive";
|
|
238
|
+
readonly treatment: {
|
|
239
|
+
readonly kind: "soft-fade";
|
|
240
|
+
readonly height: "expansive";
|
|
241
|
+
readonly curve: "expansive";
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
}];
|
|
245
|
+
}, {
|
|
246
|
+
readonly id: "wave";
|
|
247
|
+
readonly label: "Wave";
|
|
248
|
+
readonly variants: readonly [{
|
|
249
|
+
readonly familyId: "wave";
|
|
250
|
+
readonly variantId: "balanced";
|
|
251
|
+
readonly label: "Balanced";
|
|
252
|
+
readonly boundaryOption: {
|
|
253
|
+
readonly id: BoundaryOptionId;
|
|
254
|
+
readonly label: "Balanced wave";
|
|
255
|
+
readonly transitionAfter: "wave-edge-balanced";
|
|
256
|
+
readonly treatment: {
|
|
257
|
+
readonly kind: "wave-edge";
|
|
258
|
+
readonly height: "medium";
|
|
259
|
+
readonly amplitude: "balanced";
|
|
260
|
+
readonly rhythm: "double";
|
|
261
|
+
readonly symmetry: "symmetrical";
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
}, {
|
|
265
|
+
readonly familyId: "wave";
|
|
266
|
+
readonly variantId: "classic";
|
|
267
|
+
readonly label: "Classic";
|
|
268
|
+
readonly boundaryOption: {
|
|
269
|
+
readonly id: BoundaryOptionId;
|
|
270
|
+
readonly label: "Classic wave";
|
|
271
|
+
readonly transitionAfter: "wave-edge";
|
|
272
|
+
readonly treatment: {
|
|
273
|
+
readonly kind: "wave-edge";
|
|
274
|
+
readonly height: "medium";
|
|
275
|
+
readonly amplitude: "balanced";
|
|
276
|
+
readonly rhythm: "double";
|
|
277
|
+
readonly symmetry: "asymmetrical";
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
}, {
|
|
281
|
+
readonly familyId: "wave";
|
|
282
|
+
readonly variantId: "gentle";
|
|
283
|
+
readonly label: "Gentle";
|
|
284
|
+
readonly boundaryOption: {
|
|
285
|
+
readonly id: BoundaryOptionId;
|
|
286
|
+
readonly label: "Gentle wave";
|
|
287
|
+
readonly transitionAfter: "wave-edge-gentle";
|
|
288
|
+
readonly treatment: {
|
|
289
|
+
readonly kind: "wave-edge";
|
|
290
|
+
readonly height: "compact";
|
|
291
|
+
readonly amplitude: "subtle";
|
|
292
|
+
readonly rhythm: "single";
|
|
293
|
+
readonly symmetry: "symmetrical";
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
}, {
|
|
297
|
+
readonly familyId: "wave";
|
|
298
|
+
readonly variantId: "bold";
|
|
299
|
+
readonly label: "Bold";
|
|
300
|
+
readonly boundaryOption: {
|
|
301
|
+
readonly id: BoundaryOptionId;
|
|
302
|
+
readonly label: "Bold wave";
|
|
303
|
+
readonly transitionAfter: "wave-edge-bold";
|
|
304
|
+
readonly treatment: {
|
|
305
|
+
readonly kind: "wave-edge";
|
|
306
|
+
readonly height: "large";
|
|
307
|
+
readonly amplitude: "bold";
|
|
308
|
+
readonly rhythm: "double";
|
|
309
|
+
readonly symmetry: "symmetrical";
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
}, {
|
|
313
|
+
readonly familyId: "wave";
|
|
314
|
+
readonly variantId: "drift";
|
|
315
|
+
readonly label: "Drift";
|
|
316
|
+
readonly boundaryOption: {
|
|
317
|
+
readonly id: BoundaryOptionId;
|
|
318
|
+
readonly label: "Drift wave";
|
|
319
|
+
readonly transitionAfter: "wave-edge-drift";
|
|
320
|
+
readonly treatment: {
|
|
321
|
+
readonly kind: "wave-edge";
|
|
322
|
+
readonly height: "medium";
|
|
323
|
+
readonly amplitude: "balanced";
|
|
324
|
+
readonly rhythm: "double";
|
|
325
|
+
readonly symmetry: "drift";
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
}];
|
|
329
|
+
}, {
|
|
330
|
+
readonly id: "angle";
|
|
331
|
+
readonly label: "Angle";
|
|
332
|
+
readonly variants: readonly [{
|
|
333
|
+
readonly familyId: "angle";
|
|
334
|
+
readonly variantId: "subtle";
|
|
335
|
+
readonly label: "Subtle";
|
|
336
|
+
readonly boundaryOption: {
|
|
337
|
+
readonly id: BoundaryOptionId;
|
|
338
|
+
readonly label: "Subtle angle";
|
|
339
|
+
readonly transitionAfter: "angle-edge-subtle";
|
|
340
|
+
readonly treatment: {
|
|
341
|
+
readonly kind: "angle-edge";
|
|
342
|
+
readonly height: "compact";
|
|
343
|
+
readonly slope: "subtle";
|
|
344
|
+
readonly direction: "forward";
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
}, {
|
|
348
|
+
readonly familyId: "angle";
|
|
349
|
+
readonly variantId: "balanced";
|
|
350
|
+
readonly label: "Balanced";
|
|
351
|
+
readonly boundaryOption: {
|
|
352
|
+
readonly id: BoundaryOptionId;
|
|
353
|
+
readonly label: "Balanced angle";
|
|
354
|
+
readonly transitionAfter: "angle-edge";
|
|
355
|
+
readonly treatment: {
|
|
356
|
+
readonly kind: "angle-edge";
|
|
357
|
+
readonly height: "medium";
|
|
358
|
+
readonly slope: "balanced";
|
|
359
|
+
readonly direction: "forward";
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
}, {
|
|
363
|
+
readonly familyId: "angle";
|
|
364
|
+
readonly variantId: "steep";
|
|
365
|
+
readonly label: "Steep";
|
|
366
|
+
readonly boundaryOption: {
|
|
367
|
+
readonly id: BoundaryOptionId;
|
|
368
|
+
readonly label: "Steep angle";
|
|
369
|
+
readonly transitionAfter: "angle-edge-steep";
|
|
370
|
+
readonly treatment: {
|
|
371
|
+
readonly kind: "angle-edge";
|
|
372
|
+
readonly height: "large";
|
|
373
|
+
readonly slope: "steep";
|
|
374
|
+
readonly direction: "forward";
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
}];
|
|
378
|
+
}];
|
|
379
|
+
/**
|
|
380
|
+
* Must remain non-empty; downstream code indexes `[0]` as the documented default.
|
|
381
|
+
*/
|
|
382
|
+
export declare const boundaryOptions: readonly [{
|
|
383
|
+
readonly id: BoundaryOptionId;
|
|
384
|
+
readonly label: "None";
|
|
385
|
+
readonly transitionAfter: "none";
|
|
386
|
+
readonly treatment: {
|
|
387
|
+
readonly kind: "none";
|
|
388
|
+
};
|
|
389
|
+
}, {
|
|
390
|
+
readonly id: BoundaryOptionId;
|
|
391
|
+
readonly label: "Soft";
|
|
392
|
+
readonly transitionAfter: "soft-fade-short";
|
|
393
|
+
readonly treatment: {
|
|
394
|
+
readonly kind: "soft-fade";
|
|
395
|
+
readonly height: "medium";
|
|
396
|
+
readonly curve: "soft";
|
|
397
|
+
};
|
|
398
|
+
}, {
|
|
399
|
+
readonly id: BoundaryOptionId;
|
|
400
|
+
readonly label: "Spacious";
|
|
401
|
+
readonly transitionAfter: "soft-fade-long";
|
|
402
|
+
readonly treatment: {
|
|
403
|
+
readonly kind: "soft-fade";
|
|
404
|
+
readonly height: "large";
|
|
405
|
+
readonly curve: "spacious";
|
|
406
|
+
};
|
|
407
|
+
}, {
|
|
408
|
+
readonly id: BoundaryOptionId;
|
|
409
|
+
readonly label: "Expansive";
|
|
410
|
+
readonly transitionAfter: "soft-fade-expansive";
|
|
411
|
+
readonly treatment: {
|
|
412
|
+
readonly kind: "soft-fade";
|
|
413
|
+
readonly height: "expansive";
|
|
414
|
+
readonly curve: "expansive";
|
|
415
|
+
};
|
|
416
|
+
}, {
|
|
417
|
+
readonly id: BoundaryOptionId;
|
|
418
|
+
readonly label: "Balanced wave";
|
|
419
|
+
readonly transitionAfter: "wave-edge-balanced";
|
|
420
|
+
readonly treatment: {
|
|
421
|
+
readonly kind: "wave-edge";
|
|
422
|
+
readonly height: "medium";
|
|
423
|
+
readonly amplitude: "balanced";
|
|
424
|
+
readonly rhythm: "double";
|
|
425
|
+
readonly symmetry: "symmetrical";
|
|
426
|
+
};
|
|
427
|
+
}, {
|
|
428
|
+
readonly id: BoundaryOptionId;
|
|
429
|
+
readonly label: "Classic wave";
|
|
430
|
+
readonly transitionAfter: "wave-edge";
|
|
431
|
+
readonly treatment: {
|
|
432
|
+
readonly kind: "wave-edge";
|
|
433
|
+
readonly height: "medium";
|
|
434
|
+
readonly amplitude: "balanced";
|
|
435
|
+
readonly rhythm: "double";
|
|
436
|
+
readonly symmetry: "asymmetrical";
|
|
437
|
+
};
|
|
438
|
+
}, {
|
|
439
|
+
readonly id: BoundaryOptionId;
|
|
440
|
+
readonly label: "Gentle wave";
|
|
441
|
+
readonly transitionAfter: "wave-edge-gentle";
|
|
442
|
+
readonly treatment: {
|
|
443
|
+
readonly kind: "wave-edge";
|
|
444
|
+
readonly height: "compact";
|
|
445
|
+
readonly amplitude: "subtle";
|
|
446
|
+
readonly rhythm: "single";
|
|
447
|
+
readonly symmetry: "symmetrical";
|
|
448
|
+
};
|
|
449
|
+
}, {
|
|
450
|
+
readonly id: BoundaryOptionId;
|
|
451
|
+
readonly label: "Bold wave";
|
|
452
|
+
readonly transitionAfter: "wave-edge-bold";
|
|
453
|
+
readonly treatment: {
|
|
454
|
+
readonly kind: "wave-edge";
|
|
455
|
+
readonly height: "large";
|
|
456
|
+
readonly amplitude: "bold";
|
|
457
|
+
readonly rhythm: "double";
|
|
458
|
+
readonly symmetry: "symmetrical";
|
|
459
|
+
};
|
|
460
|
+
}, {
|
|
461
|
+
readonly id: BoundaryOptionId;
|
|
462
|
+
readonly label: "Drift wave";
|
|
463
|
+
readonly transitionAfter: "wave-edge-drift";
|
|
464
|
+
readonly treatment: {
|
|
465
|
+
readonly kind: "wave-edge";
|
|
466
|
+
readonly height: "medium";
|
|
467
|
+
readonly amplitude: "balanced";
|
|
468
|
+
readonly rhythm: "double";
|
|
469
|
+
readonly symmetry: "drift";
|
|
470
|
+
};
|
|
471
|
+
}, {
|
|
472
|
+
readonly id: BoundaryOptionId;
|
|
473
|
+
readonly label: "Subtle angle";
|
|
474
|
+
readonly transitionAfter: "angle-edge-subtle";
|
|
475
|
+
readonly treatment: {
|
|
476
|
+
readonly kind: "angle-edge";
|
|
477
|
+
readonly height: "compact";
|
|
478
|
+
readonly slope: "subtle";
|
|
479
|
+
readonly direction: "forward";
|
|
480
|
+
};
|
|
481
|
+
}, {
|
|
482
|
+
readonly id: BoundaryOptionId;
|
|
483
|
+
readonly label: "Balanced angle";
|
|
484
|
+
readonly transitionAfter: "angle-edge";
|
|
485
|
+
readonly treatment: {
|
|
486
|
+
readonly kind: "angle-edge";
|
|
487
|
+
readonly height: "medium";
|
|
488
|
+
readonly slope: "balanced";
|
|
489
|
+
readonly direction: "forward";
|
|
490
|
+
};
|
|
491
|
+
}, {
|
|
492
|
+
readonly id: BoundaryOptionId;
|
|
493
|
+
readonly label: "Steep angle";
|
|
494
|
+
readonly transitionAfter: "angle-edge-steep";
|
|
495
|
+
readonly treatment: {
|
|
496
|
+
readonly kind: "angle-edge";
|
|
497
|
+
readonly height: "large";
|
|
498
|
+
readonly slope: "steep";
|
|
499
|
+
readonly direction: "forward";
|
|
500
|
+
};
|
|
501
|
+
}];
|
|
502
|
+
export declare function sectionTransitionVariantForBoundaryOptionId(boundaryOptionId: BoundaryOptionId | null): SectionTransitionVariant | null;
|
|
503
|
+
export declare function boundaryTreatmentForBoundaryOptionId(boundaryOptionId: BoundaryOptionId): SectionBoundaryTreatment;
|
|
504
|
+
export declare function boundaryOptionForTreatment(treatment: SectionBoundaryTreatment): BoundaryOption | null;
|
|
505
|
+
export declare function boundaryOptionIdForTreatment(treatment: SectionBoundaryTreatment): BoundaryOptionId | null;
|
|
506
|
+
export declare function sectionBoundaryTreatmentsEqual(left: SectionBoundaryTreatment, right: SectionBoundaryTreatment): boolean;
|
|
507
|
+
export declare function sectionTransitionFamilyForBoundaryOptionId(boundaryOptionId: BoundaryOptionId | null): SectionTransitionFamily | null;
|
|
508
|
+
export declare function defaultSectionTransitionVariantForFamily(familyId: SectionTransitionFamilyId): SectionTransitionVariant;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type Theme } from '../schema';
|
|
2
|
+
import { type CuratedSiteStyle } from './curatedSiteStyles';
|
|
3
|
+
import { type CompiledTypographySelection } from './typographyPresets';
|
|
4
|
+
import type { SiteStyleId } from './types';
|
|
5
|
+
export type CuratedSiteStyleTheme = Theme & Readonly<{
|
|
6
|
+
siteStyleId: SiteStyleId;
|
|
7
|
+
}>;
|
|
8
|
+
export declare function withSiteStyleMetadata(theme: Theme, siteStyle: CuratedSiteStyle): CuratedSiteStyleTheme;
|
|
9
|
+
export declare function applyTypographySelectionToTheme(theme: Theme, compiledTypography: CompiledTypographySelection): Theme;
|
|
10
|
+
export declare function applySiteStyleThemeOverrides(theme: Theme, siteStyle: CuratedSiteStyle): Theme;
|
|
11
|
+
export declare function compileCuratedSiteStyleBlockTheme(siteStyle: CuratedSiteStyle): CuratedSiteStyleTheme;
|
|
@@ -35,7 +35,7 @@ export declare const generatedDesignOptionCatalog: {
|
|
|
35
35
|
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
36
36
|
bleed: "start";
|
|
37
37
|
}>];
|
|
38
|
-
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised"];
|
|
38
|
+
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial", "color-blocked"];
|
|
39
39
|
readonly transitions: readonly ["none", "soft-fade-short", "soft-fade-long"];
|
|
40
40
|
readonly emphases: readonly ["low", "medium", "high"];
|
|
41
41
|
readonly detachedCustom: false;
|
|
@@ -67,8 +67,8 @@ export declare const userDesignOptionCatalog: {
|
|
|
67
67
|
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
68
68
|
bleed: "both";
|
|
69
69
|
}>];
|
|
70
|
-
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial"];
|
|
71
|
-
readonly transitions: readonly ["none", "soft-fade-short", "soft-fade-long", "wave-edge", "angle-edge"];
|
|
70
|
+
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial", "color-blocked"];
|
|
71
|
+
readonly transitions: readonly ["none", "soft-fade-short", "soft-fade-long", "soft-fade-expansive", "wave-edge", "wave-edge-balanced", "wave-edge-gentle", "wave-edge-bold", "wave-edge-drift", "angle-edge", "angle-edge-subtle", "angle-edge-steep"];
|
|
72
72
|
readonly emphases: readonly ["low", "medium", "high"];
|
|
73
73
|
readonly detachedCustom: false;
|
|
74
74
|
};
|
|
@@ -99,8 +99,8 @@ export declare const advancedDesignOptionCatalog: {
|
|
|
99
99
|
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
100
100
|
bleed: "both";
|
|
101
101
|
}>];
|
|
102
|
-
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial"];
|
|
103
|
-
readonly transitions: readonly ["none", "soft-fade-short", "soft-fade-long", "wave-edge", "angle-edge"];
|
|
102
|
+
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial", "color-blocked"];
|
|
103
|
+
readonly transitions: readonly ["none", "soft-fade-short", "soft-fade-long", "soft-fade-expansive", "wave-edge", "wave-edge-balanced", "wave-edge-gentle", "wave-edge-bold", "wave-edge-drift", "angle-edge", "angle-edge-subtle", "angle-edge-steep"];
|
|
104
104
|
readonly emphases: readonly ["low", "medium", "high"];
|
|
105
105
|
readonly detachedCustom: true;
|
|
106
106
|
};
|
|
@@ -121,7 +121,7 @@ export declare const designOptionCatalogs: {
|
|
|
121
121
|
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
122
122
|
bleed: "start";
|
|
123
123
|
}>];
|
|
124
|
-
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised"];
|
|
124
|
+
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial", "color-blocked"];
|
|
125
125
|
readonly transitions: readonly ["none", "soft-fade-short", "soft-fade-long"];
|
|
126
126
|
readonly emphases: readonly ["low", "medium", "high"];
|
|
127
127
|
readonly detachedCustom: false;
|
|
@@ -153,8 +153,8 @@ export declare const designOptionCatalogs: {
|
|
|
153
153
|
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
154
154
|
bleed: "both";
|
|
155
155
|
}>];
|
|
156
|
-
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial"];
|
|
157
|
-
readonly transitions: readonly ["none", "soft-fade-short", "soft-fade-long", "wave-edge", "angle-edge"];
|
|
156
|
+
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial", "color-blocked"];
|
|
157
|
+
readonly transitions: readonly ["none", "soft-fade-short", "soft-fade-long", "soft-fade-expansive", "wave-edge", "wave-edge-balanced", "wave-edge-gentle", "wave-edge-bold", "wave-edge-drift", "angle-edge", "angle-edge-subtle", "angle-edge-steep"];
|
|
158
158
|
readonly emphases: readonly ["low", "medium", "high"];
|
|
159
159
|
readonly detachedCustom: false;
|
|
160
160
|
};
|
|
@@ -185,8 +185,8 @@ export declare const designOptionCatalogs: {
|
|
|
185
185
|
treatment: import("../../../blocks/src/index").FlushFrameTreatment;
|
|
186
186
|
bleed: "both";
|
|
187
187
|
}>];
|
|
188
|
-
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial"];
|
|
189
|
-
readonly transitions: readonly ["none", "soft-fade-short", "soft-fade-long", "wave-edge", "angle-edge"];
|
|
188
|
+
readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial", "color-blocked"];
|
|
189
|
+
readonly transitions: readonly ["none", "soft-fade-short", "soft-fade-long", "soft-fade-expansive", "wave-edge", "wave-edge-balanced", "wave-edge-gentle", "wave-edge-bold", "wave-edge-drift", "angle-edge", "angle-edge-subtle", "angle-edge-steep"];
|
|
190
190
|
readonly emphases: readonly ["low", "medium", "high"];
|
|
191
191
|
readonly detachedCustom: true;
|
|
192
192
|
};
|
|
@@ -22,8 +22,8 @@ export declare const styleTagsSchema: z.ZodObject<{
|
|
|
22
22
|
}>>;
|
|
23
23
|
motion: z.ZodOptional<z.ZodEnum<{
|
|
24
24
|
standard: "standard";
|
|
25
|
-
subtle: "subtle";
|
|
26
25
|
expressive: "expressive";
|
|
26
|
+
subtle: "subtle";
|
|
27
27
|
}>>;
|
|
28
28
|
era: z.ZodOptional<z.ZodEnum<{
|
|
29
29
|
editorial: "editorial";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reusable testimonial quote-mark treatments for curated site styles.
|
|
3
|
+
*
|
|
4
|
+
* The quote mark is brand identity the site style owns (analogous to the FAQ
|
|
5
|
+
* accordion icon); every curated style declares one. `style` is the coarse
|
|
6
|
+
* selector and the resolver in blocks/vars/testimonials.ts fills in the rest.
|
|
7
|
+
*/
|
|
8
|
+
/** Large display quotation mark in the heading font. Editorial / calm styles. */
|
|
9
|
+
export declare const serifDisplayQuote: {
|
|
10
|
+
readonly style: "serif-display";
|
|
11
|
+
};
|
|
12
|
+
/** Punchy quotation mark in the secondary accent colour. Bold / accent styles. */
|
|
13
|
+
export declare const accentGlyphQuote: {
|
|
14
|
+
readonly style: "accent-glyph";
|
|
15
|
+
};
|
|
@@ -45,8 +45,8 @@ export declare const themeTokenRecipesSchema: z.ZodObject<{
|
|
|
45
45
|
}>;
|
|
46
46
|
motion: z.ZodEnum<{
|
|
47
47
|
none: "none";
|
|
48
|
-
subtle: "subtle";
|
|
49
48
|
expressive: "expressive";
|
|
49
|
+
subtle: "subtle";
|
|
50
50
|
}>;
|
|
51
51
|
}, z.core.$strip>;
|
|
52
52
|
export declare const defaultThemeTokenRecipes: {
|