@riverbankcms/sdk 0.104.3 → 0.108.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/README.md +84 -51
- package/dist/{PreviewEditorSidebar-CBMhU9p_.mjs → PreviewEditorSidebar-BBT-kZAM.mjs} +1850 -1183
- package/dist/{PreviewEditorUI-C5KEw4M8.mjs → PreviewEditorUI-D69xNKT2.mjs} +10 -9
- package/dist/{PreviewQueryProvider-CStABBUh.mjs → PreviewQueryProvider-RRu7wyQ5.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-Iq12HjL7.mjs → SdkPreviewModeRuntime-CuDjXH6o.mjs} +2562 -457
- package/dist/{SiteChromeCustomizeContext-Cx0NMdyv.mjs → SiteChromeCustomizeContext-BQUY2dEk.mjs} +7689 -3196
- package/dist/_dts/ai/src/contracts/proposals.d.ts +36493 -1395
- package/dist/_dts/api/src/blocks.d.ts +41 -7
- package/dist/_dts/api/src/bookingConfig.d.ts +2 -0
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/bookingRecords.d.ts +180 -115
- package/dist/_dts/api/src/cache-tags.d.ts +3 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +25 -16
- package/dist/_dts/api/src/courses.d.ts +68 -10
- package/dist/_dts/api/src/endpoints.d.ts +128 -0
- package/dist/_dts/api/src/footer-settings.d.ts +1 -0
- package/dist/_dts/api/src/footerSettings.d.ts +8 -0
- package/dist/_dts/api/src/index.d.ts +127 -124
- package/dist/_dts/api/src/navigation/contracts.d.ts +3 -3
- package/dist/_dts/api/src/previewContentContract.d.ts +4 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +9 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +178 -6
- package/dist/_dts/api/src/siteBanner.d.ts +2 -2
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +143 -55
- package/dist/_dts/api/src/siteOperations.d.ts +1 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +32 -4
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +72 -47
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +36 -4
- package/dist/_dts/blocks/src/definitions.d.ts +1 -1
- package/dist/_dts/blocks/src/portal/types.d.ts +25 -7
- package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +0 -1
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule-projection.d.ts +52 -0
- package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule.d.ts +22 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +45 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +10 -0
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +4 -1
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +9 -0
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +8 -2
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +8 -8
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +24 -24
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/scheduleSummary.d.ts +29 -0
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +50 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +9 -48
- 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 +2 -5
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/designCapabilities.d.ts +1 -0
- package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +2 -2
- package/dist/_dts/blocks/src/system/icons/registry.d.ts +2 -1
- package/dist/_dts/blocks/src/system/icons/social.d.ts +5 -0
- package/dist/_dts/blocks/src/system/icons/svg.d.ts +1 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +2 -2
- package/dist/_dts/blocks/src/system/node/fragments/backgroundLayer.d.ts +13 -0
- package/dist/_dts/blocks/src/system/node/fragments/footerNav.d.ts +2 -0
- package/dist/_dts/blocks/src/system/node/fragments/styledCard.d.ts +3 -0
- package/dist/_dts/blocks/src/system/node/fragments/styledContainer.d.ts +4 -4
- package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +3 -12
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/blockComposition.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +90 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +45 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/logic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-page-surface-scope.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +9 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +106 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/RecurringSchedule.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekBoardView.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +11 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +11 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/svg.d.ts +7 -0
- package/dist/_dts/blocks/src/system/types/link.d.ts +3 -3
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +14 -0
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +27 -8
- package/dist/_dts/content-editor/src/footerComposer.d.ts +56 -0
- package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useEntryMutations.d.ts +5 -5
- package/dist/_dts/content-editor/src/index.d.ts +2 -0
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +3 -1
- package/dist/_dts/content-editor/src/services/contentEntryServices.d.ts +20 -36
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +5 -1
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +11 -0
- package/dist/_dts/content-model/src/content-types/schema.d.ts +1 -1
- package/dist/_dts/content-model/src/definitions/shared.d.ts +3 -0
- package/dist/_dts/core/src/branded.d.ts +47 -0
- package/dist/_dts/core/src/dated-offering-settlement.d.ts +47 -0
- package/dist/_dts/core/src/editor-state.d.ts +4 -0
- package/dist/_dts/core/src/event-page-surface-subject.d.ts +44 -0
- package/dist/_dts/core/src/footer-composition.d.ts +143 -0
- package/dist/_dts/core/src/index.d.ts +51 -47
- package/dist/_dts/core/src/public-profile.d.ts +73 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +4398 -2859
- package/dist/_dts/db/src/schemas/forms.d.ts +10 -10
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +5 -0
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +4 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockReorder.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/block-editor/owner.d.ts +10 -0
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
- package/dist/_dts/media-core/src/index.d.ts +2 -1
- package/dist/_dts/media-core/src/storagePathDomain.d.ts +47 -0
- package/dist/_dts/media-core/src/url.d.ts +1 -21
- package/dist/_dts/path-utils/src/index.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +4 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +4 -9
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +8 -11
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +4 -9
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +2 -6
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +5 -9
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +81 -43
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.typography.d.ts +61 -0
- package/dist/_dts/preview-next/src/client/preview/previewErrorMessages.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +7 -17
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +15 -8
- package/dist/_dts/preview-next/src/client/preview/typographyFontCatalog.d.ts +57 -0
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +4 -7
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +24 -10
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +3 -3
- package/dist/_dts/sdk/src/cli/sync/media.d.ts +16 -2
- package/dist/_dts/sdk/src/client/management/blocks.d.ts +14 -1
- package/dist/_dts/sdk/src/client/management/index.d.ts +2 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +147 -24
- package/dist/_dts/sdk/src/client/types.d.ts +2 -0
- package/dist/_dts/sdk/src/config/content-types.d.ts +2 -0
- package/dist/_dts/sdk/src/config/content-validation.d.ts +4 -0
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +23 -3
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +17 -0
- package/dist/_dts/sdk/src/data/dataLoaderValue.d.ts +36 -0
- package/dist/_dts/sdk/src/data/defineOwnDataProperty.d.ts +2 -0
- package/dist/_dts/sdk/src/data/executeCodeLoaders.d.ts +36 -40
- package/dist/_dts/sdk/src/data/index.d.ts +3 -3
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +54 -0
- package/dist/_dts/sdk/src/data/types.d.ts +43 -78
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -0
- package/dist/_dts/sdk/src/next/index.d.ts +1 -0
- package/dist/_dts/sdk/src/next/redirect-destination.d.ts +1 -1
- package/dist/_dts/sdk/src/next/resolveTheme.d.ts +2 -1
- package/dist/_dts/sdk/src/next/types.d.ts +10 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +6 -10
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +10 -5
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +6 -10
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -0
- package/dist/_dts/sdk/src/server.d.ts +4 -3
- 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/site-commands/src/capabilityGaps.d.ts +2 -2
- package/dist/_dts/site-commands/src/commands.d.ts +934 -40
- package/dist/_dts/theme-core/src/accordions/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/generateDefaultButtonSystem.d.ts +5 -1
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +22 -0
- package/dist/_dts/theme-core/src/buttons/personalities/quiet-arrow.d.ts +17 -0
- package/dist/_dts/theme-core/src/buttons/personalities/two-tone-pill.d.ts +17 -0
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/buttons/types.d.ts +12 -8
- package/dist/_dts/theme-core/src/cards/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/data.d.ts +12 -0
- package/dist/_dts/theme-core/src/fonts/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/fonts/types.d.ts +6 -0
- package/dist/_dts/theme-core/src/footer/mode.d.ts +15 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +72 -54
- package/dist/_dts/theme-core/src/navigation/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/colors.d.ts +12 -0
- package/dist/_dts/theme-core/src/palette/curated/brand-led.d.ts +10 -5
- package/dist/_dts/theme-core/src/palette/curated/high-contrast.d.ts +6 -3
- package/dist/_dts/theme-core/src/palette/curated/index.d.ts +31 -236
- package/dist/_dts/theme-core/src/palette/curated/soft-natural.d.ts +8 -4
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +14 -12
- package/dist/_dts/theme-core/src/palette/curated/warm-dark.d.ts +4 -2
- package/dist/_dts/theme-core/src/palette/curated/warm-neutral.d.ts +8 -4
- package/dist/_dts/theme-core/src/palette/editorState.d.ts +33 -3
- package/dist/_dts/theme-core/src/palette/index.d.ts +0 -4
- package/dist/_dts/theme-core/src/palette/libraryModel.d.ts +12 -6
- package/dist/_dts/theme-core/src/palette/persistenceReadSource.d.ts +20 -72
- package/dist/_dts/theme-core/src/palette/resolveSelection.d.ts +29 -4
- package/dist/_dts/theme-core/src/palette/selection.d.ts +6 -4
- package/dist/_dts/theme-core/src/schema.d.ts +1307 -38
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +218 -158
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +5 -6
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +218 -158
- package/dist/_dts/theme-core/src/site-styles/compositionBudget.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +2 -1
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +161 -51
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +6 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +12 -1
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +24 -1
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +14 -48
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +10 -23
- package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +15 -0
- package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +1 -2
- package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +456 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +52 -3
- package/dist/cli/index.mjs +4118 -2278
- package/dist/client/{DiscountCodeDisclosure-BXM73_E5.mjs → DiscountCodeDisclosure-D6TOf6Hi.mjs} +1 -1
- package/dist/client/{EventCombined.client-DT5elP7j.mjs → EventCombined.client-Dao3zxRk.mjs} +3 -3
- package/dist/client/{EventListing.client-pTYGfV9C.mjs → EventListing.client-B2NNt4y1.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-dQrhlUe3.mjs → LeafletStaticMap-BhwFo16w.mjs} +1 -1
- package/dist/client/{MagicLinkForm-u6Dul4j5.mjs → MagicLinkForm-BWnB7cMR.mjs} +2 -2
- package/dist/client/{StepIndicator-nWqineJ2.mjs → StepIndicator-TzRiQ0BY.mjs} +2 -2
- package/dist/client/{accordion-CSJcTUyH.mjs → accordion-BPy-AJ4_.mjs} +1 -1
- package/dist/client/{bookingForm-C73wOuVa.mjs → bookingForm-BL4PGZds.mjs} +7 -7
- package/dist/client/bookings.mjs +382 -204
- package/dist/client/{buttons-DfYyqt8C.mjs → buttons-EBjyslaX.mjs} +265 -152
- package/dist/client/{carousel-fMBb0JSc.mjs → carousel-C2b7Cn9-.mjs} +1 -1
- package/dist/client/{cart-BtaCwT3S.mjs → cart-BQcbXIVD.mjs} +3 -3
- package/dist/client/{checkout-DkTwZSnh.mjs → checkout-DEmpGRJu.mjs} +3 -3
- package/dist/client/client.mjs +5019 -1886
- package/dist/client/{colorStyles-Wyl6JujD.mjs → colorStyles-jZS6KfkP.mjs} +1 -1
- package/dist/client/{colorTokenParts-dT8MISgJ.mjs → colorTokenParts-CMugwvX_.mjs} +3 -1
- package/dist/client/{courseRegistration-DnLmapJu.mjs → courseRegistration-BqRZPmsq.mjs} +56 -21
- package/dist/client/{eventCalendar-BvLOc9KY.mjs → eventCalendar-B8N_tSl5.mjs} +29 -21
- package/dist/client/{eventCombined-kShgJPQr.mjs → eventCombined-Gjn6gtq7.mjs} +2 -2
- package/dist/client/{eventDetails-C5NTM0Vo.mjs → eventDetails-M-VCxA-r.mjs} +4 -4
- package/dist/client/{eventListing-B82ZdKP6.mjs → eventListing-DR19hqYi.mjs} +2 -2
- package/dist/client/{eventRegistration-qJVFqBWo.mjs → eventRegistration-BR02a0k3.mjs} +8 -8
- package/dist/client/{form-BvAcKiuu.mjs → form-LY2xIbwg.mjs} +2 -2
- package/dist/client/{headerSection-NvAiEHAg.mjs → headerSection-CYwwXJfh.mjs} +3 -3
- package/dist/client/hooks.mjs +3335 -2210
- package/dist/client/{locationMap-D0j52xfI.mjs → locationMap-DWnBXrFq.mjs} +3 -3
- package/dist/client/{media-BCW_g2cQ.mjs → media-DHtSxS5V.mjs} +61 -56
- package/dist/client/{newsletterForm-B8_i93qH.mjs → newsletterForm-D9s-fQ2P.mjs} +3 -3
- package/dist/client/{pricing-DIYnyHOk.mjs → pricing-DDq80oYc.mjs} +1 -1
- package/dist/client/{productDetail-w0eAHkuQ.mjs → productDetail-B0SbWd45.mjs} +3 -3
- package/dist/client/{productList-Vsguq5Xt.mjs → productList-PwYlZn0y.mjs} +3 -3
- package/dist/client/{propsDecoder-CD2pJ1WB.mjs → propsDecoder-BRWBiH7i.mjs} +225 -68
- package/dist/client/rendering/client.mjs +2266 -1267
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +5364 -1979
- package/dist/client/{shop-Dgxs-Q8F.mjs → shop-CMwZPYME.mjs} +8 -8
- package/dist/client/{shop-commerce-DJAhsTaT.mjs → shop-commerce-BuxsFate.mjs} +6 -6
- package/dist/client/{shop-commerce-store-CfCXltXW.mjs → shop-commerce-store-boYlEJ91.mjs} +1 -1
- package/dist/client/{shopShared-CmDcPXUt.mjs → shopShared-D2naaOes.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-CirrT2bM.mjs → useDiscountCodeUi-D9RHpVoj.mjs} +1 -1
- package/dist/client/{useEventFilters-CNZxlCcO.mjs → useEventFilters-igGiK1re.mjs} +6 -6
- package/dist/client/{usePolling-Baks_iBI.mjs → usePolling-CI7MbsFB.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +218 -1
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +218 -1
- package/dist/{previewAuthStore-CfquDtTh.mjs → previewAuthStore-a_cBD28m.mjs} +218 -1
- package/dist/{sdk-runtime-BfNiFeNJ.mjs → sdk-runtime-MBzD-GmP.mjs} +2 -2
- package/dist/{separator-BhAR_Xmf.mjs → separator-5ahRBC85.mjs} +1 -1
- package/dist/server/components.mjs +5218 -2529
- package/dist/server/config-validation.mjs +3112 -2210
- package/dist/server/config.mjs +3112 -2211
- package/dist/server/data.mjs +3758 -2277
- package/dist/server/index.mjs +224 -4
- package/dist/server/navigation.mjs +9 -3
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next.mjs +6468 -2749
- package/dist/server/page-converter.mjs +3524 -2635
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +5392 -2488
- package/dist/server/rendering.mjs +6241 -2851
- package/dist/server/routing.mjs +3414 -1826
- package/dist/server/server.mjs +4174 -2354
- package/dist/server/theme-bridge.mjs +9579 -8132
- package/dist/server/theme.mjs +313 -154
- package/dist/styles/index.css +1223 -31
- package/package.json +1 -1
- package/dist/_dts/preview-next/src/client/preview/typographySelectionInput.d.ts +0 -16
- package/dist/_dts/theme-core/src/palette/historicalThemePalette.d.ts +0 -44
- package/dist/_dts/theme-core/src/palette/legacyRuntimeProjection.d.ts +0 -55
- package/dist/_dts/theme-core/src/palette/legacySelection.d.ts +0 -45
- package/dist/_dts/theme-core/src/palette/paletteCompatibilityTransition.d.ts +0 -232
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +0 -234
|
@@ -355,6 +355,10 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
355
355
|
filterVenueId?: string | null;
|
|
356
356
|
buttonVariant?: import("../..").ButtonVariant;
|
|
357
357
|
buttonText?: string;
|
|
358
|
+
boardTitle?: string;
|
|
359
|
+
footerNote?: string;
|
|
360
|
+
elevated?: boolean | null;
|
|
361
|
+
banded?: boolean | null;
|
|
358
362
|
showVenue?: boolean | null;
|
|
359
363
|
showMap?: boolean | null;
|
|
360
364
|
showCapacity?: boolean | null;
|
|
@@ -386,6 +390,12 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
386
390
|
filterVenueId: string | null;
|
|
387
391
|
buttonVariant: import("../..").ButtonVariant;
|
|
388
392
|
buttonText: string;
|
|
393
|
+
boardTitle?: string;
|
|
394
|
+
footerNote?: string;
|
|
395
|
+
seeAllUrl?: string;
|
|
396
|
+
loadMoreText?: string;
|
|
397
|
+
elevated: boolean;
|
|
398
|
+
banded: boolean;
|
|
389
399
|
showVenue: boolean;
|
|
390
400
|
showMap: boolean;
|
|
391
401
|
showCapacity: boolean;
|
|
@@ -434,6 +444,10 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
434
444
|
filterVenueId?: string | null;
|
|
435
445
|
buttonVariant?: import("../..").ButtonVariant;
|
|
436
446
|
buttonText?: string;
|
|
447
|
+
boardTitle?: string;
|
|
448
|
+
footerNote?: string;
|
|
449
|
+
elevated?: boolean | null;
|
|
450
|
+
banded?: boolean | null;
|
|
437
451
|
showVenue?: boolean | null;
|
|
438
452
|
showMap?: boolean | null;
|
|
439
453
|
showCapacity?: boolean | null;
|
|
@@ -471,6 +485,10 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
471
485
|
filterVenueId?: string | null;
|
|
472
486
|
buttonVariant?: import("../..").ButtonVariant;
|
|
473
487
|
buttonText?: string;
|
|
488
|
+
boardTitle?: string;
|
|
489
|
+
footerNote?: string;
|
|
490
|
+
elevated?: boolean | null;
|
|
491
|
+
banded?: boolean | null;
|
|
474
492
|
showVenue?: boolean | null;
|
|
475
493
|
showMap?: boolean | null;
|
|
476
494
|
showCapacity?: boolean | null;
|
|
@@ -505,6 +523,12 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
505
523
|
filterVenueId: string | null;
|
|
506
524
|
buttonVariant: import("../..").ButtonVariant;
|
|
507
525
|
buttonText: string;
|
|
526
|
+
boardTitle?: string;
|
|
527
|
+
footerNote?: string;
|
|
528
|
+
seeAllUrl?: string;
|
|
529
|
+
loadMoreText?: string;
|
|
530
|
+
elevated: boolean;
|
|
531
|
+
banded: boolean;
|
|
508
532
|
showVenue: boolean;
|
|
509
533
|
showMap: boolean;
|
|
510
534
|
showCapacity: boolean;
|
|
@@ -546,6 +570,12 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
546
570
|
filterVenueId: string | null;
|
|
547
571
|
buttonVariant: import("../..").ButtonVariant;
|
|
548
572
|
buttonText: string;
|
|
573
|
+
boardTitle?: string;
|
|
574
|
+
footerNote?: string;
|
|
575
|
+
seeAllUrl?: string;
|
|
576
|
+
loadMoreText?: string;
|
|
577
|
+
elevated: boolean;
|
|
578
|
+
banded: boolean;
|
|
549
579
|
showVenue: boolean;
|
|
550
580
|
showMap: boolean;
|
|
551
581
|
showCapacity: boolean;
|
|
@@ -579,6 +609,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
579
609
|
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
580
610
|
includePhone?: boolean;
|
|
581
611
|
buttonLabel?: string | null;
|
|
612
|
+
buttonVariant?: import("../nodes/newsletter-form.types").NewsletterButtonVariant | null;
|
|
582
613
|
successMessage?: string | null;
|
|
583
614
|
privacyNote?: string | null;
|
|
584
615
|
tags?: string | null;
|
|
@@ -589,6 +620,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
589
620
|
kind: "newsletter-form";
|
|
590
621
|
className: string | null;
|
|
591
622
|
buttonLabel: string;
|
|
623
|
+
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
592
624
|
successMessage: string | null;
|
|
593
625
|
privacyNote: string | null;
|
|
594
626
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
@@ -613,6 +645,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
613
645
|
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
614
646
|
includePhone?: boolean;
|
|
615
647
|
buttonLabel?: string | null;
|
|
648
|
+
buttonVariant?: import("../nodes/newsletter-form.types").NewsletterButtonVariant | null;
|
|
616
649
|
successMessage?: string | null;
|
|
617
650
|
privacyNote?: string | null;
|
|
618
651
|
tags?: string | null;
|
|
@@ -628,6 +661,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
628
661
|
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
629
662
|
includePhone?: boolean;
|
|
630
663
|
buttonLabel?: string | null;
|
|
664
|
+
buttonVariant?: import("../nodes/newsletter-form.types").NewsletterButtonVariant | null;
|
|
631
665
|
successMessage?: string | null;
|
|
632
666
|
privacyNote?: string | null;
|
|
633
667
|
tags?: string | null;
|
|
@@ -641,6 +675,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
641
675
|
kind: "newsletter-form";
|
|
642
676
|
className: string | null;
|
|
643
677
|
buttonLabel: string;
|
|
678
|
+
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
644
679
|
successMessage: string | null;
|
|
645
680
|
privacyNote: string | null;
|
|
646
681
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
@@ -659,6 +694,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
659
694
|
kind: "newsletter-form";
|
|
660
695
|
className: string | null;
|
|
661
696
|
buttonLabel: string;
|
|
697
|
+
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
662
698
|
successMessage: string | null;
|
|
663
699
|
privacyNote: string | null;
|
|
664
700
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
@@ -1009,6 +1045,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1009
1045
|
contentTypeSlug: string;
|
|
1010
1046
|
}> | null;
|
|
1011
1047
|
entrySubrouteContext?: import("../nodes/course-registration.interactive").CourseEntrySubrouteContext | null;
|
|
1048
|
+
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1012
1049
|
courses?: import("../..").PublicCourse[] | null;
|
|
1013
1050
|
className?: string | null;
|
|
1014
1051
|
showSessions?: boolean;
|
|
@@ -1042,6 +1079,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1042
1079
|
contentTypeSlug: string;
|
|
1043
1080
|
}> | null;
|
|
1044
1081
|
entrySubrouteContext?: import("../nodes/course-registration.interactive").CourseEntrySubrouteContext | null;
|
|
1082
|
+
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1045
1083
|
courses?: import("../..").PublicCourse[] | null;
|
|
1046
1084
|
className?: string | null;
|
|
1047
1085
|
showSessions?: boolean;
|
|
@@ -1065,6 +1103,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1065
1103
|
contentTypeSlug: string;
|
|
1066
1104
|
}> | null;
|
|
1067
1105
|
entrySubrouteContext?: import("../nodes/course-registration.interactive").CourseEntrySubrouteContext | null;
|
|
1106
|
+
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1068
1107
|
courses?: import("../..").PublicCourse[] | null;
|
|
1069
1108
|
className?: string | null;
|
|
1070
1109
|
showSessions?: boolean;
|
|
@@ -1322,7 +1361,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1322
1361
|
kind: "passes-memberships";
|
|
1323
1362
|
state: "empty" | "ready";
|
|
1324
1363
|
className: string | null;
|
|
1325
|
-
layout: "grid" | "list";
|
|
1364
|
+
layout: "grid" | "list" | "register";
|
|
1326
1365
|
columns: string;
|
|
1327
1366
|
emptyMessage: string;
|
|
1328
1367
|
passesHeading: string;
|
|
@@ -1350,6 +1389,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1350
1389
|
passes: readonly import("../..").PublicPassProduct[];
|
|
1351
1390
|
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
1352
1391
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
1392
|
+
buttonVariant: "primary" | "secondary" | "outline" | "link";
|
|
1353
1393
|
}>;
|
|
1354
1394
|
}>;
|
|
1355
1395
|
contracts: Readonly<{
|
|
@@ -1363,7 +1403,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1363
1403
|
kind: "passes-memberships";
|
|
1364
1404
|
state: "empty" | "ready";
|
|
1365
1405
|
className: string | null;
|
|
1366
|
-
layout: "grid" | "list";
|
|
1406
|
+
layout: "grid" | "list" | "register";
|
|
1367
1407
|
columns: string;
|
|
1368
1408
|
emptyMessage: string;
|
|
1369
1409
|
passesHeading: string;
|
|
@@ -1391,6 +1431,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1391
1431
|
passes: readonly import("../..").PublicPassProduct[];
|
|
1392
1432
|
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
1393
1433
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
1434
|
+
buttonVariant: "primary" | "secondary" | "outline" | "link";
|
|
1394
1435
|
}>;
|
|
1395
1436
|
}>) => unknown;
|
|
1396
1437
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
@@ -1398,7 +1439,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1398
1439
|
kind: "passes-memberships";
|
|
1399
1440
|
state: "empty" | "ready";
|
|
1400
1441
|
className: string | null;
|
|
1401
|
-
layout: "grid" | "list";
|
|
1442
|
+
layout: "grid" | "list" | "register";
|
|
1402
1443
|
columns: string;
|
|
1403
1444
|
emptyMessage: string;
|
|
1404
1445
|
passesHeading: string;
|
|
@@ -1426,6 +1467,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1426
1467
|
passes: readonly import("../..").PublicPassProduct[];
|
|
1427
1468
|
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
1428
1469
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
1470
|
+
buttonVariant: "primary" | "secondary" | "outline" | "link";
|
|
1429
1471
|
}>;
|
|
1430
1472
|
}>>;
|
|
1431
1473
|
}>;
|
|
@@ -81,7 +81,7 @@ export type PassesMembershipsDisplay = Readonly<{
|
|
|
81
81
|
kind: 'passes-memberships';
|
|
82
82
|
state: 'empty' | 'ready';
|
|
83
83
|
className: string | null;
|
|
84
|
-
layout: 'grid' | 'list';
|
|
84
|
+
layout: 'grid' | 'list' | 'register';
|
|
85
85
|
columns: string;
|
|
86
86
|
emptyMessage: string;
|
|
87
87
|
passesHeading: string;
|
|
@@ -138,7 +138,7 @@ export declare function buildProductDetailDisplay(product: PublicProduct | null,
|
|
|
138
138
|
}>, selectedVariantId?: string | null): ProductDetailDisplay;
|
|
139
139
|
export declare function buildPassesMembershipsDisplay(options: Readonly<{
|
|
140
140
|
className?: string | null;
|
|
141
|
-
layout?: 'grid' | 'list';
|
|
141
|
+
layout?: 'grid' | 'list' | 'register';
|
|
142
142
|
columns?: string;
|
|
143
143
|
emptyMessage?: string | null;
|
|
144
144
|
passesHeading?: string | null;
|
|
@@ -14,7 +14,7 @@ export type EntrySubrouteContextLike = {
|
|
|
14
14
|
kind: 'event-occurrence';
|
|
15
15
|
} | null;
|
|
16
16
|
export type CourseDetailsSelection = {
|
|
17
|
-
mode: 'runContext' | 'contentEntry' | 'slugOverride' | 'single' | 'none';
|
|
17
|
+
mode: 'runContext' | 'pageSurfaceSubject' | 'unsupportedPageSurfaceSubject' | 'contentEntry' | 'slugOverride' | 'single' | 'none';
|
|
18
18
|
selected: PublicCourse | null;
|
|
19
19
|
scoped: PublicCourse[];
|
|
20
20
|
};
|
|
@@ -22,6 +22,7 @@ export declare function selectCourseDetails(args: {
|
|
|
22
22
|
courses: PublicCourse[] | null | undefined;
|
|
23
23
|
contentEntry: unknown;
|
|
24
24
|
entrySubrouteContext?: unknown;
|
|
25
|
+
subject?: unknown;
|
|
25
26
|
courseSlug: string | null | undefined;
|
|
26
27
|
}): CourseDetailsSelection;
|
|
27
28
|
export declare function sortCourseSessions(course: PublicCourse): PublicCourse['sessions'];
|
|
@@ -5,6 +5,7 @@ type CourseDetailsProps = {
|
|
|
5
5
|
blockId?: string | null;
|
|
6
6
|
contentEntry?: ContentEntryLike;
|
|
7
7
|
entrySubrouteContext?: EntrySubrouteContextLike;
|
|
8
|
+
subject?: unknown;
|
|
8
9
|
courses?: PublicCourse[] | null;
|
|
9
10
|
courseSlug?: string | null;
|
|
10
11
|
showTitle?: boolean;
|
|
@@ -19,5 +20,5 @@ type CourseDetailsProps = {
|
|
|
19
20
|
className?: string | null;
|
|
20
21
|
children?: React.ReactNode;
|
|
21
22
|
};
|
|
22
|
-
export declare function CourseDetailsSSR({ courses, contentEntry, entrySubrouteContext, courseSlug, showTitle, showDescription, showSessions, sessionsLimit, showVenue, showPrice, showCapacity, showEnrollmentStatus, showMembershipNote, className, children, }: CourseDetailsProps): React.JSX.Element;
|
|
23
|
+
export declare function CourseDetailsSSR({ courses, contentEntry, entrySubrouteContext, subject, courseSlug, showTitle, showDescription, showSessions, sessionsLimit, showVenue, showPrice, showCapacity, showEnrollmentStatus, showMembershipNote, className, children, }: CourseDetailsProps): React.JSX.Element;
|
|
23
24
|
export default CourseDetailsSSR;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type EventPageSurfaceSubject, type EventPageSurfaceSubjectParseError } from '../../../../../core/src/index';
|
|
2
|
+
import type { PublicCourse } from '../../blocks/courses/shared/types';
|
|
3
|
+
export type CoursePageSurfaceScope = Readonly<{
|
|
4
|
+
kind: 'absent';
|
|
5
|
+
}> | Readonly<{
|
|
6
|
+
kind: 'scoped';
|
|
7
|
+
subject: EventPageSurfaceSubject;
|
|
8
|
+
courses: readonly PublicCourse[];
|
|
9
|
+
}> | Readonly<{
|
|
10
|
+
kind: 'unsupported';
|
|
11
|
+
reason: EventPageSurfaceSubjectParseError['kind'];
|
|
12
|
+
}>;
|
|
13
|
+
/**
|
|
14
|
+
* Resolves native course-page ownership without falling back to entry or slug
|
|
15
|
+
* coincidence when a page-surface subject is present but invalid.
|
|
16
|
+
*/
|
|
17
|
+
export declare function resolveCoursePageSurfaceScope(courses: readonly PublicCourse[], subjectValue: unknown): CoursePageSurfaceScope;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import type { PublicCourse } from '../../../blocks/courses/shared';
|
|
7
7
|
import type { OccurrenceContext } from '../../../blocks/event-registration.shared';
|
|
8
8
|
import type { ButtonVariant as SharedButtonVariant } from '../../shared';
|
|
9
|
+
import type { EventRegistrationPageSurfaceSubject } from '../event-registration/eventScope';
|
|
9
10
|
export type { FormData } from '../../shared';
|
|
10
11
|
export type ButtonVariant = SharedButtonVariant;
|
|
11
12
|
/**
|
|
@@ -56,6 +57,8 @@ export interface CourseRegistrationBaseProps {
|
|
|
56
57
|
contentEntry?: ContentEntryContext | null;
|
|
57
58
|
/** Entry subroute context (e.g., course run under a course program page) */
|
|
58
59
|
entrySubrouteContext?: EntrySubrouteContext | null;
|
|
60
|
+
/** Native page-surface subject for series/offering-owned course pages. */
|
|
61
|
+
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
59
62
|
/** List of available courses from data loader */
|
|
60
63
|
courses?: PublicCourse[] | null;
|
|
61
64
|
/** Display the list of course sessions */
|
|
@@ -2,6 +2,7 @@ import type { PublicCourse } from '../../blocks/courses/shared/types';
|
|
|
2
2
|
import type { OccurrenceContext } from '../../blocks/event-registration.shared';
|
|
3
3
|
import type { CourseRegistrationClientProps as InternalCourseRegistrationClientProps } from './course-registration/types';
|
|
4
4
|
import { type InteractiveIslandProps } from '../../../contracts/islands';
|
|
5
|
+
import { type EventRegistrationPageSurfaceSubject } from './event-registration/eventScope';
|
|
5
6
|
export type CourseRegistrationContentEntry = Readonly<{
|
|
6
7
|
id: string;
|
|
7
8
|
slug: string;
|
|
@@ -25,6 +26,7 @@ export type CourseRegistrationSourceProps = Readonly<{
|
|
|
25
26
|
portalToken?: string | null;
|
|
26
27
|
contentEntry?: CourseRegistrationContentEntry | null;
|
|
27
28
|
entrySubrouteContext?: CourseEntrySubrouteContext | null;
|
|
29
|
+
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
28
30
|
courses?: PublicCourse[] | null;
|
|
29
31
|
className?: string | null;
|
|
30
32
|
showSessions?: boolean;
|
|
@@ -65,6 +67,7 @@ export declare const courseRegistrationBlockRuntime: Readonly<{
|
|
|
65
67
|
contentTypeSlug: string;
|
|
66
68
|
}> | null;
|
|
67
69
|
entrySubrouteContext?: CourseEntrySubrouteContext | null;
|
|
70
|
+
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
68
71
|
courses?: PublicCourse[] | null;
|
|
69
72
|
className?: string | null;
|
|
70
73
|
showSessions?: boolean;
|
|
@@ -98,6 +101,7 @@ export declare const courseRegistrationBlockRuntime: Readonly<{
|
|
|
98
101
|
contentTypeSlug: string;
|
|
99
102
|
}> | null;
|
|
100
103
|
entrySubrouteContext?: CourseEntrySubrouteContext | null;
|
|
104
|
+
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
101
105
|
courses?: PublicCourse[] | null;
|
|
102
106
|
className?: string | null;
|
|
103
107
|
showSessions?: boolean;
|
|
@@ -121,6 +125,7 @@ export declare const courseRegistrationBlockRuntime: Readonly<{
|
|
|
121
125
|
contentTypeSlug: string;
|
|
122
126
|
}> | null;
|
|
123
127
|
entrySubrouteContext?: CourseEntrySubrouteContext | null;
|
|
128
|
+
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
124
129
|
courses?: PublicCourse[] | null;
|
|
125
130
|
className?: string | null;
|
|
126
131
|
showSessions?: boolean;
|
|
@@ -8,5 +8,5 @@ type CourseRegistrationServerProps = CourseRegistrationSourceProps & Readonly<{
|
|
|
8
8
|
* Server-safe placeholder for course registration.
|
|
9
9
|
* Provides a static container for island hydration without importing client hooks.
|
|
10
10
|
*/
|
|
11
|
-
export declare function CourseRegistrationSSR({ blockId, siteId, apiBaseUrl, portalToken, contentEntry, entrySubrouteContext, courses, className, showSessions, showPrice, showCapacity, showVenue, successMessage, waitlistMessage, membershipMessage, buttonText, buttonVariant, stage, children, }: CourseRegistrationServerProps): React.JSX.Element;
|
|
11
|
+
export declare function CourseRegistrationSSR({ blockId, siteId, apiBaseUrl, portalToken, contentEntry, entrySubrouteContext, subject, courses, className, showSessions, showPrice, showCapacity, showVenue, successMessage, waitlistMessage, membershipMessage, buttonText, buttonVariant, stage, children, }: CourseRegistrationServerProps): React.JSX.Element;
|
|
12
12
|
export default CourseRegistrationSSR;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type EventPageSurfaceSubject, type EventPageSurfaceSubjectParseError, type EventOfferingId, type EventSeriesId, type Result } from '../../../../../../core/src/index';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export type EventRegistrationContentEntryContext = Readonly<{
|
|
4
4
|
slug: string;
|
|
5
5
|
contentTypeSlug: string;
|
|
6
6
|
}>;
|
|
7
|
-
export declare const unsupportedEventRegistrationPageSurfaceSubjectReasons: readonly ["unsupportedSubject", "invalidEventSeriesId"];
|
|
7
|
+
export declare const unsupportedEventRegistrationPageSurfaceSubjectReasons: readonly ["unsupportedSubject", "invalidEventSeriesId", "invalidEventOfferingId"];
|
|
8
8
|
export type UnsupportedEventRegistrationPageSurfaceSubjectReason = (typeof unsupportedEventRegistrationPageSurfaceSubjectReasons)[number];
|
|
9
|
-
export type EventRegistrationPageSurfaceSubject = Readonly<{
|
|
10
|
-
kind: 'eventSeries';
|
|
11
|
-
eventSeriesId: EventSeriesId;
|
|
12
|
-
}> | Readonly<{
|
|
9
|
+
export type EventRegistrationPageSurfaceSubject = EventPageSurfaceSubject | Readonly<{
|
|
13
10
|
kind: 'unsupported';
|
|
14
11
|
reason: UnsupportedEventRegistrationPageSurfaceSubjectReason;
|
|
15
12
|
}>;
|
|
@@ -24,21 +21,17 @@ export type EventRegistrationScopeableEvent = Readonly<{
|
|
|
24
21
|
seriesId: string;
|
|
25
22
|
slug?: string | null;
|
|
26
23
|
}>;
|
|
27
|
-
export type EventRegistrationPageSurfaceSubjectParseError =
|
|
28
|
-
kind: 'notPageSurfaceSubject';
|
|
29
|
-
}> | Readonly<{
|
|
30
|
-
kind: 'unsupportedSubject';
|
|
31
|
-
subjectKind: unknown;
|
|
32
|
-
}> | Readonly<{
|
|
33
|
-
kind: 'invalidEventSeriesId';
|
|
34
|
-
error: BrandedIdParseError;
|
|
35
|
-
}>;
|
|
24
|
+
export type EventRegistrationPageSurfaceSubjectParseError = EventPageSurfaceSubjectParseError;
|
|
36
25
|
export type EventRegistrationScope = Readonly<{
|
|
37
26
|
kind: 'occurrenceSeries';
|
|
38
27
|
seriesId: string;
|
|
39
28
|
}> | Readonly<{
|
|
40
29
|
kind: 'pageSurfaceSeries';
|
|
41
30
|
seriesId: EventSeriesId;
|
|
31
|
+
}> | Readonly<{
|
|
32
|
+
kind: 'pageSurfaceOffering';
|
|
33
|
+
offeringId: EventOfferingId;
|
|
34
|
+
seriesIds: readonly EventSeriesId[];
|
|
42
35
|
}> | Readonly<{
|
|
43
36
|
kind: 'unsupportedPageSurfaceSubject';
|
|
44
37
|
reason: UnsupportedEventRegistrationPageSurfaceSubjectReason;
|
|
@@ -49,9 +42,7 @@ export type EventRegistrationScope = Readonly<{
|
|
|
49
42
|
kind: 'unscoped';
|
|
50
43
|
}>;
|
|
51
44
|
export declare const eventRegistrationPageSurfaceSubjectSchema: z.ZodType<EventRegistrationPageSurfaceSubject>;
|
|
52
|
-
export declare function parseEventRegistrationPageSurfaceSubject(value: unknown): Result<
|
|
53
|
-
kind: 'unsupported';
|
|
54
|
-
}>, EventRegistrationPageSurfaceSubjectParseError>;
|
|
45
|
+
export declare function parseEventRegistrationPageSurfaceSubject(value: unknown): Result<EventPageSurfaceSubject, EventRegistrationPageSurfaceSubjectParseError>;
|
|
55
46
|
export declare function normalizeEventRegistrationPageSurfaceSubject(value: unknown): EventRegistrationPageSurfaceSubject | null;
|
|
56
47
|
export declare function resolveEventRegistrationScope(context: EventRegistrationScopeContext): EventRegistrationScope;
|
|
57
48
|
export declare function applyEventRegistrationScope<TEvent extends EventRegistrationScopeableEvent>(events: readonly TEvent[], scope: EventRegistrationScope): TEvent[];
|
|
@@ -33,6 +33,10 @@ export type EventCalendarSourceProps = Readonly<{
|
|
|
33
33
|
filterVenueId?: string | null;
|
|
34
34
|
buttonVariant?: ButtonVariant;
|
|
35
35
|
buttonText?: string;
|
|
36
|
+
boardTitle?: string;
|
|
37
|
+
footerNote?: string;
|
|
38
|
+
elevated?: boolean | null;
|
|
39
|
+
banded?: boolean | null;
|
|
36
40
|
showVenue?: boolean | null;
|
|
37
41
|
showMap?: boolean | null;
|
|
38
42
|
showCapacity?: boolean | null;
|
|
@@ -64,6 +68,21 @@ export type EventCalendarDisplay = Readonly<{
|
|
|
64
68
|
filterVenueId: string | null;
|
|
65
69
|
buttonVariant: ButtonVariant;
|
|
66
70
|
buttonText: string;
|
|
71
|
+
/** Week-board: optional top-bar title. Empty/undefined hides the title. */
|
|
72
|
+
boardTitle?: string;
|
|
73
|
+
/** Week-board: optional footer note. Empty/undefined hides the note. */
|
|
74
|
+
footerNote?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Footer CTA destination (reuses the block's "See all destination" field).
|
|
77
|
+
* Undefined omits the CTA — no dead button is ever rendered.
|
|
78
|
+
*/
|
|
79
|
+
seeAllUrl?: string;
|
|
80
|
+
/** Footer CTA label (reuses the block's "CTA button text" field). */
|
|
81
|
+
loadMoreText?: string;
|
|
82
|
+
/** Week-board: raised drop shadow (Fulcrum opt-in). Generic default: flat. */
|
|
83
|
+
elevated: boolean;
|
|
84
|
+
/** Week-board: surrounding section band (Fulcrum opt-in). Default: bandless. */
|
|
85
|
+
banded: boolean;
|
|
67
86
|
showVenue: boolean;
|
|
68
87
|
showMap: boolean;
|
|
69
88
|
showCapacity: boolean;
|
|
@@ -123,6 +142,10 @@ export declare const eventCalendarBlockRuntime: Readonly<{
|
|
|
123
142
|
filterVenueId?: string | null;
|
|
124
143
|
buttonVariant?: ButtonVariant;
|
|
125
144
|
buttonText?: string;
|
|
145
|
+
boardTitle?: string;
|
|
146
|
+
footerNote?: string;
|
|
147
|
+
elevated?: boolean | null;
|
|
148
|
+
banded?: boolean | null;
|
|
126
149
|
showVenue?: boolean | null;
|
|
127
150
|
showMap?: boolean | null;
|
|
128
151
|
showCapacity?: boolean | null;
|
|
@@ -154,6 +177,21 @@ export declare const eventCalendarBlockRuntime: Readonly<{
|
|
|
154
177
|
filterVenueId: string | null;
|
|
155
178
|
buttonVariant: ButtonVariant;
|
|
156
179
|
buttonText: string;
|
|
180
|
+
/** Week-board: optional top-bar title. Empty/undefined hides the title. */
|
|
181
|
+
boardTitle?: string;
|
|
182
|
+
/** Week-board: optional footer note. Empty/undefined hides the note. */
|
|
183
|
+
footerNote?: string;
|
|
184
|
+
/**
|
|
185
|
+
* Footer CTA destination (reuses the block's "See all destination" field).
|
|
186
|
+
* Undefined omits the CTA — no dead button is ever rendered.
|
|
187
|
+
*/
|
|
188
|
+
seeAllUrl?: string;
|
|
189
|
+
/** Footer CTA label (reuses the block's "CTA button text" field). */
|
|
190
|
+
loadMoreText?: string;
|
|
191
|
+
/** Week-board: raised drop shadow (Fulcrum opt-in). Generic default: flat. */
|
|
192
|
+
elevated: boolean;
|
|
193
|
+
/** Week-board: surrounding section band (Fulcrum opt-in). Default: bandless. */
|
|
194
|
+
banded: boolean;
|
|
157
195
|
showVenue: boolean;
|
|
158
196
|
showMap: boolean;
|
|
159
197
|
showCapacity: boolean;
|
|
@@ -202,6 +240,10 @@ export declare const eventCalendarBlockRuntime: Readonly<{
|
|
|
202
240
|
filterVenueId?: string | null;
|
|
203
241
|
buttonVariant?: ButtonVariant;
|
|
204
242
|
buttonText?: string;
|
|
243
|
+
boardTitle?: string;
|
|
244
|
+
footerNote?: string;
|
|
245
|
+
elevated?: boolean | null;
|
|
246
|
+
banded?: boolean | null;
|
|
205
247
|
showVenue?: boolean | null;
|
|
206
248
|
showMap?: boolean | null;
|
|
207
249
|
showCapacity?: boolean | null;
|
|
@@ -239,6 +281,10 @@ export declare const eventCalendarBlockRuntime: Readonly<{
|
|
|
239
281
|
filterVenueId?: string | null;
|
|
240
282
|
buttonVariant?: ButtonVariant;
|
|
241
283
|
buttonText?: string;
|
|
284
|
+
boardTitle?: string;
|
|
285
|
+
footerNote?: string;
|
|
286
|
+
elevated?: boolean | null;
|
|
287
|
+
banded?: boolean | null;
|
|
242
288
|
showVenue?: boolean | null;
|
|
243
289
|
showMap?: boolean | null;
|
|
244
290
|
showCapacity?: boolean | null;
|
|
@@ -273,6 +319,21 @@ export declare const eventCalendarBlockRuntime: Readonly<{
|
|
|
273
319
|
filterVenueId: string | null;
|
|
274
320
|
buttonVariant: ButtonVariant;
|
|
275
321
|
buttonText: string;
|
|
322
|
+
/** Week-board: optional top-bar title. Empty/undefined hides the title. */
|
|
323
|
+
boardTitle?: string;
|
|
324
|
+
/** Week-board: optional footer note. Empty/undefined hides the note. */
|
|
325
|
+
footerNote?: string;
|
|
326
|
+
/**
|
|
327
|
+
* Footer CTA destination (reuses the block's "See all destination" field).
|
|
328
|
+
* Undefined omits the CTA — no dead button is ever rendered.
|
|
329
|
+
*/
|
|
330
|
+
seeAllUrl?: string;
|
|
331
|
+
/** Footer CTA label (reuses the block's "CTA button text" field). */
|
|
332
|
+
loadMoreText?: string;
|
|
333
|
+
/** Week-board: raised drop shadow (Fulcrum opt-in). Generic default: flat. */
|
|
334
|
+
elevated: boolean;
|
|
335
|
+
/** Week-board: surrounding section band (Fulcrum opt-in). Default: bandless. */
|
|
336
|
+
banded: boolean;
|
|
276
337
|
showVenue: boolean;
|
|
277
338
|
showMap: boolean;
|
|
278
339
|
showCapacity: boolean;
|
|
@@ -314,6 +375,21 @@ export declare const eventCalendarBlockRuntime: Readonly<{
|
|
|
314
375
|
filterVenueId: string | null;
|
|
315
376
|
buttonVariant: ButtonVariant;
|
|
316
377
|
buttonText: string;
|
|
378
|
+
/** Week-board: optional top-bar title. Empty/undefined hides the title. */
|
|
379
|
+
boardTitle?: string;
|
|
380
|
+
/** Week-board: optional footer note. Empty/undefined hides the note. */
|
|
381
|
+
footerNote?: string;
|
|
382
|
+
/**
|
|
383
|
+
* Footer CTA destination (reuses the block's "See all destination" field).
|
|
384
|
+
* Undefined omits the CTA — no dead button is ever rendered.
|
|
385
|
+
*/
|
|
386
|
+
seeAllUrl?: string;
|
|
387
|
+
/** Footer CTA label (reuses the block's "CTA button text" field). */
|
|
388
|
+
loadMoreText?: string;
|
|
389
|
+
/** Week-board: raised drop shadow (Fulcrum opt-in). Generic default: flat. */
|
|
390
|
+
elevated: boolean;
|
|
391
|
+
/** Week-board: surrounding section band (Fulcrum opt-in). Default: bandless. */
|
|
392
|
+
banded: boolean;
|
|
317
393
|
showVenue: boolean;
|
|
318
394
|
showMap: boolean;
|
|
319
395
|
showCapacity: boolean;
|
|
@@ -367,6 +443,21 @@ export declare const eventCalendarInteractiveIslandPropsCodec: Readonly<{
|
|
|
367
443
|
filterVenueId: string | null;
|
|
368
444
|
buttonVariant: ButtonVariant;
|
|
369
445
|
buttonText: string;
|
|
446
|
+
/** Week-board: optional top-bar title. Empty/undefined hides the title. */
|
|
447
|
+
boardTitle?: string;
|
|
448
|
+
/** Week-board: optional footer note. Empty/undefined hides the note. */
|
|
449
|
+
footerNote?: string;
|
|
450
|
+
/**
|
|
451
|
+
* Footer CTA destination (reuses the block's "See all destination" field).
|
|
452
|
+
* Undefined omits the CTA — no dead button is ever rendered.
|
|
453
|
+
*/
|
|
454
|
+
seeAllUrl?: string;
|
|
455
|
+
/** Footer CTA label (reuses the block's "CTA button text" field). */
|
|
456
|
+
loadMoreText?: string;
|
|
457
|
+
/** Week-board: raised drop shadow (Fulcrum opt-in). Generic default: flat. */
|
|
458
|
+
elevated: boolean;
|
|
459
|
+
/** Week-board: surrounding section band (Fulcrum opt-in). Default: bandless. */
|
|
460
|
+
banded: boolean;
|
|
370
461
|
showVenue: boolean;
|
|
371
462
|
showMap: boolean;
|
|
372
463
|
showCapacity: boolean;
|
|
@@ -417,6 +508,21 @@ export declare const eventCalendarInteractiveIslandPropsCodec: Readonly<{
|
|
|
417
508
|
filterVenueId: string | null;
|
|
418
509
|
buttonVariant: ButtonVariant;
|
|
419
510
|
buttonText: string;
|
|
511
|
+
/** Week-board: optional top-bar title. Empty/undefined hides the title. */
|
|
512
|
+
boardTitle?: string;
|
|
513
|
+
/** Week-board: optional footer note. Empty/undefined hides the note. */
|
|
514
|
+
footerNote?: string;
|
|
515
|
+
/**
|
|
516
|
+
* Footer CTA destination (reuses the block's "See all destination" field).
|
|
517
|
+
* Undefined omits the CTA — no dead button is ever rendered.
|
|
518
|
+
*/
|
|
519
|
+
seeAllUrl?: string;
|
|
520
|
+
/** Footer CTA label (reuses the block's "CTA button text" field). */
|
|
521
|
+
loadMoreText?: string;
|
|
522
|
+
/** Week-board: raised drop shadow (Fulcrum opt-in). Generic default: flat. */
|
|
523
|
+
elevated: boolean;
|
|
524
|
+
/** Week-board: surrounding section band (Fulcrum opt-in). Default: bandless. */
|
|
525
|
+
banded: boolean;
|
|
420
526
|
showVenue: boolean;
|
|
421
527
|
showMap: boolean;
|
|
422
528
|
showCapacity: boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ButtonVariant } from '../../../blocks/events/shared/types';
|
|
3
|
+
import type { RecurringScheduleProjection } from '../../../blocks/events/recurring-schedule-projection';
|
|
4
|
+
export type RecurringScheduleProps = Readonly<{
|
|
5
|
+
schedule?: RecurringScheduleProjection | null;
|
|
6
|
+
buttonText?: string | null;
|
|
7
|
+
buttonVariant?: ButtonVariant | null;
|
|
8
|
+
showVenue?: boolean | null;
|
|
9
|
+
emptyMessage?: string | null;
|
|
10
|
+
}>;
|
|
11
|
+
export declare function RecurringSchedule({ schedule, buttonText, buttonVariant, showVenue, emptyMessage, }: RecurringScheduleProps): React.ReactElement;
|
|
@@ -6,15 +6,19 @@ type WeekBoardViewProps = {
|
|
|
6
6
|
events: PublicEvent[];
|
|
7
7
|
showCapacity: boolean;
|
|
8
8
|
emptyMessage?: string;
|
|
9
|
-
/**
|
|
9
|
+
/** Optional board title shown in the top bar. Hidden when empty. */
|
|
10
10
|
title?: string;
|
|
11
|
-
/**
|
|
11
|
+
/** Optional footer note shown alongside the CTA. Hidden when empty. */
|
|
12
12
|
footerNote?: string;
|
|
13
13
|
/** Footer CTA label. */
|
|
14
14
|
ctaLabel?: string;
|
|
15
|
-
/** Optional href for the footer CTA.
|
|
15
|
+
/** Optional href for the footer CTA. The CTA is omitted when absent. */
|
|
16
16
|
ctaHref?: string | null;
|
|
17
17
|
buttonVariant?: ButtonVariant;
|
|
18
|
+
/** Opt-in raised drop shadow. Generic default is flat. */
|
|
19
|
+
elevated?: boolean;
|
|
20
|
+
/** Opt-in section band. Generic default is bandless. */
|
|
21
|
+
banded?: boolean;
|
|
18
22
|
};
|
|
19
23
|
/**
|
|
20
24
|
* WeekBoardView
|
|
@@ -67,6 +67,9 @@ export type MediaUrlResolution = Readonly<{
|
|
|
67
67
|
}> | Readonly<{
|
|
68
68
|
kind: 'missing-site-context';
|
|
69
69
|
storagePath: string;
|
|
70
|
+
}> | Readonly<{
|
|
71
|
+
kind: 'invalid-storage-path';
|
|
72
|
+
storagePath: string;
|
|
70
73
|
}> | Readonly<{
|
|
71
74
|
kind: 'missing-supabase-url';
|
|
72
75
|
message: string;
|