@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,25 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Portal
|
|
2
|
+
* Portal server helpers: callback, logout and cookie/token access.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* Usage:
|
|
8
|
-
* ```ts
|
|
9
|
-
* import { getPortalToken } from '@riverbankcms/sdk/portal';
|
|
10
|
-
* import { cookies } from 'next/headers';
|
|
11
|
-
*
|
|
12
|
-
* export default async function PortalPage() {
|
|
13
|
-
* const cookieStore = await cookies();
|
|
14
|
-
* const token = getPortalToken(cookieStore);
|
|
15
|
-
*
|
|
16
|
-
* if (!token) {
|
|
17
|
-
* return <LoginForm />;
|
|
18
|
-
* }
|
|
19
|
-
*
|
|
20
|
-
* return <CustomerPortal token={token} />;
|
|
21
|
-
* }
|
|
22
|
-
* ```
|
|
4
|
+
* For a themed reserved route, use createPortalPage from @riverbankcms/sdk/next.
|
|
5
|
+
* For a custom host, import CustomerPortal from @riverbankcms/sdk/portal/client
|
|
6
|
+
* and pass siteId, apiBaseUrl and the nullable portalToken inside the site ThemeScope.
|
|
23
7
|
*/
|
|
24
8
|
/**
|
|
25
9
|
* Cookie store interface (compatible with Next.js cookies())
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Use this in server components, getServerSideProps, or API routes.
|
|
5
5
|
*/
|
|
6
|
+
import type { Theme } from '../../contracts';
|
|
6
7
|
import type { RiverbankClient } from '../../client/types';
|
|
7
8
|
import type { PageProps } from '../components/Page';
|
|
8
9
|
import { type ResolveBlockDataDeps } from '../../data/resolveBlockData';
|
|
@@ -79,7 +80,9 @@ export type LoadPageParams = {
|
|
|
79
80
|
*/
|
|
80
81
|
searchParams?: DataLoaderSearchParams;
|
|
81
82
|
};
|
|
82
|
-
export type LoadPageResult = Omit<PageProps,
|
|
83
|
+
export type LoadPageResult = Omit<Extract<PageProps, {
|
|
84
|
+
theme: Theme;
|
|
85
|
+
}>, 'registry' | 'wrapBlock' | 'blockOverrides' | 'sdkConfig' | 'dataContext'> & {
|
|
83
86
|
dataContext: PageProps['dataContext'] & {
|
|
84
87
|
previewStage: DataLoaderPreviewStage;
|
|
85
88
|
};
|
|
@@ -7,34 +7,7 @@ export type ResponsiveSlidesToShow = {
|
|
|
7
7
|
tablet?: number | string;
|
|
8
8
|
desktop?: number | string;
|
|
9
9
|
};
|
|
10
|
-
export type FormFieldDef
|
|
11
|
-
id: string;
|
|
12
|
-
label?: string;
|
|
13
|
-
type?: string;
|
|
14
|
-
required?: boolean;
|
|
15
|
-
placeholder?: string;
|
|
16
|
-
helpText?: string;
|
|
17
|
-
layout?: {
|
|
18
|
-
width?: 'full' | 'half';
|
|
19
|
-
};
|
|
20
|
-
rows?: number;
|
|
21
|
-
options?: Array<{
|
|
22
|
-
value: string;
|
|
23
|
-
label: string;
|
|
24
|
-
}>;
|
|
25
|
-
multiple?: boolean;
|
|
26
|
-
minLength?: number;
|
|
27
|
-
maxLength?: number;
|
|
28
|
-
pattern?: string;
|
|
29
|
-
min?: number;
|
|
30
|
-
max?: number;
|
|
31
|
-
};
|
|
32
|
-
export type FormRecord = {
|
|
33
|
-
id: string;
|
|
34
|
-
schemaJson?: {
|
|
35
|
-
fields?: FormFieldDef[];
|
|
36
|
-
};
|
|
37
|
-
};
|
|
10
|
+
export type { FormFieldDef, FormRecord } from '../../../../blocks/src/system/runtime/nodes/form.types';
|
|
38
11
|
export type VenueLocation = LocationCoordinates;
|
|
39
12
|
export type EventVenue = {
|
|
40
13
|
id: string;
|
|
@@ -29,8 +29,8 @@ export declare const accordionSystemSchema: z.ZodObject<{
|
|
|
29
29
|
medium: "medium";
|
|
30
30
|
compact: "compact";
|
|
31
31
|
spacious: "spacious";
|
|
32
|
-
comfortable: "comfortable";
|
|
33
32
|
cozy: "cozy";
|
|
33
|
+
comfortable: "comfortable";
|
|
34
34
|
}>;
|
|
35
35
|
corners: z.ZodNullable<z.ZodEnum<{
|
|
36
36
|
soft: "soft";
|
|
@@ -72,9 +72,9 @@ export declare const accordionSystemSchema: z.ZodObject<{
|
|
|
72
72
|
right: "right";
|
|
73
73
|
}>;
|
|
74
74
|
size: z.ZodEnum<{
|
|
75
|
+
sm: "sm";
|
|
75
76
|
md: "md";
|
|
76
77
|
lg: "lg";
|
|
77
|
-
sm: "sm";
|
|
78
78
|
}>;
|
|
79
79
|
colorToken: z.ZodOptional<z.ZodString>;
|
|
80
80
|
}, z.core.$strip>;
|
|
@@ -91,13 +91,13 @@ export declare const accordionSystemSchema: z.ZodObject<{
|
|
|
91
91
|
body: "body";
|
|
92
92
|
}>>;
|
|
93
93
|
fontScale: z.ZodOptional<z.ZodEnum<{
|
|
94
|
+
body: "body";
|
|
94
95
|
md: "md";
|
|
95
96
|
lg: "lg";
|
|
96
|
-
body: "body";
|
|
97
97
|
}>>;
|
|
98
98
|
letterSpacing: z.ZodOptional<z.ZodEnum<{
|
|
99
|
-
normal: "normal";
|
|
100
99
|
tight: "tight";
|
|
100
|
+
normal: "normal";
|
|
101
101
|
wide: "wide";
|
|
102
102
|
}>>;
|
|
103
103
|
textTransform: z.ZodOptional<z.ZodEnum<{
|
|
@@ -362,10 +362,10 @@ export declare const buttonSurfacePolicySchema: z.ZodObject<Record<"primary" | "
|
|
|
362
362
|
}>;
|
|
363
363
|
}, z.core.$strict>], "kind">>>, z.core.$strict>;
|
|
364
364
|
export declare const buttonSizeNameSchema: z.ZodEnum<{
|
|
365
|
+
sm: "sm";
|
|
365
366
|
md: "md";
|
|
366
367
|
lg: "lg";
|
|
367
368
|
xl: "xl";
|
|
368
|
-
sm: "sm";
|
|
369
369
|
}>;
|
|
370
370
|
export declare const paddingShorthandSchema: z.ZodString;
|
|
371
371
|
export declare const buttonSizeConfigSchema: z.ZodObject<{
|
|
@@ -469,11 +469,11 @@ export declare const buttonGlobalSettingsSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
469
469
|
}>>;
|
|
470
470
|
fontSize: z.ZodOptional<z.ZodString>;
|
|
471
471
|
letterSpacing: z.ZodOptional<z.ZodEnum<{
|
|
472
|
-
normal: "normal";
|
|
473
472
|
tight: "tight";
|
|
473
|
+
normal: "normal";
|
|
474
|
+
slight: "slight";
|
|
474
475
|
loose: "loose";
|
|
475
476
|
wide: "wide";
|
|
476
|
-
slight: "slight";
|
|
477
477
|
}>>;
|
|
478
478
|
italic: z.ZodOptional<z.ZodBoolean>;
|
|
479
479
|
paddingPreset: z.ZodOptional<z.ZodEnum<{
|
|
@@ -526,11 +526,11 @@ export declare const buttonGlobalSettingsSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
526
526
|
}>>;
|
|
527
527
|
fontSize: z.ZodOptional<z.ZodString>;
|
|
528
528
|
letterSpacing: z.ZodOptional<z.ZodEnum<{
|
|
529
|
-
normal: "normal";
|
|
530
529
|
tight: "tight";
|
|
530
|
+
normal: "normal";
|
|
531
|
+
slight: "slight";
|
|
531
532
|
loose: "loose";
|
|
532
533
|
wide: "wide";
|
|
533
|
-
slight: "slight";
|
|
534
534
|
}>>;
|
|
535
535
|
italic: z.ZodOptional<z.ZodBoolean>;
|
|
536
536
|
paddingPreset: z.ZodOptional<z.ZodEnum<{
|
|
@@ -740,11 +740,11 @@ export declare const buttonVisualAppearanceSchema: z.ZodObject<{
|
|
|
740
740
|
}>;
|
|
741
741
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
742
742
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
743
|
-
normal: "normal";
|
|
744
743
|
tight: "tight";
|
|
744
|
+
normal: "normal";
|
|
745
|
+
slight: "slight";
|
|
745
746
|
loose: "loose";
|
|
746
747
|
wide: "wide";
|
|
747
|
-
slight: "slight";
|
|
748
748
|
}>, z.ZodLiteral<"heading">]>>;
|
|
749
749
|
italic: z.ZodBoolean;
|
|
750
750
|
textTransform: z.ZodEnum<{
|
|
@@ -988,11 +988,11 @@ export declare const buttonVisualStatesSchema: z.ZodObject<{
|
|
|
988
988
|
}>;
|
|
989
989
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
990
990
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
991
|
-
normal: "normal";
|
|
992
991
|
tight: "tight";
|
|
992
|
+
normal: "normal";
|
|
993
|
+
slight: "slight";
|
|
993
994
|
loose: "loose";
|
|
994
995
|
wide: "wide";
|
|
995
|
-
slight: "slight";
|
|
996
996
|
}>, z.ZodLiteral<"heading">]>>;
|
|
997
997
|
italic: z.ZodBoolean;
|
|
998
998
|
textTransform: z.ZodEnum<{
|
|
@@ -1253,11 +1253,11 @@ export declare const buttonVisualStatesSchema: z.ZodObject<{
|
|
|
1253
1253
|
}>;
|
|
1254
1254
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
1255
1255
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1256
|
-
normal: "normal";
|
|
1257
1256
|
tight: "tight";
|
|
1257
|
+
normal: "normal";
|
|
1258
|
+
slight: "slight";
|
|
1258
1259
|
loose: "loose";
|
|
1259
1260
|
wide: "wide";
|
|
1260
|
-
slight: "slight";
|
|
1261
1261
|
}>, z.ZodLiteral<"heading">]>>;
|
|
1262
1262
|
italic: z.ZodBoolean;
|
|
1263
1263
|
textTransform: z.ZodEnum<{
|
|
@@ -1518,11 +1518,11 @@ export declare const buttonVisualStatesSchema: z.ZodObject<{
|
|
|
1518
1518
|
}>;
|
|
1519
1519
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
1520
1520
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1521
|
-
normal: "normal";
|
|
1522
1521
|
tight: "tight";
|
|
1522
|
+
normal: "normal";
|
|
1523
|
+
slight: "slight";
|
|
1523
1524
|
loose: "loose";
|
|
1524
1525
|
wide: "wide";
|
|
1525
|
-
slight: "slight";
|
|
1526
1526
|
}>, z.ZodLiteral<"heading">]>>;
|
|
1527
1527
|
italic: z.ZodBoolean;
|
|
1528
1528
|
textTransform: z.ZodEnum<{
|
|
@@ -1771,11 +1771,11 @@ export declare const buttonVisualStatesSchema: z.ZodObject<{
|
|
|
1771
1771
|
}>;
|
|
1772
1772
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
1773
1773
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1774
|
-
normal: "normal";
|
|
1775
1774
|
tight: "tight";
|
|
1775
|
+
normal: "normal";
|
|
1776
|
+
slight: "slight";
|
|
1776
1777
|
loose: "loose";
|
|
1777
1778
|
wide: "wide";
|
|
1778
|
-
slight: "slight";
|
|
1779
1779
|
}>, z.ZodLiteral<"heading">]>>;
|
|
1780
1780
|
italic: z.ZodBoolean;
|
|
1781
1781
|
textTransform: z.ZodEnum<{
|
|
@@ -2036,11 +2036,11 @@ export declare const buttonVisualStatesSchema: z.ZodObject<{
|
|
|
2036
2036
|
}>;
|
|
2037
2037
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
2038
2038
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2039
|
-
normal: "normal";
|
|
2040
2039
|
tight: "tight";
|
|
2040
|
+
normal: "normal";
|
|
2041
|
+
slight: "slight";
|
|
2041
2042
|
loose: "loose";
|
|
2042
2043
|
wide: "wide";
|
|
2043
|
-
slight: "slight";
|
|
2044
2044
|
}>, z.ZodLiteral<"heading">]>>;
|
|
2045
2045
|
italic: z.ZodBoolean;
|
|
2046
2046
|
textTransform: z.ZodEnum<{
|
|
@@ -2827,11 +2827,11 @@ export declare const buttonVariantSchema: z.ZodObject<{
|
|
|
2827
2827
|
}>;
|
|
2828
2828
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
2829
2829
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2830
|
-
normal: "normal";
|
|
2831
2830
|
tight: "tight";
|
|
2831
|
+
normal: "normal";
|
|
2832
|
+
slight: "slight";
|
|
2832
2833
|
loose: "loose";
|
|
2833
2834
|
wide: "wide";
|
|
2834
|
-
slight: "slight";
|
|
2835
2835
|
}>, z.ZodLiteral<"heading">]>>;
|
|
2836
2836
|
italic: z.ZodBoolean;
|
|
2837
2837
|
textTransform: z.ZodEnum<{
|
|
@@ -3092,11 +3092,11 @@ export declare const buttonVariantSchema: z.ZodObject<{
|
|
|
3092
3092
|
}>;
|
|
3093
3093
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
3094
3094
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3095
|
-
normal: "normal";
|
|
3096
3095
|
tight: "tight";
|
|
3096
|
+
normal: "normal";
|
|
3097
|
+
slight: "slight";
|
|
3097
3098
|
loose: "loose";
|
|
3098
3099
|
wide: "wide";
|
|
3099
|
-
slight: "slight";
|
|
3100
3100
|
}>, z.ZodLiteral<"heading">]>>;
|
|
3101
3101
|
italic: z.ZodBoolean;
|
|
3102
3102
|
textTransform: z.ZodEnum<{
|
|
@@ -3357,11 +3357,11 @@ export declare const buttonVariantSchema: z.ZodObject<{
|
|
|
3357
3357
|
}>;
|
|
3358
3358
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
3359
3359
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3360
|
-
normal: "normal";
|
|
3361
3360
|
tight: "tight";
|
|
3361
|
+
normal: "normal";
|
|
3362
|
+
slight: "slight";
|
|
3362
3363
|
loose: "loose";
|
|
3363
3364
|
wide: "wide";
|
|
3364
|
-
slight: "slight";
|
|
3365
3365
|
}>, z.ZodLiteral<"heading">]>>;
|
|
3366
3366
|
italic: z.ZodBoolean;
|
|
3367
3367
|
textTransform: z.ZodEnum<{
|
|
@@ -3610,11 +3610,11 @@ export declare const buttonVariantSchema: z.ZodObject<{
|
|
|
3610
3610
|
}>;
|
|
3611
3611
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
3612
3612
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3613
|
-
normal: "normal";
|
|
3614
3613
|
tight: "tight";
|
|
3614
|
+
normal: "normal";
|
|
3615
|
+
slight: "slight";
|
|
3615
3616
|
loose: "loose";
|
|
3616
3617
|
wide: "wide";
|
|
3617
|
-
slight: "slight";
|
|
3618
3618
|
}>, z.ZodLiteral<"heading">]>>;
|
|
3619
3619
|
italic: z.ZodBoolean;
|
|
3620
3620
|
textTransform: z.ZodEnum<{
|
|
@@ -3875,11 +3875,11 @@ export declare const buttonVariantSchema: z.ZodObject<{
|
|
|
3875
3875
|
}>;
|
|
3876
3876
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
3877
3877
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3878
|
-
normal: "normal";
|
|
3879
3878
|
tight: "tight";
|
|
3879
|
+
normal: "normal";
|
|
3880
|
+
slight: "slight";
|
|
3880
3881
|
loose: "loose";
|
|
3881
3882
|
wide: "wide";
|
|
3882
|
-
slight: "slight";
|
|
3883
3883
|
}>, z.ZodLiteral<"heading">]>>;
|
|
3884
3884
|
italic: z.ZodBoolean;
|
|
3885
3885
|
textTransform: z.ZodEnum<{
|
|
@@ -4631,11 +4631,11 @@ export declare const buttonSystemSchema: z.ZodObject<{
|
|
|
4631
4631
|
}>>;
|
|
4632
4632
|
fontSize: z.ZodOptional<z.ZodString>;
|
|
4633
4633
|
letterSpacing: z.ZodOptional<z.ZodEnum<{
|
|
4634
|
-
normal: "normal";
|
|
4635
4634
|
tight: "tight";
|
|
4635
|
+
normal: "normal";
|
|
4636
|
+
slight: "slight";
|
|
4636
4637
|
loose: "loose";
|
|
4637
4638
|
wide: "wide";
|
|
4638
|
-
slight: "slight";
|
|
4639
4639
|
}>>;
|
|
4640
4640
|
italic: z.ZodOptional<z.ZodBoolean>;
|
|
4641
4641
|
paddingPreset: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4688,11 +4688,11 @@ export declare const buttonSystemSchema: z.ZodObject<{
|
|
|
4688
4688
|
}>>;
|
|
4689
4689
|
fontSize: z.ZodOptional<z.ZodString>;
|
|
4690
4690
|
letterSpacing: z.ZodOptional<z.ZodEnum<{
|
|
4691
|
-
normal: "normal";
|
|
4692
4691
|
tight: "tight";
|
|
4692
|
+
normal: "normal";
|
|
4693
|
+
slight: "slight";
|
|
4693
4694
|
loose: "loose";
|
|
4694
4695
|
wide: "wide";
|
|
4695
|
-
slight: "slight";
|
|
4696
4696
|
}>>;
|
|
4697
4697
|
italic: z.ZodOptional<z.ZodBoolean>;
|
|
4698
4698
|
paddingPreset: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4828,11 +4828,11 @@ export declare const buttonSystemSchema: z.ZodObject<{
|
|
|
4828
4828
|
}>;
|
|
4829
4829
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
4830
4830
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4831
|
-
normal: "normal";
|
|
4832
4831
|
tight: "tight";
|
|
4832
|
+
normal: "normal";
|
|
4833
|
+
slight: "slight";
|
|
4833
4834
|
loose: "loose";
|
|
4834
4835
|
wide: "wide";
|
|
4835
|
-
slight: "slight";
|
|
4836
4836
|
}>, z.ZodLiteral<"heading">]>>;
|
|
4837
4837
|
italic: z.ZodBoolean;
|
|
4838
4838
|
textTransform: z.ZodEnum<{
|
|
@@ -5093,11 +5093,11 @@ export declare const buttonSystemSchema: z.ZodObject<{
|
|
|
5093
5093
|
}>;
|
|
5094
5094
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
5095
5095
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5096
|
-
normal: "normal";
|
|
5097
5096
|
tight: "tight";
|
|
5097
|
+
normal: "normal";
|
|
5098
|
+
slight: "slight";
|
|
5098
5099
|
loose: "loose";
|
|
5099
5100
|
wide: "wide";
|
|
5100
|
-
slight: "slight";
|
|
5101
5101
|
}>, z.ZodLiteral<"heading">]>>;
|
|
5102
5102
|
italic: z.ZodBoolean;
|
|
5103
5103
|
textTransform: z.ZodEnum<{
|
|
@@ -5358,11 +5358,11 @@ export declare const buttonSystemSchema: z.ZodObject<{
|
|
|
5358
5358
|
}>;
|
|
5359
5359
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
5360
5360
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5361
|
-
normal: "normal";
|
|
5362
5361
|
tight: "tight";
|
|
5362
|
+
normal: "normal";
|
|
5363
|
+
slight: "slight";
|
|
5363
5364
|
loose: "loose";
|
|
5364
5365
|
wide: "wide";
|
|
5365
|
-
slight: "slight";
|
|
5366
5366
|
}>, z.ZodLiteral<"heading">]>>;
|
|
5367
5367
|
italic: z.ZodBoolean;
|
|
5368
5368
|
textTransform: z.ZodEnum<{
|
|
@@ -5611,11 +5611,11 @@ export declare const buttonSystemSchema: z.ZodObject<{
|
|
|
5611
5611
|
}>;
|
|
5612
5612
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
5613
5613
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5614
|
-
normal: "normal";
|
|
5615
5614
|
tight: "tight";
|
|
5615
|
+
normal: "normal";
|
|
5616
|
+
slight: "slight";
|
|
5616
5617
|
loose: "loose";
|
|
5617
5618
|
wide: "wide";
|
|
5618
|
-
slight: "slight";
|
|
5619
5619
|
}>, z.ZodLiteral<"heading">]>>;
|
|
5620
5620
|
italic: z.ZodBoolean;
|
|
5621
5621
|
textTransform: z.ZodEnum<{
|
|
@@ -5876,11 +5876,11 @@ export declare const buttonSystemSchema: z.ZodObject<{
|
|
|
5876
5876
|
}>;
|
|
5877
5877
|
fontSize: z.ZodNullable<z.ZodString>;
|
|
5878
5878
|
letterSpacing: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5879
|
-
normal: "normal";
|
|
5880
5879
|
tight: "tight";
|
|
5880
|
+
normal: "normal";
|
|
5881
|
+
slight: "slight";
|
|
5881
5882
|
loose: "loose";
|
|
5882
5883
|
wide: "wide";
|
|
5883
|
-
slight: "slight";
|
|
5884
5884
|
}>, z.ZodLiteral<"heading">]>>;
|
|
5885
5885
|
italic: z.ZodBoolean;
|
|
5886
5886
|
textTransform: z.ZodEnum<{
|
|
@@ -16,9 +16,9 @@ export declare const buttonTypographySchema: z.ZodEnum<{
|
|
|
16
16
|
body: "body";
|
|
17
17
|
}>;
|
|
18
18
|
export declare const letterSpacingSchema: z.ZodEnum<{
|
|
19
|
-
normal: "normal";
|
|
20
19
|
tight: "tight";
|
|
20
|
+
normal: "normal";
|
|
21
|
+
slight: "slight";
|
|
21
22
|
loose: "loose";
|
|
22
23
|
wide: "wide";
|
|
23
|
-
slight: "slight";
|
|
24
24
|
}>;
|