@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
|
@@ -214,10 +214,10 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
214
214
|
layout?: import("../..").EventLayout;
|
|
215
215
|
columns?: import("../..").ColumnOption;
|
|
216
216
|
eventsPerPage?: string;
|
|
217
|
-
paginationMode?: "
|
|
217
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
218
218
|
seeAllUrl?: string;
|
|
219
219
|
loadMoreText?: string;
|
|
220
|
-
cardVariant?: import("../..").
|
|
220
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
221
221
|
buttonVariant?: import("../..").ButtonVariant;
|
|
222
222
|
buttonText?: string;
|
|
223
223
|
showVenue?: boolean;
|
|
@@ -257,10 +257,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
257
257
|
hydration: Readonly<{
|
|
258
258
|
siteId: string;
|
|
259
259
|
stage?: "preview" | "published";
|
|
260
|
-
eventsPerPage:
|
|
261
|
-
|
|
262
|
-
seeAllUrl?: string;
|
|
263
|
-
loadMoreText: string;
|
|
260
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
261
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
264
262
|
showFilters: boolean;
|
|
265
263
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
266
264
|
showVenueFilter: boolean;
|
|
@@ -285,10 +283,10 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
285
283
|
layout?: import("../..").EventLayout;
|
|
286
284
|
columns?: import("../..").ColumnOption;
|
|
287
285
|
eventsPerPage?: string;
|
|
288
|
-
paginationMode?: "
|
|
286
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
289
287
|
seeAllUrl?: string;
|
|
290
288
|
loadMoreText?: string;
|
|
291
|
-
cardVariant?: import("../..").
|
|
289
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
292
290
|
buttonVariant?: import("../..").ButtonVariant;
|
|
293
291
|
buttonText?: string;
|
|
294
292
|
showVenue?: boolean;
|
|
@@ -316,10 +314,10 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
316
314
|
layout?: import("../..").EventLayout;
|
|
317
315
|
columns?: import("../..").ColumnOption;
|
|
318
316
|
eventsPerPage?: string;
|
|
319
|
-
paginationMode?: "
|
|
317
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
320
318
|
seeAllUrl?: string;
|
|
321
319
|
loadMoreText?: string;
|
|
322
|
-
cardVariant?: import("../..").
|
|
320
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
323
321
|
buttonVariant?: import("../..").ButtonVariant;
|
|
324
322
|
buttonText?: string;
|
|
325
323
|
showVenue?: boolean;
|
|
@@ -362,10 +360,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
362
360
|
hydration: Readonly<{
|
|
363
361
|
siteId: string;
|
|
364
362
|
stage?: "preview" | "published";
|
|
365
|
-
eventsPerPage:
|
|
366
|
-
|
|
367
|
-
seeAllUrl?: string;
|
|
368
|
-
loadMoreText: string;
|
|
363
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
364
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
369
365
|
showFilters: boolean;
|
|
370
366
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
371
367
|
showVenueFilter: boolean;
|
|
@@ -401,10 +397,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
401
397
|
hydration: Readonly<{
|
|
402
398
|
siteId: string;
|
|
403
399
|
stage?: "preview" | "published";
|
|
404
|
-
eventsPerPage:
|
|
405
|
-
|
|
406
|
-
seeAllUrl?: string;
|
|
407
|
-
loadMoreText: string;
|
|
400
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
401
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
408
402
|
showFilters: boolean;
|
|
409
403
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
410
404
|
showVenueFilter: boolean;
|
|
@@ -435,10 +429,10 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
435
429
|
layout?: import("../..").EventLayout;
|
|
436
430
|
columns?: import("../..").ColumnOption;
|
|
437
431
|
eventsPerPage?: string;
|
|
438
|
-
paginationMode?: "
|
|
432
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
439
433
|
seeAllUrl?: string;
|
|
440
434
|
loadMoreText?: string;
|
|
441
|
-
cardVariant?: import("../..").
|
|
435
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
442
436
|
buttonVariant?: import("../..").ButtonVariant;
|
|
443
437
|
buttonText?: string;
|
|
444
438
|
showVenue?: boolean;
|
|
@@ -478,10 +472,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
478
472
|
hydration: Readonly<{
|
|
479
473
|
siteId: string;
|
|
480
474
|
stage?: "preview" | "published";
|
|
481
|
-
eventsPerPage:
|
|
482
|
-
|
|
483
|
-
seeAllUrl?: string;
|
|
484
|
-
loadMoreText: string;
|
|
475
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
476
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
485
477
|
showFilters: boolean;
|
|
486
478
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
487
479
|
showVenueFilter: boolean;
|
|
@@ -506,10 +498,10 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
506
498
|
layout?: import("../..").EventLayout;
|
|
507
499
|
columns?: import("../..").ColumnOption;
|
|
508
500
|
eventsPerPage?: string;
|
|
509
|
-
paginationMode?: "
|
|
501
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
510
502
|
seeAllUrl?: string;
|
|
511
503
|
loadMoreText?: string;
|
|
512
|
-
cardVariant?: import("../..").
|
|
504
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
513
505
|
buttonVariant?: import("../..").ButtonVariant;
|
|
514
506
|
buttonText?: string;
|
|
515
507
|
showVenue?: boolean;
|
|
@@ -537,10 +529,10 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
537
529
|
layout?: import("../..").EventLayout;
|
|
538
530
|
columns?: import("../..").ColumnOption;
|
|
539
531
|
eventsPerPage?: string;
|
|
540
|
-
paginationMode?: "
|
|
532
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
541
533
|
seeAllUrl?: string;
|
|
542
534
|
loadMoreText?: string;
|
|
543
|
-
cardVariant?: import("../..").
|
|
535
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
544
536
|
buttonVariant?: import("../..").ButtonVariant;
|
|
545
537
|
buttonText?: string;
|
|
546
538
|
showVenue?: boolean;
|
|
@@ -583,10 +575,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
583
575
|
hydration: Readonly<{
|
|
584
576
|
siteId: string;
|
|
585
577
|
stage?: "preview" | "published";
|
|
586
|
-
eventsPerPage:
|
|
587
|
-
|
|
588
|
-
seeAllUrl?: string;
|
|
589
|
-
loadMoreText: string;
|
|
578
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
579
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
590
580
|
showFilters: boolean;
|
|
591
581
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
592
582
|
showVenueFilter: boolean;
|
|
@@ -622,10 +612,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
622
612
|
hydration: Readonly<{
|
|
623
613
|
siteId: string;
|
|
624
614
|
stage?: "preview" | "published";
|
|
625
|
-
eventsPerPage:
|
|
626
|
-
|
|
627
|
-
seeAllUrl?: string;
|
|
628
|
-
loadMoreText: string;
|
|
615
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
616
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
629
617
|
showFilters: boolean;
|
|
630
618
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
631
619
|
showVenueFilter: boolean;
|
|
@@ -663,7 +651,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
663
651
|
layout?: import("../..").EventLayout;
|
|
664
652
|
columns?: import("../..").ColumnOption;
|
|
665
653
|
eventsPerPage?: string;
|
|
666
|
-
|
|
654
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
655
|
+
seeAllUrl?: string;
|
|
667
656
|
loadMoreText?: string;
|
|
668
657
|
startOfWeek?: import("../..").WeekStart;
|
|
669
658
|
calendarTabViews?: import("../..").CalendarTabViews;
|
|
@@ -693,8 +682,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
693
682
|
events: readonly import("../..").PublicEvent[];
|
|
694
683
|
listLayout: import("../..").EventLayout;
|
|
695
684
|
listColumns: import("../..").ColumnOption;
|
|
696
|
-
eventsPerPage:
|
|
697
|
-
|
|
685
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
686
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
698
687
|
startOfWeek: import("../..").WeekStart;
|
|
699
688
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
700
689
|
showFilters: boolean;
|
|
@@ -739,7 +728,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
739
728
|
layout?: import("../..").EventLayout;
|
|
740
729
|
columns?: import("../..").ColumnOption;
|
|
741
730
|
eventsPerPage?: string;
|
|
742
|
-
|
|
731
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
732
|
+
seeAllUrl?: string;
|
|
743
733
|
loadMoreText?: string;
|
|
744
734
|
startOfWeek?: import("../..").WeekStart;
|
|
745
735
|
calendarTabViews?: import("../..").CalendarTabViews;
|
|
@@ -774,7 +764,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
774
764
|
layout?: import("../..").EventLayout;
|
|
775
765
|
columns?: import("../..").ColumnOption;
|
|
776
766
|
eventsPerPage?: string;
|
|
777
|
-
|
|
767
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
768
|
+
seeAllUrl?: string;
|
|
778
769
|
loadMoreText?: string;
|
|
779
770
|
startOfWeek?: import("../..").WeekStart;
|
|
780
771
|
calendarTabViews?: import("../..").CalendarTabViews;
|
|
@@ -807,8 +798,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
807
798
|
events: readonly import("../..").PublicEvent[];
|
|
808
799
|
listLayout: import("../..").EventLayout;
|
|
809
800
|
listColumns: import("../..").ColumnOption;
|
|
810
|
-
eventsPerPage:
|
|
811
|
-
|
|
801
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
802
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
812
803
|
startOfWeek: import("../..").WeekStart;
|
|
813
804
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
814
805
|
showFilters: boolean;
|
|
@@ -847,8 +838,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
847
838
|
events: readonly import("../..").PublicEvent[];
|
|
848
839
|
listLayout: import("../..").EventLayout;
|
|
849
840
|
listColumns: import("../..").ColumnOption;
|
|
850
|
-
eventsPerPage:
|
|
851
|
-
|
|
841
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
842
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
852
843
|
startOfWeek: import("../..").WeekStart;
|
|
853
844
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
854
845
|
showFilters: boolean;
|
|
@@ -899,7 +890,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
899
890
|
layout?: import("../..").EventLayout;
|
|
900
891
|
columns?: import("../..").ColumnOption;
|
|
901
892
|
eventsPerPage?: string;
|
|
902
|
-
|
|
893
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
894
|
+
seeAllUrl?: string;
|
|
903
895
|
loadMoreText?: string;
|
|
904
896
|
startOfWeek?: import("../..").WeekStart;
|
|
905
897
|
calendarTabViews?: import("../..").CalendarTabViews;
|
|
@@ -929,8 +921,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
929
921
|
events: readonly import("../..").PublicEvent[];
|
|
930
922
|
listLayout: import("../..").EventLayout;
|
|
931
923
|
listColumns: import("../..").ColumnOption;
|
|
932
|
-
eventsPerPage:
|
|
933
|
-
|
|
924
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
925
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
934
926
|
startOfWeek: import("../..").WeekStart;
|
|
935
927
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
936
928
|
showFilters: boolean;
|
|
@@ -975,7 +967,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
975
967
|
layout?: import("../..").EventLayout;
|
|
976
968
|
columns?: import("../..").ColumnOption;
|
|
977
969
|
eventsPerPage?: string;
|
|
978
|
-
|
|
970
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
971
|
+
seeAllUrl?: string;
|
|
979
972
|
loadMoreText?: string;
|
|
980
973
|
startOfWeek?: import("../..").WeekStart;
|
|
981
974
|
calendarTabViews?: import("../..").CalendarTabViews;
|
|
@@ -1010,7 +1003,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1010
1003
|
layout?: import("../..").EventLayout;
|
|
1011
1004
|
columns?: import("../..").ColumnOption;
|
|
1012
1005
|
eventsPerPage?: string;
|
|
1013
|
-
|
|
1006
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
1007
|
+
seeAllUrl?: string;
|
|
1014
1008
|
loadMoreText?: string;
|
|
1015
1009
|
startOfWeek?: import("../..").WeekStart;
|
|
1016
1010
|
calendarTabViews?: import("../..").CalendarTabViews;
|
|
@@ -1043,8 +1037,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1043
1037
|
events: readonly import("../..").PublicEvent[];
|
|
1044
1038
|
listLayout: import("../..").EventLayout;
|
|
1045
1039
|
listColumns: import("../..").ColumnOption;
|
|
1046
|
-
eventsPerPage:
|
|
1047
|
-
|
|
1040
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
1041
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1048
1042
|
startOfWeek: import("../..").WeekStart;
|
|
1049
1043
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
1050
1044
|
showFilters: boolean;
|
|
@@ -1083,8 +1077,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1083
1077
|
events: readonly import("../..").PublicEvent[];
|
|
1084
1078
|
listLayout: import("../..").EventLayout;
|
|
1085
1079
|
listColumns: import("../..").ColumnOption;
|
|
1086
|
-
eventsPerPage:
|
|
1087
|
-
|
|
1080
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
1081
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1088
1082
|
startOfWeek: import("../..").WeekStart;
|
|
1089
1083
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
1090
1084
|
showFilters: boolean;
|
|
@@ -2823,7 +2817,7 @@ export declare const clientComponentRegistryEntries: {
|
|
|
2823
2817
|
blockContent?: unknown;
|
|
2824
2818
|
fragmentRegistry?: unknown;
|
|
2825
2819
|
pathBase?: string;
|
|
2826
|
-
|
|
2820
|
+
'data-preview-site-chrome-surface'?: string;
|
|
2827
2821
|
} & {
|
|
2828
2822
|
children?: React.ReactNode | undefined;
|
|
2829
2823
|
}>;
|
|
@@ -2888,8 +2882,8 @@ export declare const clientComponentRegistryEntries: {
|
|
|
2888
2882
|
events: readonly import("../..").PublicEvent[];
|
|
2889
2883
|
listLayout: import("../..").EventLayout;
|
|
2890
2884
|
listColumns: import("../..").ColumnOption;
|
|
2891
|
-
eventsPerPage:
|
|
2892
|
-
|
|
2885
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
2886
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
2893
2887
|
startOfWeek: import("../..").WeekStart;
|
|
2894
2888
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
2895
2889
|
showFilters: boolean;
|
|
@@ -116,10 +116,10 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
116
116
|
layout?: import("../..").EventLayout;
|
|
117
117
|
columns?: import("../..").ColumnOption;
|
|
118
118
|
eventsPerPage?: string;
|
|
119
|
-
paginationMode?: "
|
|
119
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
120
120
|
seeAllUrl?: string;
|
|
121
121
|
loadMoreText?: string;
|
|
122
|
-
cardVariant?: import("../..").
|
|
122
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
123
123
|
buttonVariant?: import("../..").ButtonVariant;
|
|
124
124
|
buttonText?: string;
|
|
125
125
|
showVenue?: boolean;
|
|
@@ -159,10 +159,8 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
159
159
|
hydration: Readonly<{
|
|
160
160
|
siteId: string;
|
|
161
161
|
stage?: "preview" | "published";
|
|
162
|
-
eventsPerPage:
|
|
163
|
-
|
|
164
|
-
seeAllUrl?: string;
|
|
165
|
-
loadMoreText: string;
|
|
162
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
163
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
166
164
|
showFilters: boolean;
|
|
167
165
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
168
166
|
showVenueFilter: boolean;
|
|
@@ -187,10 +185,10 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
187
185
|
layout?: import("../..").EventLayout;
|
|
188
186
|
columns?: import("../..").ColumnOption;
|
|
189
187
|
eventsPerPage?: string;
|
|
190
|
-
paginationMode?: "
|
|
188
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
191
189
|
seeAllUrl?: string;
|
|
192
190
|
loadMoreText?: string;
|
|
193
|
-
cardVariant?: import("../..").
|
|
191
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
194
192
|
buttonVariant?: import("../..").ButtonVariant;
|
|
195
193
|
buttonText?: string;
|
|
196
194
|
showVenue?: boolean;
|
|
@@ -218,10 +216,10 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
218
216
|
layout?: import("../..").EventLayout;
|
|
219
217
|
columns?: import("../..").ColumnOption;
|
|
220
218
|
eventsPerPage?: string;
|
|
221
|
-
paginationMode?: "
|
|
219
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
222
220
|
seeAllUrl?: string;
|
|
223
221
|
loadMoreText?: string;
|
|
224
|
-
cardVariant?: import("../..").
|
|
222
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
225
223
|
buttonVariant?: import("../..").ButtonVariant;
|
|
226
224
|
buttonText?: string;
|
|
227
225
|
showVenue?: boolean;
|
|
@@ -264,10 +262,8 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
264
262
|
hydration: Readonly<{
|
|
265
263
|
siteId: string;
|
|
266
264
|
stage?: "preview" | "published";
|
|
267
|
-
eventsPerPage:
|
|
268
|
-
|
|
269
|
-
seeAllUrl?: string;
|
|
270
|
-
loadMoreText: string;
|
|
265
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
266
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
271
267
|
showFilters: boolean;
|
|
272
268
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
273
269
|
showVenueFilter: boolean;
|
|
@@ -303,10 +299,8 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
303
299
|
hydration: Readonly<{
|
|
304
300
|
siteId: string;
|
|
305
301
|
stage?: "preview" | "published";
|
|
306
|
-
eventsPerPage:
|
|
307
|
-
|
|
308
|
-
seeAllUrl?: string;
|
|
309
|
-
loadMoreText: string;
|
|
302
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
303
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
310
304
|
showFilters: boolean;
|
|
311
305
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
312
306
|
showVenueFilter: boolean;
|
|
@@ -342,7 +336,8 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
342
336
|
layout?: import("../..").EventLayout;
|
|
343
337
|
columns?: import("../..").ColumnOption;
|
|
344
338
|
eventsPerPage?: string;
|
|
345
|
-
|
|
339
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
340
|
+
seeAllUrl?: string;
|
|
346
341
|
loadMoreText?: string;
|
|
347
342
|
startOfWeek?: import("../..").WeekStart;
|
|
348
343
|
calendarTabViews?: import("../..").CalendarTabViews;
|
|
@@ -372,8 +367,8 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
372
367
|
events: readonly import("../..").PublicEvent[];
|
|
373
368
|
listLayout: import("../..").EventLayout;
|
|
374
369
|
listColumns: import("../..").ColumnOption;
|
|
375
|
-
eventsPerPage:
|
|
376
|
-
|
|
370
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
371
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
377
372
|
startOfWeek: import("../..").WeekStart;
|
|
378
373
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
379
374
|
showFilters: boolean;
|
|
@@ -418,7 +413,8 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
418
413
|
layout?: import("../..").EventLayout;
|
|
419
414
|
columns?: import("../..").ColumnOption;
|
|
420
415
|
eventsPerPage?: string;
|
|
421
|
-
|
|
416
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
417
|
+
seeAllUrl?: string;
|
|
422
418
|
loadMoreText?: string;
|
|
423
419
|
startOfWeek?: import("../..").WeekStart;
|
|
424
420
|
calendarTabViews?: import("../..").CalendarTabViews;
|
|
@@ -453,7 +449,8 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
453
449
|
layout?: import("../..").EventLayout;
|
|
454
450
|
columns?: import("../..").ColumnOption;
|
|
455
451
|
eventsPerPage?: string;
|
|
456
|
-
|
|
452
|
+
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
453
|
+
seeAllUrl?: string;
|
|
457
454
|
loadMoreText?: string;
|
|
458
455
|
startOfWeek?: import("../..").WeekStart;
|
|
459
456
|
calendarTabViews?: import("../..").CalendarTabViews;
|
|
@@ -486,8 +483,8 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
486
483
|
events: readonly import("../..").PublicEvent[];
|
|
487
484
|
listLayout: import("../..").EventLayout;
|
|
488
485
|
listColumns: import("../..").ColumnOption;
|
|
489
|
-
eventsPerPage:
|
|
490
|
-
|
|
486
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
487
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
491
488
|
startOfWeek: import("../..").WeekStart;
|
|
492
489
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
493
490
|
showFilters: boolean;
|
|
@@ -526,8 +523,8 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
526
523
|
events: readonly import("../..").PublicEvent[];
|
|
527
524
|
listLayout: import("../..").EventLayout;
|
|
528
525
|
listColumns: import("../..").ColumnOption;
|
|
529
|
-
eventsPerPage:
|
|
530
|
-
|
|
526
|
+
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
527
|
+
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
531
528
|
startOfWeek: import("../..").WeekStart;
|
|
532
529
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
533
530
|
showFilters: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type
|
|
1
|
+
export type HeaderChromeRuntimeOptions = {
|
|
2
2
|
/**
|
|
3
3
|
* Enables scroll-aware styling (`header-scrolled` toggling).
|
|
4
4
|
* If omitted, inferred from DOM (`.rb-header-shrink` class on the section target).
|
|
@@ -10,6 +10,14 @@ type HeaderSectionEnhanceOptions = {
|
|
|
10
10
|
*/
|
|
11
11
|
scrollTarget?: HTMLElement | null;
|
|
12
12
|
};
|
|
13
|
+
export type HeaderChromeRuntimeMountResult = Readonly<{
|
|
14
|
+
kind: 'mounted';
|
|
15
|
+
dispose: () => void;
|
|
16
|
+
} | {
|
|
17
|
+
kind: 'already-mounted';
|
|
18
|
+
} | {
|
|
19
|
+
kind: 'not-applicable';
|
|
20
|
+
}>;
|
|
13
21
|
type DropdownPlacementInput = Readonly<{
|
|
14
22
|
left: number;
|
|
15
23
|
right: number;
|
|
@@ -30,5 +38,5 @@ export declare function planDropdownViewportShift(input: DropdownPlacementInput)
|
|
|
30
38
|
* - Mobile dropdown toggles
|
|
31
39
|
* - Optional scroll-aware styling (`header-scrolled`)
|
|
32
40
|
*/
|
|
33
|
-
export declare function
|
|
41
|
+
export declare function mountHeaderChromeRuntime(root: HTMLElement, options?: HeaderChromeRuntimeOptions): HeaderChromeRuntimeMountResult;
|
|
34
42
|
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Binding, NodeDefinition } from "../node";
|
|
2
|
+
import type { ScopeEntry } from "./resolver";
|
|
3
|
+
export type HeadingDecorationMode = "auto" | "off";
|
|
4
|
+
export type HeadingDecorationPlan = {
|
|
5
|
+
readonly kind: "decorate";
|
|
6
|
+
readonly wrapperClassName: string;
|
|
7
|
+
} | {
|
|
8
|
+
readonly kind: "skip";
|
|
9
|
+
};
|
|
10
|
+
type HeadingDecorationPlanInput = Readonly<{
|
|
11
|
+
node: NodeDefinition;
|
|
12
|
+
props: Record<string, unknown>;
|
|
13
|
+
binding: Binding | undefined;
|
|
14
|
+
scopes: ReadonlyArray<ScopeEntry>;
|
|
15
|
+
blockKind: string | undefined;
|
|
16
|
+
blockContent: unknown;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const internalHeadingDecorationProp = "headingDecoration";
|
|
19
|
+
export declare function planHeadingDecoration({ node, props, binding, scopes, blockKind, blockContent, }: HeadingDecorationPlanInput): HeadingDecorationPlan;
|
|
20
|
+
export declare function omitHeadingDecorationProps(props: Record<string, unknown>): Record<string, unknown>;
|
|
21
|
+
export {};
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import type { PublicEvent } from '../../blocks/events/shared/types';
|
|
2
|
-
import type
|
|
2
|
+
import { type CalendarViewport, type CalendarViewportKind, type WeekStart } from '../nodes/events/shared/utils';
|
|
3
|
+
import { type EventRuntimeFilters } from '../nodes/events/shared/listOptions';
|
|
3
4
|
type UseCalendarEventsOptions = {
|
|
4
5
|
/** @deprecated Site ID is now provided by BlockApiProvider context */
|
|
5
6
|
siteId?: string;
|
|
6
7
|
/** Initial events from server-side render */
|
|
7
8
|
initialEvents?: PublicEvent[];
|
|
9
|
+
/** Calendar viewport kind. Controls navigation units and visible days. */
|
|
10
|
+
view?: CalendarViewportKind;
|
|
11
|
+
/** First day of week for week view and month-grid padding. */
|
|
12
|
+
startOfWeek?: WeekStart;
|
|
8
13
|
/** Number of months to pre-fetch in each direction (default: 1) */
|
|
9
14
|
preloadMonths?: number;
|
|
10
15
|
/** Block-level filters to apply to all calendar fetches */
|
|
@@ -12,33 +17,59 @@ type UseCalendarEventsOptions = {
|
|
|
12
17
|
/** Fetch stage (preview vs published) */
|
|
13
18
|
stage?: 'preview' | 'published';
|
|
14
19
|
};
|
|
15
|
-
type EventRuntimeFilters = {
|
|
16
|
-
categoryIds?: string;
|
|
17
|
-
staffMemberId?: string;
|
|
18
|
-
venueId?: string;
|
|
19
|
-
kind?: 'courses' | 'events';
|
|
20
|
-
eventSurface?: EventSurfaceScope;
|
|
21
|
-
eventPresets?: string;
|
|
22
|
-
scheduleScope?: EventScheduleScope;
|
|
23
|
-
};
|
|
24
20
|
type CalendarEventsState = {
|
|
25
21
|
/** Events visible in the current view */
|
|
26
22
|
events: PublicEvent[];
|
|
27
|
-
/** Current view date (
|
|
23
|
+
/** Current view date (anchor of the calendar viewport) */
|
|
28
24
|
viewDate: Date;
|
|
25
|
+
/** Derived calendar viewport for the current view date */
|
|
26
|
+
viewport: CalendarViewport;
|
|
29
27
|
/** Whether events are being loaded */
|
|
30
28
|
loading: boolean;
|
|
31
29
|
/** Error from last fetch */
|
|
32
30
|
error: Error | null;
|
|
33
31
|
/** Set the view date */
|
|
34
32
|
setViewDate: (date: Date) => void;
|
|
35
|
-
/** Navigate to previous
|
|
33
|
+
/** Navigate to previous viewport period */
|
|
36
34
|
goToPrevious: () => void;
|
|
37
|
-
/** Navigate to next
|
|
35
|
+
/** Navigate to next viewport period */
|
|
38
36
|
goToNext: () => void;
|
|
39
37
|
/** Navigate to today */
|
|
40
38
|
goToToday: () => void;
|
|
41
39
|
};
|
|
40
|
+
type UseCalendarViewportOptions = Readonly<{
|
|
41
|
+
view?: CalendarViewportKind;
|
|
42
|
+
startOfWeek?: WeekStart;
|
|
43
|
+
initialDate?: Date;
|
|
44
|
+
}>;
|
|
45
|
+
/**
|
|
46
|
+
* Owns calendar viewport state only: selected anchor date, derived visible
|
|
47
|
+
* period, and navigation by the natural unit for the active view.
|
|
48
|
+
*/
|
|
49
|
+
export declare function useCalendarViewport({ view, startOfWeek, initialDate, }?: UseCalendarViewportOptions): Readonly<{
|
|
50
|
+
viewDate: Date;
|
|
51
|
+
viewport: CalendarViewport;
|
|
52
|
+
goToDate: (date: Date) => void;
|
|
53
|
+
goToPrevious: () => void;
|
|
54
|
+
goToNext: () => void;
|
|
55
|
+
goToToday: () => void;
|
|
56
|
+
}>;
|
|
57
|
+
type UseCalendarEventCacheOptions = Readonly<{
|
|
58
|
+
viewDate: Date;
|
|
59
|
+
initialEvents?: PublicEvent[];
|
|
60
|
+
preloadMonths?: number;
|
|
61
|
+
filters?: EventRuntimeFilters;
|
|
62
|
+
stage?: 'preview' | 'published';
|
|
63
|
+
}>;
|
|
64
|
+
/**
|
|
65
|
+
* Owns event loading and month-window caching for a supplied viewport anchor.
|
|
66
|
+
* It does not decide navigation semantics or visible calendar days.
|
|
67
|
+
*/
|
|
68
|
+
export declare function useCalendarEventCache({ viewDate, initialEvents, preloadMonths, filters, stage, }: UseCalendarEventCacheOptions): Readonly<{
|
|
69
|
+
events: PublicEvent[];
|
|
70
|
+
loading: boolean;
|
|
71
|
+
error: Error | null;
|
|
72
|
+
}>;
|
|
42
73
|
/**
|
|
43
74
|
* Hook for calendar event management with month-based caching.
|
|
44
75
|
*
|
|
@@ -54,5 +85,5 @@ type CalendarEventsState = {
|
|
|
54
85
|
* ```
|
|
55
86
|
*/
|
|
56
87
|
export declare function useCalendarEvents({ siteId: _siteId, // Deprecated: siteId now comes from BlockApiProvider context
|
|
57
|
-
initialEvents, preloadMonths, filters, stage, }: UseCalendarEventsOptions): CalendarEventsState;
|
|
88
|
+
initialEvents, view, startOfWeek, preloadMonths, filters, stage, }: UseCalendarEventsOptions): CalendarEventsState;
|
|
58
89
|
export default useCalendarEvents;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type EventBlockKind } from '../../blocks/events/shared';
|
|
2
2
|
import type { EventScheduleScope, EventSurfaceScope } from '../../blocks/events/shared/filtering';
|
|
3
3
|
import type { EventFilterCategory, EventFilterStaffMember, EventFilterVenue } from '../api/types';
|
|
4
|
+
import type { EventRuntimeFilters } from '../nodes/events/shared/listOptions';
|
|
4
5
|
type UseEventFiltersOptions = {
|
|
5
6
|
/** Whether to show category filter (auto, always, never) */
|
|
6
7
|
showCategoryFilter?: 'auto' | 'always' | 'never';
|
|
@@ -65,15 +66,7 @@ type EventFiltersState = {
|
|
|
65
66
|
/** Reset all filters to default values */
|
|
66
67
|
resetFilters: () => void;
|
|
67
68
|
/** Get filter params for API calls */
|
|
68
|
-
getFilterParams: () =>
|
|
69
|
-
categoryIds?: string;
|
|
70
|
-
staffMemberId?: string;
|
|
71
|
-
venueId?: string;
|
|
72
|
-
kind?: 'courses' | 'events';
|
|
73
|
-
eventSurface?: EventSurfaceScope;
|
|
74
|
-
eventPresets?: string;
|
|
75
|
-
scheduleScope?: EventScheduleScope;
|
|
76
|
-
};
|
|
69
|
+
getFilterParams: () => EventRuntimeFilters;
|
|
77
70
|
};
|
|
78
71
|
/**
|
|
79
72
|
* Hook for managing event filters.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PublicEvent } from '../../blocks/events/shared/types';
|
|
2
|
-
import
|
|
2
|
+
import { type EventRuntimeFilters } from '../nodes/events/shared/listOptions';
|
|
3
3
|
type UseEventPaginationOptions = {
|
|
4
4
|
/** @deprecated Site ID is now provided by BlockApiProvider context */
|
|
5
5
|
siteId?: string;
|
|
@@ -21,15 +21,6 @@ type UseEventPaginationOptions = {
|
|
|
21
21
|
/** Fetch stage (preview vs published) */
|
|
22
22
|
stage?: 'preview' | 'published';
|
|
23
23
|
};
|
|
24
|
-
type EventRuntimeFilters = {
|
|
25
|
-
categoryIds?: string;
|
|
26
|
-
staffMemberId?: string;
|
|
27
|
-
venueId?: string;
|
|
28
|
-
kind?: 'courses' | 'events';
|
|
29
|
-
eventSurface?: EventSurfaceScope;
|
|
30
|
-
eventPresets?: string;
|
|
31
|
-
scheduleScope?: EventScheduleScope;
|
|
32
|
-
};
|
|
33
24
|
type EventPaginationState = {
|
|
34
25
|
/** All loaded events */
|
|
35
26
|
events: PublicEvent[];
|