@riverbankcms/sdk 0.153.0 → 0.155.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 +2 -0
- package/dist/{EventEmbeddedCheckoutStep-veN-QiAE.mjs → EventEmbeddedCheckoutStep-DALtAjqG.mjs} +1 -1
- package/dist/{PreviewEditorSidebar-jI_4DTZY.mjs → PreviewEditorSidebar-CbSbqmz3.mjs} +219 -38
- package/dist/{PreviewEditorUI-ORkVZhfu.mjs → PreviewEditorUI-CKKnAw11.mjs} +26 -58
- package/dist/{SdkPreviewModeRuntime-DaNqevI1.mjs → SdkPreviewModeRuntime-wLkXrWy9.mjs} +177 -84
- package/dist/{SiteChromeCustomizeContext-CgNuBHC0.mjs → SiteChromeCustomizeContext-BQ8vvKb-.mjs} +9824 -5829
- package/dist/{ThemedButton-X2UxhW6F.mjs → ThemedButton-Bi0rgijy.mjs} +482 -85
- package/dist/_dts/ai/src/contracts/proposals.d.ts +42873 -16847
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +5432 -1810
- package/dist/_dts/api/src/billing.d.ts +2 -0
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +78 -0
- package/dist/_dts/api/src/bookingAdjustments.d.ts +3 -2
- package/dist/_dts/api/src/bookingConfig.d.ts +4 -12
- package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +2 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +11 -2
- package/dist/_dts/api/src/bookingPeople.d.ts +20 -1
- package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +5 -106
- package/dist/_dts/api/src/bookings.d.ts +10 -4
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/common/envelope.d.ts +2 -2
- package/dist/_dts/api/src/contentRuntime.d.ts +5 -3
- package/dist/_dts/api/src/endpoints.d.ts +89 -44
- package/dist/_dts/api/src/eventManagementContracts.d.ts +20 -11
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/index.d.ts +9 -4
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/moneyPayments.d.ts +116 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +2 -0
- package/dist/_dts/api/src/privacyPolicy.d.ts +20 -2
- package/dist/_dts/api/src/public/types.d.ts +1 -0
- package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +1 -0
- package/dist/_dts/api/src/publicBookingService.d.ts +1 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -0
- package/dist/_dts/api/src/sdk-event-management.d.ts +1 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +24 -9
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
- package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +5 -3
- package/dist/_dts/api/src/sdkPullEventContracts.d.ts +15 -4
- package/dist/_dts/api/src/sdkThemeWire.d.ts +172 -103
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +18 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +17 -16
- package/dist/_dts/api/src/siteSettings.d.ts +1 -0
- package/dist/_dts/api/src/siteTerms.d.ts +100 -0
- package/dist/_dts/api/src/stripeConnectSetup.d.ts +90 -0
- package/dist/_dts/api/src/types.d.ts +13 -32
- package/dist/_dts/api/src/webhooks.d.ts +9 -9
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -4
- package/dist/_dts/block-form/src/client/index.d.ts +2 -1
- package/dist/_dts/block-form/src/widgets/DateField/DateField.d.ts +3 -1
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +3 -1
- package/dist/_dts/block-form/src/widgets/DateTimeField/DateTimeField.d.ts +3 -1
- package/dist/_dts/blocks/src/client/carousel.d.ts +1 -0
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +12 -33
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +30 -118
- package/dist/_dts/blocks/src/index.d.ts +2 -2
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +1 -0
- package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -1
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +1 -0
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -1
- package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +1 -0
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/fields.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +13 -9
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +10 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery/fields.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +6 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -45
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/catalogue.d.ts +7 -1
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +14 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/itemData.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +56 -6
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/photoCount.d.ts +3 -12
- package/dist/_dts/blocks/src/system/blocks/shared/siteTerms.d.ts +17 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-layout.d.ts +23 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-profile.d.ts +20 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +17 -16
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +119 -9
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +24 -24
- package/dist/_dts/blocks/src/system/manifest/validation.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/backgroundLayer.d.ts +6 -0
- package/dist/_dts/blocks/src/system/node/fragments/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +22 -3
- package/dist/_dts/blocks/src/system/node/fragments/responsiveTwoColumn.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/sectionHead.d.ts +15 -0
- package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +51 -198
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -99
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFlowController.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSubmission.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.state.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +22 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +6 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.client.d.ts +5 -30
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.server.d.ts +3 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +71 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +16 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/CalendarAction.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/bookingCalendar.d.ts +16 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/finishedBooking.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CardListItem.d.ts +26 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventItem.d.ts +17 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardListContent.d.ts +9 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +49 -21
- package/dist/_dts/blocks/src/system/runtime/nodes/form.fields.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +11 -79
- package/dist/_dts/blocks/src/system/runtime/nodes/form.parts.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/form.server.d.ts +2 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.interactive.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +8 -72
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.parts.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-catalogue.d.ts +5 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-content.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/CheckboxChoice.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/SiteTermsAgreementField.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/shared/siteTermsAgreement.d.ts +81 -0
- package/dist/_dts/blocks/src/system/runtime/shared/siteTermsCheckoutApi.d.ts +14 -0
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/footerArrangement.d.ts +6 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +0 -11
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +3 -10
- package/dist/_dts/blocks/src/system/types/link.d.ts +2 -0
- package/dist/_dts/calendar/src/icsRenderer.d.ts +23 -0
- package/dist/_dts/calendar/src/index.d.ts +2 -0
- package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +1 -0
- package/dist/_dts/commerce/src/purchase/types.d.ts +5 -0
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +5 -2
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +1 -1
- package/dist/_dts/content-editor/src/FooterNavigationLayoutControl.d.ts +6 -3
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +3 -1
- package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/publicationDate.d.ts +5 -0
- package/dist/_dts/content-editor/src/footerComposer.d.ts +2 -1
- package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +3 -1
- package/dist/_dts/content-editor/src/footerNavigationLayoutState.d.ts +56 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +2 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -4
- package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +11 -8
- package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +6 -5
- package/dist/_dts/content-model/src/content-types/schema.d.ts +4 -0
- package/dist/_dts/content-model/src/contentManifest.d.ts +10 -2
- package/dist/_dts/content-model/src/definitions/shared.d.ts +2 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +5 -0
- package/dist/_dts/core/src/booking-refunds.d.ts +43 -0
- package/dist/_dts/core/src/branded.d.ts +6 -0
- package/dist/_dts/core/src/date-display.d.ts +90 -0
- package/dist/_dts/core/src/date-time-formatter.d.ts +2 -0
- package/dist/_dts/core/src/footer-arrangement.d.ts +8 -1
- package/dist/_dts/core/src/footer-composition-types.d.ts +6 -1
- package/dist/_dts/core/src/footer-composition.d.ts +1 -1
- package/dist/_dts/core/src/footer-navigation-layout.d.ts +3 -0
- package/dist/_dts/core/src/index.d.ts +4 -1
- package/dist/_dts/core/src/mailing-list-setup.d.ts +3 -0
- package/dist/_dts/core/src/mailing-list-submission.d.ts +6 -1
- package/dist/_dts/core/src/public-profile.d.ts +3 -1
- package/dist/_dts/core/src/scheduled-date-time.d.ts +69 -0
- package/dist/_dts/core/src/site-terms.d.ts +94 -0
- package/dist/_dts/core/src/whole-series-run-schedule.d.ts +2 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +356 -9
- package/dist/_dts/db/src/schemas/forms.d.ts +32 -32
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +2 -2
- package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +3 -2
- package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/link/LinkContentList.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/link/draft.d.ts +6 -1
- package/dist/_dts/editor-blocks/src/widgets/link/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/blocks/ArrangementBlockToolbar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/arrangementControlsModel.d.ts +8 -1
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +3 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +27 -5
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/useConfirmedPreferenceRecord.d.ts +12 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedFooterPreferences.d.ts +26 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedHeaderPreferences.d.ts +40 -2
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -0
- package/dist/_dts/sdk/src/config/typed-entry-links.test-d.d.ts +1 -0
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -46
- package/dist/_dts/sdk/src/date-time/index.d.ts +2 -68
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -2
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +7 -4
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +3 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/lanternRecipes.d.ts +60 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +12 -8
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +69 -8
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +22 -1
- package/dist/_dts/theme-core/src/buttons/types.d.ts +358 -46
- package/dist/_dts/theme-core/src/buttons/typography.d.ts +24 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +8 -8
- package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +1 -1
- package/dist/_dts/theme-core/src/footer/generateFooterCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/footer/mode.d.ts +2 -11
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/containerSchema.d.ts +1 -0
- package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +3 -0
- package/dist/_dts/theme-core/src/inputs/checkable.d.ts +6 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +249 -147
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/schema.d.ts +321 -192
- package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +24 -7
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +4 -6
- package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +121 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +81 -1
- package/dist/_dts/theme-core/src/site-styles/footerLookDefaults.d.ts +45 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookRecipe.d.ts +50 -0
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +9 -35
- package/dist/_dts/theme-core/src/site-styles/footerPreferences.d.ts +29 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/headerStyleRecipe.d.ts +13 -1
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +5 -0
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +46 -0
- package/dist/_dts/theme-core/src/site-styles/themeParity.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +2 -0
- package/dist/_dts/theme-core/src/typography/schema.d.ts +9 -0
- package/dist/_dts/ui/src/calendar.d.ts +6 -1
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/_dts/ui/src/index.d.ts +1 -1
- package/dist/client/{BookingMailingListNote-DrchYW1m.mjs → BookingMailingListNote-CiW1dsz7.mjs} +3 -3
- package/dist/client/{CardListItem-CC_GVmF6.mjs → CardListItem-DVYTlYpS.mjs} +70 -13
- package/dist/client/CheckboxChoice-CUnPrBlC.mjs +44 -0
- package/dist/client/DemoBookingPortalAccess-DEsn5F2C.mjs +770 -0
- package/dist/client/{EventCombined.client-DyN0v0Xk.mjs → EventCombined.client-BdctbwnV.mjs} +5 -5
- package/dist/client/{EventEmbeddedCheckoutStep-CgfpKc3n.mjs → EventEmbeddedCheckoutStep-DAhQs6Jb.mjs} +2 -5
- package/dist/client/{EventListing.client-CuOuvYMz.mjs → EventListing.client-BviZXfAE.mjs} +2 -2
- package/dist/client/{mailingListSignupCopy-DZSHZrm6.mjs → FieldValidationMessage-AYanWFb-.mjs} +1 -14
- package/dist/client/{LeafletStaticMap-B0WhRr3j.mjs → LeafletStaticMap-BLTECfjU.mjs} +1 -1
- package/dist/client/{RichText-C1fIXBzA.mjs → RichText-D3oE1_pw.mjs} +77 -44
- package/dist/client/ThemedButton-Ckj0Rfr_.mjs +1256 -0
- package/dist/client/{accordion-DCDVWSye.mjs → accordion-yBx6d4O2.mjs} +1 -1
- package/dist/client/{bookingForm-BJ3C4GlM.mjs → bookingForm-CPDEsQci.mjs} +64 -35
- package/dist/client/bookings.mjs +19252 -15228
- package/dist/client/carousel-DCqjwd2s.mjs +71 -0
- package/dist/client/{carousel.client-GEtOGsxo.mjs → carousel.client-Bx7XMF8-.mjs} +114 -39
- package/dist/client/{cart-Yv-aAtck.mjs → cart-DWJXrQxs.mjs} +3 -3
- package/dist/client/{checkout-B9xDkl30.mjs → checkout-CH4ypSLS.mjs} +3 -3
- package/dist/client/client.mjs +13559 -7353
- package/dist/client/{context-BOGe3rIA.mjs → context-BOs0m_iw.mjs} +16 -12
- package/dist/client/{eventCalendar-D6M0T9hs.mjs → eventCalendar-CRylMllc.mjs} +8 -319
- package/dist/client/{eventCombined-NM4UFBq8.mjs → eventCombined-DohTS3kp.mjs} +4 -4
- package/dist/client/{eventDetails-f_FhV4O8.mjs → eventDetails-qf-u9zcF.mjs} +108 -36
- package/dist/client/{eventListing-WLkfAROh.mjs → eventListing-Cg__X2vy.mjs} +4 -4
- package/dist/client/{eventRegistration-D3ejfLvW.mjs → eventRegistration-CybWxswy.mjs} +215 -237
- package/dist/client/{form-D5Or2Jyu.mjs → form-C-SGk6nq.mjs} +115 -51
- package/dist/client/{headerSection-hWgnv27V.mjs → headerSection-BdzPaHqo.mjs} +3 -3
- package/dist/client/hooks.mjs +3280 -1362
- package/dist/client/{locationMap-Di1K0O2S.mjs → locationMap-CEwIKmMb.mjs} +3 -3
- package/dist/client/mailingListSignupCopy-DS-_ePzG.mjs +14 -0
- package/dist/client/{media-D29-F1u_.mjs → media-V_ShXXru.mjs} +3 -3
- package/dist/client/{mediaContext-CwbbimYB.mjs → mediaContext-D-0tNVxE.mjs} +1 -1
- package/dist/client/{newsletterForm-CwxcwTNO.mjs → newsletterForm-CmwTltoS.mjs} +52 -15
- package/dist/client/{productDetail-BLSnhPdA.mjs → productDetail-DjIzUwg3.mjs} +3 -3
- package/dist/client/{productList-oGytONOX.mjs → productList-D6JGFnMF.mjs} +3 -3
- package/dist/client/{propsDecoder-lf_dTeZS.mjs → propsDecoder-BRKz13eg.mjs} +17944 -14861
- package/dist/client/{renderableMediaAssetAdmission-CHkXYDC_.mjs → renderableMediaAssetAdmission-Cd3JSw2H.mjs} +3 -1
- package/dist/client/rendering/client.mjs +15893 -11685
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +14451 -8139
- package/dist/client/{routeIslandApiConfig-Bc_WVPS8.mjs → routeIslandApiConfig-slAAILQ5.mjs} +1 -1
- package/dist/client/{shop-BQ3bR7fA.mjs → shop-C45K96_0.mjs} +178 -157
- package/dist/client/{shop-commerce-DDPll6ZC.mjs → shop-commerce-oGBiKT5d.mjs} +23 -10
- package/dist/client/{shop-commerce-store-DO-e1pTe.mjs → shop-commerce-store-H_HFPFZ8.mjs} +1 -1
- package/dist/client/{shopShared-BylM9jh1.mjs → shopShared-D54T_LAV.mjs} +5 -5
- package/dist/client/{useDiscountCodeUi-B1Puub2v.mjs → useDiscountCodeUi-Dm2EUa03.mjs} +1 -1
- package/dist/client/{useEventPagination-BBhkmQaT.mjs → useEventPagination-0l_A8CxG.mjs} +62 -24
- package/dist/preview-next/before-render.mjs +134 -51
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/editor-chrome.css +5 -2
- package/dist/preview-next/keepAlive.mjs +134 -51
- package/dist/preview-next/middleware.mjs +134 -51
- package/dist/{sdk-runtime-DWCvhJGu.mjs → sdk-runtime-CjTM32Ah.mjs} +1 -1
- package/dist/server/components.mjs +15231 -10855
- package/dist/server/config-validation.mjs +3153 -1323
- package/dist/server/config.mjs +3119 -1321
- package/dist/server/data.mjs +3201 -1329
- package/dist/server/date-time.mjs +270 -117
- package/dist/server/index.mjs +137 -52
- package/dist/server/next.mjs +14713 -10388
- package/dist/server/page-converter.mjs +2642 -1073
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +14674 -10630
- package/dist/server/rendering.mjs +15055 -10670
- package/dist/server/routing.mjs +3483 -1488
- package/dist/server/server.mjs +3620 -1740
- package/dist/server/theme-bridge.mjs +2694 -189
- package/dist/server/theme.mjs +422 -67
- package/dist/{spinner-BYM-Y81w.mjs → spinner-KVVZh8jd.mjs} +1 -1
- package/dist/src-BgmWy3P1.mjs +1667 -0
- package/dist/styles/index.css +1196 -2
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +0 -12
- package/dist/client/CheckboxChoice-Dq30m3DO.mjs +0 -24
- package/dist/client/DemoBookingPortalAccess-ojwbVUmx.mjs +0 -344
- package/dist/client/ThemedButton-B7HFqFBg.mjs +0 -411
- package/dist/client/carousel-BSCBhfHY.mjs +0 -38
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import type { PublicEvent } from '../../../../blocks/events/shared/types';
|
|
2
2
|
import type { CardListItemContent } from './CardListItem';
|
|
3
|
+
export type EventCardProjection = Readonly<{
|
|
4
|
+
kind: 'event-details';
|
|
5
|
+
}> | Readonly<{
|
|
6
|
+
kind: 'offering';
|
|
7
|
+
now: Date;
|
|
8
|
+
nextStartMs: number | null;
|
|
9
|
+
typeLabel?: string;
|
|
10
|
+
}>;
|
|
3
11
|
/** Live offering data only; editorial cards never acquire booking fields. */
|
|
4
|
-
export declare function eventCardListContent(event: PublicEvent, buttonText?: string): CardListItemContent;
|
|
12
|
+
export declare function eventCardListContent(event: PublicEvent, context: EventCardProjection, buttonText?: string): CardListItemContent;
|
package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts
CHANGED
|
@@ -90,8 +90,8 @@ export declare const eventCollectionFilterSourceSchemaShape: {
|
|
|
90
90
|
readonly showFilters: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
91
91
|
readonly showCategoryFilter: z.ZodOptional<z.ZodEnum<{
|
|
92
92
|
auto: "auto";
|
|
93
|
-
never: "never";
|
|
94
93
|
always: "always";
|
|
94
|
+
never: "never";
|
|
95
95
|
}>>;
|
|
96
96
|
readonly showVenueFilter: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
97
97
|
readonly showStaffFilter: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -136,8 +136,8 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
136
136
|
readonly showFilters: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
137
137
|
readonly showCategoryFilter: z.ZodOptional<z.ZodEnum<{
|
|
138
138
|
auto: "auto";
|
|
139
|
-
never: "never";
|
|
140
139
|
always: "always";
|
|
140
|
+
never: "never";
|
|
141
141
|
}>>;
|
|
142
142
|
readonly showVenueFilter: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
143
143
|
readonly showStaffFilter: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -160,8 +160,8 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
160
160
|
readonly calendarWindow: z.ZodOptional<z.ZodNullable<z.ZodType<CalendarWindowPage, unknown, z.core.$ZodTypeInternals<CalendarWindowPage, unknown>>>>;
|
|
161
161
|
readonly events: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
162
162
|
eventPreset: z.ZodOptional<z.ZodEnum<{
|
|
163
|
-
course: "course";
|
|
164
163
|
event: "event";
|
|
164
|
+
course: "course";
|
|
165
165
|
class: "class";
|
|
166
166
|
term: "term";
|
|
167
167
|
workshop: "workshop";
|
|
@@ -467,8 +467,8 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
467
467
|
cancellationPolicy: z.ZodObject<{
|
|
468
468
|
refunds: z.ZodObject<{
|
|
469
469
|
mode: z.ZodEnum<{
|
|
470
|
-
never: "never";
|
|
471
470
|
always: "always";
|
|
471
|
+
never: "never";
|
|
472
472
|
cutoff: "cutoff";
|
|
473
473
|
}>;
|
|
474
474
|
cutoffHours: z.ZodNumber;
|
|
@@ -478,6 +478,7 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
478
478
|
}>;
|
|
479
479
|
}, z.core.$strip>;
|
|
480
480
|
}, z.core.$strip>;
|
|
481
|
+
asksSiteTerms: z.ZodBoolean;
|
|
481
482
|
consent: z.ZodNullable<z.ZodType<Readonly<{
|
|
482
483
|
requirementId: string;
|
|
483
484
|
title: string;
|
|
@@ -501,8 +502,8 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
501
502
|
run: z.ZodOptional<z.ZodUndefined>;
|
|
502
503
|
}, z.core.$strip>, z.ZodObject<{
|
|
503
504
|
eventPreset: z.ZodOptional<z.ZodEnum<{
|
|
504
|
-
course: "course";
|
|
505
505
|
event: "event";
|
|
506
|
+
course: "course";
|
|
506
507
|
class: "class";
|
|
507
508
|
term: "term";
|
|
508
509
|
workshop: "workshop";
|
|
@@ -808,8 +809,8 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
808
809
|
cancellationPolicy: z.ZodObject<{
|
|
809
810
|
refunds: z.ZodObject<{
|
|
810
811
|
mode: z.ZodEnum<{
|
|
811
|
-
never: "never";
|
|
812
812
|
always: "always";
|
|
813
|
+
never: "never";
|
|
813
814
|
cutoff: "cutoff";
|
|
814
815
|
}>;
|
|
815
816
|
cutoffHours: z.ZodNumber;
|
|
@@ -819,6 +820,7 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
819
820
|
}>;
|
|
820
821
|
}, z.core.$strip>;
|
|
821
822
|
}, z.core.$strip>;
|
|
823
|
+
asksSiteTerms: z.ZodBoolean;
|
|
822
824
|
consent: z.ZodNullable<z.ZodType<Readonly<{
|
|
823
825
|
requirementId: string;
|
|
824
826
|
title: string;
|
|
@@ -870,8 +872,8 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
870
872
|
preview: "preview";
|
|
871
873
|
}>>;
|
|
872
874
|
readonly listLayout: z.ZodOptional<z.ZodEnum<{
|
|
873
|
-
stack: "stack";
|
|
874
875
|
compact: "compact";
|
|
876
|
+
stack: "stack";
|
|
875
877
|
grid: "grid";
|
|
876
878
|
}>>;
|
|
877
879
|
readonly listColumns: z.ZodOptional<z.ZodEnum<{
|
|
@@ -950,25 +952,30 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
950
952
|
time: "time";
|
|
951
953
|
layout: "layout";
|
|
952
954
|
group: "group";
|
|
955
|
+
contact: "contact";
|
|
953
956
|
stack: "stack";
|
|
954
957
|
inline: "inline";
|
|
955
958
|
heading: "heading";
|
|
956
959
|
intro: "intro";
|
|
957
960
|
section: "section";
|
|
958
961
|
navigation: "navigation";
|
|
962
|
+
head: "head";
|
|
963
|
+
social: "social";
|
|
964
|
+
panel: "panel";
|
|
965
|
+
base: "base";
|
|
959
966
|
row: "row";
|
|
960
967
|
media: "media";
|
|
961
968
|
caption: "caption";
|
|
962
969
|
items: "items";
|
|
963
970
|
item: "item";
|
|
964
971
|
places: "places";
|
|
972
|
+
background: "background";
|
|
965
973
|
eyebrow: "eyebrow";
|
|
966
974
|
mark: "mark";
|
|
967
975
|
controls: "controls";
|
|
968
976
|
icon: "icon";
|
|
969
977
|
copy: "copy";
|
|
970
978
|
grid: "grid";
|
|
971
|
-
panel: "panel";
|
|
972
979
|
facts: "facts";
|
|
973
980
|
chips: "chips";
|
|
974
981
|
numeral: "numeral";
|
|
@@ -980,7 +987,8 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
980
987
|
sticker: "sticker";
|
|
981
988
|
list: "list";
|
|
982
989
|
frame: "frame";
|
|
983
|
-
|
|
990
|
+
"schedule-section": "schedule-section";
|
|
991
|
+
"shop-section": "shop-section";
|
|
984
992
|
headline: "headline";
|
|
985
993
|
lede: "lede";
|
|
986
994
|
actions: "actions";
|
|
@@ -1025,25 +1033,30 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
1025
1033
|
time: "time";
|
|
1026
1034
|
layout: "layout";
|
|
1027
1035
|
group: "group";
|
|
1036
|
+
contact: "contact";
|
|
1028
1037
|
stack: "stack";
|
|
1029
1038
|
inline: "inline";
|
|
1030
1039
|
heading: "heading";
|
|
1031
1040
|
intro: "intro";
|
|
1032
1041
|
section: "section";
|
|
1033
1042
|
navigation: "navigation";
|
|
1043
|
+
head: "head";
|
|
1044
|
+
social: "social";
|
|
1045
|
+
panel: "panel";
|
|
1046
|
+
base: "base";
|
|
1034
1047
|
row: "row";
|
|
1035
1048
|
media: "media";
|
|
1036
1049
|
caption: "caption";
|
|
1037
1050
|
items: "items";
|
|
1038
1051
|
item: "item";
|
|
1039
1052
|
places: "places";
|
|
1053
|
+
background: "background";
|
|
1040
1054
|
eyebrow: "eyebrow";
|
|
1041
1055
|
mark: "mark";
|
|
1042
1056
|
controls: "controls";
|
|
1043
1057
|
icon: "icon";
|
|
1044
1058
|
copy: "copy";
|
|
1045
1059
|
grid: "grid";
|
|
1046
|
-
panel: "panel";
|
|
1047
1060
|
facts: "facts";
|
|
1048
1061
|
chips: "chips";
|
|
1049
1062
|
numeral: "numeral";
|
|
@@ -1055,7 +1068,8 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
1055
1068
|
sticker: "sticker";
|
|
1056
1069
|
list: "list";
|
|
1057
1070
|
frame: "frame";
|
|
1058
|
-
|
|
1071
|
+
"schedule-section": "schedule-section";
|
|
1072
|
+
"shop-section": "shop-section";
|
|
1059
1073
|
headline: "headline";
|
|
1060
1074
|
lede: "lede";
|
|
1061
1075
|
actions: "actions";
|
|
@@ -1097,8 +1111,8 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
1097
1111
|
export declare const eventCollectionDisplaySchemaShape: {
|
|
1098
1112
|
readonly events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1099
1113
|
eventPreset: z.ZodOptional<z.ZodEnum<{
|
|
1100
|
-
course: "course";
|
|
1101
1114
|
event: "event";
|
|
1115
|
+
course: "course";
|
|
1102
1116
|
class: "class";
|
|
1103
1117
|
term: "term";
|
|
1104
1118
|
workshop: "workshop";
|
|
@@ -1404,8 +1418,8 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
1404
1418
|
cancellationPolicy: z.ZodObject<{
|
|
1405
1419
|
refunds: z.ZodObject<{
|
|
1406
1420
|
mode: z.ZodEnum<{
|
|
1407
|
-
never: "never";
|
|
1408
1421
|
always: "always";
|
|
1422
|
+
never: "never";
|
|
1409
1423
|
cutoff: "cutoff";
|
|
1410
1424
|
}>;
|
|
1411
1425
|
cutoffHours: z.ZodNumber;
|
|
@@ -1415,6 +1429,7 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
1415
1429
|
}>;
|
|
1416
1430
|
}, z.core.$strip>;
|
|
1417
1431
|
}, z.core.$strip>;
|
|
1432
|
+
asksSiteTerms: z.ZodBoolean;
|
|
1418
1433
|
consent: z.ZodNullable<z.ZodType<Readonly<{
|
|
1419
1434
|
requirementId: string;
|
|
1420
1435
|
title: string;
|
|
@@ -1438,8 +1453,8 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
1438
1453
|
run: z.ZodOptional<z.ZodUndefined>;
|
|
1439
1454
|
}, z.core.$strip>, z.ZodObject<{
|
|
1440
1455
|
eventPreset: z.ZodOptional<z.ZodEnum<{
|
|
1441
|
-
course: "course";
|
|
1442
1456
|
event: "event";
|
|
1457
|
+
course: "course";
|
|
1443
1458
|
class: "class";
|
|
1444
1459
|
term: "term";
|
|
1445
1460
|
workshop: "workshop";
|
|
@@ -1745,8 +1760,8 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
1745
1760
|
cancellationPolicy: z.ZodObject<{
|
|
1746
1761
|
refunds: z.ZodObject<{
|
|
1747
1762
|
mode: z.ZodEnum<{
|
|
1748
|
-
never: "never";
|
|
1749
1763
|
always: "always";
|
|
1764
|
+
never: "never";
|
|
1750
1765
|
cutoff: "cutoff";
|
|
1751
1766
|
}>;
|
|
1752
1767
|
cutoffHours: z.ZodNumber;
|
|
@@ -1756,6 +1771,7 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
1756
1771
|
}>;
|
|
1757
1772
|
}, z.core.$strip>;
|
|
1758
1773
|
}, z.core.$strip>;
|
|
1774
|
+
asksSiteTerms: z.ZodBoolean;
|
|
1759
1775
|
consent: z.ZodNullable<z.ZodType<Readonly<{
|
|
1760
1776
|
requirementId: string;
|
|
1761
1777
|
title: string;
|
|
@@ -1800,8 +1816,8 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
1800
1816
|
}, z.core.$strip>;
|
|
1801
1817
|
}, z.core.$strip>]>>;
|
|
1802
1818
|
readonly listLayout: z.ZodEnum<{
|
|
1803
|
-
stack: "stack";
|
|
1804
1819
|
compact: "compact";
|
|
1820
|
+
stack: "stack";
|
|
1805
1821
|
grid: "grid";
|
|
1806
1822
|
ledger: "ledger";
|
|
1807
1823
|
"day-groups": "day-groups";
|
|
@@ -1829,8 +1845,8 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
1829
1845
|
readonly showFilters: z.ZodBoolean;
|
|
1830
1846
|
readonly showCategoryFilter: z.ZodEnum<{
|
|
1831
1847
|
auto: "auto";
|
|
1832
|
-
never: "never";
|
|
1833
1848
|
always: "always";
|
|
1849
|
+
never: "never";
|
|
1834
1850
|
}>;
|
|
1835
1851
|
readonly showVenueFilter: z.ZodBoolean;
|
|
1836
1852
|
readonly showStaffFilter: z.ZodBoolean;
|
|
@@ -1919,25 +1935,30 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
1919
1935
|
time: "time";
|
|
1920
1936
|
layout: "layout";
|
|
1921
1937
|
group: "group";
|
|
1938
|
+
contact: "contact";
|
|
1922
1939
|
stack: "stack";
|
|
1923
1940
|
inline: "inline";
|
|
1924
1941
|
heading: "heading";
|
|
1925
1942
|
intro: "intro";
|
|
1926
1943
|
section: "section";
|
|
1927
1944
|
navigation: "navigation";
|
|
1945
|
+
head: "head";
|
|
1946
|
+
social: "social";
|
|
1947
|
+
panel: "panel";
|
|
1948
|
+
base: "base";
|
|
1928
1949
|
row: "row";
|
|
1929
1950
|
media: "media";
|
|
1930
1951
|
caption: "caption";
|
|
1931
1952
|
items: "items";
|
|
1932
1953
|
item: "item";
|
|
1933
1954
|
places: "places";
|
|
1955
|
+
background: "background";
|
|
1934
1956
|
eyebrow: "eyebrow";
|
|
1935
1957
|
mark: "mark";
|
|
1936
1958
|
controls: "controls";
|
|
1937
1959
|
icon: "icon";
|
|
1938
1960
|
copy: "copy";
|
|
1939
1961
|
grid: "grid";
|
|
1940
|
-
panel: "panel";
|
|
1941
1962
|
facts: "facts";
|
|
1942
1963
|
chips: "chips";
|
|
1943
1964
|
numeral: "numeral";
|
|
@@ -1949,7 +1970,8 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
1949
1970
|
sticker: "sticker";
|
|
1950
1971
|
list: "list";
|
|
1951
1972
|
frame: "frame";
|
|
1952
|
-
|
|
1973
|
+
"schedule-section": "schedule-section";
|
|
1974
|
+
"shop-section": "shop-section";
|
|
1953
1975
|
headline: "headline";
|
|
1954
1976
|
lede: "lede";
|
|
1955
1977
|
actions: "actions";
|
|
@@ -1994,25 +2016,30 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
1994
2016
|
time: "time";
|
|
1995
2017
|
layout: "layout";
|
|
1996
2018
|
group: "group";
|
|
2019
|
+
contact: "contact";
|
|
1997
2020
|
stack: "stack";
|
|
1998
2021
|
inline: "inline";
|
|
1999
2022
|
heading: "heading";
|
|
2000
2023
|
intro: "intro";
|
|
2001
2024
|
section: "section";
|
|
2002
2025
|
navigation: "navigation";
|
|
2026
|
+
head: "head";
|
|
2027
|
+
social: "social";
|
|
2028
|
+
panel: "panel";
|
|
2029
|
+
base: "base";
|
|
2003
2030
|
row: "row";
|
|
2004
2031
|
media: "media";
|
|
2005
2032
|
caption: "caption";
|
|
2006
2033
|
items: "items";
|
|
2007
2034
|
item: "item";
|
|
2008
2035
|
places: "places";
|
|
2036
|
+
background: "background";
|
|
2009
2037
|
eyebrow: "eyebrow";
|
|
2010
2038
|
mark: "mark";
|
|
2011
2039
|
controls: "controls";
|
|
2012
2040
|
icon: "icon";
|
|
2013
2041
|
copy: "copy";
|
|
2014
2042
|
grid: "grid";
|
|
2015
|
-
panel: "panel";
|
|
2016
2043
|
facts: "facts";
|
|
2017
2044
|
chips: "chips";
|
|
2018
2045
|
numeral: "numeral";
|
|
@@ -2024,7 +2051,8 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
2024
2051
|
sticker: "sticker";
|
|
2025
2052
|
list: "list";
|
|
2026
2053
|
frame: "frame";
|
|
2027
|
-
|
|
2054
|
+
"schedule-section": "schedule-section";
|
|
2055
|
+
"shop-section": "shop-section";
|
|
2028
2056
|
headline: "headline";
|
|
2029
2057
|
lede: "lede";
|
|
2030
2058
|
actions: "actions";
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { type LookListPresentation } from '../lookSurfaces';
|
|
3
|
+
type FieldPresentation = Pick<LookListPresentation, 'lookSlots'>;
|
|
2
4
|
import type { FormFieldDef } from './form.types';
|
|
3
|
-
export declare function FormFieldControl({ field }: Readonly<{
|
|
5
|
+
export declare function FormFieldControl({ field, lookSlots }: Readonly<{
|
|
4
6
|
field: FormFieldDef;
|
|
5
|
-
}>): React.ReactElement;
|
|
7
|
+
}> & FieldPresentation): React.ReactElement;
|
|
8
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { type LookListPresentation } from '../lookSurfaces';
|
|
1
2
|
import { type InteractiveIslandProps } from '../../../contracts/islands';
|
|
2
3
|
import { type FormFieldGroup } from './form-layout';
|
|
3
4
|
import type { FormRecord } from './form.types';
|
|
4
|
-
export type FormSourceProps = Readonly<{
|
|
5
|
+
export type FormSourceProps = Pick<LookListPresentation, 'lookSlots'> & Readonly<{
|
|
5
6
|
value?: FormRecord;
|
|
6
7
|
siteId?: string;
|
|
7
8
|
apiBaseUrl?: string;
|
|
@@ -10,7 +11,7 @@ export type FormSourceProps = Readonly<{
|
|
|
10
11
|
className?: string;
|
|
11
12
|
spamProtectionEnabled?: boolean;
|
|
12
13
|
}>;
|
|
13
|
-
export type FormDisplay = Readonly<{
|
|
14
|
+
export type FormDisplay = Pick<LookListPresentation, 'lookSlots'> & Readonly<{
|
|
14
15
|
kind: 'form';
|
|
15
16
|
state: 'missing' | 'ready';
|
|
16
17
|
className: string | null;
|
|
@@ -31,77 +32,26 @@ export declare function buildFormDisplay(source: FormSourceProps): FormDisplay;
|
|
|
31
32
|
export type FormInteractiveIslandProps = InteractiveIslandProps<FormIslandMeta, 'form', typeof formBlockRuntime>;
|
|
32
33
|
export declare const formBlockRuntime: Readonly<{
|
|
33
34
|
kind: "progressive";
|
|
34
|
-
buildRender: (source: Readonly<{
|
|
35
|
-
|
|
36
|
-
siteId?: string;
|
|
37
|
-
apiBaseUrl?: string;
|
|
38
|
-
submitLabel?: string;
|
|
39
|
-
successMessage?: string | null;
|
|
40
|
-
className?: string;
|
|
41
|
-
spamProtectionEnabled?: boolean;
|
|
42
|
-
}>) => Readonly<{
|
|
43
|
-
display: Readonly<{
|
|
44
|
-
kind: "form";
|
|
45
|
-
state: "missing" | "ready";
|
|
46
|
-
className: string | null;
|
|
47
|
-
formId: string | null;
|
|
48
|
-
submitLabel: string;
|
|
49
|
-
successMessage: string | null;
|
|
50
|
-
form: FormRecord | null;
|
|
51
|
-
groups: readonly FormFieldGroup[];
|
|
52
|
-
}>;
|
|
35
|
+
buildRender: (source: FormSourceProps) => Readonly<{
|
|
36
|
+
display: FormDisplay;
|
|
53
37
|
hydration: Readonly<{
|
|
54
38
|
spamProtectionEnabled?: boolean;
|
|
55
39
|
}>;
|
|
56
40
|
}>;
|
|
57
41
|
contracts: Readonly<{
|
|
58
42
|
source: Readonly<{
|
|
59
|
-
encode: (value:
|
|
60
|
-
|
|
61
|
-
siteId?: string;
|
|
62
|
-
apiBaseUrl?: string;
|
|
63
|
-
submitLabel?: string;
|
|
64
|
-
successMessage?: string | null;
|
|
65
|
-
className?: string;
|
|
66
|
-
spamProtectionEnabled?: boolean;
|
|
67
|
-
}>) => unknown;
|
|
68
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
69
|
-
value?: FormRecord;
|
|
70
|
-
siteId?: string;
|
|
71
|
-
apiBaseUrl?: string;
|
|
72
|
-
submitLabel?: string;
|
|
73
|
-
successMessage?: string | null;
|
|
74
|
-
className?: string;
|
|
75
|
-
spamProtectionEnabled?: boolean;
|
|
76
|
-
}>>;
|
|
43
|
+
encode: (value: FormSourceProps) => unknown;
|
|
44
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<FormSourceProps>;
|
|
77
45
|
}>;
|
|
78
46
|
render: Readonly<{
|
|
79
47
|
encode: (value: Readonly<{
|
|
80
|
-
display:
|
|
81
|
-
kind: "form";
|
|
82
|
-
state: "missing" | "ready";
|
|
83
|
-
className: string | null;
|
|
84
|
-
formId: string | null;
|
|
85
|
-
submitLabel: string;
|
|
86
|
-
successMessage: string | null;
|
|
87
|
-
form: FormRecord | null;
|
|
88
|
-
groups: readonly FormFieldGroup[];
|
|
89
|
-
}>;
|
|
48
|
+
display: FormDisplay;
|
|
90
49
|
hydration: Readonly<{
|
|
91
50
|
spamProtectionEnabled?: boolean;
|
|
92
51
|
}>;
|
|
93
52
|
}>) => unknown;
|
|
94
53
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
95
|
-
display:
|
|
96
|
-
kind: "form";
|
|
97
|
-
state: "missing" | "ready";
|
|
98
|
-
className: string | null;
|
|
99
|
-
formId: string | null;
|
|
100
|
-
submitLabel: string;
|
|
101
|
-
successMessage: string | null;
|
|
102
|
-
form: FormRecord | null;
|
|
103
|
-
groups: readonly FormFieldGroup[];
|
|
104
|
-
}>;
|
|
54
|
+
display: FormDisplay;
|
|
105
55
|
hydration: Readonly<{
|
|
106
56
|
spamProtectionEnabled?: boolean;
|
|
107
57
|
}>;
|
|
@@ -118,16 +68,7 @@ export declare const formInteractiveIslandPropsCodec: Readonly<{
|
|
|
118
68
|
render: Readonly<{
|
|
119
69
|
mode: "form";
|
|
120
70
|
} & Readonly<{
|
|
121
|
-
display:
|
|
122
|
-
kind: "form";
|
|
123
|
-
state: "missing" | "ready";
|
|
124
|
-
className: string | null;
|
|
125
|
-
formId: string | null;
|
|
126
|
-
submitLabel: string;
|
|
127
|
-
successMessage: string | null;
|
|
128
|
-
form: FormRecord | null;
|
|
129
|
-
groups: readonly FormFieldGroup[];
|
|
130
|
-
}>;
|
|
71
|
+
display: FormDisplay;
|
|
131
72
|
hydration: Readonly<{
|
|
132
73
|
spamProtectionEnabled?: boolean;
|
|
133
74
|
}>;
|
|
@@ -141,16 +82,7 @@ export declare const formInteractiveIslandPropsCodec: Readonly<{
|
|
|
141
82
|
render: Readonly<{
|
|
142
83
|
mode: "form";
|
|
143
84
|
} & Readonly<{
|
|
144
|
-
display:
|
|
145
|
-
kind: "form";
|
|
146
|
-
state: "missing" | "ready";
|
|
147
|
-
className: string | null;
|
|
148
|
-
formId: string | null;
|
|
149
|
-
submitLabel: string;
|
|
150
|
-
successMessage: string | null;
|
|
151
|
-
form: FormRecord | null;
|
|
152
|
-
groups: readonly FormFieldGroup[];
|
|
153
|
-
}>;
|
|
85
|
+
display: FormDisplay;
|
|
154
86
|
hydration: Readonly<{
|
|
155
87
|
spamProtectionEnabled?: boolean;
|
|
156
88
|
}>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { FormDisplay } from './form.interactive';
|
|
3
|
+
/** SSR and hydration consume the same decided field groups and Look hooks. */
|
|
4
|
+
export declare function FormFieldGroups({ groups, lookSlots }: Pick<FormDisplay, 'groups' | 'lookSlots'>): React.ReactElement;
|
|
5
|
+
export declare function FormSubmitAction({ lookSlots, submitLabel, disabled }: Pick<FormDisplay, 'lookSlots' | 'submitLabel'> & Readonly<{
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}>): React.ReactElement;
|
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type
|
|
3
|
-
type FormNodeProps = {
|
|
2
|
+
import { type FormSourceProps } from './form.interactive';
|
|
3
|
+
type FormNodeProps = FormSourceProps & {
|
|
4
4
|
blockId?: string | null;
|
|
5
|
-
value?: FormRecord;
|
|
6
|
-
submitLabel?: string;
|
|
7
|
-
successMessage?: string | null;
|
|
8
|
-
className?: string;
|
|
9
5
|
onSubmit?: React.FormEventHandler<HTMLFormElement>;
|
|
10
|
-
/** Override server form action (defaults to /api/forms/submit). */
|
|
11
6
|
action?: string;
|
|
12
|
-
/** Site ID for form submission */
|
|
13
|
-
siteId?: string;
|
|
14
|
-
/** API base URL for client-side fetching (passed from server to avoid env var resolution on client) */
|
|
15
|
-
apiBaseUrl?: string;
|
|
16
|
-
/** Enable spam protection (ALTCHA) */
|
|
17
|
-
spamProtectionEnabled?: boolean;
|
|
18
7
|
};
|
|
19
8
|
export declare const FormNodeSSR: React.FC<FormNodeProps>;
|
|
20
9
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type BlockSiteTerms } from '../../blocks/shared/siteTerms';
|
|
1
2
|
import { z } from 'zod';
|
|
2
3
|
import { type InteractiveIslandProps } from '../../../contracts/islands';
|
|
3
4
|
export declare const publicGiftingOffersResponseSchema: z.ZodObject<{
|
|
@@ -40,6 +41,7 @@ export type GiftingControllerProps = Readonly<{
|
|
|
40
41
|
successMessage?: string | null;
|
|
41
42
|
}>;
|
|
42
43
|
export type GiftingSourceProps = GiftingControllerProps & Readonly<{
|
|
44
|
+
siteTerms?: BlockSiteTerms;
|
|
43
45
|
siteId?: string;
|
|
44
46
|
apiBaseUrl?: string;
|
|
45
47
|
offers?: PublicGiftingOffersResponse | null;
|
|
@@ -55,6 +57,7 @@ export type GiftingDisplay = Readonly<{
|
|
|
55
57
|
emptyStateText: string;
|
|
56
58
|
}>;
|
|
57
59
|
export type GiftingHydration = Readonly<{
|
|
60
|
+
siteTerms?: BlockSiteTerms;
|
|
58
61
|
offers: PublicGiftingOffersResponse | null;
|
|
59
62
|
checkoutButtonText: string;
|
|
60
63
|
successMessage: string;
|
|
@@ -79,6 +82,7 @@ export declare const giftingBlockRuntime: Readonly<{
|
|
|
79
82
|
emptyStateText: string;
|
|
80
83
|
}>;
|
|
81
84
|
hydration: Readonly<{
|
|
85
|
+
siteTerms?: BlockSiteTerms;
|
|
82
86
|
offers: PublicGiftingOffersResponse | null;
|
|
83
87
|
checkoutButtonText: string;
|
|
84
88
|
successMessage: string;
|
|
@@ -102,6 +106,7 @@ export declare const giftingBlockRuntime: Readonly<{
|
|
|
102
106
|
emptyStateText: string;
|
|
103
107
|
}>;
|
|
104
108
|
hydration: Readonly<{
|
|
109
|
+
siteTerms?: BlockSiteTerms;
|
|
105
110
|
offers: PublicGiftingOffersResponse | null;
|
|
106
111
|
checkoutButtonText: string;
|
|
107
112
|
successMessage: string;
|
|
@@ -119,6 +124,7 @@ export declare const giftingBlockRuntime: Readonly<{
|
|
|
119
124
|
emptyStateText: string;
|
|
120
125
|
}>;
|
|
121
126
|
hydration: Readonly<{
|
|
127
|
+
siteTerms?: BlockSiteTerms;
|
|
122
128
|
offers: PublicGiftingOffersResponse | null;
|
|
123
129
|
checkoutButtonText: string;
|
|
124
130
|
successMessage: string;
|
|
@@ -147,6 +153,7 @@ export declare const giftingInteractiveIslandPropsCodec: Readonly<{
|
|
|
147
153
|
emptyStateText: string;
|
|
148
154
|
}>;
|
|
149
155
|
hydration: Readonly<{
|
|
156
|
+
siteTerms?: BlockSiteTerms;
|
|
150
157
|
offers: PublicGiftingOffersResponse | null;
|
|
151
158
|
checkoutButtonText: string;
|
|
152
159
|
successMessage: string;
|
|
@@ -172,6 +179,7 @@ export declare const giftingInteractiveIslandPropsCodec: Readonly<{
|
|
|
172
179
|
emptyStateText: string;
|
|
173
180
|
}>;
|
|
174
181
|
hydration: Readonly<{
|
|
182
|
+
siteTerms?: BlockSiteTerms;
|
|
175
183
|
offers: PublicGiftingOffersResponse | null;
|
|
176
184
|
checkoutButtonText: string;
|
|
177
185
|
successMessage: string;
|