@riverbankcms/sdk 0.132.0 → 0.134.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/CHANGELOG.md +10 -0
- package/dist/{PreviewEditorSidebar-DKQ5eFK9.mjs → PreviewEditorSidebar-DfRhJPFQ.mjs} +3 -3
- package/dist/{PreviewEditorUI-CNTcOjCC.mjs → PreviewEditorUI-Dppxcr_g.mjs} +2 -2
- package/dist/{SdkPreviewModeRuntime-DJu3qu33.mjs → SdkPreviewModeRuntime-8CyGCXir.mjs} +46 -15
- package/dist/{SiteChromeCustomizeContext-2TzT3vbj.mjs → SiteChromeCustomizeContext-DVMTMvqA.mjs} +497 -169
- package/dist/_dts/ai/src/contracts/proposals.d.ts +384 -384
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +219 -219
- package/dist/_dts/api/src/accountApi.d.ts +5 -5
- package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/bookingOperations.d.ts +2 -14
- package/dist/_dts/api/src/bookings.d.ts +2 -2
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -1
- package/dist/_dts/api/src/courseEndpointDefinitions.d.ts +2 -2
- package/dist/_dts/api/src/endpoints.d.ts +3 -3
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
- package/dist/_dts/api/src/navigation/contracts.d.ts +9 -6
- package/dist/_dts/api/src/navigation/linkResolver.d.ts +6 -2
- package/dist/_dts/api/src/navigation/types.d.ts +23 -6
- package/dist/_dts/api/src/navigation.d.ts +1 -1
- package/dist/_dts/api/src/publicBookingService.d.ts +15 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +3 -1
- package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +2 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +1 -1
- package/dist/_dts/api/src/sdkThemeWire.d.ts +50 -50
- package/dist/_dts/api/src/siteBanner.d.ts +4 -2
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/api/src/webhooks.d.ts +12 -12
- package/dist/_dts/blocks/src/client.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +28 -72
- package/dist/_dts/blocks/src/index.d.ts +3 -2
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +2 -2
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +36 -14
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/schemas.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +4 -4
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +148 -148
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/shared/bookingConsent.d.ts +36 -0
- package/dist/_dts/blocks/src/system/manifest/hydrateLinks.d.ts +9 -2
- package/dist/_dts/blocks/src/system/manifest/resolveBlockData.d.ts +8 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +79 -79
- package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +2 -11
- package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/components/multi-step/DynamicFormFields.d.ts +3 -19
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useSelectedAppointmentConsentForm.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.consent.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.field-values.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.fields.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +38 -144
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +5 -19
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationSurface.d.ts +18 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/validation.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/components.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/whole-series-registration.headless.contract.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +34 -12
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingConsentAgreement.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/types/link.d.ts +7 -1
- package/dist/_dts/content-model/src/content-types/schema.d.ts +4 -4
- package/dist/_dts/core/src/booking-consent.d.ts +8 -0
- package/dist/_dts/core/src/index.d.ts +1 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +9 -3
- package/dist/_dts/db/src/schemas/forms.d.ts +21 -21
- package/dist/_dts/db/src/types/jsonb.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +2 -1
- package/dist/_dts/editor/src/primitives/rich-text/config.d.ts +2 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/linkPopoverUtils.d.ts +3 -2
- package/dist/_dts/editor/src/primitives/rich-text/useRichTextEditor.d.ts +3 -4
- package/dist/_dts/media-core/src/usageScanner.d.ts +1 -1
- package/dist/_dts/sdk/src/bookings/types.d.ts +7 -89
- package/dist/_dts/sdk/src/config/validation.d.ts +30 -30
- package/dist/_dts/sdk/src/contracts/content.d.ts +10 -36
- package/dist/_dts/sdk/src/contracts/rendering.d.ts +1 -1
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +9 -9
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +6 -19
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/types.d.ts +12 -12
- package/dist/_dts/theme-core/src/cards/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +72 -72
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
- 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 +82 -82
- package/dist/_dts/theme-core/src/site-styles/cardRoleVocabulary.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +1 -1
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/_dts/ui/src/callout.d.ts +1 -1
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/client/{StepIndicator-CGixP_LW.mjs → BookingConsentAgreement-BxgpGEFD.mjs} +26 -4
- package/dist/client/{DiscountCodeDisclosure-DO7llLxm.mjs → DiscountCodeDisclosure-CfuPOHD0.mjs} +1 -1
- package/dist/client/{EventCombined.client-xID7zN__.mjs → EventCombined.client-DB8Qfzi-.mjs} +3 -3
- package/dist/client/{EventListing.client-CriBslp0.mjs → EventListing.client-DD4X8hp4.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-DYmHnM8g.mjs → LeafletStaticMap-QhgIBQbv.mjs} +1 -1
- package/dist/client/{WholeSeriesRegistrationWizard-BEjzSiOA.mjs → WholeSeriesRegistrationWizard-DwtC7bCs.mjs} +72 -22
- package/dist/client/{accordion-CgFbnnnQ.mjs → accordion-DFXpLvwg.mjs} +1 -1
- package/dist/client/{bookingForm-dUyGpbxc.mjs → bookingForm-sI05d3lk.mjs} +73 -47
- package/dist/client/bookings.mjs +989 -140
- package/dist/client/{carousel-BvBwkUzx.mjs → carousel-wjyWTZCh.mjs} +1 -1
- package/dist/client/{cart-DiZENT2E.mjs → cart-DCwdpA4i.mjs} +3 -3
- package/dist/client/{checkout-Dq13KIgR.mjs → checkout-DTDW3l0R.mjs} +3 -3
- package/dist/client/checkoutUrls-DQYC_Br-.mjs +187 -0
- package/dist/client/client.mjs +556 -237
- package/dist/client/{context-B83PiNzm.mjs → context-TSK1CGx8.mjs} +1 -14
- package/dist/client/{courseRegistration-CKC5NmyH.mjs → courseRegistration-A-Tg7qw_.mjs} +3 -3
- package/dist/client/{eventCalendar-BF0Jatfw.mjs → eventCalendar-B0Zg-i_w.mjs} +5 -5
- package/dist/client/{eventCombined-BuoCF8je.mjs → eventCombined-B8Y2wizd.mjs} +3 -3
- package/dist/client/{eventDetails-CKwh0S9s.mjs → eventDetails-DPDOwURJ.mjs} +3 -3
- package/dist/client/{eventListing-eUxaWFaB.mjs → eventListing-CjBcmSLn.mjs} +3 -3
- package/dist/client/{eventRegistration-CfkNOkPb.mjs → eventRegistration-CK30HsAq.mjs} +111 -64
- package/dist/client/{form-C17H1c_H.mjs → form-CUXfsABE.mjs} +2 -2
- package/dist/client/{headerSection-DEwUmrtt.mjs → headerSection-N-mN3rjr.mjs} +2 -2
- package/dist/client/hooks.mjs +106 -3
- package/dist/client/{locationMap-Pf2QwuvW.mjs → locationMap-oiIDQMBt.mjs} +2 -2
- package/dist/client/{newsletterForm-BWQAH5Sv.mjs → newsletterForm-CkQ2tTrM.mjs} +2 -2
- package/dist/client/{pricing-CVdvbopJ.mjs → pricing-Caa0QWzh.mjs} +1 -1
- package/dist/client/{productDetail-BZi1Fa_G.mjs → productDetail-CnidyrsN.mjs} +3 -3
- package/dist/client/{productList-qq-55DNk.mjs → productList-CttYcS_S.mjs} +3 -3
- package/dist/client/{propsDecoder-BxmqPKdP.mjs → propsDecoder-CeUMxI9a.mjs} +211 -100
- package/dist/client/rendering/client.mjs +428 -151
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +643 -324
- package/dist/client/{scrollToBlock-B3CcKdtG.mjs → scrollToBlock-lPr1oqxB.mjs} +1 -1
- package/dist/client/{shop-DNWJPut5.mjs → shop-DXQtMo2O.mjs} +6 -6
- package/dist/client/{shop-commerce-BhvQCosS.mjs → shop-commerce-quDL411J.mjs} +7 -164
- package/dist/client/{shop-commerce-store-B04sCNnW.mjs → shop-commerce-store-Dnu-8Iub.mjs} +1 -1
- package/dist/client/{shopShared-DNNgZlmW.mjs → shopShared-BWPUURvG.mjs} +3 -3
- package/dist/client/{useEventFilters-CUmhE24_.mjs → useEventFilters-DRhWp2_5.mjs} +3 -3
- package/dist/client/{usePolling-M5jG675x.mjs → usePolling-UN4WKnaM.mjs} +2 -2
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-BEXb1wqo.mjs → sdk-runtime-Ca5RD78X.mjs} +1 -1
- package/dist/{separator-DGMuip1D.mjs → separator-CMhj6BTi.mjs} +1 -1
- package/dist/server/components.mjs +117 -37
- package/dist/server/config-validation.mjs +106 -3
- package/dist/server/config.mjs +106 -3
- package/dist/server/data.mjs +106 -3
- package/dist/server/index.mjs +1 -1
- package/dist/server/next.mjs +186 -106
- package/dist/server/page-converter.mjs +105 -2
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +119 -37
- package/dist/server/rendering.mjs +117 -37
- package/dist/server/routing.mjs +132 -73
- package/dist/server/server.mjs +107 -4
- package/dist/server/theme-bridge.mjs +4 -4
- package/package.json +2 -2
- package/dist/client/checkoutUrls-Ct8Mxna3.mjs +0 -26
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import type { BookingFlexibleBalanceConfig, BookingInstalmentPlanConfig } from '../../../core/src/index';
|
|
11
11
|
import type { AppointmentBookingOverrideData, AppointmentBookingOverrideInput, AppointmentBookingOverrideInputResult, BookingAvailabilityQuery, BookingAppointmentPackagesModel, BookingAppointmentPackagesUnavailableReason, BookingPaymentOptionViewModel, BookingPaymentSelectionViewModel, BookingFieldValue, BookingFieldView, BookingFlowActionResult, BookingFlowFeedback, BookingFlowStatus, BookingResourceView, BookingFlowStep, BookingFlowStepId, BookingFlowView, BookingResourcesModel, BookingSlotView, BookingSubmitActionResult, BookingSubmitOptions, BookingValidationErrors, DerivedBookingFlowSteps, DeriveBookingFlowStepsInput, EventRegistrationAttendeeModel, EventRegistrationDiscountModel, EventRegistrationEventsModel, EventRegistrationFlowActionResult, EventRegistrationFlowActions, EventRegistrationFlowStatus, EventRegistrationFlowStep, EventRegistrationFlowStepId, EventRegistrationFlowView, EventRegistrationGuestsModel, EventRegistrationLoadState, EventRegistrationOverrideData, EventRegistrationOverrideInput, EventRegistrationOverrideInputResult, EventRegistrationOverridePropsLike, EventRegistrationPaymentModel, EventRegistrationPaymentSelection, EventRegistrationPortalAuthModel, EventRegistrationSpamProtectionModel, EventRegistrationSubmitOptions, EventRegistrationSubmitResult, EventRegistrationTerminalModel, EventRegistrationTicketsModel, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingPaymentSelectionStepProps, HeadlessBookingProviderProps, HeadlessEventRegistrationFlow, HeadlessEventRegistrationFlowOptions, HeadlessEventRegistrationProviderProps, HeadlessWholeSeriesRegistrationFlow, HeadlessWholeSeriesRegistrationFlowOptions, HeadlessWholeSeriesRegistrationProviderProps, WholeSeriesRegistrationAvailabilityModel, WholeSeriesRegistrationFlowActionResult, WholeSeriesRegistrationFlowActions, WholeSeriesRegistrationFlowStatus, WholeSeriesRegistrationFlowStep, WholeSeriesRegistrationFlowStepId, WholeSeriesRegistrationFlowView, WholeSeriesRegistrationPaymentModel, WholeSeriesRegistrationPaymentSelection, WholeSeriesRegistrationPricingInput, WholeSeriesRegistrationPricingModel, WholeSeriesRegistrationPricingOptionInput, WholeSeriesRegistrationRun, WholeSeriesRegistrationRunInput, WholeSeriesRegistrationRunsModel, WholeSeriesRegistrationSpamProtectionModel, WholeSeriesRegistrationWaitlistClaimModel } from '../../../blocks/src/client';
|
|
12
|
-
import type { BookingFormData as BlocksBookingFormData, BookingSelectedCollectionOptionKind } from '../../../blocks/src/client';
|
|
12
|
+
import type { BookingFormData as BlocksBookingFormData, BookingFormField as BlocksBookingFormField, BookingFormClientProps as BlocksBookingFormClientProps, BookingFormConfig as BlocksBookingFormConfig, BookingService as BlocksBookingService, BookingSelectedCollectionOptionKind } from '../../../blocks/src/client';
|
|
13
13
|
export { BOOKING_FORM_DATA_RESERVED_KEY_VALUES } from '../../../blocks/src/client';
|
|
14
14
|
export type { AppointmentBookingOverrideData, AppointmentBookingOverrideInput, AppointmentBookingOverrideInputResult, BookingAvailabilityQuery, BookingAppointmentPackagesModel, BookingAppointmentPackagesUnavailableReason, BookingPaymentOptionViewModel, BookingPaymentSelectionViewModel, BookingFieldValue, BookingFieldView, BookingFlowActionResult, BookingFlowFeedback, BookingFlowStatus, BookingResourceView, BookingFlowStep, BookingFlowStepId, BookingFlowView, BookingResourcesModel, BookingSlotView, BookingSubmitActionResult, BookingSubmitOptions, BookingValidationErrors, DerivedBookingFlowSteps, DeriveBookingFlowStepsInput, EventRegistrationAttendeeModel, EventRegistrationDiscountModel, EventRegistrationEventsModel, EventRegistrationFlowActionResult, EventRegistrationFlowActions, EventRegistrationFlowStatus, EventRegistrationFlowStep, EventRegistrationFlowStepId, EventRegistrationFlowView, EventRegistrationGuestsModel, EventRegistrationLoadState, EventRegistrationOverrideData, EventRegistrationOverrideInput, EventRegistrationOverrideInputResult, EventRegistrationOverridePropsLike, EventRegistrationPaymentModel, EventRegistrationPaymentSelection, EventRegistrationPortalAuthModel, EventRegistrationSpamProtectionModel, EventRegistrationSubmitOptions, EventRegistrationSubmitResult, EventRegistrationTerminalModel, EventRegistrationTicketsModel, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingPaymentSelectionStepProps, HeadlessBookingProviderProps, HeadlessEventRegistrationFlow, HeadlessEventRegistrationFlowOptions, HeadlessEventRegistrationProviderProps, HeadlessWholeSeriesRegistrationFlow, HeadlessWholeSeriesRegistrationFlowOptions, HeadlessWholeSeriesRegistrationProviderProps, WholeSeriesRegistrationAvailabilityModel, WholeSeriesRegistrationFlowActionResult, WholeSeriesRegistrationFlowActions, WholeSeriesRegistrationFlowStatus, WholeSeriesRegistrationFlowStep, WholeSeriesRegistrationFlowStepId, WholeSeriesRegistrationFlowView, WholeSeriesRegistrationPaymentModel, WholeSeriesRegistrationPaymentSelection, WholeSeriesRegistrationPricingInput, WholeSeriesRegistrationPricingModel, WholeSeriesRegistrationPricingOptionInput, WholeSeriesRegistrationRun, WholeSeriesRegistrationRunInput, WholeSeriesRegistrationRunsModel, WholeSeriesRegistrationSpamProtectionModel, WholeSeriesRegistrationWaitlistClaimModel, BookingSelectedCollectionOptionKind, };
|
|
15
15
|
/**
|
|
@@ -17,13 +17,7 @@ export type { AppointmentBookingOverrideData, AppointmentBookingOverrideInput, A
|
|
|
17
17
|
*
|
|
18
18
|
* This matches the booking-services API shape returned by `useBookingFormConfig`.
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
id: string;
|
|
22
|
-
title: string;
|
|
23
|
-
description?: string;
|
|
24
|
-
durationMinutes?: number;
|
|
25
|
-
paymentTerms?: BookingFormPaymentTerms;
|
|
26
|
-
}
|
|
20
|
+
export type Service = BlocksBookingService;
|
|
27
21
|
/** Back-compat alias: some consumers use the `BookingService` name. */
|
|
28
22
|
export type BookingService = Service;
|
|
29
23
|
/**
|
|
@@ -55,34 +49,11 @@ export interface BookingFormSchema {
|
|
|
55
49
|
/**
|
|
56
50
|
* Booking form configuration returned from the API and used by the booking runtime.
|
|
57
51
|
*/
|
|
58
|
-
export
|
|
59
|
-
id: string;
|
|
60
|
-
name: string;
|
|
61
|
-
slug: string;
|
|
62
|
-
settings?: BookingFormSettings;
|
|
63
|
-
schema?: BookingFormSchema;
|
|
64
|
-
}
|
|
52
|
+
export type BookingFormConfig = BlocksBookingFormConfig;
|
|
65
53
|
/**
|
|
66
54
|
* A field in the booking form schema
|
|
67
55
|
*/
|
|
68
|
-
export
|
|
69
|
-
id: string;
|
|
70
|
-
label: string;
|
|
71
|
-
type: 'text' | 'email' | 'textarea' | 'select' | 'radio' | 'checkbox' | 'booking_requirement_consent' | 'tel' | 'url' | 'number' | 'date' | 'time';
|
|
72
|
-
required?: boolean;
|
|
73
|
-
placeholder?: string;
|
|
74
|
-
helpText?: string;
|
|
75
|
-
options?: readonly Readonly<{
|
|
76
|
-
label: string;
|
|
77
|
-
value: string;
|
|
78
|
-
}>[];
|
|
79
|
-
multiple?: boolean;
|
|
80
|
-
minLength?: number;
|
|
81
|
-
maxLength?: number;
|
|
82
|
-
pattern?: string;
|
|
83
|
-
min?: number;
|
|
84
|
-
max?: number;
|
|
85
|
-
}
|
|
56
|
+
export type BookingFormField = BlocksBookingFormField;
|
|
86
57
|
/**
|
|
87
58
|
* Data collected during the booking flow
|
|
88
59
|
*
|
|
@@ -172,25 +143,8 @@ export interface UseBookingFormConfigResult {
|
|
|
172
143
|
isLoading: boolean;
|
|
173
144
|
error: string | null;
|
|
174
145
|
}
|
|
175
|
-
/**
|
|
176
|
-
export
|
|
177
|
-
id: string;
|
|
178
|
-
siteId: string;
|
|
179
|
-
title: string;
|
|
180
|
-
description?: string;
|
|
181
|
-
durationMinutes?: number;
|
|
182
|
-
priceAmount?: number | null;
|
|
183
|
-
priceCurrency?: string | null;
|
|
184
|
-
paymentTerms?: BookingFormPaymentTerms;
|
|
185
|
-
paymentTermsAvailability?: Readonly<{
|
|
186
|
-
kind: 'available';
|
|
187
|
-
paymentTerms: BookingFormPaymentTerms;
|
|
188
|
-
}> | Readonly<{
|
|
189
|
-
kind: 'pending_stripe_setup';
|
|
190
|
-
paymentTerms: BookingFormPaymentTerms;
|
|
191
|
-
reason: 'online_payment_configured_before_launch';
|
|
192
|
-
}>;
|
|
193
|
-
}
|
|
146
|
+
/** SDK name for the shared booking runtime service contract. */
|
|
147
|
+
export type BookingFormClientService = BlocksBookingService;
|
|
194
148
|
/** Legacy alias preserved for SDK consumers; now points at the shared form config contract. */
|
|
195
149
|
export type BookingFormClientForm = BookingFormConfig;
|
|
196
150
|
export type BookingFormPaymentCollectionOption = Readonly<{
|
|
@@ -207,49 +161,13 @@ export type BookingFormPaymentCollectionOption = Readonly<{
|
|
|
207
161
|
export interface BookingFormPaymentTerms {
|
|
208
162
|
allowedOptions: BookingFormPaymentCollectionOption[];
|
|
209
163
|
}
|
|
210
|
-
export interface BookingFormClientRebookContext {
|
|
211
|
-
kind: 'portal_rebook';
|
|
212
|
-
}
|
|
213
|
-
export interface BookingFormClientDisplay {
|
|
214
|
-
kind: 'booking-form';
|
|
215
|
-
state: 'missing' | 'ready';
|
|
216
|
-
className: string | null;
|
|
217
|
-
submitLabel: string;
|
|
218
|
-
successMessage: string | null;
|
|
219
|
-
message: string | null;
|
|
220
|
-
}
|
|
221
|
-
export interface BookingFormClientHydration {
|
|
222
|
-
formId: string | null;
|
|
223
|
-
serviceId: string | null;
|
|
224
|
-
resourceId: string | null;
|
|
225
|
-
initialData?: Readonly<Record<string, unknown>> | null;
|
|
226
|
-
noticeMessage?: string | null;
|
|
227
|
-
requiresServiceSelection?: boolean;
|
|
228
|
-
requiresResourceSelection?: boolean;
|
|
229
|
-
shouldAutoSelectSingleResource?: boolean;
|
|
230
|
-
rebookContext?: BookingFormClientRebookContext | null;
|
|
231
|
-
form: BookingFormClientForm | null;
|
|
232
|
-
services: readonly BookingFormClientService[];
|
|
233
|
-
spamProtectionEnabled?: boolean;
|
|
234
|
-
}
|
|
235
|
-
export interface BookingFormClientRender {
|
|
236
|
-
mode: 'booking-form';
|
|
237
|
-
display: BookingFormClientDisplay;
|
|
238
|
-
hydration: BookingFormClientHydration;
|
|
239
|
-
}
|
|
240
164
|
/**
|
|
241
165
|
* Shared runtime island props for the booking-form controller.
|
|
242
166
|
*
|
|
243
167
|
* SDK consumers should usually prefer the rendered block flow; custom UIs can
|
|
244
168
|
* use `useBookingFormConfig` and related booking hooks directly.
|
|
245
169
|
*/
|
|
246
|
-
export
|
|
247
|
-
siteId?: string;
|
|
248
|
-
apiBaseUrl?: string;
|
|
249
|
-
portalToken?: string | null;
|
|
250
|
-
renderKind: 'client-owned';
|
|
251
|
-
render: BookingFormClientRender;
|
|
252
|
-
}
|
|
170
|
+
export type BookingFormClientProps = BlocksBookingFormClientProps;
|
|
253
171
|
/**
|
|
254
172
|
* Props for the AppointmentBooking component
|
|
255
173
|
*/
|
|
@@ -133,20 +133,20 @@ export declare const siteStyleConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
133
133
|
* Derived from SUPPORTED_LOADER_ENDPOINTS - the single source of truth.
|
|
134
134
|
*/
|
|
135
135
|
export declare const sdkLoaderEndpointSchema: z.ZodEnum<{
|
|
136
|
-
getPublicFormById: "getPublicFormById";
|
|
137
|
-
getPublicBookingServices: "getPublicBookingServices";
|
|
138
|
-
getPublicWeeklySlotAvailability: "getPublicWeeklySlotAvailability";
|
|
139
|
-
listPublicEvents: "listPublicEvents";
|
|
140
|
-
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
141
|
-
listPublicPasses: "listPublicPasses";
|
|
142
|
-
listPublicMemberships: "listPublicMemberships";
|
|
143
|
-
listPublicProducts: "listPublicProducts";
|
|
144
|
-
listPublicTeamMembers: "listPublicTeamMembers";
|
|
145
|
-
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
146
136
|
listPublishedEntries: "listPublishedEntries";
|
|
137
|
+
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
138
|
+
listPublicEvents: "listPublicEvents";
|
|
147
139
|
listPublicRecurringSchedule: "listPublicRecurringSchedule";
|
|
148
140
|
getPublicEventDetails: "getPublicEventDetails";
|
|
141
|
+
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
149
142
|
listPublicRouteCandidates: "listPublicRouteCandidates";
|
|
143
|
+
listPublicTeamMembers: "listPublicTeamMembers";
|
|
144
|
+
listPublicProducts: "listPublicProducts";
|
|
145
|
+
listPublicPasses: "listPublicPasses";
|
|
146
|
+
listPublicMemberships: "listPublicMemberships";
|
|
147
|
+
getPublicFormById: "getPublicFormById";
|
|
148
|
+
getPublicBookingServices: "getPublicBookingServices";
|
|
149
|
+
getPublicWeeklySlotAvailability: "getPublicWeeklySlotAvailability";
|
|
150
150
|
}>;
|
|
151
151
|
export declare const loaderParamBindingSchema: z.ZodObject<{
|
|
152
152
|
$bind: z.ZodObject<{
|
|
@@ -223,20 +223,20 @@ export declare const loaderWhenValueSchema: z.ZodUnion<readonly [z.ZodBoolean, z
|
|
|
223
223
|
*/
|
|
224
224
|
export declare const sdkConfigLoaderSchema: z.ZodObject<{
|
|
225
225
|
endpoint: z.ZodEnum<{
|
|
226
|
-
getPublicFormById: "getPublicFormById";
|
|
227
|
-
getPublicBookingServices: "getPublicBookingServices";
|
|
228
|
-
getPublicWeeklySlotAvailability: "getPublicWeeklySlotAvailability";
|
|
229
|
-
listPublicEvents: "listPublicEvents";
|
|
230
|
-
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
231
|
-
listPublicPasses: "listPublicPasses";
|
|
232
|
-
listPublicMemberships: "listPublicMemberships";
|
|
233
|
-
listPublicProducts: "listPublicProducts";
|
|
234
|
-
listPublicTeamMembers: "listPublicTeamMembers";
|
|
235
|
-
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
236
226
|
listPublishedEntries: "listPublishedEntries";
|
|
227
|
+
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
228
|
+
listPublicEvents: "listPublicEvents";
|
|
237
229
|
listPublicRecurringSchedule: "listPublicRecurringSchedule";
|
|
238
230
|
getPublicEventDetails: "getPublicEventDetails";
|
|
231
|
+
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
239
232
|
listPublicRouteCandidates: "listPublicRouteCandidates";
|
|
233
|
+
listPublicTeamMembers: "listPublicTeamMembers";
|
|
234
|
+
listPublicProducts: "listPublicProducts";
|
|
235
|
+
listPublicPasses: "listPublicPasses";
|
|
236
|
+
listPublicMemberships: "listPublicMemberships";
|
|
237
|
+
getPublicFormById: "getPublicFormById";
|
|
238
|
+
getPublicBookingServices: "getPublicBookingServices";
|
|
239
|
+
getPublicWeeklySlotAvailability: "getPublicWeeklySlotAvailability";
|
|
240
240
|
}>;
|
|
241
241
|
params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
242
242
|
$bind: z.ZodObject<{
|
|
@@ -290,20 +290,20 @@ export declare const sdkConfigLoaderSchema: z.ZodObject<{
|
|
|
290
290
|
*/
|
|
291
291
|
export declare const sdkDataLoadersSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
292
292
|
endpoint: z.ZodEnum<{
|
|
293
|
-
getPublicFormById: "getPublicFormById";
|
|
294
|
-
getPublicBookingServices: "getPublicBookingServices";
|
|
295
|
-
getPublicWeeklySlotAvailability: "getPublicWeeklySlotAvailability";
|
|
296
|
-
listPublicEvents: "listPublicEvents";
|
|
297
|
-
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
298
|
-
listPublicPasses: "listPublicPasses";
|
|
299
|
-
listPublicMemberships: "listPublicMemberships";
|
|
300
|
-
listPublicProducts: "listPublicProducts";
|
|
301
|
-
listPublicTeamMembers: "listPublicTeamMembers";
|
|
302
|
-
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
303
293
|
listPublishedEntries: "listPublishedEntries";
|
|
294
|
+
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
295
|
+
listPublicEvents: "listPublicEvents";
|
|
304
296
|
listPublicRecurringSchedule: "listPublicRecurringSchedule";
|
|
305
297
|
getPublicEventDetails: "getPublicEventDetails";
|
|
298
|
+
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
306
299
|
listPublicRouteCandidates: "listPublicRouteCandidates";
|
|
300
|
+
listPublicTeamMembers: "listPublicTeamMembers";
|
|
301
|
+
listPublicProducts: "listPublicProducts";
|
|
302
|
+
listPublicPasses: "listPublicPasses";
|
|
303
|
+
listPublicMemberships: "listPublicMemberships";
|
|
304
|
+
getPublicFormById: "getPublicFormById";
|
|
305
|
+
getPublicBookingServices: "getPublicBookingServices";
|
|
306
|
+
getPublicWeeklySlotAvailability: "getPublicWeeklySlotAvailability";
|
|
307
307
|
}>;
|
|
308
308
|
params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
309
309
|
$bind: z.ZodObject<{
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type React from 'react';
|
|
8
8
|
import type { RichTextDoc } from '../../../core/src/index';
|
|
9
|
+
import type { AuthoredLinkValue as BlocksAuthoredLinkValue, CustomLinkValue as BlocksCustomLinkValue, EntryLinkValue as BlocksEntryLinkValue, ExternalLinkValue as BlocksExternalLinkValue, InternalLinkValue as BlocksInternalLinkValue, InternalResolvedLinkValue as BlocksInternalResolvedLinkValue, InternalRouteOnlyLinkValue as BlocksInternalRouteOnlyLinkValue, LinkValue as BlocksLinkValue, PageLinkValue as BlocksPageLinkValue } from '../../../blocks/src/index';
|
|
9
10
|
export type { RichTextDoc, TipTapMark, TipTapNode } from '../../../core/src/index';
|
|
10
11
|
export type InlineTextAccentTone = 'accent' | 'brand' | 'contrast';
|
|
11
12
|
export type InlineTextHighlightTone = 'soft' | 'accent' | 'brand';
|
|
@@ -25,47 +26,20 @@ export type InlineTextRun = Readonly<{
|
|
|
25
26
|
marks?: readonly InlineTextMark[];
|
|
26
27
|
}>;
|
|
27
28
|
export type InlineText = readonly InlineTextRun[];
|
|
28
|
-
export type InternalRouteOnlyLinkValue =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export type
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
entityType: 'page' | 'content';
|
|
37
|
-
href: string;
|
|
38
|
-
title: string;
|
|
39
|
-
typeLabel: string;
|
|
40
|
-
contentTypeKey?: string | null;
|
|
41
|
-
contentTypeName?: string | null;
|
|
42
|
-
updatedAt?: string | null;
|
|
43
|
-
};
|
|
44
|
-
export type InternalLinkValue = InternalRouteOnlyLinkValue | InternalResolvedLinkValue;
|
|
45
|
-
export type ExternalLinkValue = {
|
|
46
|
-
kind: 'external';
|
|
47
|
-
href: string;
|
|
48
|
-
};
|
|
49
|
-
export type CustomLinkValue = {
|
|
50
|
-
kind: 'url';
|
|
51
|
-
href: string;
|
|
52
|
-
};
|
|
53
|
-
export type PageLinkValue = {
|
|
54
|
-
kind: 'page';
|
|
55
|
-
identifier: string;
|
|
56
|
-
};
|
|
57
|
-
export type EntryLinkValue = {
|
|
58
|
-
kind: 'entry';
|
|
59
|
-
contentType: string;
|
|
60
|
-
identifier: string;
|
|
61
|
-
};
|
|
62
|
-
export type AuthoredLinkValue = InternalLinkValue | ExternalLinkValue | CustomLinkValue | PageLinkValue | EntryLinkValue;
|
|
29
|
+
export type InternalRouteOnlyLinkValue = BlocksInternalRouteOnlyLinkValue;
|
|
30
|
+
export type InternalResolvedLinkValue = BlocksInternalResolvedLinkValue;
|
|
31
|
+
export type InternalLinkValue = BlocksInternalLinkValue;
|
|
32
|
+
export type ExternalLinkValue = BlocksExternalLinkValue;
|
|
33
|
+
export type CustomLinkValue = BlocksCustomLinkValue;
|
|
34
|
+
export type PageLinkValue = BlocksPageLinkValue;
|
|
35
|
+
export type EntryLinkValue = BlocksEntryLinkValue;
|
|
36
|
+
export type AuthoredLinkValue = BlocksAuthoredLinkValue;
|
|
63
37
|
/**
|
|
64
38
|
* Broad authored/editor link value accepted by SDK content contracts.
|
|
65
39
|
* Route-only internal links remain part of the public wire contract; navigation
|
|
66
40
|
* persistence must narrow to a persistable lifecycle value first.
|
|
67
41
|
*/
|
|
68
|
-
export type LinkValue =
|
|
42
|
+
export type LinkValue = BlocksLinkValue;
|
|
69
43
|
export type MediaTypeDiscriminant = 'image' | 'video' | 'audio' | 'document' | 'spreadsheet' | 'archive';
|
|
70
44
|
export type Media = {
|
|
71
45
|
type: MediaTypeDiscriminant;
|
|
@@ -29,7 +29,7 @@ export type ResolveImageUrlContextInput = Readonly<ResolveImageUrlContext>;
|
|
|
29
29
|
*/
|
|
30
30
|
export type MediaAssetIndexItem = {
|
|
31
31
|
id: string;
|
|
32
|
-
identifier: string
|
|
32
|
+
identifier: string;
|
|
33
33
|
storageBucket: string;
|
|
34
34
|
storagePath: string;
|
|
35
35
|
width: number | null;
|
|
@@ -10,8 +10,8 @@ export declare const simpleFieldTypeEnum: z.ZodEnum<{
|
|
|
10
10
|
boolean: "boolean";
|
|
11
11
|
text: "text";
|
|
12
12
|
select: "select";
|
|
13
|
-
link: "link";
|
|
14
13
|
media: "media";
|
|
14
|
+
link: "link";
|
|
15
15
|
richText: "richText";
|
|
16
16
|
}>;
|
|
17
17
|
export declare const fieldTypeEnum: z.ZodEnum<{
|
|
@@ -19,10 +19,10 @@ export declare const fieldTypeEnum: z.ZodEnum<{
|
|
|
19
19
|
boolean: "boolean";
|
|
20
20
|
text: "text";
|
|
21
21
|
select: "select";
|
|
22
|
-
link: "link";
|
|
23
22
|
media: "media";
|
|
24
23
|
repeater: "repeater";
|
|
25
24
|
group: "group";
|
|
25
|
+
link: "link";
|
|
26
26
|
richText: "richText";
|
|
27
27
|
}>;
|
|
28
28
|
/**
|
|
@@ -36,8 +36,8 @@ export declare const extractedFieldSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
36
36
|
boolean: "boolean";
|
|
37
37
|
text: "text";
|
|
38
38
|
select: "select";
|
|
39
|
-
link: "link";
|
|
40
39
|
media: "media";
|
|
40
|
+
link: "link";
|
|
41
41
|
richText: "richText";
|
|
42
42
|
}>;
|
|
43
43
|
label: z.ZodString;
|
|
@@ -63,8 +63,8 @@ export declare const extractedFieldSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
63
63
|
boolean: "boolean";
|
|
64
64
|
text: "text";
|
|
65
65
|
select: "select";
|
|
66
|
-
link: "link";
|
|
67
66
|
media: "media";
|
|
67
|
+
link: "link";
|
|
68
68
|
richText: "richText";
|
|
69
69
|
}>;
|
|
70
70
|
label: z.ZodString;
|
|
@@ -83,8 +83,8 @@ export declare const extractedFieldSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
83
83
|
boolean: "boolean";
|
|
84
84
|
text: "text";
|
|
85
85
|
select: "select";
|
|
86
|
-
link: "link";
|
|
87
86
|
media: "media";
|
|
87
|
+
link: "link";
|
|
88
88
|
richText: "richText";
|
|
89
89
|
}>;
|
|
90
90
|
label: z.ZodString;
|
|
@@ -167,8 +167,8 @@ export declare const pass1OutputSchema: z.ZodObject<{
|
|
|
167
167
|
blockDescription: z.ZodNullable<z.ZodString>;
|
|
168
168
|
category: z.ZodEnum<{
|
|
169
169
|
content: "content";
|
|
170
|
-
layout: "layout";
|
|
171
170
|
media: "media";
|
|
171
|
+
layout: "layout";
|
|
172
172
|
marketing: "marketing";
|
|
173
173
|
blog: "blog";
|
|
174
174
|
interactive: "interactive";
|
|
@@ -180,8 +180,8 @@ export declare const pass1OutputSchema: z.ZodObject<{
|
|
|
180
180
|
boolean: "boolean";
|
|
181
181
|
text: "text";
|
|
182
182
|
select: "select";
|
|
183
|
-
link: "link";
|
|
184
183
|
media: "media";
|
|
184
|
+
link: "link";
|
|
185
185
|
richText: "richText";
|
|
186
186
|
}>;
|
|
187
187
|
label: z.ZodString;
|
|
@@ -207,8 +207,8 @@ export declare const pass1OutputSchema: z.ZodObject<{
|
|
|
207
207
|
boolean: "boolean";
|
|
208
208
|
text: "text";
|
|
209
209
|
select: "select";
|
|
210
|
-
link: "link";
|
|
211
210
|
media: "media";
|
|
211
|
+
link: "link";
|
|
212
212
|
richText: "richText";
|
|
213
213
|
}>;
|
|
214
214
|
label: z.ZodString;
|
|
@@ -227,8 +227,8 @@ export declare const pass1OutputSchema: z.ZodObject<{
|
|
|
227
227
|
boolean: "boolean";
|
|
228
228
|
text: "text";
|
|
229
229
|
select: "select";
|
|
230
|
-
link: "link";
|
|
231
230
|
media: "media";
|
|
231
|
+
link: "link";
|
|
232
232
|
richText: "richText";
|
|
233
233
|
}>;
|
|
234
234
|
label: z.ZodString;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { AddressedLocationValue, BusinessAddress } from '../../../core/src/index';
|
|
2
|
-
import type {
|
|
1
|
+
import type { AddressedLocationValue, BookingConsent, BusinessAddress } from '../../../core/src/index';
|
|
2
|
+
import type { ResolvedInternalLinkEntityType } from '../../../blocks/src/index';
|
|
3
|
+
import type { APIEndpoints, RoutableContentItem as ApiRoutableContentItem, SdkRuntimePageSurfaceSubject as ApiSdkRuntimePageSurfaceSubject, SiteBySlugResponse as ApiSiteBySlugResponse, SiteBookingOfferingPresetSummary as ApiSiteBookingOfferingPresetSummary } from '../../../api/src/index';
|
|
3
4
|
import type { MediaAssetIndexItem, SiteFooterContent, SiteHeaderContent } from '../contracts';
|
|
4
5
|
import type { CompiledBoundaryRuntime } from '../../../theme-core/src/site-styles/index';
|
|
5
6
|
import type { BlockFieldConfig as SdkBlockFieldConfig, BlockFieldOptionsMap as SdkBlockFieldOptionsMap, ContentConfig as SdkContentConfig, ContainerOptionsConfig as SdkContainerOptionsConfig, FieldSelectOption as SdkFieldSelectOption, SdkCustomBlock, SdkThemeConfig, SdkThemePalette, SectionBackground as SdkSectionBackground, SectionOptionsConfig as SdkSectionOptionsConfig, SiteStyleConfig as SdkSiteStyleConfig } from '../config/types';
|
|
@@ -100,7 +101,7 @@ export type InternalLinkPayload = {
|
|
|
100
101
|
kind: 'internal';
|
|
101
102
|
routeId: string;
|
|
102
103
|
entityId: string;
|
|
103
|
-
entityType:
|
|
104
|
+
entityType: ResolvedInternalLinkEntityType;
|
|
104
105
|
href: string;
|
|
105
106
|
title: string;
|
|
106
107
|
typeLabel: string;
|
|
@@ -535,6 +536,7 @@ export type PublicBookingService = {
|
|
|
535
536
|
title: string;
|
|
536
537
|
description: string | null;
|
|
537
538
|
durationMinutes: number;
|
|
539
|
+
consent?: BookingConsent;
|
|
538
540
|
};
|
|
539
541
|
export type PublicBookingServicesResponse = {
|
|
540
542
|
services: PublicBookingService[];
|
|
@@ -664,22 +666,7 @@ export type RouteNonContentDecisionResponse = Exclude<RouteOutcomeResponse, {
|
|
|
664
666
|
export type RouteDecisionResponse = {
|
|
665
667
|
type: 'contentExists';
|
|
666
668
|
} | RouteNonContentDecisionResponse;
|
|
667
|
-
export type RoutableContentItem =
|
|
668
|
-
routeId: string;
|
|
669
|
-
entityId: string;
|
|
670
|
-
entityType: 'page' | 'content';
|
|
671
|
-
identifier: string | null;
|
|
672
|
-
contentTypeKey?: string | null;
|
|
673
|
-
contentTypeName?: string | null;
|
|
674
|
-
title: string;
|
|
675
|
-
draftTitle: string | null;
|
|
676
|
-
path: string;
|
|
677
|
-
draftPath: string | null;
|
|
678
|
-
status: string;
|
|
679
|
-
draftStatus: string | null;
|
|
680
|
-
typeLabel: string;
|
|
681
|
-
updatedAt: string | null;
|
|
682
|
-
};
|
|
669
|
+
export type RoutableContentItem = ApiRoutableContentItem;
|
|
683
670
|
export type RoutableContentResponse = {
|
|
684
671
|
items: RoutableContentItem[];
|
|
685
672
|
};
|
|
@@ -46,8 +46,8 @@ export declare const accordionSystemSchema: z.ZodObject<{
|
|
|
46
46
|
elevation: z.ZodEnum<{
|
|
47
47
|
medium: "medium";
|
|
48
48
|
none: "none";
|
|
49
|
-
high: "high";
|
|
50
49
|
low: "low";
|
|
50
|
+
high: "high";
|
|
51
51
|
}>;
|
|
52
52
|
softness: z.ZodNullable<z.ZodEnum<{
|
|
53
53
|
crisp: "crisp";
|
|
@@ -91,9 +91,9 @@ export declare const accordionSystemSchema: z.ZodObject<{
|
|
|
91
91
|
body: "body";
|
|
92
92
|
}>>;
|
|
93
93
|
fontScale: z.ZodOptional<z.ZodEnum<{
|
|
94
|
-
body: "body";
|
|
95
94
|
md: "md";
|
|
96
95
|
lg: "lg";
|
|
96
|
+
body: "body";
|
|
97
97
|
}>>;
|
|
98
98
|
letterSpacing: z.ZodOptional<z.ZodEnum<{
|
|
99
99
|
tight: "tight";
|
|
@@ -275,8 +275,8 @@ export declare const cornerStyleSchema: z.ZodEnum<{
|
|
|
275
275
|
export declare const shadowSizeSchema: z.ZodEnum<{
|
|
276
276
|
medium: "medium";
|
|
277
277
|
none: "none";
|
|
278
|
-
high: "high";
|
|
279
278
|
low: "low";
|
|
279
|
+
high: "high";
|
|
280
280
|
}>;
|
|
281
281
|
export declare const textTransformSchema: z.ZodEnum<{
|
|
282
282
|
none: "none";
|
|
@@ -295,8 +295,8 @@ export declare const letterSpacingSchema: z.ZodEnum<{
|
|
|
295
295
|
loose: "loose";
|
|
296
296
|
}>;
|
|
297
297
|
export declare const hoverTransformSchema: z.ZodEnum<{
|
|
298
|
-
none: "none";
|
|
299
298
|
scale: "scale";
|
|
299
|
+
none: "none";
|
|
300
300
|
lift: "lift";
|
|
301
301
|
press: "press";
|
|
302
302
|
}>;
|
|
@@ -435,8 +435,8 @@ export declare const buttonGlobalSettingsSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
435
435
|
shadow: z.ZodOptional<z.ZodEnum<{
|
|
436
436
|
medium: "medium";
|
|
437
437
|
none: "none";
|
|
438
|
-
high: "high";
|
|
439
438
|
low: "low";
|
|
439
|
+
high: "high";
|
|
440
440
|
}>>;
|
|
441
441
|
textTransform: z.ZodEnum<{
|
|
442
442
|
none: "none";
|
|
@@ -462,8 +462,8 @@ export declare const buttonGlobalSettingsSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
462
462
|
spacious: "spacious";
|
|
463
463
|
}>>;
|
|
464
464
|
hoverTransform: z.ZodEnum<{
|
|
465
|
-
none: "none";
|
|
466
465
|
scale: "scale";
|
|
466
|
+
none: "none";
|
|
467
467
|
lift: "lift";
|
|
468
468
|
press: "press";
|
|
469
469
|
}>;
|
|
@@ -490,8 +490,8 @@ export declare const buttonGlobalSettingsSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
490
490
|
shadow: z.ZodOptional<z.ZodEnum<{
|
|
491
491
|
medium: "medium";
|
|
492
492
|
none: "none";
|
|
493
|
-
high: "high";
|
|
494
493
|
low: "low";
|
|
494
|
+
high: "high";
|
|
495
495
|
}>>;
|
|
496
496
|
textTransform: z.ZodEnum<{
|
|
497
497
|
none: "none";
|
|
@@ -517,8 +517,8 @@ export declare const buttonGlobalSettingsSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
517
517
|
spacious: "spacious";
|
|
518
518
|
}>>;
|
|
519
519
|
hoverTransform: z.ZodEnum<{
|
|
520
|
-
none: "none";
|
|
521
520
|
scale: "scale";
|
|
521
|
+
none: "none";
|
|
522
522
|
lift: "lift";
|
|
523
523
|
press: "press";
|
|
524
524
|
}>;
|
|
@@ -1107,8 +1107,8 @@ export declare const buttonVariantSchema: z.ZodObject<{
|
|
|
1107
1107
|
elevation: z.ZodEnum<{
|
|
1108
1108
|
medium: "medium";
|
|
1109
1109
|
none: "none";
|
|
1110
|
-
high: "high";
|
|
1111
1110
|
low: "low";
|
|
1111
|
+
high: "high";
|
|
1112
1112
|
}>;
|
|
1113
1113
|
softness: z.ZodNullable<z.ZodEnum<{
|
|
1114
1114
|
crisp: "crisp";
|
|
@@ -1617,8 +1617,8 @@ export declare const buttonSystemSchema: z.ZodObject<{
|
|
|
1617
1617
|
shadow: z.ZodOptional<z.ZodEnum<{
|
|
1618
1618
|
medium: "medium";
|
|
1619
1619
|
none: "none";
|
|
1620
|
-
high: "high";
|
|
1621
1620
|
low: "low";
|
|
1621
|
+
high: "high";
|
|
1622
1622
|
}>>;
|
|
1623
1623
|
textTransform: z.ZodEnum<{
|
|
1624
1624
|
none: "none";
|
|
@@ -1644,8 +1644,8 @@ export declare const buttonSystemSchema: z.ZodObject<{
|
|
|
1644
1644
|
spacious: "spacious";
|
|
1645
1645
|
}>>;
|
|
1646
1646
|
hoverTransform: z.ZodEnum<{
|
|
1647
|
-
none: "none";
|
|
1648
1647
|
scale: "scale";
|
|
1648
|
+
none: "none";
|
|
1649
1649
|
lift: "lift";
|
|
1650
1650
|
press: "press";
|
|
1651
1651
|
}>;
|
|
@@ -1672,8 +1672,8 @@ export declare const buttonSystemSchema: z.ZodObject<{
|
|
|
1672
1672
|
shadow: z.ZodOptional<z.ZodEnum<{
|
|
1673
1673
|
medium: "medium";
|
|
1674
1674
|
none: "none";
|
|
1675
|
-
high: "high";
|
|
1676
1675
|
low: "low";
|
|
1676
|
+
high: "high";
|
|
1677
1677
|
}>>;
|
|
1678
1678
|
textTransform: z.ZodEnum<{
|
|
1679
1679
|
none: "none";
|
|
@@ -1699,8 +1699,8 @@ export declare const buttonSystemSchema: z.ZodObject<{
|
|
|
1699
1699
|
spacious: "spacious";
|
|
1700
1700
|
}>>;
|
|
1701
1701
|
hoverTransform: z.ZodEnum<{
|
|
1702
|
-
none: "none";
|
|
1703
1702
|
scale: "scale";
|
|
1703
|
+
none: "none";
|
|
1704
1704
|
lift: "lift";
|
|
1705
1705
|
press: "press";
|
|
1706
1706
|
}>;
|
|
@@ -1750,8 +1750,8 @@ export declare const buttonSystemSchema: z.ZodObject<{
|
|
|
1750
1750
|
elevation: z.ZodEnum<{
|
|
1751
1751
|
medium: "medium";
|
|
1752
1752
|
none: "none";
|
|
1753
|
-
high: "high";
|
|
1754
1753
|
low: "low";
|
|
1754
|
+
high: "high";
|
|
1755
1755
|
}>;
|
|
1756
1756
|
softness: z.ZodNullable<z.ZodEnum<{
|
|
1757
1757
|
crisp: "crisp";
|
|
@@ -133,8 +133,8 @@ export declare const surfaceCardRoleSchema: z.ZodEnum<{
|
|
|
133
133
|
}>;
|
|
134
134
|
export declare const cardRoleSchema: z.ZodEnum<{
|
|
135
135
|
open: "open";
|
|
136
|
-
default: "default";
|
|
137
136
|
none: "none";
|
|
137
|
+
default: "default";
|
|
138
138
|
alternative: "alternative";
|
|
139
139
|
}>;
|
|
140
140
|
export declare function isCardVariantRole(value: unknown): value is CardVariantRole;
|
|
@@ -427,8 +427,8 @@ export declare const cardVariantSchema: z.ZodPipe<z.ZodObject<{
|
|
|
427
427
|
elevation: z.ZodEnum<{
|
|
428
428
|
medium: "medium";
|
|
429
429
|
none: "none";
|
|
430
|
-
high: "high";
|
|
431
430
|
low: "low";
|
|
431
|
+
high: "high";
|
|
432
432
|
}>;
|
|
433
433
|
softness: z.ZodNullable<z.ZodEnum<{
|
|
434
434
|
crisp: "crisp";
|
|
@@ -548,7 +548,7 @@ export declare const cardVariantSchema: z.ZodPipe<z.ZodObject<{
|
|
|
548
548
|
} | undefined;
|
|
549
549
|
foregroundToken?: string | undefined;
|
|
550
550
|
shadow?: {
|
|
551
|
-
elevation: "medium" | "none" | "
|
|
551
|
+
elevation: "medium" | "none" | "low" | "high";
|
|
552
552
|
softness: "crisp" | "soft" | "hard" | null;
|
|
553
553
|
position: "bottom" | "bottom-right";
|
|
554
554
|
} | undefined;
|
|
@@ -656,8 +656,8 @@ export declare const cardSystemSchema: z.ZodPipe<z.ZodObject<{
|
|
|
656
656
|
elevation: z.ZodEnum<{
|
|
657
657
|
medium: "medium";
|
|
658
658
|
none: "none";
|
|
659
|
-
high: "high";
|
|
660
659
|
low: "low";
|
|
660
|
+
high: "high";
|
|
661
661
|
}>;
|
|
662
662
|
softness: z.ZodNullable<z.ZodEnum<{
|
|
663
663
|
crisp: "crisp";
|
|
@@ -777,7 +777,7 @@ export declare const cardSystemSchema: z.ZodPipe<z.ZodObject<{
|
|
|
777
777
|
} | undefined;
|
|
778
778
|
foregroundToken?: string | undefined;
|
|
779
779
|
shadow?: {
|
|
780
|
-
elevation: "medium" | "none" | "
|
|
780
|
+
elevation: "medium" | "none" | "low" | "high";
|
|
781
781
|
softness: "crisp" | "soft" | "hard" | null;
|
|
782
782
|
position: "bottom" | "bottom-right";
|
|
783
783
|
} | undefined;
|