@riverbankcms/sdk 0.79.0 → 0.81.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PreviewEditorSidebar-RDCMEXIJ.mjs +3163 -0
- package/dist/{PreviewEditorUI-27KJVEET.mjs → PreviewEditorUI-NYGQ6K7B.mjs} +194 -30
- package/dist/SdkPreviewModeRuntime-AKCSCZEC.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +20 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +12 -0
- package/dist/_dts/api/src/contentTypes.d.ts +6 -0
- package/dist/_dts/api/src/endpoints.d.ts +24 -0
- package/dist/_dts/api/src/index.d.ts +3 -3
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +53 -0
- package/dist/_dts/api/src/siteInfrastructure.d.ts +124 -0
- package/dist/_dts/api/src/siteOnboarding.d.ts +13 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +10 -1
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +3 -1
- package/dist/_dts/block-form/src/backend/types.d.ts +3 -3
- package/dist/_dts/block-form/src/client/index.d.ts +2 -0
- package/dist/_dts/block-form/src/index.d.ts +2 -0
- package/dist/_dts/block-form/src/utils/evaluateVisibility.d.ts +2 -1
- package/dist/_dts/blocks/src/PageRenderer.d.ts +3 -0
- package/dist/_dts/blocks/src/client/header.d.ts +1 -1
- package/dist/_dts/blocks/src/client.d.ts +12 -12
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +20 -28
- package/dist/_dts/blocks/src/index.d.ts +7 -5
- package/dist/_dts/blocks/src/primitives/content/components/Text.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +1 -0
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +135 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +9 -1
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +20 -1
- package/dist/_dts/blocks/src/system/blocks/hero.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +19 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +134 -0
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +7 -1
- package/dist/_dts/blocks/src/system/componentFactory.d.ts +1 -0
- package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +34 -15
- package/dist/_dts/blocks/src/system/data/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/data/linkedContentEntries.d.ts +64 -0
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/designCapabilities.d.ts +2 -2
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +10 -3
- package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +5 -0
- package/dist/_dts/blocks/src/system/media/slotContracts.d.ts +2 -0
- package/dist/_dts/blocks/src/system/node/fragments/headingDecoration.d.ts +1 -4
- package/dist/_dts/blocks/src/system/node/types.d.ts +8 -1
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +2 -2
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +51 -57
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +24 -27
- package/dist/_dts/blocks/src/system/runtime/header/enhanceHeaderSection.d.ts +10 -2
- package/dist/_dts/blocks/src/system/runtime/headingDecoration.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +45 -14
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +2 -9
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.d.ts +1 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +21 -16
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +21 -16
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +22 -33
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.server.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventSpotlight.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventPaginatedListView.client.d.ts +2 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekAgendaView.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +50 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +29 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +7 -0
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/sectionForegroundStyles.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +7 -2
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +9 -0
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +14 -1
- package/dist/_dts/calendar/src/grid.d.ts +27 -0
- package/dist/_dts/calendar/src/index.d.ts +2 -2
- package/dist/_dts/content-editor/src/controller/useAutosaveTriggers.d.ts +3 -1
- package/dist/_dts/content-editor/src/editorTransactionState.d.ts +1 -0
- package/dist/_dts/content-editor/src/hooks/autosaveScopePlanning.d.ts +26 -0
- package/dist/_dts/content-editor/src/hooks/publishability.d.ts +1 -0
- package/dist/_dts/content-editor/src/hooks/useLinkedEntryAutosave.d.ts +23 -0
- package/dist/_dts/content-editor/src/hooks/useReactiveToolbar.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +2 -2
- package/dist/_dts/content-editor/src/index.d.ts +3 -1
- package/dist/_dts/content-editor/src/lib/json.d.ts +2 -0
- package/dist/_dts/content-editor/src/linkedEntries/domain.d.ts +8 -0
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +58 -0
- package/dist/_dts/content-editor/src/ui/editorTransactionState.d.ts +93 -0
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +60 -3
- package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +2 -0
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +43 -0
- package/dist/_dts/content-model/src/metadataConfig.d.ts +87 -47
- package/dist/_dts/core/src/branded.d.ts +5 -0
- package/dist/_dts/core/src/index.d.ts +1 -0
- package/dist/_dts/core/src/stable-json.d.ts +1 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +9 -3
- package/dist/_dts/editor/src/EditorProvider.d.ts +26 -0
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +26 -0
- package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +45 -0
- package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +25 -0
- package/dist/_dts/editor/src/components/EditingToggle.d.ts +9 -0
- package/dist/_dts/editor/src/hooks/useEditableElement.d.ts +18 -0
- package/dist/_dts/editor/src/index.d.ts +29 -0
- package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +1 -0
- package/dist/_dts/editor/src/lib/utils.d.ts +1 -0
- package/dist/_dts/editor/src/primitives/EditorPrimitivesProvider.d.ts +20 -0
- package/dist/_dts/editor/src/primitives/InlineFieldContext.d.ts +11 -0
- package/dist/_dts/editor/src/primitives/SaveContext.d.ts +12 -0
- package/dist/_dts/editor/src/primitives/helpers.d.ts +1 -0
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +26 -0
- package/dist/_dts/editor/src/primitives/rich-text/RichTextToolbar.d.ts +16 -0
- package/dist/_dts/editor/src/primitives/rich-text/config.d.ts +23 -0
- package/dist/_dts/editor/src/primitives/rich-text/extensions/RichTextImage.d.ts +2 -0
- package/dist/_dts/editor/src/primitives/rich-text/extensions/RichTextLink.d.ts +1 -0
- package/dist/_dts/editor/src/primitives/rich-text/imageActions.d.ts +22 -0
- package/dist/_dts/editor/src/primitives/rich-text/sanitize.d.ts +23 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/BlockTypeDropdown.d.ts +6 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/LinkPopover.d.ts +10 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/ToolbarIconButton.d.ts +11 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/linkPopoverUtils.d.ts +58 -0
- package/dist/_dts/editor/src/primitives/rich-text/useRichTextEditor.d.ts +19 -0
- package/dist/_dts/editor/src/primitives/rich-text/utils.d.ts +20 -0
- package/dist/_dts/editor/src/utils/optimisticTokens.d.ts +27 -0
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +5 -9
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +6 -10
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +6 -4
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +4 -8
- package/dist/_dts/editor-blocks/src/block-editor/actionPresentation.d.ts +15 -0
- package/dist/_dts/editor-blocks/src/block-editor/blockHeaderActionPlan.d.ts +49 -0
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/useImagePicker.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionWidgetProvider.d.ts +14 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/index.d.ts +6 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +51 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/types.d.ts +20 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +5 -0
- package/dist/_dts/media-core/src/index.d.ts +1 -0
- package/dist/_dts/media-core/src/renderableMediaAsset.d.ts +18 -0
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +4 -1
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +2 -1
- package/dist/_dts/media-editor/src/index.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +7 -2
- package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +5 -1
- package/dist/_dts/preview-next/src/client/blocks/blockCustomizePopoverRows.d.ts +25 -0
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +4 -30
- package/dist/_dts/preview-next/src/client/blocks/linkedEntryRenderOverlay.d.ts +11 -0
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +3 -9
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +24 -0
- package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +35 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +0 -1
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/preview/LinkedEntryEditEventBridge.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +5 -6
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignHistoryOrderContext.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +19 -19
- package/dist/_dts/preview-next/src/client/preview/PreviewSidebarSection.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +47 -4
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +14 -1
- package/dist/_dts/preview-next/src/client/preview/linkedEntryEditEvents.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/previewChromePlacement.d.ts +46 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeControls.d.ts +68 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeEditorDraftPatch.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +8 -1
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +11 -9
- package/dist/_dts/preview-next/src/client/preview/previewDesignHistoryOrder.d.ts +18 -0
- package/dist/_dts/preview-next/src/client/preview/previewUndoDomains.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +41 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +101 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +29 -0
- package/dist/_dts/preview-next/src/client/preview/siteStyleHistoryState.d.ts +55 -0
- package/dist/_dts/preview-next/src/client/preview/storeTypes.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/widgets/widgetAdapters.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +6 -3
- package/dist/_dts/preview-next/src/constants.d.ts +0 -1
- package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +44 -0
- package/dist/_dts/sdk/src/cli/config-loader.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +5 -3
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +1 -0
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +56 -0
- package/dist/_dts/sdk/src/client/management/webhooks.d.ts +3 -0
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +34 -5
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +10 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +42 -0
- package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +4 -0
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/siteStyleDefaults.d.ts +220 -0
- package/dist/_dts/theme-core/src/accordions/types.d.ts +45 -2
- package/dist/_dts/theme-core/src/blockOverrides.d.ts +8 -0
- package/dist/_dts/theme-core/src/blocks/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/blocks/vars/testimonials.d.ts +4 -1
- package/dist/_dts/theme-core/src/buttons/constants.d.ts +26 -1
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
- package/dist/_dts/theme-core/src/buttons/personalities/joy-stamp.d.ts +22 -0
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +2 -1
- package/dist/_dts/theme-core/src/buttons/types.d.ts +9 -0
- package/dist/_dts/theme-core/src/cards/core.d.ts +20 -0
- package/dist/_dts/theme-core/src/cards/generateDefaultCardSystem.d.ts +6 -3
- package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +149 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +177 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/interactive/types.d.ts +10 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +180 -21
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +30 -0
- package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +16 -0
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/variants/warm-dark.d.ts +27 -0
- package/dist/_dts/theme-core/src/schema.d.ts +486 -55
- package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +4 -1
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +172 -47
- package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +6 -2
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +172 -47
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +140 -2
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +18 -2
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +20 -1
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +10 -2
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +291 -6
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +193 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +3 -23
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +276 -4
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +2 -8
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +43 -10
- package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +508 -0
- package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +11 -0
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +10 -10
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/testimonialQuotePresets.d.ts +15 -0
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +28 -32
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +16 -1
- package/dist/{chunk-4HCW7FHJ.mjs → chunk-3PTVPAT4.mjs} +1984 -1142
- package/dist/{PreviewEditorSidebar-56NMJMIK.mjs → chunk-3QWQ2MUQ.mjs} +1050 -2609
- package/dist/{chunk-GP555I66.mjs → chunk-3VT7LZY2.mjs} +413 -157
- package/dist/{chunk-A3HHFKVT.mjs → chunk-4T5JIPWY.mjs} +1 -1
- package/dist/{chunk-K2IIF34C.mjs → chunk-E3NZYEKF.mjs} +25 -7
- package/dist/{chunk-V47ZU33I.mjs → chunk-WUHKQBB6.mjs} +12062 -3211
- package/dist/cli/index.mjs +3395 -817
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +16 -4
- package/dist/client/{accordion-QLA7KBYO.mjs → accordion-SFIIZWNH.mjs} +2 -2
- package/dist/client/{bookingForm-PYZIPA5G.mjs → bookingForm-CFKZVWGA.mjs} +5 -5
- package/dist/client/bookings.mjs +1422 -345
- package/dist/client/{carousel-5EIULWBI.mjs → carousel-ELXWSBLA.mjs} +3 -3
- package/dist/client/{cart-DOP3FNI4.mjs → cart-6SSCPYY5.mjs} +6 -6
- package/dist/client/{checkout-BVMF6FBV.mjs → checkout-UFQ34HPV.mjs} +6 -6
- package/dist/client/{chunk-44K2U3QI.mjs → chunk-76JUETXQ.mjs} +139 -186
- package/dist/client/{chunk-AUJ5DBZJ.mjs → chunk-7BXX7WXH.mjs} +112 -28
- package/dist/client/{chunk-UDS3NTWA.mjs → chunk-G56BSZAM.mjs} +2 -2
- package/dist/client/{chunk-V6M5FCR5.mjs → chunk-IUEDYLFJ.mjs} +1 -1
- package/dist/client/{chunk-YLDYVRZL.mjs → chunk-NP47RHIX.mjs} +5 -5
- package/dist/client/{chunk-R5ESWNKX.mjs → chunk-NX6X3GRF.mjs} +419 -85
- package/dist/client/{chunk-CCNTDRCF.mjs → chunk-PA2LJH2M.mjs} +2 -2
- package/dist/client/{chunk-CE7IBGVW.mjs → chunk-RMWMT3ZD.mjs} +1 -1
- package/dist/client/{chunk-TYONZMST.mjs → chunk-TCJS3NY5.mjs} +1 -1
- package/dist/client/{chunk-GG4M2NP6.mjs → chunk-V6XI4M2Q.mjs} +1 -1
- package/dist/client/client.mjs +9077 -4410
- package/dist/client/{courseRegistration-E6EAA6NL.mjs → courseRegistration-HJIISAAG.mjs} +5 -5
- package/dist/client/{eventCalendar-HBG3HAK6.mjs → eventCalendar-F6YVUCZR.mjs} +7 -7
- package/dist/client/{eventCombined-6K5ZZWAK.mjs → eventCombined-B5DSTIOK.mjs} +7 -7
- package/dist/client/{eventDetails-Q75ICXLT.mjs → eventDetails-SEJDDHQC.mjs} +7 -7
- package/dist/client/{eventListing-27P5F7DZ.mjs → eventListing-TPMWIIBO.mjs} +7 -7
- package/dist/client/{eventRegistration-IQ7AMASR.mjs → eventRegistration-QU6W2PV6.mjs} +7 -7
- package/dist/client/{form-JRTD65FN.mjs → form-LVTYNTDE.mjs} +2 -2
- package/dist/client/{headerSection-7FPSSZHS.mjs → headerSection-SO3MFC4U.mjs} +110 -28
- package/dist/client/hooks.mjs +4695 -2260
- package/dist/client/{locationMap-7NGFNYBH.mjs → locationMap-5E5FLAKO.mjs} +2 -2
- package/dist/client/{newsletterForm-F3BADCI2.mjs → newsletterForm-GN32JEBQ.mjs} +2 -2
- package/dist/client/{productDetail-V3HP7ITJ.mjs → productDetail-Q346KSVR.mjs} +6 -6
- package/dist/client/{productList-L3EGJUF2.mjs → productList-DTDMQYGZ.mjs} +6 -6
- package/dist/client/rendering/client.mjs +5795 -3582
- package/dist/client/rendering/islands.mjs +32 -20
- package/dist/client/rendering.mjs +7988 -3317
- package/dist/client/{shop-DQUB5E2C.mjs → shop-OFUW7KPN.mjs} +6 -6
- package/dist/preview-next/before-render.mjs +24 -0
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/constants.mjs +0 -2
- package/dist/preview-next/index.mjs +0 -2
- package/dist/preview-next/middleware.mjs +24 -0
- package/dist/{sdk-runtime-AF6KXJU4.mjs → sdk-runtime-2GIX6I7X.mjs} +6 -6
- package/dist/server/components.mjs +7384 -3089
- package/dist/server/config-validation.mjs +4747 -2418
- package/dist/server/config.mjs +4747 -2418
- package/dist/server/data.mjs +4695 -2260
- package/dist/server/index.mjs +26 -1
- package/dist/server/next.mjs +7430 -3039
- package/dist/server/page-converter.mjs +3985 -2070
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +7489 -3094
- package/dist/server/rendering.mjs +7491 -3096
- package/dist/server/routing.mjs +4965 -2386
- package/dist/server/server.mjs +4713 -2278
- package/dist/server/theme-bridge.mjs +2181 -383
- package/dist/server/theme.mjs +477 -222
- package/dist/styles/index.css +747 -71
- package/package.json +1 -1
- package/dist/SdkPreviewModeRuntime-H4BSP6E7.mjs +0 -8
- package/dist/_dts/editor-blocks/src/block-editor/actionControlMode.d.ts +0 -2
- package/dist/_dts/preview-next/src/client/preview/previewSurface.d.ts +0 -3
- package/dist/chunk-LCY32PXF.mjs +0 -1175
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ButtonVariant, CalendarTabViews, ColumnOption, DisplayMode, EventBlockKind, EventLayout, EventScheduleScope, EventSurfaceScope, FilterAutoShow, PublicEvent, WeekStart } from "../../../blocks/events/shared/types";
|
|
2
2
|
import { type InteractiveIslandProps } from "../../../../contracts/islands";
|
|
3
3
|
import type { EventListingDisplay, EventListingInteractiveIslandProps } from "./EventListing.interactive";
|
|
4
|
+
import { type EventListPaginationAction, type EventListPaginationMode, type EventPageSize } from "./shared/listOptions";
|
|
4
5
|
export type EventCalendarSourceProps = Readonly<{
|
|
5
6
|
events?: PublicEvent[] | null;
|
|
6
7
|
siteId: string;
|
|
@@ -13,7 +14,8 @@ export type EventCalendarSourceProps = Readonly<{
|
|
|
13
14
|
layout?: EventLayout;
|
|
14
15
|
columns?: ColumnOption;
|
|
15
16
|
eventsPerPage?: string;
|
|
16
|
-
|
|
17
|
+
paginationMode?: EventListPaginationMode;
|
|
18
|
+
seeAllUrl?: string;
|
|
17
19
|
loadMoreText?: string;
|
|
18
20
|
startOfWeek?: WeekStart;
|
|
19
21
|
calendarTabViews?: CalendarTabViews;
|
|
@@ -43,8 +45,8 @@ export type EventCalendarDisplay = Readonly<{
|
|
|
43
45
|
events: readonly PublicEvent[];
|
|
44
46
|
listLayout: EventLayout;
|
|
45
47
|
listColumns: ColumnOption;
|
|
46
|
-
eventsPerPage:
|
|
47
|
-
|
|
48
|
+
eventsPerPage: EventPageSize;
|
|
49
|
+
paginationAction: EventListPaginationAction;
|
|
48
50
|
startOfWeek: WeekStart;
|
|
49
51
|
calendarTabViews: CalendarTabViews;
|
|
50
52
|
showFilters: boolean;
|
|
@@ -100,7 +102,8 @@ export declare const eventCalendarBlockRuntime: Readonly<{
|
|
|
100
102
|
layout?: EventLayout;
|
|
101
103
|
columns?: ColumnOption;
|
|
102
104
|
eventsPerPage?: string;
|
|
103
|
-
|
|
105
|
+
paginationMode?: EventListPaginationMode;
|
|
106
|
+
seeAllUrl?: string;
|
|
104
107
|
loadMoreText?: string;
|
|
105
108
|
startOfWeek?: WeekStart;
|
|
106
109
|
calendarTabViews?: CalendarTabViews;
|
|
@@ -130,8 +133,8 @@ export declare const eventCalendarBlockRuntime: Readonly<{
|
|
|
130
133
|
events: readonly PublicEvent[];
|
|
131
134
|
listLayout: EventLayout;
|
|
132
135
|
listColumns: ColumnOption;
|
|
133
|
-
eventsPerPage:
|
|
134
|
-
|
|
136
|
+
eventsPerPage: EventPageSize;
|
|
137
|
+
paginationAction: EventListPaginationAction;
|
|
135
138
|
startOfWeek: WeekStart;
|
|
136
139
|
calendarTabViews: CalendarTabViews;
|
|
137
140
|
showFilters: boolean;
|
|
@@ -176,7 +179,8 @@ export declare const eventCalendarBlockRuntime: Readonly<{
|
|
|
176
179
|
layout?: EventLayout;
|
|
177
180
|
columns?: ColumnOption;
|
|
178
181
|
eventsPerPage?: string;
|
|
179
|
-
|
|
182
|
+
paginationMode?: EventListPaginationMode;
|
|
183
|
+
seeAllUrl?: string;
|
|
180
184
|
loadMoreText?: string;
|
|
181
185
|
startOfWeek?: WeekStart;
|
|
182
186
|
calendarTabViews?: CalendarTabViews;
|
|
@@ -211,7 +215,8 @@ export declare const eventCalendarBlockRuntime: Readonly<{
|
|
|
211
215
|
layout?: EventLayout;
|
|
212
216
|
columns?: ColumnOption;
|
|
213
217
|
eventsPerPage?: string;
|
|
214
|
-
|
|
218
|
+
paginationMode?: EventListPaginationMode;
|
|
219
|
+
seeAllUrl?: string;
|
|
215
220
|
loadMoreText?: string;
|
|
216
221
|
startOfWeek?: WeekStart;
|
|
217
222
|
calendarTabViews?: CalendarTabViews;
|
|
@@ -244,8 +249,8 @@ export declare const eventCalendarBlockRuntime: Readonly<{
|
|
|
244
249
|
events: readonly PublicEvent[];
|
|
245
250
|
listLayout: EventLayout;
|
|
246
251
|
listColumns: ColumnOption;
|
|
247
|
-
eventsPerPage:
|
|
248
|
-
|
|
252
|
+
eventsPerPage: EventPageSize;
|
|
253
|
+
paginationAction: EventListPaginationAction;
|
|
249
254
|
startOfWeek: WeekStart;
|
|
250
255
|
calendarTabViews: CalendarTabViews;
|
|
251
256
|
showFilters: boolean;
|
|
@@ -284,8 +289,8 @@ export declare const eventCalendarBlockRuntime: Readonly<{
|
|
|
284
289
|
events: readonly PublicEvent[];
|
|
285
290
|
listLayout: EventLayout;
|
|
286
291
|
listColumns: ColumnOption;
|
|
287
|
-
eventsPerPage:
|
|
288
|
-
|
|
292
|
+
eventsPerPage: EventPageSize;
|
|
293
|
+
paginationAction: EventListPaginationAction;
|
|
289
294
|
startOfWeek: WeekStart;
|
|
290
295
|
calendarTabViews: CalendarTabViews;
|
|
291
296
|
showFilters: boolean;
|
|
@@ -336,8 +341,8 @@ export declare const eventCalendarInteractiveIslandPropsCodec: Readonly<{
|
|
|
336
341
|
events: readonly PublicEvent[];
|
|
337
342
|
listLayout: EventLayout;
|
|
338
343
|
listColumns: ColumnOption;
|
|
339
|
-
eventsPerPage:
|
|
340
|
-
|
|
344
|
+
eventsPerPage: EventPageSize;
|
|
345
|
+
paginationAction: EventListPaginationAction;
|
|
341
346
|
startOfWeek: WeekStart;
|
|
342
347
|
calendarTabViews: CalendarTabViews;
|
|
343
348
|
showFilters: boolean;
|
|
@@ -385,8 +390,8 @@ export declare const eventCalendarInteractiveIslandPropsCodec: Readonly<{
|
|
|
385
390
|
events: readonly PublicEvent[];
|
|
386
391
|
listLayout: EventLayout;
|
|
387
392
|
listColumns: ColumnOption;
|
|
388
|
-
eventsPerPage:
|
|
389
|
-
|
|
393
|
+
eventsPerPage: EventPageSize;
|
|
394
|
+
paginationAction: EventListPaginationAction;
|
|
390
395
|
startOfWeek: WeekStart;
|
|
391
396
|
calendarTabViews: CalendarTabViews;
|
|
392
397
|
showFilters: boolean;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { PublicEvent, ButtonVariant, EventLayout, ColumnOption, WeekStart, CalendarTabViews, FilterAutoShow, EventBlockKind, EventScheduleScope, EventSurfaceScope } from "../../../blocks/events/shared/types";
|
|
3
3
|
import type { EventCombinedInteractiveIslandProps } from "./EventCombined.interactive";
|
|
4
|
+
import { type EventListPaginationAction, type EventPageSize } from "./shared/listOptions";
|
|
4
5
|
export type EventCombinedClientProps = Readonly<{
|
|
5
6
|
events?: PublicEvent[] | null;
|
|
6
7
|
siteId: string;
|
|
7
8
|
stage?: "preview" | "published";
|
|
8
9
|
listLayout?: EventLayout;
|
|
9
10
|
listColumns?: ColumnOption;
|
|
10
|
-
eventsPerPage?:
|
|
11
|
-
|
|
11
|
+
eventsPerPage?: EventPageSize;
|
|
12
|
+
paginationAction?: EventListPaginationAction;
|
|
12
13
|
startOfWeek?: WeekStart;
|
|
13
14
|
calendarTabViews?: CalendarTabViews;
|
|
14
15
|
showFilters?: boolean | null;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ButtonVariant, CalendarTabViews, ColumnOption, EventBlockKind, EventLayout, EventScheduleScope, EventSurfaceScope, FilterAutoShow, PublicEvent, WeekStart } from "../../../blocks/events/shared/types";
|
|
2
2
|
import { type InteractiveIslandProps } from "../../../../contracts/islands";
|
|
3
3
|
import type { EventListingDisplay } from "./EventListing.interactive";
|
|
4
|
+
import { type EventListPaginationAction, type EventListPaginationMode, type EventPageSize } from "./shared/listOptions";
|
|
4
5
|
export type EventCombinedSourceProps = Readonly<{
|
|
5
6
|
events?: PublicEvent[] | null;
|
|
6
7
|
siteId: string;
|
|
@@ -9,7 +10,8 @@ export type EventCombinedSourceProps = Readonly<{
|
|
|
9
10
|
listLayout?: EventLayout;
|
|
10
11
|
listColumns?: ColumnOption;
|
|
11
12
|
eventsPerPage?: string;
|
|
12
|
-
|
|
13
|
+
paginationMode?: EventListPaginationMode;
|
|
14
|
+
seeAllUrl?: string;
|
|
13
15
|
loadMoreText?: string;
|
|
14
16
|
startOfWeek?: WeekStart;
|
|
15
17
|
calendarTabViews?: CalendarTabViews;
|
|
@@ -38,8 +40,8 @@ export type EventCombinedDisplay = Readonly<{
|
|
|
38
40
|
events: readonly PublicEvent[];
|
|
39
41
|
listLayout: EventLayout;
|
|
40
42
|
listColumns: ColumnOption;
|
|
41
|
-
eventsPerPage:
|
|
42
|
-
|
|
43
|
+
eventsPerPage: EventPageSize;
|
|
44
|
+
paginationAction: EventListPaginationAction;
|
|
43
45
|
startOfWeek: WeekStart;
|
|
44
46
|
calendarTabViews: CalendarTabViews;
|
|
45
47
|
showFilters: boolean;
|
|
@@ -90,7 +92,8 @@ export declare const eventCombinedBlockRuntime: Readonly<{
|
|
|
90
92
|
listLayout?: EventLayout;
|
|
91
93
|
listColumns?: ColumnOption;
|
|
92
94
|
eventsPerPage?: string;
|
|
93
|
-
|
|
95
|
+
paginationMode?: EventListPaginationMode;
|
|
96
|
+
seeAllUrl?: string;
|
|
94
97
|
loadMoreText?: string;
|
|
95
98
|
startOfWeek?: WeekStart;
|
|
96
99
|
calendarTabViews?: CalendarTabViews;
|
|
@@ -119,8 +122,8 @@ export declare const eventCombinedBlockRuntime: Readonly<{
|
|
|
119
122
|
events: readonly PublicEvent[];
|
|
120
123
|
listLayout: EventLayout;
|
|
121
124
|
listColumns: ColumnOption;
|
|
122
|
-
eventsPerPage:
|
|
123
|
-
|
|
125
|
+
eventsPerPage: EventPageSize;
|
|
126
|
+
paginationAction: EventListPaginationAction;
|
|
124
127
|
startOfWeek: WeekStart;
|
|
125
128
|
calendarTabViews: CalendarTabViews;
|
|
126
129
|
showFilters: boolean;
|
|
@@ -161,7 +164,8 @@ export declare const eventCombinedBlockRuntime: Readonly<{
|
|
|
161
164
|
listLayout?: EventLayout;
|
|
162
165
|
listColumns?: ColumnOption;
|
|
163
166
|
eventsPerPage?: string;
|
|
164
|
-
|
|
167
|
+
paginationMode?: EventListPaginationMode;
|
|
168
|
+
seeAllUrl?: string;
|
|
165
169
|
loadMoreText?: string;
|
|
166
170
|
startOfWeek?: WeekStart;
|
|
167
171
|
calendarTabViews?: CalendarTabViews;
|
|
@@ -192,7 +196,8 @@ export declare const eventCombinedBlockRuntime: Readonly<{
|
|
|
192
196
|
listLayout?: EventLayout;
|
|
193
197
|
listColumns?: ColumnOption;
|
|
194
198
|
eventsPerPage?: string;
|
|
195
|
-
|
|
199
|
+
paginationMode?: EventListPaginationMode;
|
|
200
|
+
seeAllUrl?: string;
|
|
196
201
|
loadMoreText?: string;
|
|
197
202
|
startOfWeek?: WeekStart;
|
|
198
203
|
calendarTabViews?: CalendarTabViews;
|
|
@@ -224,8 +229,8 @@ export declare const eventCombinedBlockRuntime: Readonly<{
|
|
|
224
229
|
events: readonly PublicEvent[];
|
|
225
230
|
listLayout: EventLayout;
|
|
226
231
|
listColumns: ColumnOption;
|
|
227
|
-
eventsPerPage:
|
|
228
|
-
|
|
232
|
+
eventsPerPage: EventPageSize;
|
|
233
|
+
paginationAction: EventListPaginationAction;
|
|
229
234
|
startOfWeek: WeekStart;
|
|
230
235
|
calendarTabViews: CalendarTabViews;
|
|
231
236
|
showFilters: boolean;
|
|
@@ -263,8 +268,8 @@ export declare const eventCombinedBlockRuntime: Readonly<{
|
|
|
263
268
|
events: readonly PublicEvent[];
|
|
264
269
|
listLayout: EventLayout;
|
|
265
270
|
listColumns: ColumnOption;
|
|
266
|
-
eventsPerPage:
|
|
267
|
-
|
|
271
|
+
eventsPerPage: EventPageSize;
|
|
272
|
+
paginationAction: EventListPaginationAction;
|
|
268
273
|
startOfWeek: WeekStart;
|
|
269
274
|
calendarTabViews: CalendarTabViews;
|
|
270
275
|
showFilters: boolean;
|
|
@@ -314,8 +319,8 @@ export declare const eventCombinedInteractiveIslandPropsCodec: Readonly<{
|
|
|
314
319
|
events: readonly PublicEvent[];
|
|
315
320
|
listLayout: EventLayout;
|
|
316
321
|
listColumns: ColumnOption;
|
|
317
|
-
eventsPerPage:
|
|
318
|
-
|
|
322
|
+
eventsPerPage: EventPageSize;
|
|
323
|
+
paginationAction: EventListPaginationAction;
|
|
319
324
|
startOfWeek: WeekStart;
|
|
320
325
|
calendarTabViews: CalendarTabViews;
|
|
321
326
|
showFilters: boolean;
|
|
@@ -362,8 +367,8 @@ export declare const eventCombinedInteractiveIslandPropsCodec: Readonly<{
|
|
|
362
367
|
events: readonly PublicEvent[];
|
|
363
368
|
listLayout: EventLayout;
|
|
364
369
|
listColumns: ColumnOption;
|
|
365
|
-
eventsPerPage:
|
|
366
|
-
|
|
370
|
+
eventsPerPage: EventPageSize;
|
|
371
|
+
paginationAction: EventListPaginationAction;
|
|
367
372
|
startOfWeek: WeekStart;
|
|
368
373
|
calendarTabViews: CalendarTabViews;
|
|
369
374
|
showFilters: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { ButtonVariant, CardOrientation, CardVariant, ColumnOption, EventBlockKind, EventLayout, EventScheduleScope, EventSurfaceScope, FilterAutoShow, PublicEvent } from "../../../blocks/events/shared/types";
|
|
1
|
+
import type { ButtonVariant, CardOrientation, CardVariant, ColumnOption, EventBlockKind, EventCardVariantInput, EventLayout, EventScheduleScope, EventSurfaceScope, FilterAutoShow, PublicEvent } from "../../../blocks/events/shared/types";
|
|
2
2
|
import { type InteractiveIslandProps } from "../../../../contracts/islands";
|
|
3
|
+
import { type EventListPaginationAction, type EventListPaginationMode, type EventPageSize } from "./shared/listOptions";
|
|
3
4
|
export type EventListingSourceProps = Readonly<{
|
|
4
5
|
events?: PublicEvent[] | null;
|
|
5
6
|
siteId: string;
|
|
@@ -8,10 +9,10 @@ export type EventListingSourceProps = Readonly<{
|
|
|
8
9
|
layout?: EventLayout;
|
|
9
10
|
columns?: ColumnOption;
|
|
10
11
|
eventsPerPage?: string;
|
|
11
|
-
paginationMode?:
|
|
12
|
+
paginationMode?: EventListPaginationMode;
|
|
12
13
|
seeAllUrl?: string;
|
|
13
14
|
loadMoreText?: string;
|
|
14
|
-
cardVariant?:
|
|
15
|
+
cardVariant?: EventCardVariantInput;
|
|
15
16
|
buttonVariant?: ButtonVariant;
|
|
16
17
|
buttonText?: string;
|
|
17
18
|
showVenue?: boolean;
|
|
@@ -51,10 +52,8 @@ export type EventListingDisplay = Readonly<{
|
|
|
51
52
|
export type EventListingHydration = Readonly<{
|
|
52
53
|
siteId: string;
|
|
53
54
|
stage?: "preview" | "published";
|
|
54
|
-
eventsPerPage:
|
|
55
|
-
|
|
56
|
-
seeAllUrl?: string;
|
|
57
|
-
loadMoreText: string;
|
|
55
|
+
eventsPerPage: EventPageSize;
|
|
56
|
+
paginationAction: EventListPaginationAction;
|
|
58
57
|
showFilters: boolean;
|
|
59
58
|
showCategoryFilter: FilterAutoShow;
|
|
60
59
|
showVenueFilter: boolean;
|
|
@@ -84,10 +83,10 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
84
83
|
layout?: EventLayout;
|
|
85
84
|
columns?: ColumnOption;
|
|
86
85
|
eventsPerPage?: string;
|
|
87
|
-
paginationMode?:
|
|
86
|
+
paginationMode?: EventListPaginationMode;
|
|
88
87
|
seeAllUrl?: string;
|
|
89
88
|
loadMoreText?: string;
|
|
90
|
-
cardVariant?:
|
|
89
|
+
cardVariant?: EventCardVariantInput;
|
|
91
90
|
buttonVariant?: ButtonVariant;
|
|
92
91
|
buttonText?: string;
|
|
93
92
|
showVenue?: boolean;
|
|
@@ -127,10 +126,8 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
127
126
|
hydration: Readonly<{
|
|
128
127
|
siteId: string;
|
|
129
128
|
stage?: "preview" | "published";
|
|
130
|
-
eventsPerPage:
|
|
131
|
-
|
|
132
|
-
seeAllUrl?: string;
|
|
133
|
-
loadMoreText: string;
|
|
129
|
+
eventsPerPage: EventPageSize;
|
|
130
|
+
paginationAction: EventListPaginationAction;
|
|
134
131
|
showFilters: boolean;
|
|
135
132
|
showCategoryFilter: FilterAutoShow;
|
|
136
133
|
showVenueFilter: boolean;
|
|
@@ -155,10 +152,10 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
155
152
|
layout?: EventLayout;
|
|
156
153
|
columns?: ColumnOption;
|
|
157
154
|
eventsPerPage?: string;
|
|
158
|
-
paginationMode?:
|
|
155
|
+
paginationMode?: EventListPaginationMode;
|
|
159
156
|
seeAllUrl?: string;
|
|
160
157
|
loadMoreText?: string;
|
|
161
|
-
cardVariant?:
|
|
158
|
+
cardVariant?: EventCardVariantInput;
|
|
162
159
|
buttonVariant?: ButtonVariant;
|
|
163
160
|
buttonText?: string;
|
|
164
161
|
showVenue?: boolean;
|
|
@@ -186,10 +183,10 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
186
183
|
layout?: EventLayout;
|
|
187
184
|
columns?: ColumnOption;
|
|
188
185
|
eventsPerPage?: string;
|
|
189
|
-
paginationMode?:
|
|
186
|
+
paginationMode?: EventListPaginationMode;
|
|
190
187
|
seeAllUrl?: string;
|
|
191
188
|
loadMoreText?: string;
|
|
192
|
-
cardVariant?:
|
|
189
|
+
cardVariant?: EventCardVariantInput;
|
|
193
190
|
buttonVariant?: ButtonVariant;
|
|
194
191
|
buttonText?: string;
|
|
195
192
|
showVenue?: boolean;
|
|
@@ -232,10 +229,8 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
232
229
|
hydration: Readonly<{
|
|
233
230
|
siteId: string;
|
|
234
231
|
stage?: "preview" | "published";
|
|
235
|
-
eventsPerPage:
|
|
236
|
-
|
|
237
|
-
seeAllUrl?: string;
|
|
238
|
-
loadMoreText: string;
|
|
232
|
+
eventsPerPage: EventPageSize;
|
|
233
|
+
paginationAction: EventListPaginationAction;
|
|
239
234
|
showFilters: boolean;
|
|
240
235
|
showCategoryFilter: FilterAutoShow;
|
|
241
236
|
showVenueFilter: boolean;
|
|
@@ -271,10 +266,8 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
271
266
|
hydration: Readonly<{
|
|
272
267
|
siteId: string;
|
|
273
268
|
stage?: "preview" | "published";
|
|
274
|
-
eventsPerPage:
|
|
275
|
-
|
|
276
|
-
seeAllUrl?: string;
|
|
277
|
-
loadMoreText: string;
|
|
269
|
+
eventsPerPage: EventPageSize;
|
|
270
|
+
paginationAction: EventListPaginationAction;
|
|
278
271
|
showFilters: boolean;
|
|
279
272
|
showCategoryFilter: FilterAutoShow;
|
|
280
273
|
showVenueFilter: boolean;
|
|
@@ -322,10 +315,8 @@ export declare const eventListingInteractiveIslandPropsCodec: Readonly<{
|
|
|
322
315
|
hydration: Readonly<{
|
|
323
316
|
siteId: string;
|
|
324
317
|
stage?: "preview" | "published";
|
|
325
|
-
eventsPerPage:
|
|
326
|
-
|
|
327
|
-
seeAllUrl?: string;
|
|
328
|
-
loadMoreText: string;
|
|
318
|
+
eventsPerPage: EventPageSize;
|
|
319
|
+
paginationAction: EventListPaginationAction;
|
|
329
320
|
showFilters: boolean;
|
|
330
321
|
showCategoryFilter: FilterAutoShow;
|
|
331
322
|
showVenueFilter: boolean;
|
|
@@ -370,10 +361,8 @@ export declare const eventListingInteractiveIslandPropsCodec: Readonly<{
|
|
|
370
361
|
hydration: Readonly<{
|
|
371
362
|
siteId: string;
|
|
372
363
|
stage?: "preview" | "published";
|
|
373
|
-
eventsPerPage:
|
|
374
|
-
|
|
375
|
-
seeAllUrl?: string;
|
|
376
|
-
loadMoreText: string;
|
|
364
|
+
eventsPerPage: EventPageSize;
|
|
365
|
+
paginationAction: EventListPaginationAction;
|
|
377
366
|
showFilters: boolean;
|
|
378
367
|
showCategoryFilter: FilterAutoShow;
|
|
379
368
|
showVenueFilter: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ButtonVariant,
|
|
2
|
+
import type { ButtonVariant, ColumnOption, EventCardVariantInput, EventLayout, FilterAutoShow, PublicEvent } from '../../../blocks/events/shared/types';
|
|
3
3
|
type EventListingProps = Readonly<{
|
|
4
4
|
blockId?: string | null;
|
|
5
5
|
events?: PublicEvent[] | null;
|
|
@@ -12,7 +12,7 @@ type EventListingProps = Readonly<{
|
|
|
12
12
|
paginationMode?: 'loadMore' | 'seeAllLink';
|
|
13
13
|
seeAllUrl?: string;
|
|
14
14
|
loadMoreText?: string;
|
|
15
|
-
cardVariant?:
|
|
15
|
+
cardVariant?: EventCardVariantInput;
|
|
16
16
|
buttonVariant?: ButtonVariant;
|
|
17
17
|
buttonText?: string;
|
|
18
18
|
showVenue?: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PublicEvent,
|
|
2
|
+
import type { PublicEvent, EventCardVariantInput, ButtonVariant, EventLayout } from '../../../blocks/events/shared/types';
|
|
3
3
|
type EventSpotlightProps = {
|
|
4
4
|
events?: PublicEvent[] | null;
|
|
5
5
|
layout?: EventLayout;
|
|
6
6
|
columns?: '2' | '3';
|
|
7
|
-
cardVariant?:
|
|
7
|
+
cardVariant?: EventCardVariantInput;
|
|
8
8
|
buttonVariant?: ButtonVariant;
|
|
9
9
|
buttonText?: string;
|
|
10
10
|
ctaLabel?: string | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ButtonVariant, CardOrientation,
|
|
2
|
+
import type { ButtonVariant, CardOrientation, EventCardVariantInput, PublicEvent } from '../../../../blocks/events/shared/types';
|
|
3
3
|
type EventCardProps = {
|
|
4
4
|
event: PublicEvent;
|
|
5
|
-
cardVariant?:
|
|
5
|
+
cardVariant?: EventCardVariantInput;
|
|
6
6
|
buttonVariant?: ButtonVariant;
|
|
7
7
|
buttonText?: string;
|
|
8
8
|
showVenue?: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PublicEvent, ButtonVariant,
|
|
2
|
+
import type { PublicEvent, ButtonVariant, EventCardVariantInput } from '../../../../blocks/events/shared/types';
|
|
3
3
|
type EventDetailModalProps = {
|
|
4
4
|
event: PublicEvent;
|
|
5
5
|
showCapacity: boolean;
|
|
6
6
|
onClose: () => void;
|
|
7
|
-
cardVariant?:
|
|
7
|
+
cardVariant?: EventCardVariantInput;
|
|
8
8
|
buttonVariant?: ButtonVariant;
|
|
9
9
|
buttonText?: string;
|
|
10
10
|
showMap?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ButtonVariant,
|
|
2
|
+
import type { ButtonVariant, EventCardVariantInput } from '../../../../blocks/events/shared/types';
|
|
3
3
|
type EventModalsProps = {
|
|
4
4
|
showCapacity: boolean;
|
|
5
|
-
cardVariant?:
|
|
5
|
+
cardVariant?: EventCardVariantInput;
|
|
6
6
|
buttonVariant?: ButtonVariant;
|
|
7
7
|
buttonText?: string;
|
|
8
8
|
};
|
package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventPaginatedListView.client.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { PublicEvent } from '../../../../blocks/events/shared/types';
|
|
3
3
|
import type { EventListingDisplay } from '../EventListing.interactive';
|
|
4
|
+
import type { EventListPaginationAction } from './listOptions';
|
|
4
5
|
type EventPaginatedListViewProps = {
|
|
5
6
|
filters?: React.ReactNode;
|
|
6
7
|
display: EventListingDisplay;
|
|
@@ -9,9 +10,7 @@ type EventPaginatedListViewProps = {
|
|
|
9
10
|
error: Error | null;
|
|
10
11
|
hasMore: boolean;
|
|
11
12
|
loadMore: () => void;
|
|
12
|
-
|
|
13
|
-
seeAllUrl?: string;
|
|
14
|
-
loadMoreText: string;
|
|
13
|
+
paginationAction: EventListPaginationAction;
|
|
15
14
|
/** Whether filters are currently applied (non-default values) */
|
|
16
15
|
hasActiveFilters?: boolean;
|
|
17
16
|
/** Callback to reset all filters to default values */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PublicEvent
|
|
2
|
+
import type { PublicEvent } from '../../../../blocks/events/shared/types';
|
|
3
|
+
import { type WeekCalendarDays } from './utils';
|
|
3
4
|
type WeekAgendaViewProps = {
|
|
4
|
-
|
|
5
|
+
days: WeekCalendarDays;
|
|
5
6
|
events: PublicEvent[];
|
|
6
|
-
startOfWeek: WeekStart;
|
|
7
7
|
showCapacity: boolean;
|
|
8
8
|
emptyMessage?: string;
|
|
9
9
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { EventBlockKind, EventScheduleScope, EventSurfaceScope } from "../../../../blocks/events/shared/types";
|
|
3
|
+
type Writable<T> = {
|
|
4
|
+
-readonly [K in keyof T]: T[K];
|
|
5
|
+
};
|
|
6
|
+
export declare const eventPageSizeValues: readonly [3, 6, 10, 12, 20, 24, 30];
|
|
7
|
+
export type EventPageSize = (typeof eventPageSizeValues)[number];
|
|
8
|
+
export declare const eventPageSizeSchema: z.ZodType<EventPageSize>;
|
|
9
|
+
export declare function resolveEventPageSize(value: string | number | null | undefined, fallback?: EventPageSize): EventPageSize;
|
|
10
|
+
export declare function resolveEventCalendarListPageSize(input: {
|
|
11
|
+
eventsPerPage?: string | number | null;
|
|
12
|
+
}): EventPageSize;
|
|
13
|
+
export type EventListPaginationMode = "loadMore" | "seeAllLink";
|
|
14
|
+
export type EventListPaginationAction = Readonly<{
|
|
15
|
+
kind: "loadMore";
|
|
16
|
+
label: string;
|
|
17
|
+
}> | Readonly<{
|
|
18
|
+
kind: "seeAllLink";
|
|
19
|
+
label: string;
|
|
20
|
+
href: string;
|
|
21
|
+
}>;
|
|
22
|
+
export declare const eventListPaginationActionSchema: z.ZodType<EventListPaginationAction>;
|
|
23
|
+
export declare function resolveEventListPaginationAction(input: {
|
|
24
|
+
paginationMode?: EventListPaginationMode | null;
|
|
25
|
+
seeAllUrl?: string | null;
|
|
26
|
+
loadMoreText?: string | null;
|
|
27
|
+
defaultLabel?: string;
|
|
28
|
+
}): EventListPaginationAction;
|
|
29
|
+
export type EventRuntimeFilters = Readonly<{
|
|
30
|
+
categoryIds?: string;
|
|
31
|
+
staffMemberId?: string;
|
|
32
|
+
venueId?: string;
|
|
33
|
+
kind?: "courses" | "events";
|
|
34
|
+
eventSurface?: Exclude<EventSurfaceScope, "all">;
|
|
35
|
+
eventPresets?: string;
|
|
36
|
+
scheduleScope?: Exclude<EventScheduleScope, "any">;
|
|
37
|
+
}>;
|
|
38
|
+
export type EventRuntimeFiltersDraft = Writable<EventRuntimeFilters>;
|
|
39
|
+
export type EventRuntimeFilterInput = Readonly<{
|
|
40
|
+
eventKind?: EventBlockKind | null;
|
|
41
|
+
eventSurface?: EventSurfaceScope | null;
|
|
42
|
+
filterEventPresets?: string | null;
|
|
43
|
+
scheduleScope?: EventScheduleScope | null;
|
|
44
|
+
filterCategoryIds?: string | null;
|
|
45
|
+
filterStaffMemberId?: string | null;
|
|
46
|
+
filterVenueId?: string | null;
|
|
47
|
+
}>;
|
|
48
|
+
export declare function buildEventRuntimeFilters(input: EventRuntimeFilterInput): EventRuntimeFilters;
|
|
49
|
+
export declare function getEventRuntimeFiltersKey(filters: EventRuntimeFilters | undefined): string;
|
|
50
|
+
export {};
|
|
@@ -53,7 +53,8 @@ export type EventCompactDateRail = Readonly<{
|
|
|
53
53
|
export declare function formatEventCompactDateRail(isoTimestamp: string, options?: DateTimeFormatOptions): EventCompactDateRail;
|
|
54
54
|
export declare function formatTeamMemberNames(names: readonly string[]): string | null;
|
|
55
55
|
export declare function formatEventTeacherLine(event: PublicEvent): string | null;
|
|
56
|
-
export { addMonths, formatCalendarTitle, formatDateKey, getEndOfMonth, getMonthCalendarDays, getOrderedDayNames, getStartOfMonth, getThreeMonthRange, getWeekCalendarDays, isToday, MAX_EVENTS_PER_DAY, } from '../../../../../../../calendar/src/index';
|
|
56
|
+
export { addDays, addMonths, buildCalendarViewport, formatCalendarTitle, formatDateKey, getEndOfMonth, getMonthCalendarDays, getOrderedDayNames, getStartOfMonth, getThreeMonthRange, getWeekCalendarDays, getWeekCalendarDayTuple, isToday, MAX_EVENTS_PER_DAY, shiftCalendarAnchorDate, } from '../../../../../../../calendar/src/index';
|
|
57
|
+
export type { CalendarViewport, CalendarViewportKind, MonthCalendarViewport, WeekCalendarDays, WeekCalendarViewport, } from '../../../../../../../calendar/src/index';
|
|
57
58
|
/**
|
|
58
59
|
* Group events by their local date (YYYY-MM-DD key in each event's own
|
|
59
60
|
* timezone). Thin domain wrapper over `groupItemsByDate` from the calendar
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
2
|
type HeaderSectionNodeProps = React.PropsWithChildren<{
|
|
3
3
|
className?: string;
|
|
4
4
|
blockId?: string;
|
|
@@ -6,7 +6,7 @@ type HeaderSectionNodeProps = React.PropsWithChildren<{
|
|
|
6
6
|
blockContent?: unknown;
|
|
7
7
|
fragmentRegistry?: unknown;
|
|
8
8
|
pathBase?: string;
|
|
9
|
-
|
|
9
|
+
'data-preview-site-chrome-surface'?: string;
|
|
10
10
|
[key: string]: unknown;
|
|
11
11
|
}>;
|
|
12
12
|
declare const _default: import("../header/shared").EditableSurfaceForwardingComponent<HeaderSectionNodeProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type ResolvedMediaTransform, type DirectImageUrlOptions } from '../../../../../media-core/src/index';
|
|
2
|
+
import { type ResolvedMediaTransform, type DirectImageUrlOptions, type RenderableMediaAsset, type RenderableMediaAssetIndex } from '../../../../../media-core/src/index';
|
|
3
3
|
import type { Media } from '../../../lib/media';
|
|
4
4
|
/**
|
|
5
5
|
* Options for image URL resolution.
|
|
@@ -33,19 +33,8 @@ export type ResolveImageUrlContextInput = Readonly<{
|
|
|
33
33
|
mediaAssetIndex?: MediaAssetIndex;
|
|
34
34
|
mediaAssets?: readonly MediaAssetIndexItem[];
|
|
35
35
|
}>;
|
|
36
|
-
export type MediaAssetIndexItem =
|
|
37
|
-
|
|
38
|
-
identifier?: string | null;
|
|
39
|
-
storageBucket?: string;
|
|
40
|
-
storagePath?: string;
|
|
41
|
-
width?: number | null;
|
|
42
|
-
height?: number | null;
|
|
43
|
-
mimeType?: string;
|
|
44
|
-
}>;
|
|
45
|
-
export type MediaAssetIndex = Readonly<{
|
|
46
|
-
byId: ReadonlyMap<string, MediaAssetIndexItem>;
|
|
47
|
-
byIdentifier: ReadonlyMap<string, MediaAssetIndexItem>;
|
|
48
|
-
}>;
|
|
36
|
+
export type MediaAssetIndexItem = RenderableMediaAsset;
|
|
37
|
+
export type MediaAssetIndex = RenderableMediaAssetIndex;
|
|
49
38
|
export declare function buildMediaAssetIndex(assets: readonly MediaAssetIndexItem[] | undefined): MediaAssetIndex | undefined;
|
|
50
39
|
export type ResolveImageSourceSetOptions = {
|
|
51
40
|
widthCandidates?: readonly number[];
|
|
@@ -65,8 +54,30 @@ export type ResolvedImageSourceSet = {
|
|
|
65
54
|
*/
|
|
66
55
|
fallbackSrc?: string;
|
|
67
56
|
};
|
|
57
|
+
export type MediaUrlResolution = Readonly<{
|
|
58
|
+
kind: 'resolved';
|
|
59
|
+
url: string;
|
|
60
|
+
}> | Readonly<{
|
|
61
|
+
kind: 'unsupported-media-type';
|
|
62
|
+
mediaType: string | undefined;
|
|
63
|
+
}> | Readonly<{
|
|
64
|
+
kind: 'missing-storage-path';
|
|
65
|
+
assetId?: string;
|
|
66
|
+
identifier?: string | null;
|
|
67
|
+
}> | Readonly<{
|
|
68
|
+
kind: 'missing-site-context';
|
|
69
|
+
storagePath: string;
|
|
70
|
+
}> | Readonly<{
|
|
71
|
+
kind: 'missing-supabase-url';
|
|
72
|
+
message: string;
|
|
73
|
+
}> | Readonly<{
|
|
74
|
+
kind: 'missing-image-url';
|
|
75
|
+
assetId?: string;
|
|
76
|
+
identifier?: string | null;
|
|
77
|
+
}>;
|
|
68
78
|
export declare function buildResolveImageUrlContext(input: ResolveImageUrlContextInput | undefined): ResolveImageUrlContext;
|
|
69
79
|
export declare function resolveMediaStorageUrl(value: Media, context?: ResolveImageUrlContext | null, transformOptions?: DirectImageUrlOptions): string | undefined;
|
|
80
|
+
export declare function resolveMediaStorageUrlResult(value: Media, context?: ResolveImageUrlContext | null, transformOptions?: DirectImageUrlOptions): MediaUrlResolution;
|
|
70
81
|
/**
|
|
71
82
|
* Common image size presets.
|
|
72
83
|
* Use these for consistent sizing across the application.
|
|
@@ -176,6 +187,8 @@ export type MediaNodeProps = {
|
|
|
176
187
|
/** Optional block metadata injected by the runtime resolver */
|
|
177
188
|
blockKind?: string | null;
|
|
178
189
|
blockContent?: unknown;
|
|
190
|
+
/** Render-scoped media sidecar/context injected by PageRenderer. */
|
|
191
|
+
imageResolveContext?: ResolveImageUrlContext | null;
|
|
179
192
|
};
|
|
180
193
|
export type VideoPlaybackMode = 'inline' | 'background';
|
|
181
194
|
export declare function resolveMediaNodeResponsiveImage(value: Media, size: ImageOptions, style: React.CSSProperties | undefined, slot: {
|
|
@@ -227,6 +240,8 @@ export declare const MediaNode: React.FC<MediaNodeProps>;
|
|
|
227
240
|
* ```
|
|
228
241
|
*/
|
|
229
242
|
export declare function resolveImageUrl(value: Media, options: ImageOptions, context?: ResolveImageUrlContext | null): string | undefined;
|
|
243
|
+
export declare function resolveImageUrlResult(value: Media, options: ImageOptions, context?: ResolveImageUrlContext | null): MediaUrlResolution;
|
|
230
244
|
export declare function resolveImageUrlWithContext(value: Media, options: ImageOptions, context?: ResolveImageUrlContext | null, transformAspectRatio?: number | string): string | undefined;
|
|
245
|
+
export declare function resolveImageUrlWithContextResult(value: Media, options: ImageOptions, context?: ResolveImageUrlContext | null, transformAspectRatio?: number | string): MediaUrlResolution;
|
|
231
246
|
export declare function resolveImageSourceSetWithContext(value: Media, options: ResolveImageSourceSetOptions, context?: ResolveImageUrlContext | null): ResolvedImageSourceSet | undefined;
|
|
232
247
|
export {};
|