@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
|
@@ -36,10 +36,10 @@ export type ComponentBorder = z.infer<typeof componentBorderSchema>;
|
|
|
36
36
|
export declare const componentShadowSchema: z.ZodObject<{
|
|
37
37
|
elevation: z.ZodDefault<z.ZodEnum<{
|
|
38
38
|
none: "none";
|
|
39
|
+
sm: "sm";
|
|
39
40
|
md: "md";
|
|
40
41
|
lg: "lg";
|
|
41
42
|
xl: "xl";
|
|
42
|
-
sm: "sm";
|
|
43
43
|
"2xl": "2xl";
|
|
44
44
|
}>>;
|
|
45
45
|
}, z.core.$strip>;
|
|
@@ -2,6 +2,6 @@ import { type ThemeColorToken } from '../tokens';
|
|
|
2
2
|
export declare const backgroundAppearanceQuickColorTokenNames: readonly ["background", "surface", "muted", "primary", "secondary", "accent"];
|
|
3
3
|
export declare const backgroundAppearanceBaseColorTokenNames: readonly ["background", "surface", "surfaceAlt", "muted", "primary", "secondary", "accent", "neutral"];
|
|
4
4
|
export declare const backgroundAppearanceShadeableColorTokenNames: readonly ["primary", "secondary", "accent", "neutral"];
|
|
5
|
-
export declare const backgroundAppearanceColorTokenNames: readonly ("surface" | "
|
|
6
|
-
export declare const backgroundAppearanceAdvancedColorTokenNames: ("surface" | "
|
|
5
|
+
export declare const backgroundAppearanceColorTokenNames: readonly ("surface" | "primary" | "secondary" | "accent" | "background" | "surfaceAlt" | "muted" | "neutral" | "neutral-600" | "neutral-500" | "neutral-50" | "neutral-900" | "primary-50" | "primary-500" | "primary-900" | "secondary-50" | "secondary-500" | "secondary-900" | "accent-50" | "accent-500" | "accent-900" | "neutral-100" | "primary-400" | "neutral-300" | "neutral-950" | "neutral-800" | "primary-800" | "primary-700" | "neutral-700" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "accent-400" | "neutral-200" | "secondary-400" | "neutral-400" | "secondary-950" | "primary-100" | "primary-200" | "primary-950" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-700" | "secondary-800" | "accent-100" | "accent-200" | "accent-300" | "accent-700" | "accent-800" | "accent-950")[];
|
|
6
|
+
export declare const backgroundAppearanceAdvancedColorTokenNames: ("surface" | "primary" | "secondary" | "accent" | "background" | "surfaceAlt" | "muted" | "neutral" | "neutral-600" | "neutral-500" | "neutral-50" | "neutral-900" | "primary-50" | "primary-500" | "primary-900" | "secondary-50" | "secondary-500" | "secondary-900" | "accent-50" | "accent-500" | "accent-900" | "neutral-100" | "primary-400" | "neutral-300" | "neutral-950" | "neutral-800" | "primary-800" | "primary-700" | "neutral-700" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "accent-400" | "neutral-200" | "secondary-400" | "neutral-400" | "secondary-950" | "primary-100" | "primary-200" | "primary-950" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-700" | "secondary-800" | "accent-100" | "accent-200" | "accent-300" | "accent-700" | "accent-800" | "accent-950")[];
|
|
7
7
|
export declare function parseBackgroundAppearanceColorToken(value: unknown): ThemeColorToken | null;
|
|
@@ -36,16 +36,16 @@ export declare function compileFooterAgainstRow<TTheme extends Theme>(input: Rea
|
|
|
36
36
|
navLinkStyle?: {
|
|
37
37
|
colorToken: string;
|
|
38
38
|
padding: "none" | "compact" | "default";
|
|
39
|
-
borderRadius: "none" | "full" | "
|
|
39
|
+
borderRadius: "none" | "full" | "sm" | "md";
|
|
40
40
|
typography: "heading" | "body";
|
|
41
41
|
fontWeight: "bold" | "medium" | "regular" | "semibold";
|
|
42
42
|
textTransform: "none" | "uppercase" | "capitalize";
|
|
43
43
|
italic: boolean;
|
|
44
|
-
textSize?: "base" | "
|
|
44
|
+
textSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
|
|
45
45
|
letterSpacing?: "normal" | "wide" | "wider" | "widest" | undefined;
|
|
46
46
|
contrastTreatment?: "none" | "soft-glow" | undefined;
|
|
47
47
|
hoverColorToken?: string | null | undefined;
|
|
48
|
-
paddingX?: "none" | "compact" | "default" | "tight" | "
|
|
48
|
+
paddingX?: "none" | "compact" | "default" | "tight" | "spacious" | "relaxed" | undefined;
|
|
49
49
|
effects?: {
|
|
50
50
|
base?: {
|
|
51
51
|
effectId: string;
|
|
@@ -76,8 +76,8 @@ export declare function compileFooterAgainstRow<TTheme extends Theme>(input: Rea
|
|
|
76
76
|
layout?: "stack" | "inline-wrap" | "inline" | undefined;
|
|
77
77
|
} | undefined;
|
|
78
78
|
logo?: {
|
|
79
|
-
size?: "
|
|
80
|
-
maxHeight?: "
|
|
79
|
+
size?: "sm" | "md" | "lg" | "xl" | undefined;
|
|
80
|
+
maxHeight?: "sm" | "md" | "lg" | "xl" | undefined;
|
|
81
81
|
align?: "start" | "end" | "center" | undefined;
|
|
82
82
|
} | undefined;
|
|
83
83
|
bottomBar?: {
|
|
@@ -102,8 +102,8 @@ export declare function compileFooterAgainstRow<TTheme extends Theme>(input: Rea
|
|
|
102
102
|
} | undefined;
|
|
103
103
|
textColor?: string | null | undefined;
|
|
104
104
|
textAlign?: "left" | "right" | "center" | undefined;
|
|
105
|
-
paddingY?: "none" | "compact" | "default" | "tight" | "
|
|
106
|
-
paddingX?: "none" | "compact" | "default" | "tight" | "
|
|
105
|
+
paddingY?: "none" | "compact" | "default" | "tight" | "spacious" | "relaxed" | undefined;
|
|
106
|
+
paddingX?: "none" | "compact" | "default" | "tight" | "spacious" | "relaxed" | undefined;
|
|
107
107
|
borderTop?: {
|
|
108
108
|
colorToken?: string | null | undefined;
|
|
109
109
|
width?: "none" | "medium" | "thin" | "thick" | undefined;
|
|
@@ -150,8 +150,8 @@ export declare const pageDesignBoundaryTreatmentSchema: z.ZodDiscriminatedUnion<
|
|
|
150
150
|
expansive: "expansive";
|
|
151
151
|
}>;
|
|
152
152
|
curve: z.ZodEnum<{
|
|
153
|
-
spacious: "spacious";
|
|
154
153
|
soft: "soft";
|
|
154
|
+
spacious: "spacious";
|
|
155
155
|
expansive: "expansive";
|
|
156
156
|
}>;
|
|
157
157
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -163,8 +163,8 @@ export declare const pageDesignBoundaryTreatmentSchema: z.ZodDiscriminatedUnion<
|
|
|
163
163
|
}>;
|
|
164
164
|
amplitude: z.ZodEnum<{
|
|
165
165
|
bold: "bold";
|
|
166
|
-
balanced: "balanced";
|
|
167
166
|
subtle: "subtle";
|
|
167
|
+
balanced: "balanced";
|
|
168
168
|
}>;
|
|
169
169
|
rhythm: z.ZodEnum<{
|
|
170
170
|
single: "single";
|
|
@@ -183,8 +183,8 @@ export declare const pageDesignBoundaryTreatmentSchema: z.ZodDiscriminatedUnion<
|
|
|
183
183
|
large: "large";
|
|
184
184
|
}>;
|
|
185
185
|
slope: z.ZodEnum<{
|
|
186
|
-
balanced: "balanced";
|
|
187
186
|
subtle: "subtle";
|
|
187
|
+
balanced: "balanced";
|
|
188
188
|
steep: "steep";
|
|
189
189
|
}>;
|
|
190
190
|
direction: z.ZodEnum<{
|
|
@@ -208,8 +208,8 @@ export declare const pageDesignUserPinnedBoundaryTreatmentChoiceSchema: z.ZodObj
|
|
|
208
208
|
expansive: "expansive";
|
|
209
209
|
}>;
|
|
210
210
|
curve: z.ZodEnum<{
|
|
211
|
-
spacious: "spacious";
|
|
212
211
|
soft: "soft";
|
|
212
|
+
spacious: "spacious";
|
|
213
213
|
expansive: "expansive";
|
|
214
214
|
}>;
|
|
215
215
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -221,8 +221,8 @@ export declare const pageDesignUserPinnedBoundaryTreatmentChoiceSchema: z.ZodObj
|
|
|
221
221
|
}>;
|
|
222
222
|
amplitude: z.ZodEnum<{
|
|
223
223
|
bold: "bold";
|
|
224
|
-
balanced: "balanced";
|
|
225
224
|
subtle: "subtle";
|
|
225
|
+
balanced: "balanced";
|
|
226
226
|
}>;
|
|
227
227
|
rhythm: z.ZodEnum<{
|
|
228
228
|
single: "single";
|
|
@@ -241,8 +241,8 @@ export declare const pageDesignUserPinnedBoundaryTreatmentChoiceSchema: z.ZodObj
|
|
|
241
241
|
large: "large";
|
|
242
242
|
}>;
|
|
243
243
|
slope: z.ZodEnum<{
|
|
244
|
-
balanced: "balanced";
|
|
245
244
|
subtle: "subtle";
|
|
245
|
+
balanced: "balanced";
|
|
246
246
|
steep: "steep";
|
|
247
247
|
}>;
|
|
248
248
|
direction: z.ZodEnum<{
|
|
@@ -279,8 +279,8 @@ export declare const pageDesignBoundaryPinSchema: z.ZodObject<{
|
|
|
279
279
|
expansive: "expansive";
|
|
280
280
|
}>;
|
|
281
281
|
curve: z.ZodEnum<{
|
|
282
|
-
spacious: "spacious";
|
|
283
282
|
soft: "soft";
|
|
283
|
+
spacious: "spacious";
|
|
284
284
|
expansive: "expansive";
|
|
285
285
|
}>;
|
|
286
286
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -292,8 +292,8 @@ export declare const pageDesignBoundaryPinSchema: z.ZodObject<{
|
|
|
292
292
|
}>;
|
|
293
293
|
amplitude: z.ZodEnum<{
|
|
294
294
|
bold: "bold";
|
|
295
|
-
balanced: "balanced";
|
|
296
295
|
subtle: "subtle";
|
|
296
|
+
balanced: "balanced";
|
|
297
297
|
}>;
|
|
298
298
|
rhythm: z.ZodEnum<{
|
|
299
299
|
single: "single";
|
|
@@ -312,8 +312,8 @@ export declare const pageDesignBoundaryPinSchema: z.ZodObject<{
|
|
|
312
312
|
large: "large";
|
|
313
313
|
}>;
|
|
314
314
|
slope: z.ZodEnum<{
|
|
315
|
-
balanced: "balanced";
|
|
316
315
|
subtle: "subtle";
|
|
316
|
+
balanced: "balanced";
|
|
317
317
|
steep: "steep";
|
|
318
318
|
}>;
|
|
319
319
|
direction: z.ZodEnum<{
|
|
@@ -391,8 +391,8 @@ export declare const pageDesignIntentV2Schema: z.ZodObject<{
|
|
|
391
391
|
expansive: "expansive";
|
|
392
392
|
}>;
|
|
393
393
|
curve: z.ZodEnum<{
|
|
394
|
-
spacious: "spacious";
|
|
395
394
|
soft: "soft";
|
|
395
|
+
spacious: "spacious";
|
|
396
396
|
expansive: "expansive";
|
|
397
397
|
}>;
|
|
398
398
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -404,8 +404,8 @@ export declare const pageDesignIntentV2Schema: z.ZodObject<{
|
|
|
404
404
|
}>;
|
|
405
405
|
amplitude: z.ZodEnum<{
|
|
406
406
|
bold: "bold";
|
|
407
|
-
balanced: "balanced";
|
|
408
407
|
subtle: "subtle";
|
|
408
|
+
balanced: "balanced";
|
|
409
409
|
}>;
|
|
410
410
|
rhythm: z.ZodEnum<{
|
|
411
411
|
single: "single";
|
|
@@ -424,8 +424,8 @@ export declare const pageDesignIntentV2Schema: z.ZodObject<{
|
|
|
424
424
|
large: "large";
|
|
425
425
|
}>;
|
|
426
426
|
slope: z.ZodEnum<{
|
|
427
|
-
balanced: "balanced";
|
|
428
427
|
subtle: "subtle";
|
|
428
|
+
balanced: "balanced";
|
|
429
429
|
steep: "steep";
|
|
430
430
|
}>;
|
|
431
431
|
direction: z.ZodEnum<{
|
|
@@ -11,11 +11,11 @@ export declare const paletteTokenNameSchema: z.ZodEnum<{
|
|
|
11
11
|
text: "text";
|
|
12
12
|
success: "success";
|
|
13
13
|
warning: "warning";
|
|
14
|
-
background: "background";
|
|
15
|
-
border: "border";
|
|
16
14
|
primary: "primary";
|
|
17
15
|
secondary: "secondary";
|
|
18
16
|
accent: "accent";
|
|
17
|
+
background: "background";
|
|
18
|
+
border: "border";
|
|
19
19
|
destructive: "destructive";
|
|
20
20
|
primaryForeground: "primaryForeground";
|
|
21
21
|
surfaceAlt: "surfaceAlt";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const headingSizeSchema: z.ZodEnum<{
|
|
3
|
+
sm: "sm";
|
|
3
4
|
md: "md";
|
|
4
5
|
lg: "lg";
|
|
5
6
|
xl: "xl";
|
|
6
7
|
xs: "xs";
|
|
7
|
-
sm: "sm";
|
|
8
8
|
"2xl": "2xl";
|
|
9
9
|
}>;
|
|
10
10
|
export declare const proseLinkStyleSchema: z.ZodObject<{
|
|
@@ -27,15 +27,15 @@ export declare const proseLinkStyleSchema: z.ZodObject<{
|
|
|
27
27
|
}>>;
|
|
28
28
|
underlineOffset: z.ZodOptional<z.ZodEnum<{
|
|
29
29
|
auto: "auto";
|
|
30
|
-
normal: "normal";
|
|
31
30
|
tight: "tight";
|
|
31
|
+
normal: "normal";
|
|
32
32
|
loose: "loose";
|
|
33
33
|
}>>;
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
export declare const typographyScaleSchema: z.ZodEnum<{
|
|
36
36
|
compact: "compact";
|
|
37
|
-
balanced: "balanced";
|
|
38
37
|
spacious: "spacious";
|
|
38
|
+
balanced: "balanced";
|
|
39
39
|
minorThird: "minorThird";
|
|
40
40
|
majorThird: "majorThird";
|
|
41
41
|
perfectFourth: "perfectFourth";
|
|
@@ -52,8 +52,8 @@ export declare const typographySchema: z.ZodObject<{
|
|
|
52
52
|
semibold: "semibold";
|
|
53
53
|
}>;
|
|
54
54
|
letterSpacing: z.ZodEnum<{
|
|
55
|
-
normal: "normal";
|
|
56
55
|
tight: "tight";
|
|
56
|
+
normal: "normal";
|
|
57
57
|
loose: "loose";
|
|
58
58
|
}>;
|
|
59
59
|
lineHeight: z.ZodEnum<{
|
|
@@ -88,8 +88,8 @@ export declare const typographySchema: z.ZodObject<{
|
|
|
88
88
|
semibold: "semibold";
|
|
89
89
|
}>;
|
|
90
90
|
letterSpacing: z.ZodEnum<{
|
|
91
|
-
normal: "normal";
|
|
92
91
|
tight: "tight";
|
|
92
|
+
normal: "normal";
|
|
93
93
|
loose: "loose";
|
|
94
94
|
}>;
|
|
95
95
|
lineHeight: z.ZodEnum<{
|
|
@@ -115,21 +115,21 @@ export declare const typographySchema: z.ZodObject<{
|
|
|
115
115
|
semibold: "semibold";
|
|
116
116
|
}>>>;
|
|
117
117
|
letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
118
|
-
normal: "normal";
|
|
119
118
|
tight: "tight";
|
|
119
|
+
normal: "normal";
|
|
120
120
|
loose: "loose";
|
|
121
121
|
}>>>;
|
|
122
122
|
size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
123
|
+
sm: "sm";
|
|
123
124
|
md: "md";
|
|
124
125
|
lg: "lg";
|
|
125
126
|
xl: "xl";
|
|
126
127
|
xs: "xs";
|
|
127
|
-
sm: "sm";
|
|
128
128
|
"2xl": "2xl";
|
|
129
129
|
}>>>;
|
|
130
130
|
lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
131
|
-
normal: "normal";
|
|
132
131
|
tight: "tight";
|
|
132
|
+
normal: "normal";
|
|
133
133
|
loose: "loose";
|
|
134
134
|
relaxed: "relaxed";
|
|
135
135
|
snug: "snug";
|
|
@@ -147,21 +147,21 @@ export declare const typographySchema: z.ZodObject<{
|
|
|
147
147
|
semibold: "semibold";
|
|
148
148
|
}>>>;
|
|
149
149
|
letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
150
|
-
normal: "normal";
|
|
151
150
|
tight: "tight";
|
|
151
|
+
normal: "normal";
|
|
152
152
|
loose: "loose";
|
|
153
153
|
}>>>;
|
|
154
154
|
size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
155
|
+
sm: "sm";
|
|
155
156
|
md: "md";
|
|
156
157
|
lg: "lg";
|
|
157
158
|
xl: "xl";
|
|
158
159
|
xs: "xs";
|
|
159
|
-
sm: "sm";
|
|
160
160
|
"2xl": "2xl";
|
|
161
161
|
}>>>;
|
|
162
162
|
lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
163
|
-
normal: "normal";
|
|
164
163
|
tight: "tight";
|
|
164
|
+
normal: "normal";
|
|
165
165
|
loose: "loose";
|
|
166
166
|
relaxed: "relaxed";
|
|
167
167
|
snug: "snug";
|
|
@@ -179,21 +179,21 @@ export declare const typographySchema: z.ZodObject<{
|
|
|
179
179
|
semibold: "semibold";
|
|
180
180
|
}>>>;
|
|
181
181
|
letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
182
|
-
normal: "normal";
|
|
183
182
|
tight: "tight";
|
|
183
|
+
normal: "normal";
|
|
184
184
|
loose: "loose";
|
|
185
185
|
}>>>;
|
|
186
186
|
size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
187
|
+
sm: "sm";
|
|
187
188
|
md: "md";
|
|
188
189
|
lg: "lg";
|
|
189
190
|
xl: "xl";
|
|
190
191
|
xs: "xs";
|
|
191
|
-
sm: "sm";
|
|
192
192
|
"2xl": "2xl";
|
|
193
193
|
}>>>;
|
|
194
194
|
lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
195
|
-
normal: "normal";
|
|
196
195
|
tight: "tight";
|
|
196
|
+
normal: "normal";
|
|
197
197
|
loose: "loose";
|
|
198
198
|
relaxed: "relaxed";
|
|
199
199
|
snug: "snug";
|
|
@@ -211,21 +211,21 @@ export declare const typographySchema: z.ZodObject<{
|
|
|
211
211
|
semibold: "semibold";
|
|
212
212
|
}>>>;
|
|
213
213
|
letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
214
|
-
normal: "normal";
|
|
215
214
|
tight: "tight";
|
|
215
|
+
normal: "normal";
|
|
216
216
|
loose: "loose";
|
|
217
217
|
}>>>;
|
|
218
218
|
size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
219
|
+
sm: "sm";
|
|
219
220
|
md: "md";
|
|
220
221
|
lg: "lg";
|
|
221
222
|
xl: "xl";
|
|
222
223
|
xs: "xs";
|
|
223
|
-
sm: "sm";
|
|
224
224
|
"2xl": "2xl";
|
|
225
225
|
}>>>;
|
|
226
226
|
lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
227
|
-
normal: "normal";
|
|
228
227
|
tight: "tight";
|
|
228
|
+
normal: "normal";
|
|
229
229
|
loose: "loose";
|
|
230
230
|
relaxed: "relaxed";
|
|
231
231
|
snug: "snug";
|
|
@@ -243,21 +243,21 @@ export declare const typographySchema: z.ZodObject<{
|
|
|
243
243
|
semibold: "semibold";
|
|
244
244
|
}>>>;
|
|
245
245
|
letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
246
|
-
normal: "normal";
|
|
247
246
|
tight: "tight";
|
|
247
|
+
normal: "normal";
|
|
248
248
|
loose: "loose";
|
|
249
249
|
}>>>;
|
|
250
250
|
size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
251
|
+
sm: "sm";
|
|
251
252
|
md: "md";
|
|
252
253
|
lg: "lg";
|
|
253
254
|
xl: "xl";
|
|
254
255
|
xs: "xs";
|
|
255
|
-
sm: "sm";
|
|
256
256
|
"2xl": "2xl";
|
|
257
257
|
}>>>;
|
|
258
258
|
lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
259
|
-
normal: "normal";
|
|
260
259
|
tight: "tight";
|
|
260
|
+
normal: "normal";
|
|
261
261
|
loose: "loose";
|
|
262
262
|
relaxed: "relaxed";
|
|
263
263
|
snug: "snug";
|
|
@@ -275,21 +275,21 @@ export declare const typographySchema: z.ZodObject<{
|
|
|
275
275
|
semibold: "semibold";
|
|
276
276
|
}>>>;
|
|
277
277
|
letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
278
|
-
normal: "normal";
|
|
279
278
|
tight: "tight";
|
|
279
|
+
normal: "normal";
|
|
280
280
|
loose: "loose";
|
|
281
281
|
}>>>;
|
|
282
282
|
size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
283
|
+
sm: "sm";
|
|
283
284
|
md: "md";
|
|
284
285
|
lg: "lg";
|
|
285
286
|
xl: "xl";
|
|
286
287
|
xs: "xs";
|
|
287
|
-
sm: "sm";
|
|
288
288
|
"2xl": "2xl";
|
|
289
289
|
}>>>;
|
|
290
290
|
lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
291
|
-
normal: "normal";
|
|
292
291
|
tight: "tight";
|
|
292
|
+
normal: "normal";
|
|
293
293
|
loose: "loose";
|
|
294
294
|
relaxed: "relaxed";
|
|
295
295
|
snug: "snug";
|
|
@@ -300,8 +300,8 @@ export declare const typographySchema: z.ZodObject<{
|
|
|
300
300
|
}, z.core.$strip>;
|
|
301
301
|
scale: z.ZodEnum<{
|
|
302
302
|
compact: "compact";
|
|
303
|
-
balanced: "balanced";
|
|
304
303
|
spacious: "spacious";
|
|
304
|
+
balanced: "balanced";
|
|
305
305
|
minorThird: "minorThird";
|
|
306
306
|
majorThird: "majorThird";
|
|
307
307
|
perfectFourth: "perfectFourth";
|
|
@@ -326,8 +326,8 @@ export declare const typographySchema: z.ZodObject<{
|
|
|
326
326
|
}>>;
|
|
327
327
|
underlineOffset: z.ZodOptional<z.ZodEnum<{
|
|
328
328
|
auto: "auto";
|
|
329
|
-
normal: "normal";
|
|
330
329
|
tight: "tight";
|
|
330
|
+
normal: "normal";
|
|
331
331
|
loose: "loose";
|
|
332
332
|
}>>;
|
|
333
333
|
}, z.core.$strip>>;
|
|
@@ -335,9 +335,9 @@ export declare const typographySchema: z.ZodObject<{
|
|
|
335
335
|
width: z.ZodOptional<z.ZodNumber>;
|
|
336
336
|
family: z.ZodString;
|
|
337
337
|
size: z.ZodOptional<z.ZodEnum<{
|
|
338
|
+
sm: "sm";
|
|
338
339
|
md: "md";
|
|
339
340
|
lg: "lg";
|
|
340
|
-
sm: "sm";
|
|
341
341
|
}>>;
|
|
342
342
|
weight: z.ZodOptional<z.ZodEnum<{
|
|
343
343
|
bold: "bold";
|
|
@@ -347,8 +347,8 @@ export declare const typographySchema: z.ZodObject<{
|
|
|
347
347
|
semibold: "semibold";
|
|
348
348
|
}>>;
|
|
349
349
|
letterSpacing: z.ZodOptional<z.ZodEnum<{
|
|
350
|
-
normal: "normal";
|
|
351
350
|
tight: "tight";
|
|
351
|
+
normal: "normal";
|
|
352
352
|
loose: "loose";
|
|
353
353
|
wide: "wide";
|
|
354
354
|
}>>;
|
|
@@ -2,7 +2,7 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | "onDark" | "heroGlass" | null | undefined;
|
|
5
|
-
size?: "default" | "
|
|
5
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
8
|
asChild?: boolean;
|
|
@@ -2,8 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
export declare const surfaceVariants: (props?: ({
|
|
4
4
|
variant?: "default" | "background" | "inverse" | null | undefined;
|
|
5
|
-
radius?: "none" | "
|
|
6
|
-
padding?: "none" | "
|
|
5
|
+
radius?: "none" | "sm" | "md" | "lg" | "xl" | "flushMobile" | null | undefined;
|
|
6
|
+
padding?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export type SurfaceProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof surfaceVariants>;
|
|
9
9
|
export declare function Surface({ className, variant, radius, padding, ...props }: SurfaceProps): React.ReactElement;
|
|
@@ -3,10 +3,10 @@ import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
|
3
3
|
import { type VariantProps } from "class-variance-authority";
|
|
4
4
|
declare const toggleVariants: (props?: ({
|
|
5
5
|
variant?: "default" | "outline" | null | undefined;
|
|
6
|
-
size?: "default" | "
|
|
6
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
9
9
|
variant?: "default" | "outline" | null | undefined;
|
|
10
|
-
size?: "default" | "
|
|
10
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
export { Toggle, toggleVariants };
|
package/dist/client/{BookingMailingListNote-CiW1dsz7.mjs → BookingMailingListNote-B9mP3Io9.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t as RichText } from "./RichText-
|
|
2
|
+
import { wr as assertNever } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
3
|
+
import { t as RichText } from "./RichText-DkKcVZwr.mjs";
|
|
4
4
|
import { n as getBookingMailingListNoteCopy } from "./mailingListSignupCopy-DS-_ePzG.mjs";
|
|
5
5
|
import { useCallback, useEffect, useId, useReducer, useRef, useState } from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as renderAudio, c as resolveMediaNodeResponsiveImage, i as mediaImageHostProps, n as MediaPlaceholder, o as renderVideo, r as computeMediaTransformStyle, t as ImagePresets } from "./media-
|
|
1
|
+
import { $n as listLookSlot, Ni as assertNever, Vn as canJoinEventWaitlistOnAnyMode, qn as isEventFull, zn as resolveRuntimeEventDestination } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
2
|
+
import { a as renderAudio, c as resolveMediaNodeResponsiveImage, i as mediaImageHostProps, n as MediaPlaceholder, o as renderVideo, r as computeMediaTransformStyle, t as ImagePresets } from "./media-FjqQK4qS.mjs";
|
|
3
3
|
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-D-0tNVxE.mjs";
|
|
4
|
-
import { a as ExternalLinkIcon, r as ThemedButtonLink, t as ThemedAuthoredButton } from "./ThemedButton-
|
|
4
|
+
import { a as ExternalLinkIcon, r as ThemedButtonLink, t as ThemedAuthoredButton } from "./ThemedButton-CTgpAXfL.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { ri as clsx } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/CheckboxChoice.tsx
|
package/dist/client/{DemoBookingPortalAccess-DEsn5F2C.mjs → DemoBookingPortalAccess-7BPVzfLU.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { n as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { Mr as verifiedSiteTermsAcceptanceSchema, wr as assertNever } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
3
|
+
import { n as ThemedButton } from "./ThemedButton-CTgpAXfL.mjs";
|
|
4
4
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
5
|
-
import { n as useBlockApi, r as BlockApiError } from "./context-
|
|
6
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
5
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-ByZBoKdq.mjs";
|
|
6
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-Bz6wLaBl.mjs";
|
|
7
7
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-AYanWFb-.mjs";
|
|
8
8
|
import React, { useCallback, useEffect, useId, useMemo, useReducer } from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -629,8 +629,8 @@ function SiteTermsChangedNotice(props) {
|
|
|
629
629
|
//#endregion
|
|
630
630
|
//#region ../blocks/src/system/runtime/shared/utils/demoPortalMagicLink.ts
|
|
631
631
|
const CUSTOMER_PORTAL_PATH = "/portal";
|
|
632
|
-
function buildPortalCallbackUrl(origin, redirectTo) {
|
|
633
|
-
const url = new URL(
|
|
632
|
+
function buildPortalCallbackUrl(origin, redirectTo, callbackPath = "/api/portal/callback") {
|
|
633
|
+
const url = new URL(callbackPath, origin);
|
|
634
634
|
url.searchParams.set("redirect_to", redirectTo);
|
|
635
635
|
return url.toString();
|
|
636
636
|
}
|
|
@@ -644,10 +644,6 @@ async function requestDemoPortalMagicLink(input) {
|
|
|
644
644
|
};
|
|
645
645
|
try {
|
|
646
646
|
const response = await input.send(request);
|
|
647
|
-
if ("kind" in response) return {
|
|
648
|
-
kind: "refused",
|
|
649
|
-
message: response.message
|
|
650
|
-
};
|
|
651
647
|
return "demoSignInUrl" in response ? {
|
|
652
648
|
kind: "demo_sign_in",
|
|
653
649
|
url: response.demoSignInUrl
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Br as
|
|
2
|
+
import { Br as getOrderedDayNames, Fr as MONTH_NAMES, Hn as formatEventRemainingPlaces, Hr as isToday, In as formatTime, Ir as addMonths, Ln as groupEventsByDate, Lr as buildCalendarViewport, Rn as resolveEventTimeZone, Rr as formatDateKey, Tn as formatEventPrice, Ur as shiftCalendarAnchorDate, Vr as isSameCalendarDay, _i as formatLocalScheduleDate, bn as getEventRuntimeFiltersKey, cn as calendarMonthDate, dn as calendarQueryKey, fn as calendarWindowBounds, hn as planCalendarMonthRanges, jn as formatDate, ln as calendarMonthKey, pn as calendarWindowMonths$1, qn as isEventFull, ri as clsx, sn as eventListingBlockRuntime, un as calendarPageResponseError, vn as getBlockApiReadStage, yi as getLocalScheduleDate, yn as buildEventRuntimeFilters, zr as getDayOfWeek } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
3
3
|
import { t as formatEventDuration } from "./duration-btE0-px8.mjs";
|
|
4
|
-
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-
|
|
5
|
-
import { a as toError, i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, s as formatEventTeacherLine, t as useEventPagination } from "./useEventPagination-
|
|
6
|
-
import { a as resolveEventCta, o as resolveEventLinkProps } from "./CardListItem-
|
|
4
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-CTgpAXfL.mjs";
|
|
5
|
+
import { a as toError, i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, s as formatEventTeacherLine, t as useEventPagination } from "./useEventPagination-VudQWKtG.mjs";
|
|
6
|
+
import { a as resolveEventCta, o as resolveEventLinkProps } from "./CardListItem-D5rL2wPv.mjs";
|
|
7
7
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DS92SRVZ.mjs";
|
|
8
|
-
import { n as useBlockApi } from "./context-
|
|
8
|
+
import { n as useBlockApi } from "./context-ByZBoKdq.mjs";
|
|
9
9
|
import { t as ModalShell } from "./ModalShell-BXzucfR6.mjs";
|
|
10
10
|
import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Pi as __commonJSMin,
|
|
3
|
-
import { n as ThemedButton, o as SpinnerNode } from "./ThemedButton-
|
|
2
|
+
import { Pi as __commonJSMin, ii as checkBrowserStripeKey } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
3
|
+
import { n as ThemedButton, o as SpinnerNode } from "./ThemedButton-CTgpAXfL.mjs";
|
|
4
4
|
import { useEffect, useRef, useState } from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region ../../node_modules/.pnpm/@stripe+stripe-js@9.17.0/node_modules/@stripe/stripe-js/dist/pure.js
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-
|
|
2
|
+
import { $n as listLookSlot, yn as buildEventRuntimeFilters } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
3
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-VudQWKtG.mjs";
|
|
4
4
|
import { useMemo } from "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventListWeekNavigation.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Cr as isRecord } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
3
3
|
import { useEffect, useRef, useState } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/shared/LeafletStaticMap.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $n as
|
|
2
|
+
import { $n as listLookSlot, Qn as listLookControl } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
3
3
|
import { a as parseCanonicalMediaIdentifier } from "./renderableMediaAssetAdmission-Cd3JSw2H.mjs";
|
|
4
|
-
import { s as resolveImageUrlWithContext, t as ImagePresets } from "./media-
|
|
4
|
+
import { s as resolveImageUrlWithContext, t as ImagePresets } from "./media-FjqQK4qS.mjs";
|
|
5
5
|
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-D-0tNVxE.mjs";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gr as
|
|
1
|
+
import { Gr as themeButtonSizeClassName, Kr as themeButtonVariantClassNames, Wr as themeButtonExtraClassesWithTrailingIcon, ri as clsx } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
2
2
|
import "react";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/spinner.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
1
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
2
2
|
//#region src/rendering/islands/enhancers/accordion.ts
|
|
3
3
|
const decode = defineIslandPropsDecoder("accordion");
|
|
4
4
|
function parseDefaultValues(value) {
|