@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
|
@@ -340,10 +340,8 @@ export declare const proofBlockIslandCodecs: {
|
|
|
340
340
|
hydration: Readonly<{
|
|
341
341
|
siteId: string;
|
|
342
342
|
stage?: "preview" | "published";
|
|
343
|
-
eventsPerPage:
|
|
344
|
-
|
|
345
|
-
seeAllUrl?: string;
|
|
346
|
-
loadMoreText: string;
|
|
343
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
344
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
347
345
|
showFilters: boolean;
|
|
348
346
|
showCategoryFilter: import("..").FilterAutoShow;
|
|
349
347
|
showVenueFilter: boolean;
|
|
@@ -388,10 +386,8 @@ export declare const proofBlockIslandCodecs: {
|
|
|
388
386
|
hydration: Readonly<{
|
|
389
387
|
siteId: string;
|
|
390
388
|
stage?: "preview" | "published";
|
|
391
|
-
eventsPerPage:
|
|
392
|
-
|
|
393
|
-
seeAllUrl?: string;
|
|
394
|
-
loadMoreText: string;
|
|
389
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
390
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
395
391
|
showFilters: boolean;
|
|
396
392
|
showCategoryFilter: import("..").FilterAutoShow;
|
|
397
393
|
showVenueFilter: boolean;
|
|
@@ -425,8 +421,8 @@ export declare const proofBlockIslandCodecs: {
|
|
|
425
421
|
events: readonly import("..").PublicEvent[];
|
|
426
422
|
listLayout: import("..").EventLayout;
|
|
427
423
|
listColumns: import("..").ColumnOption;
|
|
428
|
-
eventsPerPage:
|
|
429
|
-
|
|
424
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
425
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
430
426
|
startOfWeek: import("..").WeekStart;
|
|
431
427
|
calendarTabViews: import("..").CalendarTabViews;
|
|
432
428
|
showFilters: boolean;
|
|
@@ -474,8 +470,8 @@ export declare const proofBlockIslandCodecs: {
|
|
|
474
470
|
events: readonly import("..").PublicEvent[];
|
|
475
471
|
listLayout: import("..").EventLayout;
|
|
476
472
|
listColumns: import("..").ColumnOption;
|
|
477
|
-
eventsPerPage:
|
|
478
|
-
|
|
473
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
474
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
479
475
|
startOfWeek: import("..").WeekStart;
|
|
480
476
|
calendarTabViews: import("..").CalendarTabViews;
|
|
481
477
|
showFilters: boolean;
|
|
@@ -978,8 +974,8 @@ export declare const runtimeIslandCodecs: {
|
|
|
978
974
|
events: readonly import("..").PublicEvent[];
|
|
979
975
|
listLayout: import("..").EventLayout;
|
|
980
976
|
listColumns: import("..").ColumnOption;
|
|
981
|
-
eventsPerPage:
|
|
982
|
-
|
|
977
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
978
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
983
979
|
startOfWeek: import("..").WeekStart;
|
|
984
980
|
calendarTabViews: import("..").CalendarTabViews;
|
|
985
981
|
showFilters: boolean;
|
|
@@ -1026,8 +1022,8 @@ export declare const runtimeIslandCodecs: {
|
|
|
1026
1022
|
events: readonly import("..").PublicEvent[];
|
|
1027
1023
|
listLayout: import("..").EventLayout;
|
|
1028
1024
|
listColumns: import("..").ColumnOption;
|
|
1029
|
-
eventsPerPage:
|
|
1030
|
-
|
|
1025
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
1026
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1031
1027
|
startOfWeek: import("..").WeekStart;
|
|
1032
1028
|
calendarTabViews: import("..").CalendarTabViews;
|
|
1033
1029
|
showFilters: boolean;
|
|
@@ -1390,10 +1386,8 @@ export declare const runtimeIslandCodecs: {
|
|
|
1390
1386
|
hydration: Readonly<{
|
|
1391
1387
|
siteId: string;
|
|
1392
1388
|
stage?: "preview" | "published";
|
|
1393
|
-
eventsPerPage:
|
|
1394
|
-
|
|
1395
|
-
seeAllUrl?: string;
|
|
1396
|
-
loadMoreText: string;
|
|
1389
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
1390
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1397
1391
|
showFilters: boolean;
|
|
1398
1392
|
showCategoryFilter: import("..").FilterAutoShow;
|
|
1399
1393
|
showVenueFilter: boolean;
|
|
@@ -1438,10 +1432,8 @@ export declare const runtimeIslandCodecs: {
|
|
|
1438
1432
|
hydration: Readonly<{
|
|
1439
1433
|
siteId: string;
|
|
1440
1434
|
stage?: "preview" | "published";
|
|
1441
|
-
eventsPerPage:
|
|
1442
|
-
|
|
1443
|
-
seeAllUrl?: string;
|
|
1444
|
-
loadMoreText: string;
|
|
1435
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
1436
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1445
1437
|
showFilters: boolean;
|
|
1446
1438
|
showCategoryFilter: import("..").FilterAutoShow;
|
|
1447
1439
|
showVenueFilter: boolean;
|
|
@@ -1475,8 +1467,8 @@ export declare const runtimeIslandCodecs: {
|
|
|
1475
1467
|
events: readonly import("..").PublicEvent[];
|
|
1476
1468
|
listLayout: import("..").EventLayout;
|
|
1477
1469
|
listColumns: import("..").ColumnOption;
|
|
1478
|
-
eventsPerPage:
|
|
1479
|
-
|
|
1470
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
1471
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1480
1472
|
startOfWeek: import("..").WeekStart;
|
|
1481
1473
|
calendarTabViews: import("..").CalendarTabViews;
|
|
1482
1474
|
showFilters: boolean;
|
|
@@ -1524,8 +1516,8 @@ export declare const runtimeIslandCodecs: {
|
|
|
1524
1516
|
events: readonly import("..").PublicEvent[];
|
|
1525
1517
|
listLayout: import("..").EventLayout;
|
|
1526
1518
|
listColumns: import("..").ColumnOption;
|
|
1527
|
-
eventsPerPage:
|
|
1528
|
-
|
|
1519
|
+
eventsPerPage: import("../system/runtime/nodes/events/shared/listOptions").EventPageSize;
|
|
1520
|
+
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1529
1521
|
startOfWeek: import("..").WeekStart;
|
|
1530
1522
|
calendarTabViews: import("..").CalendarTabViews;
|
|
1531
1523
|
showFilters: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { default as PageRenderer } from './PageRenderer';
|
|
2
2
|
export { createCustomBlockRegistry, mergeBlockDescriptorsWithRegistry, planCustomBlockRegistryResolution, transformToBlockDescriptor, } from './customBlockRegistry';
|
|
3
3
|
export type { CustomBlockConflictReason, CustomBlockManifestSource, CustomBlockRegistry, CustomBlockRegistryConflict, CustomBlockRegistryEntry, CustomBlockRegistryResolutionPlan, CustomBlockSourcePolicy, ResolvedCustomBlockManifest, SdkConfigForBlockPicker, } from './customBlockRegistry';
|
|
4
|
-
export type { BlockOverrideComponent, BlockOverrideProps, BlockOverrides, EntrySubrouteContextData, OccurrenceContextData, SdkConfigForRenderer, } from './PageRenderer';
|
|
4
|
+
export type { BlockOverrideComponent, BlockOverrideProps, BlockOverrides, EntrySubrouteContextData, OccurrenceContextData, PageBlockPosition, SdkConfigForRenderer, } from './PageRenderer';
|
|
5
5
|
export * from './subroutes';
|
|
6
6
|
export * from './primitives/content/components/Button';
|
|
7
7
|
export * from './structure/schema';
|
|
@@ -47,17 +47,19 @@ export { createManifestValidator } from './system/manifest/validation';
|
|
|
47
47
|
export { singleButtonManifest } from './system/blocks/single-button';
|
|
48
48
|
export { Text, RichText } from './primitives/content/primitives';
|
|
49
49
|
export type { PrimitiveAPI, RichTextPrimitiveProps, RichTextVariant, TextProps, } from './primitives/content/primitives';
|
|
50
|
-
export { resolveImageUrl, ImagePresets, buildMediaAssetIndex, buildResolveImageUrlContext, setContextSupabaseUrl, setContextSiteId, setContextMediaAssetIndex, setContextResolveImageUrlContext, setContextMediaAssets, getSiteId, runWithMediaContext, computeMediaTransformStyle, resolveImageSourceSetWithContext, resolveImageUrlWithContext, resolveMediaStorageUrl, resolveMediaWithContext, resolveTargetAspectRatio, } from './system/runtime/nodes/media';
|
|
51
|
-
export type { ImageOptions, MediaAssetIndex, MediaAssetIndexItem, ResolveImageSourceSetOptions, ResolveImageUrlContext, ResolveImageUrlContextInput, ResolvedImageSourceSet, } from './system/runtime/nodes/media';
|
|
50
|
+
export { resolveImageUrl, ImagePresets, buildMediaAssetIndex, buildResolveImageUrlContext, setContextSupabaseUrl, setContextSiteId, setContextMediaAssetIndex, setContextResolveImageUrlContext, setContextMediaAssets, getSiteId, runWithMediaContext, computeMediaTransformStyle, resolveImageSourceSetWithContext, resolveImageUrlResult, resolveImageUrlWithContext, resolveImageUrlWithContextResult, resolveMediaStorageUrl, resolveMediaStorageUrlResult, resolveMediaWithContext, resolveTargetAspectRatio, } from './system/runtime/nodes/media';
|
|
51
|
+
export type { ImageOptions, MediaAssetIndex, MediaAssetIndexItem, MediaUrlResolution, ResolveImageSourceSetOptions, ResolveImageUrlContext, ResolveImageUrlContextInput, ResolvedImageSourceSet, } from './system/runtime/nodes/media';
|
|
52
52
|
export type { AudioMedia, ArchiveMedia, DocumentMedia, ImageMedia, Media, MediaOfType, MediaTypeDiscriminant, PublicDownloadMediaType, PublicDownloadMedia, SpreadsheetMedia, VideoMedia, } from './lib/media';
|
|
53
53
|
export { MEDIA_TYPE_DISCRIMINANTS, PUBLIC_DOWNLOAD_MEDIA_TYPES, isMediaTypeDiscriminant, mediaSchema, mediaTypeDiscriminantFromMimeType, } from './lib/media';
|
|
54
|
-
export { resolveMediaSlotContract } from './system/media/slotContracts';
|
|
54
|
+
export { SECTION_BACKGROUND_MIN_SOURCE_HEIGHT, SECTION_BACKGROUND_MIN_SOURCE_WIDTH, resolveMediaSlotContract, } from './system/media/slotContracts';
|
|
55
55
|
export { collectConstrainedVideoMediaValues } from './system/media/constrainedVideoMedia';
|
|
56
56
|
export type { ConstrainedVideoMediaValue } from './system/media/constrainedVideoMedia';
|
|
57
57
|
export type { MediaDeliveryStrategyId, MediaSlotContract, MediaSlotCropMode, MediaSlotDeliveryContract, MediaSlotEditContract, } from '../../media-core/src/index';
|
|
58
58
|
export { getPicsumImage } from './lib/picsum';
|
|
59
59
|
export { asRecord, isObjectRecord, isRecord, type UnknownRecord, } from './lib/typeGuards';
|
|
60
60
|
export type { PublicEvent, EventLayout, ColumnOption, CalendarView, WeekStart, EventVenue, } from './system/blocks/events/shared/types';
|
|
61
|
+
export { offeringsPreviewManifest } from './system/blocks/offerings-preview';
|
|
62
|
+
export type { OfferingsPreviewContent } from './system/blocks/offerings-preview';
|
|
61
63
|
export type { FormRecord, FormFieldDef, } from './system/runtime/nodes/form.types';
|
|
62
64
|
export { APPOINTMENT_BOOKING_BLOCK_ID, BOOKING_FORM_DATA_RESERVED_KEYS, BOOKING_FORM_DATA_RESERVED_KEY_VALUES, collectBookingReservedFieldCollisions, findBookingFormDataReservedFieldCollisions, formatBookingReservedFieldCollisionMessages, formatBookingFormDataReservedFieldMessage, isBookingFormDataReservedKey, type BookingFormDataReservedKey, type BookingReservedFieldCollision, } from './system/runtime/nodes/booking-form.reserved-fields';
|
|
63
65
|
export type { ShopDisplayConfig } from './system/runtime/nodes/shop.types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { TextProps } from "../primitives";
|
|
2
|
-
export default function Text({ as: Comp, children, className, path }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default function Text({ as: Comp, children, className, path, maxLength: _maxLength, }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,6 +5,7 @@ import TextView from "./components/Text";
|
|
|
5
5
|
import RichTextView from "./components/RichText";
|
|
6
6
|
export type TextProps = PrimitiveProps & {
|
|
7
7
|
path?: string;
|
|
8
|
+
maxLength?: number;
|
|
8
9
|
blockData?: Record<string, unknown> | null;
|
|
9
10
|
};
|
|
10
11
|
export type RichTextPrimitiveProps = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default as PageRenderer } from './PageRenderer';
|
|
2
|
-
export type { BlockOverrideComponent, BlockOverrideProps, BlockOverrides, EntrySubrouteContextData, OccurrenceContextData, SdkConfigForRenderer, } from './PageRenderer';
|
|
2
|
+
export type { BlockOverrideComponent, BlockOverrideProps, BlockOverrides, EntrySubrouteContextData, OccurrenceContextData, PageBlockPosition, SdkConfigForRenderer, } from './PageRenderer';
|
|
3
3
|
export * from './subroutes';
|
|
4
4
|
export { ThemeScope } from '../../theme-core/src/ThemeScope';
|
|
@@ -48,8 +48,9 @@ export type EventCalendarContent = {
|
|
|
48
48
|
listColumns?: ColumnOption | null;
|
|
49
49
|
layout?: EventLayout | null;
|
|
50
50
|
columns?: ColumnOption | null;
|
|
51
|
-
eventsPerPage?: '6' | '12' | '24' | null;
|
|
52
|
-
|
|
51
|
+
eventsPerPage?: '6' | '10' | '12' | '20' | '24' | '30' | null;
|
|
52
|
+
paginationMode?: 'loadMore' | 'seeAllLink' | null;
|
|
53
|
+
seeAllUrl?: string | null;
|
|
53
54
|
loadMoreText?: string | null;
|
|
54
55
|
startOfWeek?: WeekStart | null;
|
|
55
56
|
calendarTabViews?: CalendarTabViews | null;
|
|
@@ -50,6 +50,61 @@ export declare const eventPricingModeSchema: z.ZodEnum<{
|
|
|
50
50
|
single: "single";
|
|
51
51
|
ticket_types: "ticket_types";
|
|
52
52
|
}>;
|
|
53
|
+
export declare const publicCoursePriceDisplaySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
54
|
+
kind: z.ZodLiteral<"free">;
|
|
55
|
+
currency: z.ZodString;
|
|
56
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
+
kind: z.ZodLiteral<"exact">;
|
|
58
|
+
amount: z.ZodNumber;
|
|
59
|
+
currency: z.ZodString;
|
|
60
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
+
kind: z.ZodLiteral<"from">;
|
|
62
|
+
amount: z.ZodNumber;
|
|
63
|
+
currency: z.ZodString;
|
|
64
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
66
|
+
currency: z.ZodString;
|
|
67
|
+
}, z.core.$strip>], "kind">;
|
|
68
|
+
export declare const publicEventPriceDisplaySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
69
|
+
kind: z.ZodLiteral<"free">;
|
|
70
|
+
currency: z.ZodString;
|
|
71
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
72
|
+
kind: z.ZodLiteral<"exact">;
|
|
73
|
+
amount: z.ZodNumber;
|
|
74
|
+
currency: z.ZodString;
|
|
75
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
76
|
+
kind: z.ZodLiteral<"from">;
|
|
77
|
+
amount: z.ZodNumber;
|
|
78
|
+
currency: z.ZodString;
|
|
79
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
+
kind: z.ZodLiteral<"mixed">;
|
|
81
|
+
paidFromAmount: z.ZodNumber;
|
|
82
|
+
currency: z.ZodString;
|
|
83
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
+
kind: z.ZodLiteral<"pass_only">;
|
|
85
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
86
|
+
kind: z.ZodLiteral<"membership_only">;
|
|
87
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
88
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
89
|
+
currency: z.ZodString;
|
|
90
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
91
|
+
kind: z.ZodLiteral<"course">;
|
|
92
|
+
display: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
93
|
+
kind: z.ZodLiteral<"free">;
|
|
94
|
+
currency: z.ZodString;
|
|
95
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
96
|
+
kind: z.ZodLiteral<"exact">;
|
|
97
|
+
amount: z.ZodNumber;
|
|
98
|
+
currency: z.ZodString;
|
|
99
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
100
|
+
kind: z.ZodLiteral<"from">;
|
|
101
|
+
amount: z.ZodNumber;
|
|
102
|
+
currency: z.ZodString;
|
|
103
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
104
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
105
|
+
currency: z.ZodString;
|
|
106
|
+
}, z.core.$strip>], "kind">;
|
|
107
|
+
}, z.core.$strip>], "kind">;
|
|
53
108
|
export declare const publicEventAttendanceModeSchema: z.ZodEnum<{
|
|
54
109
|
in_person: "in_person";
|
|
55
110
|
online: "online";
|
|
@@ -472,6 +527,46 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
472
527
|
}>;
|
|
473
528
|
price: z.ZodNullable<z.ZodNumber>;
|
|
474
529
|
currency: z.ZodString;
|
|
530
|
+
priceDisplay: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
531
|
+
kind: z.ZodLiteral<"free">;
|
|
532
|
+
currency: z.ZodString;
|
|
533
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
534
|
+
kind: z.ZodLiteral<"exact">;
|
|
535
|
+
amount: z.ZodNumber;
|
|
536
|
+
currency: z.ZodString;
|
|
537
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
538
|
+
kind: z.ZodLiteral<"from">;
|
|
539
|
+
amount: z.ZodNumber;
|
|
540
|
+
currency: z.ZodString;
|
|
541
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
542
|
+
kind: z.ZodLiteral<"mixed">;
|
|
543
|
+
paidFromAmount: z.ZodNumber;
|
|
544
|
+
currency: z.ZodString;
|
|
545
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
546
|
+
kind: z.ZodLiteral<"pass_only">;
|
|
547
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
548
|
+
kind: z.ZodLiteral<"membership_only">;
|
|
549
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
550
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
551
|
+
currency: z.ZodString;
|
|
552
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
553
|
+
kind: z.ZodLiteral<"course">;
|
|
554
|
+
display: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
555
|
+
kind: z.ZodLiteral<"free">;
|
|
556
|
+
currency: z.ZodString;
|
|
557
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
558
|
+
kind: z.ZodLiteral<"exact">;
|
|
559
|
+
amount: z.ZodNumber;
|
|
560
|
+
currency: z.ZodString;
|
|
561
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
562
|
+
kind: z.ZodLiteral<"from">;
|
|
563
|
+
amount: z.ZodNumber;
|
|
564
|
+
currency: z.ZodString;
|
|
565
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
566
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
567
|
+
currency: z.ZodString;
|
|
568
|
+
}, z.core.$strip>], "kind">;
|
|
569
|
+
}, z.core.$strip>], "kind">;
|
|
475
570
|
paymentTerms: z.ZodObject<{
|
|
476
571
|
allowedOptions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
477
572
|
kind: z.ZodLiteral<"upfront">;
|
|
@@ -1031,6 +1126,46 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1031
1126
|
}>;
|
|
1032
1127
|
price: z.ZodNullable<z.ZodNumber>;
|
|
1033
1128
|
currency: z.ZodString;
|
|
1129
|
+
priceDisplay: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1130
|
+
kind: z.ZodLiteral<"free">;
|
|
1131
|
+
currency: z.ZodString;
|
|
1132
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1133
|
+
kind: z.ZodLiteral<"exact">;
|
|
1134
|
+
amount: z.ZodNumber;
|
|
1135
|
+
currency: z.ZodString;
|
|
1136
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1137
|
+
kind: z.ZodLiteral<"from">;
|
|
1138
|
+
amount: z.ZodNumber;
|
|
1139
|
+
currency: z.ZodString;
|
|
1140
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1141
|
+
kind: z.ZodLiteral<"mixed">;
|
|
1142
|
+
paidFromAmount: z.ZodNumber;
|
|
1143
|
+
currency: z.ZodString;
|
|
1144
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1145
|
+
kind: z.ZodLiteral<"pass_only">;
|
|
1146
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1147
|
+
kind: z.ZodLiteral<"membership_only">;
|
|
1148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1149
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1150
|
+
currency: z.ZodString;
|
|
1151
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1152
|
+
kind: z.ZodLiteral<"course">;
|
|
1153
|
+
display: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1154
|
+
kind: z.ZodLiteral<"free">;
|
|
1155
|
+
currency: z.ZodString;
|
|
1156
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1157
|
+
kind: z.ZodLiteral<"exact">;
|
|
1158
|
+
amount: z.ZodNumber;
|
|
1159
|
+
currency: z.ZodString;
|
|
1160
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1161
|
+
kind: z.ZodLiteral<"from">;
|
|
1162
|
+
amount: z.ZodNumber;
|
|
1163
|
+
currency: z.ZodString;
|
|
1164
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1165
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1166
|
+
currency: z.ZodString;
|
|
1167
|
+
}, z.core.$strip>], "kind">;
|
|
1168
|
+
}, z.core.$strip>], "kind">;
|
|
1034
1169
|
paymentTerms: z.ZodObject<{
|
|
1035
1170
|
allowedOptions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1036
1171
|
kind: z.ZodLiteral<"upfront">;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shared types for event display blocks
|
|
3
3
|
*/
|
|
4
|
+
import type { z } from 'zod';
|
|
4
5
|
import type { LocationCoordinates } from '../../../../../../core/src/index';
|
|
5
6
|
import type { Media } from '../../../../lib/media';
|
|
6
7
|
import type { BlockBookingPaymentTerms } from '../../shared/bookingPaymentTerms';
|
|
@@ -9,6 +10,7 @@ import type { CoursePricing } from '../../courses/shared/types';
|
|
|
9
10
|
import type { eventCalendarDisplayModeValues, eventCalendarListLayoutValues } from '../../../constants/events';
|
|
10
11
|
import type { EventBlockKind, EventScheduleScope, EventSurfacePreset, EventSurfaceScope } from './filtering';
|
|
11
12
|
import type { CardVariantRole, LegacyCardVariantRoleAlias } from '../../../../../../theme-core/src/cards/index';
|
|
13
|
+
import type { publicEventPriceDisplaySchema } from './schemas';
|
|
12
14
|
/**
|
|
13
15
|
* Geographic coordinates for venue location
|
|
14
16
|
*/
|
|
@@ -34,6 +36,7 @@ export type EventCategory = {
|
|
|
34
36
|
* Pricing type for events
|
|
35
37
|
*/
|
|
36
38
|
export type PricingType = "free" | "paid" | "pass_only" | "membership_only";
|
|
39
|
+
export type PublicEventPriceDisplay = z.infer<typeof publicEventPriceDisplaySchema>;
|
|
37
40
|
/**
|
|
38
41
|
* Access restriction type for events
|
|
39
42
|
*/
|
|
@@ -127,6 +130,8 @@ export type PublicEvent = {
|
|
|
127
130
|
price: number | null;
|
|
128
131
|
/** Currency code (ISO 4217), defaults to 'USD' */
|
|
129
132
|
currency: string;
|
|
133
|
+
/** Canonical display pricing derived by the public API boundary. */
|
|
134
|
+
priceDisplay: PublicEventPriceDisplay;
|
|
130
135
|
/** Shared booking payment-terms model for appointments/events/courses. */
|
|
131
136
|
paymentTerms: BlockBookingPaymentTerms;
|
|
132
137
|
/** Persisted pricing mode: legacy single-price or explicit ticket types. */
|
|
@@ -17,11 +17,13 @@ export type FeatureCard = {
|
|
|
17
17
|
body?: TipTapNode | null;
|
|
18
18
|
ctas?: BlockCtaContent[] | null;
|
|
19
19
|
};
|
|
20
|
+
export type FeatureCardsCardMarker = "icons" | "numbers" | "none";
|
|
20
21
|
export type FeatureCardsContent = {
|
|
21
22
|
variant?: FeatureCardsVariant | null;
|
|
22
23
|
title?: string | null;
|
|
23
24
|
description?: TipTapNode | null;
|
|
24
25
|
columns?: FeatureCardsColumns | null;
|
|
26
|
+
cardMarker?: FeatureCardsCardMarker | null;
|
|
25
27
|
_iconTreatment?: FeatureCardIconTreatment | null;
|
|
26
28
|
cards?: FeatureCard[] | null;
|
|
27
29
|
};
|
|
@@ -2,6 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
import type { SystemBlockDefinition } from "../registry";
|
|
3
3
|
import type { ContainerStylesContent, SectionStylesContent } from "../fields/boxStyles";
|
|
4
4
|
import { formBlockRuntime } from "../runtime/nodes/form.interactive";
|
|
5
|
+
import type { NodeDefinition } from "../node";
|
|
5
6
|
export declare const formManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
6
7
|
readonly id: "block.form";
|
|
7
8
|
readonly title: "Form";
|
|
@@ -47,7 +48,24 @@ export declare const formManifest: import("..").DefinedBlockManifest<import(".."
|
|
|
47
48
|
}];
|
|
48
49
|
}>;
|
|
49
50
|
}];
|
|
50
|
-
readonly layout:
|
|
51
|
+
readonly layout: NodeDefinition;
|
|
52
|
+
readonly variants: {
|
|
53
|
+
readonly default: NodeDefinition;
|
|
54
|
+
readonly "two-column": NodeDefinition;
|
|
55
|
+
};
|
|
56
|
+
readonly defaultVariant: "default";
|
|
57
|
+
readonly variantOptions: {
|
|
58
|
+
readonly default: {
|
|
59
|
+
readonly label: "Stacked";
|
|
60
|
+
readonly description: "Copy above the form.";
|
|
61
|
+
readonly icon: "PanelTop";
|
|
62
|
+
};
|
|
63
|
+
readonly "two-column": {
|
|
64
|
+
readonly label: "Two column";
|
|
65
|
+
readonly description: "Copy on the left and form on the right.";
|
|
66
|
+
readonly icon: "Columns2";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
51
69
|
readonly styleTokens: {
|
|
52
70
|
readonly background: "surface";
|
|
53
71
|
readonly typography: "body";
|
|
@@ -84,6 +102,7 @@ export type FormBlockContent = {
|
|
|
84
102
|
formSlug: string;
|
|
85
103
|
submitLabel?: string | null;
|
|
86
104
|
successMessage?: string | null;
|
|
105
|
+
variant?: "default" | "two-column" | null;
|
|
87
106
|
_sectionStyles?: SectionStylesContent;
|
|
88
107
|
_containerStyles?: ContainerStylesContent;
|
|
89
108
|
};
|
|
@@ -11,6 +11,7 @@ declare const classicLayout: NodeDefinition;
|
|
|
11
11
|
declare const microLayout: NodeDefinition;
|
|
12
12
|
declare const splitLayout: NodeDefinition;
|
|
13
13
|
declare const splitReverseLayout: NodeDefinition;
|
|
14
|
+
declare const splitEditorialLayout: NodeDefinition;
|
|
14
15
|
type HeroConfig = Omit<BlockConfig, "additionalFields" | "defaultVariant" | "fragments" | "includeContainerStyles" | "promotedFields" | "variants"> & {
|
|
15
16
|
readonly includeContainerStyles: true;
|
|
16
17
|
readonly promotedFields: readonly ["_sectionStyles.background.image"];
|
|
@@ -39,6 +40,7 @@ type HeroConfig = Omit<BlockConfig, "additionalFields" | "defaultVariant" | "fra
|
|
|
39
40
|
readonly micro: typeof microLayout;
|
|
40
41
|
readonly split: typeof splitLayout;
|
|
41
42
|
readonly splitReverse: typeof splitReverseLayout;
|
|
43
|
+
readonly splitEditorial: typeof splitEditorialLayout;
|
|
42
44
|
};
|
|
43
45
|
readonly defaultVariant: "classic";
|
|
44
46
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { SystemBlockDefinition } from "../../registry";
|
|
2
|
+
import type { BlockManifest } from "../../manifest";
|
|
3
|
+
import { type CardStylesContent, type SectionStylesContent } from "../../fields/boxStyles";
|
|
4
|
+
import type { ButtonVariant } from "../events/shared/types";
|
|
5
|
+
import { type OfferingsPreviewGroupOverride } from "./model";
|
|
6
|
+
export declare const offeringsPreviewManifest: BlockManifest;
|
|
7
|
+
export type OfferingsPreviewContent = {
|
|
8
|
+
heading?: string | null;
|
|
9
|
+
description?: unknown;
|
|
10
|
+
itemLimit?: "1" | "2" | "3" | "4" | "5" | "6" | null;
|
|
11
|
+
groupOverrides?: readonly OfferingsPreviewGroupOverride[] | null;
|
|
12
|
+
_cardStyles?: CardStylesContent;
|
|
13
|
+
buttonVariant?: ButtonVariant | null;
|
|
14
|
+
buttonText?: string | null;
|
|
15
|
+
emptyMessage?: string | null;
|
|
16
|
+
_sectionStyles?: SectionStylesContent;
|
|
17
|
+
};
|
|
18
|
+
export declare const offeringsPreviewBlockDefinition: SystemBlockDefinition<OfferingsPreviewContent>;
|
|
19
|
+
export type { BookingOfferingPresetSummary, OfferingsPreviewGroupOverride, OfferingsPreviewSourceKey, } from "./model";
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import type { PublicEvent } from "../events/shared/types";
|
|
2
|
+
import type { PublicCourse } from "../courses/shared/types";
|
|
3
|
+
export declare const OFFERINGS_PREVIEW_DEFAULT_ITEM_LIMIT = "3";
|
|
4
|
+
export declare const OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT = "Book";
|
|
5
|
+
export declare const OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE = "Nothing scheduled just yet.";
|
|
6
|
+
export declare const OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE = "This list is unavailable right now.";
|
|
7
|
+
export declare const OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS: readonly [{
|
|
8
|
+
readonly preset: "class";
|
|
9
|
+
readonly sourceKey: "eventPreset:class";
|
|
10
|
+
readonly dataKey: "classEvents";
|
|
11
|
+
readonly label: "Classes";
|
|
12
|
+
}, {
|
|
13
|
+
readonly preset: "workshop";
|
|
14
|
+
readonly sourceKey: "eventPreset:workshop";
|
|
15
|
+
readonly dataKey: "workshopEvents";
|
|
16
|
+
readonly label: "Workshops";
|
|
17
|
+
}, {
|
|
18
|
+
readonly preset: "retreat";
|
|
19
|
+
readonly sourceKey: "eventPreset:retreat";
|
|
20
|
+
readonly dataKey: "retreatEvents";
|
|
21
|
+
readonly label: "Retreats";
|
|
22
|
+
}, {
|
|
23
|
+
readonly preset: "performance";
|
|
24
|
+
readonly sourceKey: "eventPreset:performance";
|
|
25
|
+
readonly dataKey: "performanceEvents";
|
|
26
|
+
readonly label: "Performances";
|
|
27
|
+
}];
|
|
28
|
+
export type OfferingsPreviewEventPreset = (typeof OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS)[number]["preset"];
|
|
29
|
+
export type OfferingsPreviewEventSourceKey = (typeof OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS)[number]["sourceKey"];
|
|
30
|
+
export type OfferingsPreviewEventDataKey = (typeof OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS)[number]["dataKey"];
|
|
31
|
+
export declare const OFFERINGS_PREVIEW_EVENT_PRESETS: ("class" | "workshop" | "retreat" | "performance")[];
|
|
32
|
+
export declare const OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS: readonly [...("eventPreset:class" | "eventPreset:workshop" | "eventPreset:retreat" | "eventPreset:performance")[], "course"];
|
|
33
|
+
export declare const OFFERINGS_PREVIEW_SOURCE_KEYS: readonly [...("eventPreset:class" | "eventPreset:workshop" | "eventPreset:retreat" | "eventPreset:performance")[], "course"];
|
|
34
|
+
export type OfferingsPreviewSourceKey = OfferingsPreviewEventSourceKey | "course";
|
|
35
|
+
export type OfferingsPreviewSource = Readonly<{
|
|
36
|
+
kind: "eventPreset";
|
|
37
|
+
preset: OfferingsPreviewEventPreset;
|
|
38
|
+
}> | Readonly<{
|
|
39
|
+
kind: "course";
|
|
40
|
+
}>;
|
|
41
|
+
export type OfferingsPreviewCtaMode = "auto" | "custom" | "hidden";
|
|
42
|
+
export type OfferingsPreviewGroupPresentation = "compact-list" | "single-card";
|
|
43
|
+
export type OfferingsPreviewRouteCandidate = Readonly<{
|
|
44
|
+
entityId: string;
|
|
45
|
+
path: string;
|
|
46
|
+
title: string;
|
|
47
|
+
kind: "page" | "content";
|
|
48
|
+
contentTypeKey?: string | null;
|
|
49
|
+
}>;
|
|
50
|
+
export type OfferingsPreviewGroupCtaConfig = Readonly<{
|
|
51
|
+
mode: OfferingsPreviewCtaMode;
|
|
52
|
+
href: string | null;
|
|
53
|
+
label: string | null;
|
|
54
|
+
}>;
|
|
55
|
+
export type OfferingsPreviewResolvedCta = Readonly<{
|
|
56
|
+
href: string;
|
|
57
|
+
label: string;
|
|
58
|
+
}>;
|
|
59
|
+
export type BookingOfferingCanonicalBehaviour = OfferingsPreviewEventPreset | "course" | "appointment";
|
|
60
|
+
export type BookingOfferingEngine = "event_series" | "course" | "appointment_service";
|
|
61
|
+
export type BookingOfferingPresetSummary = Readonly<{
|
|
62
|
+
id: string;
|
|
63
|
+
canonicalBehaviour: BookingOfferingCanonicalBehaviour;
|
|
64
|
+
engine: BookingOfferingEngine;
|
|
65
|
+
label: string;
|
|
66
|
+
pluralLabel: string;
|
|
67
|
+
}>;
|
|
68
|
+
export type OfferingsPreviewGroupOverride = Readonly<{
|
|
69
|
+
sourceKey?: OfferingsPreviewSourceKey | null;
|
|
70
|
+
title?: string | null;
|
|
71
|
+
intro?: string | null;
|
|
72
|
+
hidden?: boolean | null;
|
|
73
|
+
presentation?: OfferingsPreviewGroupPresentation | null;
|
|
74
|
+
ctaMode?: OfferingsPreviewCtaMode | null;
|
|
75
|
+
ctaHref?: string | null;
|
|
76
|
+
ctaLabel?: string | null;
|
|
77
|
+
}>;
|
|
78
|
+
export type ResolvedOfferingsPreviewGroup = Readonly<{
|
|
79
|
+
sourceKey: OfferingsPreviewSourceKey;
|
|
80
|
+
source: OfferingsPreviewSource;
|
|
81
|
+
title: string;
|
|
82
|
+
intro: string | null;
|
|
83
|
+
hidden: boolean;
|
|
84
|
+
presentation: OfferingsPreviewGroupPresentation;
|
|
85
|
+
cta: OfferingsPreviewGroupCtaConfig;
|
|
86
|
+
}>;
|
|
87
|
+
export type OfferingsPreviewItem = Readonly<{
|
|
88
|
+
kind: "event";
|
|
89
|
+
event: PublicEvent;
|
|
90
|
+
} | {
|
|
91
|
+
kind: "course";
|
|
92
|
+
course: PublicCourse;
|
|
93
|
+
path: string | null;
|
|
94
|
+
}>;
|
|
95
|
+
export type OfferingsPreviewGroupItemData = Readonly<{
|
|
96
|
+
kind: "ready";
|
|
97
|
+
items: readonly OfferingsPreviewItem[];
|
|
98
|
+
} | {
|
|
99
|
+
kind: "failed";
|
|
100
|
+
reason: "not_loaded";
|
|
101
|
+
}>;
|
|
102
|
+
export type OfferingsPreviewGroupEventData = OfferingsPreviewGroupItemData;
|
|
103
|
+
export type OfferingsPreviewGroupRenderState = Readonly<{
|
|
104
|
+
kind: "items";
|
|
105
|
+
group: ResolvedOfferingsPreviewGroup;
|
|
106
|
+
items: readonly OfferingsPreviewItem[];
|
|
107
|
+
} | {
|
|
108
|
+
kind: "empty";
|
|
109
|
+
group: ResolvedOfferingsPreviewGroup;
|
|
110
|
+
message: string;
|
|
111
|
+
}>;
|
|
112
|
+
export declare function isOfferingsPreviewSourceKey(value: unknown): value is OfferingsPreviewSourceKey;
|
|
113
|
+
export declare function sourceKeyForEventPreset(preset: OfferingsPreviewEventPreset): OfferingsPreviewSourceKey;
|
|
114
|
+
export declare function sourceKeyForOfferingPreviewSource(source: OfferingsPreviewSource): OfferingsPreviewSourceKey;
|
|
115
|
+
export declare function offeringPreviewSourceFromKey(sourceKey: OfferingsPreviewSourceKey): OfferingsPreviewSource;
|
|
116
|
+
export declare function normalizeOfferingsPreviewItemLimit(value: unknown): number;
|
|
117
|
+
export declare function deriveDefaultOfferingsPreviewGroups(presets: readonly BookingOfferingPresetSummary[] | null | undefined): readonly ResolvedOfferingsPreviewGroup[];
|
|
118
|
+
export declare function resolveOfferingsPreviewGroups(input: Readonly<{
|
|
119
|
+
presets?: readonly BookingOfferingPresetSummary[] | null;
|
|
120
|
+
overrides?: readonly OfferingsPreviewGroupOverride[] | null;
|
|
121
|
+
}>): readonly ResolvedOfferingsPreviewGroup[];
|
|
122
|
+
export declare function resolveOfferingsPreviewGroupCta(input: Readonly<{
|
|
123
|
+
group: ResolvedOfferingsPreviewGroup;
|
|
124
|
+
routes: readonly OfferingsPreviewRouteCandidate[] | null | undefined;
|
|
125
|
+
defaultLabel?: string | null;
|
|
126
|
+
}>): OfferingsPreviewResolvedCta | null;
|
|
127
|
+
export declare function buildOfferingsPreviewRenderStates(input: Readonly<{
|
|
128
|
+
groups: readonly ResolvedOfferingsPreviewGroup[];
|
|
129
|
+
itemsBySourceKey: ReadonlyMap<OfferingsPreviewSourceKey, OfferingsPreviewGroupItemData>;
|
|
130
|
+
itemLimit: number;
|
|
131
|
+
emptyMessage: string;
|
|
132
|
+
failedMessage: string;
|
|
133
|
+
}>): readonly OfferingsPreviewGroupRenderState[];
|
|
134
|
+
export declare function resolveOfferingsPreviewCoursePath(course: Pick<PublicCourse, "contentEntryId" | "slug">, routes: readonly OfferingsPreviewRouteCandidate[] | null | undefined): string | null;
|
|
@@ -12,6 +12,7 @@ type RenderOptions = {
|
|
|
12
12
|
viewModelOverrides?: Record<string, unknown>;
|
|
13
13
|
data?: Record<string, unknown>;
|
|
14
14
|
pathBase?: string;
|
|
15
|
+
imageResolveContext?: Parameters<typeof resolveTree>[1]["imageResolveContext"];
|
|
15
16
|
};
|
|
16
17
|
/**
|
|
17
18
|
* Resolves the layout definition for a block based on its manifest and content.
|
|
@@ -54,7 +54,7 @@ export declare const BACKGROUND_POSITION_PRESETS: readonly [{
|
|
|
54
54
|
readonly value: "right bottom";
|
|
55
55
|
readonly label: "Right Bottom";
|
|
56
56
|
}];
|
|
57
|
-
export declare const BACKGROUND_POSITION_PRESET_VALUES: ("
|
|
57
|
+
export declare const BACKGROUND_POSITION_PRESET_VALUES: ("left" | "right" | "center" | "top" | "bottom" | "right center" | "top left" | "top right" | "bottom left" | "bottom right" | "top center" | "bottom center" | "left center" | "left top" | "right top" | "left bottom" | "right bottom")[];
|
|
58
58
|
/**
|
|
59
59
|
* Maps position keywords to rb-* anchor positioning classes.
|
|
60
60
|
* Used for positioning scaled/overflow images within their containers.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SYSTEM_BLOCK_KINDS: readonly ["block.hero", "block.intro", "block.columns", "block.collection", "block.feature-cards", "block.media-text", "block.cta-full", "block.single-button", "block.body-text", "block.location-map", "block.faq", "block.testimonials", "block.team-members", "block.embed", "block.blog-post", "block.blog-listing", "block.site-header", "block.site-footer", "block.form", "block.appointment-booking", "block.event-registration", "block.event-details", "block.course-registration", "block.course-details", "block.event-spotlight", "block.event-listing", "block.event-calendar", "block.shop", "block.product-list", "block.product-detail", "block.cart", "block.checkout", "block.gifting", "block.newsletter-signup", "block.image-gallery", "block.video-grid", "block.audio-player", "block.file-download"];
|
|
1
|
+
export declare const SYSTEM_BLOCK_KINDS: readonly ["block.hero", "block.intro", "block.columns", "block.collection", "block.feature-cards", "block.media-text", "block.cta-full", "block.single-button", "block.body-text", "block.location-map", "block.faq", "block.testimonials", "block.team-members", "block.embed", "block.blog-post", "block.blog-listing", "block.site-header", "block.site-footer", "block.form", "block.appointment-booking", "block.event-registration", "block.event-details", "block.course-registration", "block.course-details", "block.event-spotlight", "block.event-listing", "block.event-calendar", "block.offerings-preview", "block.shop", "block.product-list", "block.product-detail", "block.cart", "block.checkout", "block.gifting", "block.newsletter-signup", "block.image-gallery", "block.video-grid", "block.audio-player", "block.file-download"];
|
|
2
2
|
export type SystemBlockKind = (typeof SYSTEM_BLOCK_KINDS)[number];
|
|
3
3
|
export type CustomBlockKind = `custom.${string}`;
|
|
4
4
|
export type BlockKind = SystemBlockKind | CustomBlockKind;
|