@riverbankcms/sdk 0.80.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-QZG37QIF.mjs → PreviewEditorSidebar-RDCMEXIJ.mjs} +763 -255
- package/dist/{PreviewEditorUI-AXIKSMZA.mjs → PreviewEditorUI-NYGQ6K7B.mjs} +170 -29
- package/dist/SdkPreviewModeRuntime-AKCSCZEC.mjs +8 -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/index.d.ts +2 -2
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +53 -0
- 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/blocks/src/PageRenderer.d.ts +3 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +20 -28
- package/dist/_dts/blocks/src/index.d.ts +6 -4
- 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/shared/schemas.d.ts +135 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +5 -0
- 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/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 +13 -3
- 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 +6 -1
- package/dist/_dts/blocks/src/system/fragments/library/faqHeading.d.ts +0 -1
- package/dist/_dts/blocks/src/system/media/slotContracts.d.ts +2 -0
- package/dist/_dts/blocks/src/system/node/types.d.ts +8 -1
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +44 -50
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -24
- 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 +17 -28
- 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/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 +4 -2
- 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/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 +3 -3
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +4 -4
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +2 -2
- 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/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 +3 -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/useBlockCustomizeControls.d.ts +2 -1
- 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 +3 -1
- 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 +1 -1
- 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/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/previewCustomizeHistory.d.ts +8 -1
- 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/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 +3 -2
- package/dist/_dts/preview-next/src/constants.d.ts +0 -1
- 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/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 +28 -2
- 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/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 +1 -0
- package/dist/_dts/theme-core/src/buttons/types.d.ts +9 -0
- package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +44 -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 +27 -6
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
- package/dist/_dts/theme-core/src/palette/variants/warm-dark.d.ts +27 -0
- package/dist/_dts/theme-core/src/schema.d.ts +40 -3
- package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +4 -1
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +87 -31
- package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +6 -2
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +87 -31
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +30 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +18 -2
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +6 -2
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +5 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -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/runtimeCompiler.d.ts +33 -3
- package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +508 -0
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +10 -10
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +24 -6
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +16 -1
- package/dist/{chunk-7PCYG6YV.mjs → chunk-3PTVPAT4.mjs} +1863 -1099
- package/dist/{chunk-5NZGBSJF.mjs → chunk-3QWQ2MUQ.mjs} +469 -1000
- package/dist/{chunk-HTB4BMKD.mjs → chunk-3VT7LZY2.mjs} +321 -113
- package/dist/{chunk-MPBNEVPB.mjs → chunk-4T5JIPWY.mjs} +1 -1
- package/dist/{chunk-BBLZSQEY.mjs → chunk-E3NZYEKF.mjs} +1 -7
- package/dist/{chunk-GYXKAUFV.mjs → chunk-WUHKQBB6.mjs} +9509 -2658
- package/dist/cli/index.mjs +1347 -324
- package/dist/client/{accordion-QFZMNB7O.mjs → accordion-SFIIZWNH.mjs} +2 -2
- package/dist/client/{bookingForm-NCIXFWIG.mjs → bookingForm-CFKZVWGA.mjs} +5 -5
- package/dist/client/bookings.mjs +281 -19
- package/dist/client/{carousel-EO4BJMWD.mjs → carousel-ELXWSBLA.mjs} +3 -3
- package/dist/client/{cart-FTYCLYUW.mjs → cart-6SSCPYY5.mjs} +6 -6
- package/dist/client/{checkout-NFGLVCOX.mjs → checkout-UFQ34HPV.mjs} +6 -6
- package/dist/client/{chunk-6GVVWSPU.mjs → chunk-76JUETXQ.mjs} +139 -186
- package/dist/client/{chunk-AUJ5DBZJ.mjs → chunk-7BXX7WXH.mjs} +112 -28
- package/dist/client/{chunk-IWFZSQNZ.mjs → chunk-G56BSZAM.mjs} +2 -2
- package/dist/client/{chunk-VDS5YFLX.mjs → chunk-IUEDYLFJ.mjs} +1 -1
- package/dist/client/{chunk-PYRBIURC.mjs → chunk-NP47RHIX.mjs} +5 -5
- package/dist/client/{chunk-PUOELU4O.mjs → chunk-NX6X3GRF.mjs} +330 -80
- package/dist/client/{chunk-Y37KDO7P.mjs → chunk-PA2LJH2M.mjs} +2 -2
- package/dist/client/{chunk-CE7IBGVW.mjs → chunk-RMWMT3ZD.mjs} +1 -1
- package/dist/client/{chunk-4W66ALYT.mjs → chunk-TCJS3NY5.mjs} +1 -1
- package/dist/client/{chunk-T6UIP6UZ.mjs → chunk-V6XI4M2Q.mjs} +1 -1
- package/dist/client/client.mjs +5924 -3138
- package/dist/client/{courseRegistration-2EORROPS.mjs → courseRegistration-HJIISAAG.mjs} +5 -5
- package/dist/client/{eventCalendar-WZI4VL6N.mjs → eventCalendar-F6YVUCZR.mjs} +7 -7
- package/dist/client/{eventCombined-QCB2TCNL.mjs → eventCombined-B5DSTIOK.mjs} +7 -7
- package/dist/client/{eventDetails-TFTATAPH.mjs → eventDetails-SEJDDHQC.mjs} +7 -7
- package/dist/client/{eventListing-A2CQEHEQ.mjs → eventListing-TPMWIIBO.mjs} +7 -7
- package/dist/client/{eventRegistration-OELPVLUY.mjs → eventRegistration-QU6W2PV6.mjs} +7 -7
- package/dist/client/{form-NTIFD6WQ.mjs → form-LVTYNTDE.mjs} +2 -2
- package/dist/client/{headerSection-7TBNKCLA.mjs → headerSection-SO3MFC4U.mjs} +54 -13
- package/dist/client/hooks.mjs +2266 -1179
- package/dist/client/{locationMap-LRLB5A3H.mjs → locationMap-5E5FLAKO.mjs} +2 -2
- package/dist/client/{newsletterForm-XI52RZSN.mjs → newsletterForm-GN32JEBQ.mjs} +2 -2
- package/dist/client/{productDetail-GSNKBFLY.mjs → productDetail-Q346KSVR.mjs} +6 -6
- package/dist/client/{productList-BGCGT4KZ.mjs → productList-DTDMQYGZ.mjs} +6 -6
- package/dist/client/rendering/client.mjs +4618 -3318
- package/dist/client/rendering/islands.mjs +32 -20
- package/dist/client/rendering.mjs +4898 -2108
- package/dist/client/{shop-RQHUCLNY.mjs → shop-OFUW7KPN.mjs} +6 -6
- 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/{sdk-runtime-A4LHT2RS.mjs → sdk-runtime-2GIX6I7X.mjs} +6 -6
- package/dist/server/components.mjs +4377 -1852
- package/dist/server/config-validation.mjs +2283 -1303
- package/dist/server/config.mjs +2283 -1303
- package/dist/server/data.mjs +2267 -1180
- package/dist/server/index.mjs +2 -1
- package/dist/server/next.mjs +4394 -1773
- package/dist/server/page-converter.mjs +1999 -1015
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +4482 -1857
- package/dist/server/rendering.mjs +4484 -1859
- package/dist/server/routing.mjs +2302 -1120
- package/dist/server/server.mjs +2284 -1197
- package/dist/server/theme-bridge.mjs +757 -85
- package/dist/server/theme.mjs +69 -4
- package/dist/styles/index.css +474 -65
- package/package.json +1 -1
- package/dist/SdkPreviewModeRuntime-XE5M4UKM.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
|
@@ -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;
|
|
@@ -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", "inset", "editorial"];
|
|
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", "inset", "editorial"];
|
|
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
|
};
|
|
@@ -2,6 +2,17 @@ import type { Theme } from '../schema';
|
|
|
2
2
|
export type Brand<T, TBrand extends string> = T & {
|
|
3
3
|
readonly __brand: TBrand;
|
|
4
4
|
};
|
|
5
|
+
export type NoExtraKeys<TActual, TExpected> = TActual & {
|
|
6
|
+
readonly [K in Exclude<keyof TActual, keyof TExpected>]: never;
|
|
7
|
+
};
|
|
8
|
+
export type ExactCatalog<TEntries extends readonly unknown[], TExpected> = {
|
|
9
|
+
readonly [K in keyof TEntries]: TEntries[K] extends TExpected ? NoExtraKeys<TEntries[K], TExpected> : never;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Defines a literal-preserving catalog while rejecting top-level extra keys on
|
|
13
|
+
* each entry: `defineExactCatalog<Entry>()([{ ... }])`.
|
|
14
|
+
*/
|
|
15
|
+
export declare function defineExactCatalog<TExpected>(): <const TEntries extends readonly TExpected[]>(entries: ExactCatalog<TEntries, TExpected>) => TEntries;
|
|
5
16
|
export type DesignBlockId = Brand<string, 'DesignBlockId'>;
|
|
6
17
|
export type DesignPageId = Brand<string, 'DesignPageId'>;
|
|
7
18
|
export type DesignEntryId = Brand<string, 'DesignEntryId'>;
|
|
@@ -88,8 +99,8 @@ export type DesignResolutionPolicy = 'generated' | 'user' | 'admin' | 'sdk';
|
|
|
88
99
|
export type DesignIssueSeverity = 'blocking' | 'repairable' | 'advisory';
|
|
89
100
|
export declare function designIssueSeverityForPolicy(policy: DesignResolutionPolicy): DesignIssueSeverity;
|
|
90
101
|
export type SiteStyleSurfaceIntent = 'base' | 'muted-band' | 'accent-band' | 'brand-depth-band' | 'hero-image';
|
|
91
|
-
export type SiteStyleItemSurfaceIntent = 'none' | 'default' | 'flat' | 'outlined' | 'raised' | 'inset' | 'editorial';
|
|
92
|
-
export type SiteStyleSectionTransitionIntent = 'none' | 'soft-fade-short' | 'soft-fade-long' | 'wave-edge' | 'angle-edge';
|
|
102
|
+
export type SiteStyleItemSurfaceIntent = 'none' | 'default' | 'flat' | 'outlined' | 'raised' | 'inset' | 'editorial' | 'color-blocked';
|
|
103
|
+
export type SiteStyleSectionTransitionIntent = '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';
|
|
93
104
|
export type SiteStyleEmphasis = 'low' | 'medium' | 'high';
|
|
94
105
|
export type SectionHeightIntent = 'default' | 'banner' | 'hero' | 'immersive';
|
|
95
106
|
export type FrameKind = 'plain' | 'panel' | 'flush-panel';
|
|
@@ -248,7 +259,7 @@ export type GeneratedFlushPanelFrameIntent = Readonly<{
|
|
|
248
259
|
export type GeneratedContentFrameIntent = PlainFrameIntent | GeneratedPanelFrameIntent | GeneratedFlushPanelFrameIntent;
|
|
249
260
|
export type UserContentFrameIntent = ContentFrameIntent;
|
|
250
261
|
export type AdvancedContentFrameIntent = ContentFrameIntent | AdvancedDetachedDesignValue;
|
|
251
|
-
export type GeneratedItemSurfaceIntent = Extract<SiteStyleItemSurfaceIntent, 'none' | 'default' | 'flat' | 'outlined' | 'raised' | 'inset' | 'editorial'>;
|
|
262
|
+
export type GeneratedItemSurfaceIntent = Extract<SiteStyleItemSurfaceIntent, 'none' | 'default' | 'flat' | 'outlined' | 'raised' | 'inset' | 'editorial' | 'color-blocked'>;
|
|
252
263
|
export type UserItemSurfaceIntent = SiteStyleItemSurfaceIntent;
|
|
253
264
|
export type AdvancedItemSurfaceIntent = SiteStyleItemSurfaceIntent | AdvancedDetachedDesignValue;
|
|
254
265
|
export type GeneratedSectionTransitionIntent = Extract<SiteStyleSectionTransitionIntent, 'none' | 'soft-fade-short' | 'soft-fade-long'>;
|
|
@@ -369,6 +380,7 @@ export type BlockDesignPlan<TBlockId extends string = DesignBlockId, TPurpose ex
|
|
|
369
380
|
blockId: TBlockId;
|
|
370
381
|
blockKind: string;
|
|
371
382
|
purpose: TPurpose;
|
|
383
|
+
appearancePresetId?: AppearancePresetId;
|
|
372
384
|
sectionSurface: SiteStyleSurfaceIntent;
|
|
373
385
|
contentFrame: ContentFrameIntent;
|
|
374
386
|
itemSurface: SiteStyleItemSurfaceIntent;
|
|
@@ -410,6 +422,12 @@ export type ResolvedPageDesignPlan<TBlockId extends string = DesignBlockId, TPur
|
|
|
410
422
|
blocks: readonly ResolvedBlockDesignPlan<TBlockId, TPurpose>[];
|
|
411
423
|
issues: readonly DesignResolutionIssue<TBlockId, TPurpose>[];
|
|
412
424
|
}>;
|
|
425
|
+
export type HeadingDecorationCapability = Readonly<{
|
|
426
|
+
kind: 'unsupported';
|
|
427
|
+
}> | Readonly<{
|
|
428
|
+
kind: 'supported';
|
|
429
|
+
families: NonEmptyReadonlyArray<VisibleHeadingDecorationFamily>;
|
|
430
|
+
}>;
|
|
413
431
|
export type DesignedBlockDesignCapabilityInput = Readonly<{
|
|
414
432
|
sectionSurfaces: 'supported' | 'unsupported';
|
|
415
433
|
contentFrames: FrameCapability;
|
|
@@ -422,7 +440,7 @@ export type DesignedBlockDesignCapabilityInput = Readonly<{
|
|
|
422
440
|
eventListTreatments?: NonEmptyReadonlyArray<EventListTreatment>;
|
|
423
441
|
eyebrowTreatments?: NonEmptyReadonlyArray<EyebrowTreatment>;
|
|
424
442
|
accordionIconSets?: NonEmptyReadonlyArray<AccordionIconSet>;
|
|
425
|
-
|
|
443
|
+
headingDecorationCapability?: HeadingDecorationCapability;
|
|
426
444
|
}>;
|
|
427
445
|
export type DesignedBlockDesignCapability = Readonly<{
|
|
428
446
|
kind: 'designed';
|
|
@@ -437,7 +455,7 @@ export type DesignedBlockDesignCapability = Readonly<{
|
|
|
437
455
|
eventListTreatments: NonEmptyReadonlyArray<EventListTreatment>;
|
|
438
456
|
eyebrowTreatments: NonEmptyReadonlyArray<EyebrowTreatment>;
|
|
439
457
|
accordionIconSets?: NonEmptyReadonlyArray<AccordionIconSet>;
|
|
440
|
-
|
|
458
|
+
headingDecorationCapability: HeadingDecorationCapability;
|
|
441
459
|
}>;
|
|
442
460
|
export type UnsupportedBlockDesignCapabilityReason = 'site-chrome' | 'transactional' | 'placeholder' | 'legacy-layout' | 'custom-runtime';
|
|
443
461
|
export type NoBlockDesignCapability = Readonly<{
|
|
@@ -446,7 +464,7 @@ export type NoBlockDesignCapability = Readonly<{
|
|
|
446
464
|
}>;
|
|
447
465
|
export type BlockDesignCapability = DesignedBlockDesignCapability | NoBlockDesignCapability;
|
|
448
466
|
export type BlockDesignCapabilityMap = Readonly<Partial<Record<string, BlockDesignCapability>>>;
|
|
449
|
-
export declare function defineBlockDesignCapability(capability: DesignedBlockDesignCapabilityInput): DesignedBlockDesignCapability;
|
|
467
|
+
export declare function defineBlockDesignCapability<const TCapability extends DesignedBlockDesignCapabilityInput>(capability: NoExtraKeys<TCapability, DesignedBlockDesignCapabilityInput>): DesignedBlockDesignCapability;
|
|
450
468
|
export declare function defineNoBlockDesignCapability(reason: UnsupportedBlockDesignCapabilityReason): NoBlockDesignCapability;
|
|
451
469
|
export type DesignRepairAction = 'fallback-block-design' | 'fallback-section-surface' | 'fallback-content-frame' | 'fallback-item-surface' | 'fallback-section-height' | 'fallback-image-surface-treatment' | 'fallback-image-surface-motion' | 'fallback-testimonial-card-treatment' | 'fallback-tile-treatment' | 'fallback-event-list-treatment' | 'fallback-eyebrow-treatment' | 'fallback-accordion-icon-treatment' | 'remove-hero-legibility' | 'remove-transition' | 'fallback-hero-legibility' | 'reduce-accent-density' | 'reduce-panel-density' | 'reduce-transition-mix' | 'reduce-primary-ctas' | 'reduce-media-density' | 'reduce-decorative-repetition';
|
|
452
470
|
export type UnsupportedSectionSurfaceIssue<TBlockId extends string = DesignBlockId, TPurpose extends string = string> = Readonly<{
|