@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
|
@@ -28,7 +28,8 @@ export declare const generatedSiteStyleIdSchema: z.ZodPipe<z.ZodEnum<{
|
|
|
28
28
|
"site-style:kirtan-ornate": "site-style:kirtan-ornate";
|
|
29
29
|
"site-style:original-joy": "site-style:original-joy";
|
|
30
30
|
"site-style:grounded-practice": "site-style:grounded-practice";
|
|
31
|
-
|
|
31
|
+
"site-style:folio": "site-style:folio";
|
|
32
|
+
}>, z.ZodTransform<SiteStyleId, "site-style:fulcrum" | "site-style:poster" | "site-style:lantern" | "site-style:measure" | "site-style:soft-earth" | "site-style:clarity-zen-blue" | "site-style:south-west-twerk-school" | "site-style:kirtan-ornate" | "site-style:original-joy" | "site-style:grounded-practice" | "site-style:folio">>;
|
|
32
33
|
export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
|
|
33
34
|
sectionSurface: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
34
35
|
source: z.ZodLiteral<"generated">;
|
|
@@ -167,7 +168,8 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
|
|
|
167
168
|
"site-style:kirtan-ornate": "site-style:kirtan-ornate";
|
|
168
169
|
"site-style:original-joy": "site-style:original-joy";
|
|
169
170
|
"site-style:grounded-practice": "site-style:grounded-practice";
|
|
170
|
-
|
|
171
|
+
"site-style:folio": "site-style:folio";
|
|
172
|
+
}>, z.ZodTransform<SiteStyleId, "site-style:fulcrum" | "site-style:poster" | "site-style:lantern" | "site-style:measure" | "site-style:soft-earth" | "site-style:clarity-zen-blue" | "site-style:south-west-twerk-school" | "site-style:kirtan-ornate" | "site-style:original-joy" | "site-style:grounded-practice" | "site-style:folio">>;
|
|
171
173
|
blocks: z.ZodArray<z.ZodObject<{
|
|
172
174
|
blockId: z.ZodString;
|
|
173
175
|
blockKind: z.ZodString;
|
|
@@ -3,6 +3,8 @@ import type { ResolvedSurfaceForeground } from '../surfaces';
|
|
|
3
3
|
import type { HeaderStyleRecipe } from './headerStyleRecipe';
|
|
4
4
|
export type HeaderOpeningForegroundContext = Readonly<{
|
|
5
5
|
openingForeground: ResolvedSurfaceForeground;
|
|
6
|
+
/** Read only by recipes with an `openingPlacement`; absent means no photo. */
|
|
7
|
+
openingPhotoBehindText?: boolean;
|
|
6
8
|
}>;
|
|
7
9
|
export type HeaderStyleAvailability = Readonly<{
|
|
8
10
|
kind: 'available';
|
|
@@ -16,3 +18,5 @@ export declare function headerStyleAvailabilityReasonLabel(reason: Extract<Heade
|
|
|
16
18
|
}>['reason']): string;
|
|
17
19
|
export declare function applyOpeningForeground(theme: Theme, header: Theme['header'], recipe: HeaderStyleRecipe, context: Partial<HeaderOpeningForegroundContext> | undefined): Theme['header'];
|
|
18
20
|
export declare function applyPageOpeningForegroundToTheme(theme: Theme, recipe: HeaderStyleRecipe | null | undefined, context: Partial<HeaderOpeningForegroundContext> | undefined): Theme;
|
|
21
|
+
/** Whether the page's opening section changes how this header compiles. */
|
|
22
|
+
export declare function headerReadsOpening(recipe: HeaderStyleRecipe): boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { type SiteChromeBackgroundColorToken } from './siteChromeBackgrounds';
|
|
3
2
|
import type { HeaderPreferences } from './headerPreferences';
|
|
4
3
|
/**
|
|
5
4
|
* The persisted shape of `HeaderPreferences`, closed at every field.
|
|
@@ -17,7 +16,7 @@ export declare const headerPreferencesWireSchema: z.ZodObject<{
|
|
|
17
16
|
kind: z.ZodLiteral<"default">;
|
|
18
17
|
}, z.core.$strict>, z.ZodObject<{
|
|
19
18
|
kind: z.ZodLiteral<"color">;
|
|
20
|
-
token: z.ZodType<SiteChromeBackgroundColorToken, unknown, z.core.$ZodTypeInternals<SiteChromeBackgroundColorToken, unknown>>;
|
|
19
|
+
token: z.ZodType<import("../../../blocks/src/index").SiteChromeBackgroundColorToken, unknown, z.core.$ZodTypeInternals<import("../../../blocks/src/index").SiteChromeBackgroundColorToken, unknown>>;
|
|
21
20
|
}, z.core.$strict>], "kind">;
|
|
22
21
|
navTextSize: z.ZodEnum<{
|
|
23
22
|
base: "base";
|
|
@@ -46,8 +45,8 @@ export declare const headerPreferencesWireSchema: z.ZodObject<{
|
|
|
46
45
|
logoSize: z.ZodEnum<{
|
|
47
46
|
display: "display";
|
|
48
47
|
auto: "auto";
|
|
49
|
-
standard: "standard";
|
|
50
48
|
compact: "compact";
|
|
49
|
+
standard: "standard";
|
|
51
50
|
generous: "generous";
|
|
52
51
|
}>;
|
|
53
52
|
}, z.core.$strict>;
|
|
@@ -89,7 +89,12 @@ export type HeaderFrameRecipe = Readonly<{
|
|
|
89
89
|
kind: 'none';
|
|
90
90
|
}> | (Readonly<{
|
|
91
91
|
kind: 'container';
|
|
92
|
-
}> & Pick<HeaderContainerFrame, 'rounded' | 'padding' | 'tint' | 'opacity'>
|
|
92
|
+
}> & Pick<HeaderContainerFrame, 'rounded' | 'padding' | 'tint' | 'opacity'> &
|
|
93
|
+
/** Absent keeps the lifted frame every catalogue container has today. */
|
|
94
|
+
Readonly<{
|
|
95
|
+
shadow?: false;
|
|
96
|
+
mobileSheet?: 'inset';
|
|
97
|
+
}>) | (Readonly<{
|
|
93
98
|
kind: 'nav-container';
|
|
94
99
|
}> & Readonly<{
|
|
95
100
|
type: Exclude<HeaderNavContainerFrame['type'], 'none'>;
|
|
@@ -130,6 +135,13 @@ export type HeaderStyleRecipeCore = Readonly<{
|
|
|
130
135
|
* also what makes the style available without a known opening foreground.
|
|
131
136
|
*/
|
|
132
137
|
openingForeground?: 'brand-only' | 'all';
|
|
138
|
+
/**
|
|
139
|
+
* Where a floating header may float. `'photo-behind-text'` floats it only
|
|
140
|
+
* when the page opens with a photo behind its text; on every other opening
|
|
141
|
+
* the same selection compiles as an in-flow bar, so it never covers a
|
|
142
|
+
* heading. Absent keeps today's behaviour: floating always floats.
|
|
143
|
+
*/
|
|
144
|
+
openingPlacement?: 'photo-behind-text';
|
|
133
145
|
/** Contrast treatment once the page scrolls under a floating header. */
|
|
134
146
|
scrollTreatment?: 'contrast-glass';
|
|
135
147
|
/**
|
|
@@ -12,6 +12,8 @@ export * from './curatedSiteStyles';
|
|
|
12
12
|
export * from './customizableSurfaces';
|
|
13
13
|
export * from './designState';
|
|
14
14
|
export * from './footerLooks';
|
|
15
|
+
export * from './footerLookRecipe';
|
|
16
|
+
export * from './footerLookDefaults';
|
|
15
17
|
export * from './generatedSchemas';
|
|
16
18
|
export * from './generatedDesignPipeline';
|
|
17
19
|
export * from './headerLayoutStyles';
|
|
@@ -59,3 +61,5 @@ export * from './effectiveArrangement';
|
|
|
59
61
|
export * from './lookResolution';
|
|
60
62
|
export { cardListItemParts, cardListBlockParts, cardListFamilyBlocks } from './appearancePresetTypes';
|
|
61
63
|
export type { CardListItemPart } from './appearancePresetTypes';
|
|
64
|
+
export * from './footerPreferences';
|
|
65
|
+
export * from './compileFooterAgainstRow';
|
|
@@ -134,7 +134,7 @@ export type ArrangementStyleLooks = Readonly<{
|
|
|
134
134
|
export declare function lookDefinitionForId(lookId: AppearancePresetId, catalogue?: readonly ArrangementBlockAppearancePreset[]): ArrangementBlockAppearancePreset | null;
|
|
135
135
|
/** Validates destination data independently of manifest rollout availability. */
|
|
136
136
|
export declare function validateLookFallbacks(style: ArrangementStyleLooks, catalogue?: readonly ArrangementBlockAppearancePreset[]): void;
|
|
137
|
-
export declare const arrangementLookHooks: readonly ["data-fact", "data-card-list", "data-card-list-item", "data-availability", "data-event-places", "data-today", "data-other-month", "data-current", "data-skin", "data-look", "data-arrangement", "data-treat", "data-surface", "data-length", "data-knob-*", "data-mode", "data-has-*", "data-photo-count", "data-slot", "data-placeholder-field"];
|
|
137
|
+
export declare const arrangementLookHooks: readonly ["data-fact", "data-card-list", "data-card-list-item", "data-availability", "data-event-places", "data-today", "data-other-month", "data-current", "data-skin", "data-look", "data-arrangement", "data-treat", "data-surface", "data-length", "data-knob-*", "data-mode", "data-has-*", "data-photo-count", "data-slot", "data-control", "data-placeholder-field"];
|
|
138
138
|
export type CompiledArrangementLook = Readonly<{
|
|
139
139
|
look: ArrangementBlockAppearancePreset;
|
|
140
140
|
treatment: string;
|
|
@@ -160,7 +160,7 @@ export { cardListKnobs, cardListKnobBlocks, lookKnobBlocks, type LookKnobBlock,
|
|
|
160
160
|
export declare const arrangementAppearancePresets: ArrangementBlockAppearancePreset[];
|
|
161
161
|
export declare function arrangementStyleAvailability(style: SiteStyleLooks, preset: ArrangementBlockAppearancePreset, capabilities: ArrangementLookCapabilities | undefined): LookAvailability;
|
|
162
162
|
/** Closed structural hooks shared by block arrangements and bounded skins. */
|
|
163
|
-
export declare const arrangementSlotNames: readonly ["section", "stack", "inline", "grid", "head", "eyebrow", "heading", "intro", "frame", "copy", "caption", "headline", "lede", "actions", "media", "photo", "gallery", "sticker", "facts", "fact-label", "fact-value", "chips", "chip", "figure", "figure-value", "figure-label", "schedule", "dates", "date-places", "availability", "layout", "items", "item", "lead", "item-media", "item-body", "icon", "numeral", "item-title", "item-text", "item-actions", "list", "row", "row-continued", "group", "group-label", "group-day", "group-date", "date", "weekday", "day", "month", "date-label", "time", "price", "mark", "navigation", "time-start", "time-length", "what", "item-meta", "places", "places-low", "places-full", "action", "panel", "panel-heading", "more", "quote", "attribution", "outcome", "controls", "control", "counter"];
|
|
163
|
+
export declare const arrangementSlotNames: readonly ["contact", "social", "base", "section", "background", "schedule-section", "shop-section", "stack", "inline", "grid", "head", "eyebrow", "heading", "intro", "frame", "copy", "caption", "headline", "lede", "actions", "media", "photo", "gallery", "sticker", "facts", "fact-label", "fact-value", "chips", "chip", "figure", "figure-value", "figure-label", "schedule", "dates", "date-places", "availability", "layout", "items", "item", "lead", "item-media", "item-body", "icon", "numeral", "item-title", "item-text", "item-actions", "list", "row", "row-continued", "group", "group-label", "group-day", "group-date", "date", "weekday", "day", "month", "date-label", "time", "price", "mark", "navigation", "time-start", "time-length", "what", "item-meta", "places", "places-low", "places-full", "action", "panel", "panel-heading", "more", "quote", "attribution", "outcome", "controls", "control", "counter"];
|
|
164
164
|
export type ArrangementSlotName = typeof arrangementSlotNames[number];
|
|
165
165
|
/** One role resolver, including section inheritance and ground-specific overrides. */
|
|
166
166
|
export declare function resolveItemSurface(role: import('../cards').ItemRole, ground: Ground, style: Readonly<{
|
|
@@ -58,7 +58,7 @@ export type UpdateSiteThemeSelectionsInput = SiteThemeSelectionsCommonInput & Re
|
|
|
58
58
|
type ResolvedSiteThemeSelections = Readonly<{
|
|
59
59
|
buttonStyleSelection: ButtonStyleSelection;
|
|
60
60
|
headerSelection: HeaderLayoutStyleSelection;
|
|
61
|
-
footerLookId: FooterLookId
|
|
61
|
+
footerLookId: FooterLookId;
|
|
62
62
|
}>;
|
|
63
63
|
type ReplacementResolvedSiteThemeSelections = ResolvedSiteThemeSelections & Readonly<{
|
|
64
64
|
footerLookId: FooterLookId;
|
|
@@ -33,6 +33,11 @@ export declare function parseCanonicalRuntimeBackground(content: Record<string,
|
|
|
33
33
|
export declare function resolveSectionBackground(source: CanonicalRuntimeBackground, lookDefault: NonNullable<NonNullable<CompiledBlockRuntimeFields['_sectionStyles']>['background']> | null | undefined, rhythm?: RuntimeBoxBackground | null, arrangementHeroPhoto?: Readonly<{
|
|
34
34
|
paintsGround: boolean;
|
|
35
35
|
}>): ResolvedSectionBackground;
|
|
36
|
+
/** Photo placement follows the same resolved ground used to paint the section. */
|
|
37
|
+
export type SectionPhotoPlacement = 'behind-text' | 'none';
|
|
38
|
+
export declare function resolveSectionPhotoPlacement(background: ResolvedSectionBackground, heroPhoto?: Readonly<{
|
|
39
|
+
paintsGround: boolean;
|
|
40
|
+
}>): SectionPhotoPlacement;
|
|
36
41
|
export declare function resolveSectionForeground(background: ResolvedSectionBackground, palette: Readonly<Record<string, string>>): ResolvedSurfaceForeground;
|
|
37
42
|
/**
|
|
38
43
|
* Read foreground authority from post-compiler block content. The preview
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
1
2
|
import type { Theme, ThemeFooter, ThemeHeader } from '../schema';
|
|
2
3
|
import type { ThemeColorToken } from '../tokens';
|
|
3
4
|
export type SiteChromeSurface = 'header' | 'footer';
|
|
@@ -33,6 +34,7 @@ export declare function cycleSiteChromeBackgroundOverride(current: SiteChromeBac
|
|
|
33
34
|
* for `readHeaderPreferences`, which needs the header half on its own.
|
|
34
35
|
*/
|
|
35
36
|
export declare function siteChromeBackgroundOverrideFromHeader(header: ThemeHeader): SiteChromeBackgroundOverride;
|
|
37
|
+
export declare function siteChromeBackgroundOverrideFromFooter(footer: ThemeFooter): SiteChromeBackgroundOverride;
|
|
36
38
|
/**
|
|
37
39
|
* Header-only background applier. Exported so the header preference pipeline
|
|
38
40
|
* can apply the header override without going through
|
|
@@ -47,3 +49,9 @@ export declare function applyHeaderBackgroundOverride(theme: Theme, header: Them
|
|
|
47
49
|
* (#1318 Correction 20).
|
|
48
50
|
*/
|
|
49
51
|
export declare function applyFooterBackgroundOverride(theme: Theme, footer: ThemeFooter, override: SiteChromeBackgroundOverride): ThemeFooter;
|
|
52
|
+
export declare const siteChromeBackgroundOverrideSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
53
|
+
kind: z.ZodLiteral<"default">;
|
|
54
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
55
|
+
kind: z.ZodLiteral<"color">;
|
|
56
|
+
token: z.ZodType<SiteChromeBackgroundColorToken, unknown, z.core.$ZodTypeInternals<SiteChromeBackgroundColorToken, unknown>>;
|
|
57
|
+
}, z.core.$strict>], "kind">;
|
|
@@ -206,6 +206,52 @@ export declare const groundedSerifTypography: {
|
|
|
206
206
|
};
|
|
207
207
|
readonly scale: "balanced";
|
|
208
208
|
};
|
|
209
|
+
/** Folio keeps the practitioner pairing, with a larger serif and working sans names. */
|
|
210
|
+
export declare const folioTypography: {
|
|
211
|
+
readonly body: {
|
|
212
|
+
readonly family: "Open Sans, system-ui, sans-serif";
|
|
213
|
+
readonly size: "lg";
|
|
214
|
+
readonly weight: "regular";
|
|
215
|
+
readonly lineHeight: "relaxed";
|
|
216
|
+
readonly letterSpacing: "normal";
|
|
217
|
+
};
|
|
218
|
+
readonly smallHeading: {
|
|
219
|
+
readonly family: "Open Sans, system-ui, sans-serif";
|
|
220
|
+
readonly weight: "semibold";
|
|
221
|
+
};
|
|
222
|
+
readonly headings: {
|
|
223
|
+
readonly h1: {
|
|
224
|
+
readonly lineHeight: "tight";
|
|
225
|
+
readonly letterSpacing: "tight";
|
|
226
|
+
readonly size: "2xl";
|
|
227
|
+
readonly weight: "medium";
|
|
228
|
+
readonly italic: null;
|
|
229
|
+
};
|
|
230
|
+
readonly h2: {
|
|
231
|
+
readonly lineHeight: "tight";
|
|
232
|
+
readonly letterSpacing: "tight";
|
|
233
|
+
readonly size: "xl";
|
|
234
|
+
readonly weight: "medium";
|
|
235
|
+
readonly italic: null;
|
|
236
|
+
};
|
|
237
|
+
readonly h3: {
|
|
238
|
+
readonly lineHeight: "tight";
|
|
239
|
+
readonly size: "md";
|
|
240
|
+
readonly weight: "medium";
|
|
241
|
+
readonly letterSpacing: "normal";
|
|
242
|
+
readonly italic: null;
|
|
243
|
+
};
|
|
244
|
+
readonly default: {
|
|
245
|
+
readonly family: "Cormorant Garamond, Georgia, serif";
|
|
246
|
+
readonly weight: "medium";
|
|
247
|
+
readonly lineHeight: "normal";
|
|
248
|
+
readonly letterSpacing: "normal";
|
|
249
|
+
readonly italic: null;
|
|
250
|
+
readonly case: null;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
readonly scale: "balanced";
|
|
254
|
+
};
|
|
209
255
|
export declare const kirtanOrnateTypography: {
|
|
210
256
|
readonly body: {
|
|
211
257
|
readonly family: "Jost, system-ui, sans-serif";
|
|
@@ -16,6 +16,6 @@ export type ThemeParityDifference = Readonly<{
|
|
|
16
16
|
before: CanonicalThemeValue;
|
|
17
17
|
after: CanonicalThemeValue;
|
|
18
18
|
}>;
|
|
19
|
-
export declare function canonicalizeThemeForParity(theme:
|
|
19
|
+
export declare function canonicalizeThemeForParity(theme: unknown): CanonicalThemeValue;
|
|
20
20
|
export declare function serializeThemeForParity(theme: Theme): string;
|
|
21
21
|
export declare function diffThemesForParity(before: Theme, after: Theme): readonly ThemeParityDifference[];
|
|
@@ -9,6 +9,7 @@ export type StatusGeneratorTheme = Pick<Theme, 'corners'>;
|
|
|
9
9
|
export interface GenerateStatusCssParams {
|
|
10
10
|
themeId: string;
|
|
11
11
|
theme: StatusGeneratorTheme;
|
|
12
|
+
palette: Readonly<Record<string, string>>;
|
|
12
13
|
}
|
|
13
14
|
/**
|
|
14
15
|
* Generate status and alert CSS from theme settings.
|
|
@@ -16,10 +17,12 @@ export interface GenerateStatusCssParams {
|
|
|
16
17
|
* Creates scoped CSS classes for:
|
|
17
18
|
* - .status-error, .status-success, .status-warning, .status-info, .status-muted (text colors)
|
|
18
19
|
* - .alert, .alert-error, .alert-success, .alert-warning, .alert-info (styled containers)
|
|
20
|
+
* - .alert-neutral: a notice in the surface's own text colour, for news that
|
|
21
|
+
* is neither good nor bad (status tokens can be unreadable as text)
|
|
19
22
|
* - .feedback-note, .feedback-note-* (the "field-note" feedback treatment)
|
|
20
23
|
* - .required-marker (required field indicator)
|
|
21
24
|
* - .button-link (text-styled button)
|
|
22
25
|
*
|
|
23
26
|
* Selectors use :where() for zero specificity, allowing site styles to override easily.
|
|
24
27
|
*/
|
|
25
|
-
export declare function generateStatusCss({ themeId, theme }: GenerateStatusCssParams): string;
|
|
28
|
+
export declare function generateStatusCss({ themeId, theme, palette }: GenerateStatusCssParams): string;
|
|
@@ -48,3 +48,5 @@ type Palette = Readonly<Record<string, string>>;
|
|
|
48
48
|
* pixel-level contrast proof for media.
|
|
49
49
|
*/
|
|
50
50
|
export declare function resolveSurfaceForeground(background: SurfaceForegroundBackground | null, palette: Palette, candidates?: SurfaceForegroundCandidates, options?: SurfaceForegroundResolutionOptions): ResolvedSurfaceForeground;
|
|
51
|
+
/** Keep a candidate only when it meets ordinary-text contrast on the ground. */
|
|
52
|
+
export declare function safeTokenOr(candidate: string | null, fallback: ThemeColorToken, backgroundHex: string, palette: Palette): ThemeColorToken;
|
|
@@ -67,6 +67,15 @@ export declare const typographySchema: z.ZodObject<{
|
|
|
67
67
|
xl: "xl";
|
|
68
68
|
}>;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
|
+
smallHeading: z.ZodOptional<z.ZodObject<{
|
|
71
|
+
family: z.ZodString;
|
|
72
|
+
weight: z.ZodEnum<{
|
|
73
|
+
bold: "bold";
|
|
74
|
+
medium: "medium";
|
|
75
|
+
regular: "regular";
|
|
76
|
+
semibold: "semibold";
|
|
77
|
+
}>;
|
|
78
|
+
}, z.core.$strip>>;
|
|
70
79
|
headings: z.ZodObject<{
|
|
71
80
|
default: z.ZodObject<{
|
|
72
81
|
width: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2,8 +2,13 @@ import * as React from "react";
|
|
|
2
2
|
import { DayPicker } from "react-day-picker";
|
|
3
3
|
import type { DayButtonProps } from "react-day-picker";
|
|
4
4
|
import { Button } from "./button";
|
|
5
|
-
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
|
|
5
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, locale, components, ...props }: React.ComponentProps<typeof DayPicker> & {
|
|
6
6
|
buttonVariant?: React.ComponentProps<typeof Button>["variant"];
|
|
7
7
|
}): React.JSX.Element;
|
|
8
8
|
declare function CalendarDayButton({ className, day, modifiers, ...props }: DayButtonProps): React.JSX.Element;
|
|
9
9
|
export { Calendar, CalendarDayButton };
|
|
10
|
+
/** Picker adapters choose display locale; DayPicker derives week start from its metadata. */
|
|
11
|
+
export declare const calendarLocales: {
|
|
12
|
+
'en-GB': import("react-day-picker").DayPickerLocale;
|
|
13
|
+
'en-US': import("react-day-picker").DayPickerLocale;
|
|
14
|
+
};
|
|
@@ -4,7 +4,7 @@ import { surfaceVariants } from './surface';
|
|
|
4
4
|
export type CardVariant = VariantProps<typeof surfaceVariants>['variant'];
|
|
5
5
|
export type CardRadius = VariantProps<typeof surfaceVariants>['radius'];
|
|
6
6
|
declare const cardLayoutVariants: (props?: ({
|
|
7
|
-
size?: "none" | "
|
|
7
|
+
size?: "none" | "compact" | "default" | "responsive" | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
9
|
export type CardSize = VariantProps<typeof cardLayoutVariants>['size'];
|
|
10
10
|
export type CardProps = React.ComponentProps<'div'> & {
|
|
@@ -50,7 +50,7 @@ export { Tooltip, TooltipProvider, TooltipTrigger, TooltipContent, } from './too
|
|
|
50
50
|
export { Badge, badgeVariants } from './badge';
|
|
51
51
|
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent, } from './accordion';
|
|
52
52
|
export { SectionAccordion, SectionAccordionItem, SectionAccordionTrigger, SectionAccordionContent, } from './section-accordion';
|
|
53
|
-
export { Calendar } from './calendar';
|
|
53
|
+
export { Calendar, calendarLocales } from './calendar';
|
|
54
54
|
export { DatePickerTriggerButton, type DatePickerTriggerButtonProps } from './date-picker';
|
|
55
55
|
export { createPickerComboboxItems, createPickerCommandMultiSelectItems, normalizePickerSearchThreshold, resolvePickerSelectionLabel, shouldShowPickerSearch, type AsyncPickerOptionsState, type PickerLabels, type PickerOption, type PickerOptionBadge, type PickerOptionBadgeVariant, type PickerSelectionLabelArgs, } from './picker';
|
|
56
56
|
export { useAsyncPickerOptions, type UseAsyncPickerOptionsArgs, type UseAsyncPickerOptionsReturn, } from './use-async-picker-options';
|
package/dist/client/{BookingMailingListNote-DrchYW1m.mjs → BookingMailingListNote-CiW1dsz7.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { Tr as assertNever } from "./propsDecoder-BRKz13eg.mjs";
|
|
3
|
+
import { t as RichText } from "./RichText-D3oE1_pw.mjs";
|
|
4
|
+
import { n as getBookingMailingListNoteCopy } from "./mailingListSignupCopy-DS-_ePzG.mjs";
|
|
5
5
|
import { useCallback, useEffect, useId, useReducer, useRef, useState } from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/shared/components/StepIndicator.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as renderAudio, c as resolveMediaNodeResponsiveImage, i as mediaImageHostProps, n as MediaPlaceholder, o as renderVideo, r as computeMediaTransformStyle, t as ImagePresets } from "./media-
|
|
3
|
-
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-
|
|
4
|
-
import {
|
|
1
|
+
import { Bn as resolveRuntimeEventDestination, Hn as canJoinEventWaitlistOnAnyMode, Jn as isEventFull, Ni as assertNever, er as listLookSlot } from "./propsDecoder-BRKz13eg.mjs";
|
|
2
|
+
import { a as renderAudio, c as resolveMediaNodeResponsiveImage, i as mediaImageHostProps, n as MediaPlaceholder, o as renderVideo, r as computeMediaTransformStyle, t as ImagePresets } from "./media-V_ShXXru.mjs";
|
|
3
|
+
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-D-0tNVxE.mjs";
|
|
4
|
+
import { a as ExternalLinkIcon, r as ThemedButtonLink, t as ThemedAuthoredButton } from "./ThemedButton-Ckj0Rfr_.mjs";
|
|
5
5
|
import "react";
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
|
|
8
8
|
/**
|
|
9
9
|
* Booking call-to-action resolution for events: where an event links to and
|
|
@@ -136,7 +136,10 @@ const partRenderers = {
|
|
|
136
136
|
children: item.titleLink || item.href ? /* @__PURE__ */ jsx("a", {
|
|
137
137
|
...item.titleLink,
|
|
138
138
|
href: item.titleLink?.href ?? item.href ?? void 0,
|
|
139
|
-
children:
|
|
139
|
+
children: /* @__PURE__ */ jsx(LinkedLabel, {
|
|
140
|
+
label: item.title,
|
|
141
|
+
newTabHint: item.newTabHint
|
|
142
|
+
})
|
|
140
143
|
}) : item.title
|
|
141
144
|
}),
|
|
142
145
|
text: ({ item, presentation }) => item.text ? /* @__PURE__ */ jsx("p", {
|
|
@@ -212,19 +215,48 @@ const partRenderers = {
|
|
|
212
215
|
function CardListContentPart({ part, ...props }) {
|
|
213
216
|
return partRenderers[part](props);
|
|
214
217
|
}
|
|
218
|
+
function CardListLeadDate({ item, presentation }) {
|
|
219
|
+
const date = item.leadDate;
|
|
220
|
+
return date ? /* @__PURE__ */ jsxs("time", {
|
|
221
|
+
...listLookSlot(presentation, "date"),
|
|
222
|
+
"data-lead-date": true,
|
|
223
|
+
dateTime: date.startsAt,
|
|
224
|
+
"aria-label": date.label,
|
|
225
|
+
children: [
|
|
226
|
+
/* @__PURE__ */ jsx("span", {
|
|
227
|
+
...listLookSlot(presentation, "weekday"),
|
|
228
|
+
children: date.weekday
|
|
229
|
+
}),
|
|
230
|
+
/* @__PURE__ */ jsx("strong", {
|
|
231
|
+
...listLookSlot(presentation, "day"),
|
|
232
|
+
children: date.day
|
|
233
|
+
}),
|
|
234
|
+
/* @__PURE__ */ jsx("span", {
|
|
235
|
+
...listLookSlot(presentation, "month"),
|
|
236
|
+
children: date.month
|
|
237
|
+
})
|
|
238
|
+
]
|
|
239
|
+
}) : null;
|
|
240
|
+
}
|
|
215
241
|
function CardListAction({ item, presentation }) {
|
|
216
242
|
const action = item.action;
|
|
217
|
-
const link =
|
|
218
|
-
href: action.href ?? "",
|
|
219
|
-
target: action.external ? "_blank" : void 0,
|
|
220
|
-
rel: action.external ? "noopener noreferrer" : void 0
|
|
221
|
-
};
|
|
243
|
+
const link = cardListActionLink(action);
|
|
222
244
|
return /* @__PURE__ */ jsx("div", {
|
|
223
245
|
...listLookSlot(presentation, "item-actions"),
|
|
224
246
|
children: !action.href ? /* @__PURE__ */ jsx("span", { children: action.label }) : presentation.itemActionStyle === "link" ? /* @__PURE__ */ jsx("a", {
|
|
225
247
|
...link,
|
|
226
248
|
className: "rb-item-text-link",
|
|
227
|
-
children:
|
|
249
|
+
children: /* @__PURE__ */ jsx(LinkedLabel, {
|
|
250
|
+
label: action.label,
|
|
251
|
+
newTabHint: item.newTabHint
|
|
252
|
+
})
|
|
253
|
+
}) : item.newTabHint ? /* @__PURE__ */ jsx(ThemedAuthoredButton, {
|
|
254
|
+
...link,
|
|
255
|
+
variant: presentation.buttonVariant ?? "primary",
|
|
256
|
+
size: presentation.actionSize ?? "sm",
|
|
257
|
+
label: action.label,
|
|
258
|
+
trailingIcon: "ExternalLink",
|
|
259
|
+
ariaLabel: `${action.label} (opens in a new tab)`
|
|
228
260
|
}) : /* @__PURE__ */ jsx(ThemedButtonLink, {
|
|
229
261
|
...link,
|
|
230
262
|
variant: presentation.buttonVariant ?? "primary",
|
|
@@ -233,5 +265,30 @@ function CardListAction({ item, presentation }) {
|
|
|
233
265
|
})
|
|
234
266
|
});
|
|
235
267
|
}
|
|
268
|
+
function ExternalLinkHint() {
|
|
269
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(ExternalLinkIcon, {
|
|
270
|
+
size: 14,
|
|
271
|
+
"aria-hidden": "true"
|
|
272
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
273
|
+
className: "rb-sr-only",
|
|
274
|
+
children: " (opens in a new tab)"
|
|
275
|
+
})] });
|
|
276
|
+
}
|
|
277
|
+
function cardListActionLink(action) {
|
|
278
|
+
return {
|
|
279
|
+
href: action.href ?? "",
|
|
280
|
+
target: action.external ? "_blank" : void 0,
|
|
281
|
+
rel: action.external ? "noopener noreferrer" : void 0
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
/** Keep the external indicator attached to the final word while allowing the title to wrap. */
|
|
285
|
+
function LinkedLabel({ label, newTabHint }) {
|
|
286
|
+
if (!newTabHint) return label;
|
|
287
|
+
const split = label.lastIndexOf(" ") + 1;
|
|
288
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [label.slice(0, split), /* @__PURE__ */ jsxs("span", {
|
|
289
|
+
className: "rb-linked-label-tail",
|
|
290
|
+
children: [label.slice(split), /* @__PURE__ */ jsx(ExternalLinkHint, {})]
|
|
291
|
+
})] });
|
|
292
|
+
}
|
|
236
293
|
//#endregion
|
|
237
|
-
export {
|
|
294
|
+
export { resolveEventCta as a, MediaNodeServer as i, CardListLeadDate as n, resolveEventLinkProps as o, resolveCardListSchedule as r, CardListContentPart as t };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { ii as clsx } from "./propsDecoder-BRKz13eg.mjs";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
//#region ../blocks/src/system/runtime/shared/components/CheckboxChoice.tsx
|
|
6
|
+
/**
|
|
7
|
+
* The customer-facing checkbox every block renders. Styling comes from the
|
|
8
|
+
* theme's input CSS (`.form-check`, `.form-checkbox`), so it follows each
|
|
9
|
+
* site's input colours, borders and corners.
|
|
10
|
+
*/
|
|
11
|
+
function CheckboxChoice({ label, labelLink, presentation = "row", className, ...inputProps }) {
|
|
12
|
+
const generatedId = React.useId();
|
|
13
|
+
const inputId = inputProps.id ?? generatedId;
|
|
14
|
+
if (labelLink) return /* @__PURE__ */ jsxs("div", {
|
|
15
|
+
className: clsx("form-check", "form-check--linked", presentation === "tile" && "form-check--tile", className),
|
|
16
|
+
children: [/* @__PURE__ */ jsx("input", {
|
|
17
|
+
...inputProps,
|
|
18
|
+
id: inputId,
|
|
19
|
+
"aria-labelledby": `${inputId}-label`,
|
|
20
|
+
type: "checkbox",
|
|
21
|
+
className: "form-checkbox"
|
|
22
|
+
}), /* @__PURE__ */ jsxs("span", {
|
|
23
|
+
id: `${inputId}-label`,
|
|
24
|
+
className: "form-check-label",
|
|
25
|
+
children: [/* @__PURE__ */ jsx("label", {
|
|
26
|
+
htmlFor: inputId,
|
|
27
|
+
children: label
|
|
28
|
+
}), labelLink]
|
|
29
|
+
})]
|
|
30
|
+
});
|
|
31
|
+
return /* @__PURE__ */ jsxs("label", {
|
|
32
|
+
className: clsx("form-check", presentation === "tile" && "form-check--tile", className),
|
|
33
|
+
children: [/* @__PURE__ */ jsx("input", {
|
|
34
|
+
...inputProps,
|
|
35
|
+
type: "checkbox",
|
|
36
|
+
className: "form-checkbox"
|
|
37
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
38
|
+
className: "form-check-label",
|
|
39
|
+
children: label
|
|
40
|
+
})]
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
export { CheckboxChoice as t };
|