@riverbankcms/sdk 0.155.0 → 0.156.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PreviewEditorSidebar-CbSbqmz3.mjs → PreviewEditorSidebar-B4ESNPzL.mjs} +3 -3
- package/dist/{PreviewEditorUI-CKKnAw11.mjs → PreviewEditorUI-BdUVaGOh.mjs} +3 -3
- package/dist/{SdkPreviewModeRuntime-wLkXrWy9.mjs → SdkPreviewModeRuntime-C4V3BvxK.mjs} +1122 -1079
- package/dist/{SiteChromeCustomizeContext-BQ8vvKb-.mjs → SiteChromeCustomizeContext-3gmd26Mn.mjs} +1019 -517
- package/dist/_dts/ai/src/contracts/proposals.d.ts +624 -624
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +856 -856
- package/dist/_dts/api/src/accountApi.d.ts +5 -5
- package/dist/_dts/api/src/aiPlayground.d.ts +2 -2
- package/dist/_dts/api/src/bookingRecords.d.ts +2 -22
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +5 -2
- package/dist/_dts/api/src/footerCompositionContracts.d.ts +1 -1
- package/dist/_dts/api/src/navigation/linkValue.d.ts +1 -1
- package/dist/_dts/api/src/navigation/types.d.ts +1 -1
- package/dist/_dts/api/src/public/types.d.ts +2 -1
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +3 -3
- package/dist/_dts/api/src/publicExperience/siteEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/sdkBlockContentAdmission.d.ts +1 -1
- package/dist/_dts/api/src/sdkConfig/contracts.d.ts +2 -1
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -1
- package/dist/_dts/api/src/sdkPageDesign.d.ts +9 -9
- package/dist/_dts/api/src/sdkThemeWire.d.ts +182 -182
- package/dist/_dts/api/src/siteOnboarding.d.ts +1 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -1
- package/dist/_dts/api/src/siteSettings.d.ts +2 -2
- package/dist/_dts/api/src/teamMembers.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useLayoutGridMoveAnimation.d.ts +13 -0
- package/dist/_dts/blocks/src/client/portal.d.ts +5 -0
- package/dist/_dts/blocks/src/contracts/event-registration.d.ts +141 -0
- package/dist/_dts/blocks/src/contracts/events.d.ts +21 -0
- package/dist/_dts/blocks/src/contracts/footer.d.ts +130 -0
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/site-chrome.d.ts +10 -0
- package/dist/_dts/blocks/src/customer-portal/client.d.ts +62 -0
- package/dist/_dts/blocks/src/customer-portal/components/PortalLoginForm.d.ts +16 -0
- package/dist/_dts/blocks/src/customer-portal/components/badge.d.ts +6 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/AppointmentBeforeYouComeTask.d.ts +29 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/BookingsSection.d.ts +22 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/BookingsTable.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/EventRow.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/EventSeriesRegistrationRow.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/EventSeriesRegistrationTableRow.d.ts +22 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/PortalAppointmentRescheduleFlow.d.ts +7 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/ScalarQuestionInput.d.ts +11 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/WaitlistCard.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/WaitlistsSection.d.ts +19 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/bookingsTypes.d.ts +11 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/eventGuestDrafts.d.ts +6 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/eventSeriesRegistrationPresentation.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/usePortalCancelFlow.d.ts +36 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/usePortalCancelFlow.state.d.ts +43 -0
- package/dist/_dts/blocks/src/customer-portal/components/orders/OrdersSection.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/orders/orderInteraction.d.ts +63 -0
- package/dist/_dts/blocks/src/customer-portal/components/portal-modal.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/portalDeepLink.d.ts +19 -0
- package/dist/_dts/blocks/src/customer-portal/components/useMembershipCancelFlow.d.ts +13 -0
- package/dist/_dts/blocks/src/customer-portal/components/useMembershipCancelFlow.state.d.ts +32 -0
- package/dist/_dts/blocks/src/customer-portal/pages/AccessState.d.ts +11 -0
- package/dist/_dts/blocks/src/customer-portal/pages/DigitalProductView.d.ts +4 -0
- package/dist/_dts/blocks/src/customer-portal/pages/PageChrome.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/pages/PrintButton.d.ts +1 -0
- package/dist/_dts/blocks/src/customer-portal/pages/TicketCode.d.ts +3 -0
- package/dist/_dts/blocks/src/customer-portal/pages/TicketView.d.ts +4 -0
- package/dist/_dts/blocks/src/customer-portal/route-client.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/shared/bookingRoute.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/shared/checkoutUrls.d.ts +4 -0
- package/dist/_dts/blocks/src/customer-portal/shared/signedUrlUpload.d.ts +1 -0
- package/dist/_dts/blocks/src/customer-portal/shared/urlParams.d.ts +30 -0
- package/dist/_dts/blocks/src/customer-portal/state.d.ts +196 -0
- package/dist/_dts/blocks/src/customer-portal/tabs.d.ts +17 -0
- package/dist/_dts/blocks/src/portal/dateFormatting.d.ts +13 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +7 -14
- package/dist/_dts/blocks/src/system/blocks/event-details.d.ts +1 -25
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +1 -141
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +135 -135
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +3 -129
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +2 -5
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +2 -5
- package/dist/_dts/blocks/src/system/constants/events.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +82 -82
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +2 -2
- package/dist/_dts/blocks/src/system/node/schema.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +21 -2
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +87 -3
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/schemas/events.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +16 -27
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.d.ts +2 -5
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.d.ts +2 -5
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +9 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +9 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +18 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +2 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/form.types.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/AppointmentRescheduleSlotOptions.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/shared/useAppointmentRescheduleFlow.d.ts +73 -0
- package/dist/_dts/blocks/src/system/runtime/shared/useAppointmentRescheduleFlow.state.d.ts +62 -0
- package/dist/_dts/blocks/src/system/runtime/shared/utils/demoPortalMagicLink.d.ts +1 -4
- package/dist/_dts/commerce/src/moneyDateUtils.d.ts +7 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +5 -1
- package/dist/_dts/core/src/date-display.d.ts +4 -0
- package/dist/_dts/core/src/navigation-portal-labels.d.ts +1 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +13 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/PreviewEditingModeProvider.d.ts +7 -0
- package/dist/_dts/sdk/src/bookings/types.d.ts +0 -1
- package/dist/_dts/sdk/src/next/index.d.ts +1 -0
- package/dist/_dts/sdk/src/next/portal.d.ts +41 -0
- package/dist/_dts/sdk/src/next/resolveTheme.d.ts +4 -9
- package/dist/_dts/sdk/src/next/types.d.ts +8 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -0
- package/dist/_dts/sdk/src/portal/index.d.ts +4 -36
- package/dist/_dts/sdk/src/portal/token.d.ts +4 -20
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +4 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -28
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/buttons/types.d.ts +41 -41
- package/dist/_dts/theme-core/src/buttons/typography.d.ts +2 -2
- package/dist/_dts/theme-core/src/cards/types.d.ts +34 -34
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/containerSchema.d.ts +2 -2
- package/dist/_dts/theme-core/src/hosted-booking-appearance.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +255 -255
- package/dist/_dts/theme-core/src/navigation/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/schema.d.ts +294 -294
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +7 -7
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +12 -12
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +2 -2
- package/dist/_dts/theme-core/src/typography/schema.d.ts +27 -27
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/_dts/ui/src/surface.d.ts +2 -2
- package/dist/_dts/ui/src/toggle.d.ts +2 -2
- package/dist/client/{BookingMailingListNote-CiW1dsz7.mjs → BookingMailingListNote-B9mP3Io9.mjs} +2 -2
- package/dist/client/{CardListItem-DVYTlYpS.mjs → CardListItem-D5rL2wPv.mjs} +3 -3
- package/dist/client/{CheckboxChoice-CUnPrBlC.mjs → CheckboxChoice-Bz6wLaBl.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-DEsn5F2C.mjs → DemoBookingPortalAccess-7BPVzfLU.mjs} +6 -10
- package/dist/client/{EventCombined.client-BdctbwnV.mjs → EventCombined.client-DZH5qHJl.mjs} +5 -5
- package/dist/client/{EventEmbeddedCheckoutStep-DAhQs6Jb.mjs → EventEmbeddedCheckoutStep-CV31Qvn2.mjs} +2 -2
- package/dist/client/{EventListing.client-BviZXfAE.mjs → EventListing.client-C19sjRGF.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BLTECfjU.mjs → LeafletStaticMap-DjUjYdzQ.mjs} +1 -1
- package/dist/client/{RichText-D3oE1_pw.mjs → RichText-DkKcVZwr.mjs} +2 -2
- package/dist/client/{ThemedButton-Ckj0Rfr_.mjs → ThemedButton-CTgpAXfL.mjs} +1 -1
- package/dist/client/{accordion-yBx6d4O2.mjs → accordion-R2-q5wo-.mjs} +1 -1
- package/dist/client/{bookingForm-CPDEsQci.mjs → bookingForm-VSU8nIdO.mjs} +12 -16
- package/dist/client/bookings.mjs +352 -64
- package/dist/client/{carousel-DCqjwd2s.mjs → carousel-BjPlY4ee.mjs} +2 -2
- package/dist/client/{carousel.client-Bx7XMF8-.mjs → carousel.client-Tnwvm0l1.mjs} +1 -1
- package/dist/client/{cart-DWJXrQxs.mjs → cart-DAPYTOP7.mjs} +3 -3
- package/dist/client/{checkout-CH4ypSLS.mjs → checkout-DGJTx4vB.mjs} +3 -3
- package/dist/client/client.mjs +61275 -61217
- package/dist/client/{context-BOs0m_iw.mjs → context-ByZBoKdq.mjs} +92 -209
- package/dist/client/{eventCalendar-CRylMllc.mjs → eventCalendar-CP5Z7iME.mjs} +8 -8
- package/dist/client/{eventCombined-DohTS3kp.mjs → eventCombined-D8nbUyxu.mjs} +4 -4
- package/dist/client/{eventDetails-qf-u9zcF.mjs → eventDetails-Bknq8k7E.mjs} +46 -44
- package/dist/client/{eventListing-Cg__X2vy.mjs → eventListing-BwMnPteX.mjs} +4 -4
- package/dist/client/{eventRegistration-CybWxswy.mjs → eventRegistration-COFk1mjw.mjs} +11 -11
- package/dist/client/{form-C-SGk6nq.mjs → form-BiWLd_me.mjs} +5 -5
- package/dist/client/{headerSection-BdzPaHqo.mjs → headerSection-BptDP4xF.mjs} +3 -3
- package/dist/client/hooks.mjs +22850 -22861
- package/dist/client/{locationMap-CEwIKmMb.mjs → locationMap-B-kPoqcK.mjs} +3 -3
- package/dist/client/{media-V_ShXXru.mjs → media-FjqQK4qS.mjs} +68 -1
- package/dist/client/{newsletterForm-CmwTltoS.mjs → newsletterForm-s_B8fCtT.mjs} +4 -4
- package/dist/client/portal/client.mjs +17419 -0
- package/dist/client/{productDetail-DjIzUwg3.mjs → productDetail-CS3GZMPi.mjs} +3 -3
- package/dist/client/{productList-D6JGFnMF.mjs → productList-Csc3WJDs.mjs} +3 -3
- package/dist/client/{propsDecoder-BRKz13eg.mjs → propsDecoder-Dn68GoQZ.mjs} +502 -2705
- package/dist/client/rendering/client.mjs +3303 -3612
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +46273 -46220
- package/dist/client/{routeIslandApiConfig-slAAILQ5.mjs → routeIslandApiConfig-DeBuevOO.mjs} +1 -1
- package/dist/client/{shop-C45K96_0.mjs → shop-B5EQbeUX.mjs} +7 -7
- package/dist/client/{shop-commerce-oGBiKT5d.mjs → shop-commerce-DYs7PdNL.mjs} +8 -8
- package/dist/client/{shop-commerce-store-H_HFPFZ8.mjs → shop-commerce-store-B2-DIPbg.mjs} +1 -1
- package/dist/client/{shopShared-D54T_LAV.mjs → shopShared-CE302Pfy.mjs} +4 -4
- package/dist/client/{useDiscountCodeUi-Dm2EUa03.mjs → useDiscountCodeUi-BZ02FBrV.mjs} +1 -1
- package/dist/client/{useEventPagination-0l_A8CxG.mjs → useEventPagination-VudQWKtG.mjs} +116 -6
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-CjTM32Ah.mjs → sdk-runtime-C8Qh6r51.mjs} +1 -1
- package/dist/server/components.mjs +927 -262
- package/dist/server/config-template-validation.mjs +5 -3
- package/dist/server/config-validation.mjs +35200 -35211
- package/dist/server/config.mjs +35200 -35211
- package/dist/server/data.mjs +32783 -32794
- package/dist/server/date-time.mjs +14 -7
- package/dist/server/index.mjs +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +71470 -70677
- package/dist/server/page-converter.mjs +202 -213
- package/dist/server/portal.mjs +5 -51
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1180 -722
- package/dist/server/rendering.mjs +922 -262
- package/dist/server/routing.mjs +39382 -41704
- package/dist/server/server.mjs +203 -214
- package/dist/server/theme-bridge.mjs +262 -2
- package/dist/{spinner-KVVZh8jd.mjs → spinner-Bi68Z_0o.mjs} +1 -1
- package/dist/styles/index.css +258 -2
- package/package.json +9 -1
- package/dist/_dts/sdk/src/portal/config.d.ts +0 -67
|
@@ -1,132 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import type
|
|
1
|
+
import type { FooterRuntimeModule, FooterResolvedEngagement, FooterRuntimeViewModel, FooterAttribution, FooterLayoutHints } from '../../contracts/footer';
|
|
2
|
+
export type { FooterRuntimeModule, FooterRuntimeEngagement, FooterStandardContactRuntime, FooterMailingListRuntime, FooterResolvedEngagement, FooterRuntimeViewModel, FooterRuntimeGroup, FooterRuntimeRegion, FooterAttribution, FooterLayoutHints } from '../../contracts/footer';
|
|
3
|
+
import { type FooterArrangement, type FooterCompositionV1, type FooterSection, type PublicProfile, type Result } from '../../../../core/src/index';
|
|
4
4
|
import type { Theme } from '../../../../theme-core/src/schema';
|
|
5
|
-
import type { FormSourceProps } from '../runtime/nodes/form.interactive';
|
|
6
|
-
import type { NewsletterFormSourceProps } from '../runtime/nodes/newsletter-form.interactive';
|
|
7
|
-
type FooterRuntimeModuleBase<TKind extends FooterSection['kind'] | 'attribution'> = Readonly<{
|
|
8
|
-
id: FooterModuleId;
|
|
9
|
-
kind: TKind;
|
|
10
|
-
heading: string | null;
|
|
11
|
-
align?: 'center';
|
|
12
|
-
className?: string;
|
|
13
|
-
contactClassName?: string;
|
|
14
|
-
slots?: Readonly<Partial<Record<'media' | 'heading' | 'copy' | 'schedule' | 'social' | 'group-label' | 'navigation', ArrangementSlotName>>>;
|
|
15
|
-
}>;
|
|
16
|
-
type UnionKeys<T> = T extends T ? keyof T : never;
|
|
17
|
-
type StrictUnionMember<T, TAll> = T extends T ? T & Partial<Record<Exclude<UnionKeys<TAll>, keyof T>, never>> : never;
|
|
18
|
-
type StrictUnion<T> = StrictUnionMember<T, T>;
|
|
19
|
-
type FooterRuntimeModuleVariant = (FooterRuntimeModuleBase<'brand'> & Readonly<{
|
|
20
|
-
showLogo: boolean;
|
|
21
|
-
showTitle: boolean;
|
|
22
|
-
}>) | (FooterRuntimeModuleBase<'navigation'> & Readonly<{
|
|
23
|
-
navigationClassName?: string;
|
|
24
|
-
navigationGroupsClassName?: string;
|
|
25
|
-
}>) | FooterRuntimeModuleBase<'legal-navigation'> | (FooterRuntimeModuleBase<'business-address'> & Readonly<{
|
|
26
|
-
address: string;
|
|
27
|
-
}>) | (FooterRuntimeModuleBase<'contact'> & Readonly<{
|
|
28
|
-
contactLinks: readonly FooterRuntimeContactLink[];
|
|
29
|
-
}>) | (FooterRuntimeModuleBase<'opening-hours'> & Readonly<{
|
|
30
|
-
openingHours: readonly FooterRuntimeOpeningHours[];
|
|
31
|
-
timeZone: string;
|
|
32
|
-
}>) | (FooterRuntimeModuleBase<'social-links'> & Readonly<{
|
|
33
|
-
socialLinks: readonly FooterRuntimeSocialLink[];
|
|
34
|
-
}>) | (FooterRuntimeModuleBase<'supporting-text'> & Readonly<{
|
|
35
|
-
content: FooterRichText;
|
|
36
|
-
}>) | (FooterRuntimeModuleBase<'legal'> & Readonly<{
|
|
37
|
-
content: FooterRichText;
|
|
38
|
-
}>) | (FooterRuntimeModuleBase<'engagement'> & Readonly<{
|
|
39
|
-
engagement: FooterRuntimeEngagement;
|
|
40
|
-
}>) | (FooterRuntimeModuleBase<'attribution'> & FooterAttribution);
|
|
41
|
-
export type FooterRuntimeModule = StrictUnion<FooterRuntimeModuleVariant>;
|
|
42
|
-
export type FooterRuntimeEngagement = Readonly<{
|
|
43
|
-
kind: 'standard-contact';
|
|
44
|
-
intro: string | null;
|
|
45
|
-
runtime: FooterStandardContactRuntime;
|
|
46
|
-
}> | Readonly<{
|
|
47
|
-
kind: 'mailing-list';
|
|
48
|
-
intro: string | null;
|
|
49
|
-
runtime: FooterMailingListRuntime;
|
|
50
|
-
}>;
|
|
51
|
-
export type FooterStandardContactRuntime = Readonly<{
|
|
52
|
-
value: NonNullable<FormSourceProps['value']>;
|
|
53
|
-
submitLabel?: FormSourceProps['submitLabel'];
|
|
54
|
-
successMessage?: FormSourceProps['successMessage'];
|
|
55
|
-
}>;
|
|
56
|
-
type FooterMailingListRuntimeBase = Readonly<{
|
|
57
|
-
mailingList: NonNullable<NewsletterFormSourceProps['mailingList']>;
|
|
58
|
-
targeting: NonNullable<NewsletterFormSourceProps['targeting']>;
|
|
59
|
-
}>;
|
|
60
|
-
export type FooterMailingListRuntime = FooterMailingListRuntimeBase & (Readonly<{
|
|
61
|
-
mode?: 'public';
|
|
62
|
-
source: 'signed-footer';
|
|
63
|
-
sourceRef: NonNullable<Extract<NewsletterFormSourceProps, {
|
|
64
|
-
source: 'signed-footer';
|
|
65
|
-
}>['sourceRef']>;
|
|
66
|
-
}> | Readonly<{
|
|
67
|
-
mode: 'preview';
|
|
68
|
-
source: 'preview';
|
|
69
|
-
sourceRef?: never;
|
|
70
|
-
}>);
|
|
71
|
-
export type FooterResolvedEngagement = Readonly<{
|
|
72
|
-
kind: 'none';
|
|
73
|
-
}> | Readonly<{
|
|
74
|
-
kind: 'needs-attention';
|
|
75
|
-
reason: 'missing-form' | 'wrong-form-kind' | 'invalid-form' | 'destination-not-ready';
|
|
76
|
-
}> | Readonly<{
|
|
77
|
-
kind: 'resolved';
|
|
78
|
-
sectionId: FooterModuleId;
|
|
79
|
-
engagement: Extract<FooterRuntimeEngagement, {
|
|
80
|
-
kind: 'standard-contact';
|
|
81
|
-
}>;
|
|
82
|
-
}> | Readonly<{
|
|
83
|
-
kind: 'resolved';
|
|
84
|
-
sectionId: FooterModuleId;
|
|
85
|
-
engagement: Extract<FooterRuntimeEngagement, {
|
|
86
|
-
kind: 'mailing-list';
|
|
87
|
-
}>;
|
|
88
|
-
}>;
|
|
89
|
-
export type FooterRuntimeViewModel = Readonly<{
|
|
90
|
-
arrangement?: FooterArrangement;
|
|
91
|
-
arrangementHook?: 'footer-centred';
|
|
92
|
-
slots?: Readonly<{
|
|
93
|
-
'group-label': ArrangementSlotName;
|
|
94
|
-
}>;
|
|
95
|
-
membershipKey: FooterMembershipKey;
|
|
96
|
-
regions: readonly FooterRuntimeRegion[];
|
|
97
|
-
}>;
|
|
98
|
-
export type FooterRuntimeGroup = Readonly<{
|
|
99
|
-
kind: FooterVisualGroupKind | 'attribution';
|
|
100
|
-
slot?: ArrangementSlotName;
|
|
101
|
-
align?: 'center';
|
|
102
|
-
className: string;
|
|
103
|
-
modules: readonly FooterRuntimeModule[];
|
|
104
|
-
}>;
|
|
105
|
-
export type FooterRuntimeRegion = Readonly<{
|
|
106
|
-
kind: 'engagement-row' | 'main' | 'bottom';
|
|
107
|
-
slot?: ArrangementSlotName;
|
|
108
|
-
className: string;
|
|
109
|
-
groups: readonly FooterRuntimeGroup[];
|
|
110
|
-
}>;
|
|
111
|
-
/**
|
|
112
|
-
* The platform's attribution line ("Made by Macadamia"). It is set by the
|
|
113
|
-
* site's plan, never by the owner, so it is not a footer composition section:
|
|
114
|
-
* it joins the runtime only, in the bottom bar, after the owner's modules.
|
|
115
|
-
*/
|
|
116
|
-
export type FooterAttribution = Readonly<{
|
|
117
|
-
/** The words before the link, e.g. "Booking by". */
|
|
118
|
-
lead: string;
|
|
119
|
-
link: Readonly<{
|
|
120
|
-
href: string;
|
|
121
|
-
label: string;
|
|
122
|
-
}>;
|
|
123
|
-
}>;
|
|
124
|
-
/** The footer arrangement's hints that come from the site style's footer. */
|
|
125
|
-
export type FooterLayoutHints = Readonly<{
|
|
126
|
-
legalRegion: 'integrated' | 'separate';
|
|
127
|
-
layoutVariant: Theme['footer']['variant'] | undefined;
|
|
128
|
-
navigationLayout: NonNullable<Theme['footer']['navLayout']>['layout'] | undefined;
|
|
129
|
-
}>;
|
|
130
5
|
export declare function resolveFooterLayoutHints(theme: Theme | null): FooterLayoutHints;
|
|
131
6
|
type FooterRuntimeViewModelInput = Readonly<{
|
|
132
7
|
composition: FooterCompositionV1;
|
|
@@ -158,4 +33,3 @@ export declare function buildFooterRuntimeViewModel(input: FooterRuntimeViewMode
|
|
|
158
33
|
* footer look shows it in the same place and styles it with its own tokens.
|
|
159
34
|
*/
|
|
160
35
|
export declare function withFooterAttribution(runtime: FooterRuntimeViewModel, attribution: FooterAttribution | null): FooterRuntimeViewModel;
|
|
161
|
-
export {};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
+
import type { SiteFooterContent } from '../../contracts/site-chrome';
|
|
2
|
+
export type { SiteFooterContent } from '../../contracts/site-chrome';
|
|
1
3
|
import type { SystemBlockDefinition } from '../registry';
|
|
2
|
-
import type { FooterRuntimeViewModel } from './site-footer-runtime';
|
|
3
4
|
export declare const siteFooterManifest: import("..").DefinedBlockManifest<{
|
|
4
5
|
readonly skipSectionStyles: true;
|
|
5
6
|
}>;
|
|
6
7
|
export type SiteFooterVariant = 'simple' | 'split' | 'centred';
|
|
7
|
-
export type SiteFooterContent = Readonly<{
|
|
8
|
-
showBusinessAddress?: boolean | null;
|
|
9
|
-
footerRuntime?: FooterRuntimeViewModel | null;
|
|
10
|
-
}>;
|
|
11
8
|
export declare const siteFooterBlockDefinition: SystemBlockDefinition<SiteFooterContent>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { SiteHeaderContent } from '../../contracts/site-chrome';
|
|
2
|
+
export { SITE_HEADER_MODES, type SiteHeaderMode, type SiteHeaderContent } from '../../contracts/site-chrome';
|
|
1
3
|
import type { NodeDefinition } from '../node';
|
|
2
4
|
import type { SystemBlockDefinition } from '../registry';
|
|
3
5
|
export declare const siteHeaderManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
@@ -38,9 +40,4 @@ export declare const siteHeaderManifest: import("..").DefinedBlockManifest<impor
|
|
|
38
40
|
readonly paletteHidden: true;
|
|
39
41
|
}>>;
|
|
40
42
|
export type SiteHeaderManifest = typeof siteHeaderManifest;
|
|
41
|
-
export declare const SITE_HEADER_MODES: readonly ["default", "hidden"];
|
|
42
|
-
export type SiteHeaderMode = (typeof SITE_HEADER_MODES)[number];
|
|
43
|
-
export type SiteHeaderContent = Readonly<{
|
|
44
|
-
mode?: SiteHeaderMode | null;
|
|
45
|
-
}>;
|
|
46
43
|
export declare const siteHeaderBlockDefinition: SystemBlockDefinition<SiteHeaderContent>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Shared constants for event content types and booking system integration.
|
|
5
5
|
*/
|
|
6
|
-
import type { OccurrenceContextData } from '
|
|
6
|
+
import type { EventOccurrenceContextData as OccurrenceContextData } from '../../../../core/src/index';
|
|
7
7
|
/**
|
|
8
8
|
* Content type slugs that represent event content.
|
|
9
9
|
* These are the standard slugs used when creating event content types in the CMS.
|
|
@@ -41,7 +41,7 @@ export declare const eventCalendarListLayoutFacet: {
|
|
|
41
41
|
readonly legacyOnly: true;
|
|
42
42
|
readonly values: {
|
|
43
43
|
value: "compact" | "stack" | "grid";
|
|
44
|
-
label: "
|
|
44
|
+
label: "Stack" | "Grid" | "Compact";
|
|
45
45
|
}[];
|
|
46
46
|
readonly defaultValue: "stack";
|
|
47
47
|
readonly target: {
|
|
@@ -56,7 +56,7 @@ export declare const systemCustomizeFacetDefinitions: readonly [{
|
|
|
56
56
|
readonly legacyOnly: true;
|
|
57
57
|
readonly values: {
|
|
58
58
|
value: "compact" | "stack" | "grid";
|
|
59
|
-
label: "
|
|
59
|
+
label: "Stack" | "Grid" | "Compact";
|
|
60
60
|
}[];
|
|
61
61
|
readonly defaultValue: "stack";
|
|
62
62
|
readonly target: {
|