@riverbankcms/sdk 0.126.0 → 0.128.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-DcYJxTgc.mjs → PreviewEditorSidebar-Dbvb7GIr.mjs} +64 -68
- package/dist/{PreviewEditorUI-Ctt1yTJr.mjs → PreviewEditorUI-e9O9l20X.mjs} +3 -3
- package/dist/{PreviewQueryProvider-DgFDIwvK.mjs → PreviewQueryProvider-B1kbhaJD.mjs} +1 -1
- package/dist/SdkPreviewModeRuntime-BZHt6e9w.mjs +11006 -0
- package/dist/{SiteChromeCustomizeContext-C87qlKWw.mjs → SiteChromeCustomizeContext-CvuGbHJX.mjs} +51247 -20733
- package/dist/_dts/ai/src/contracts/proposals.d.ts +486 -36
- package/dist/_dts/api/src/bookingClosures.d.ts +19 -3
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -3
- package/dist/_dts/api/src/bookingRecords.d.ts +0 -13
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +2 -2
- package/dist/_dts/api/src/communications.d.ts +2 -1
- package/dist/_dts/api/src/contactFormSummary.d.ts +15 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +3 -10
- package/dist/_dts/api/src/endpoints.d.ts +1 -1
- package/dist/_dts/api/src/footerSettings.d.ts +11 -0
- package/dist/_dts/api/src/index.d.ts +2 -1
- package/dist/_dts/api/src/occurrenceScheduling.d.ts +48 -0
- package/dist/_dts/api/src/participantMessaging.d.ts +5 -3
- package/dist/_dts/api/src/publicExperience/siteEndpoints.d.ts +7 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +7 -5
- package/dist/_dts/api/src/siteOperations.d.ts +12 -3
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +3 -2
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +2 -1
- package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +1 -0
- package/dist/_dts/blocks/src/client/form.d.ts +1 -0
- package/dist/_dts/blocks/src/client/newsletter-form.d.ts +1 -0
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +4 -8
- package/dist/_dts/blocks/src/index.d.ts +3 -2
- package/dist/_dts/blocks/src/lib/media.d.ts +267 -0
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +41 -0
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup-destination.d.ts +14 -23
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +109 -23
- package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +0 -13
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +42 -108
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -54
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/logic.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationSurface.d.ts +26 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/mergeResolveImageUrlContexts.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +29 -78
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +3 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +27 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +21 -0
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +3 -1
- package/dist/_dts/content-editor/src/FooterEngagementEditorFields.d.ts +31 -0
- package/dist/_dts/content-editor/src/FooterEngagementEditorPanel.d.ts +17 -0
- package/dist/_dts/content-editor/src/footerComposer.d.ts +3 -0
- package/dist/_dts/content-editor/src/footerEngagementDraft.d.ts +57 -0
- package/dist/_dts/content-editor/src/footerEngagementEditor.d.ts +11 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +13 -0
- package/dist/_dts/content-editor/src/index.d.ts +1 -0
- package/dist/_dts/content-editor/src/ui/blockValidationManifestRegistry.d.ts +17 -0
- package/dist/_dts/content-editor/src/ui/blockValidationView.d.ts +1 -1
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +4 -0
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +35 -0
- package/dist/_dts/core/src/footer-arrangement.d.ts +2 -0
- package/dist/_dts/core/src/footer-composition-types.d.ts +118 -0
- package/dist/_dts/core/src/footer-composition.d.ts +7 -116
- package/dist/_dts/core/src/footer-engagement.d.ts +30 -0
- package/dist/_dts/core/src/index.d.ts +4 -0
- package/dist/_dts/core/src/newsletter-signup-destination.d.ts +38 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +200 -159
- package/dist/_dts/db/src/index.d.ts +1 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +72 -2
- package/dist/_dts/db/src/schemas/standard-contact.d.ts +114 -0
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +4 -0
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockValidationManifests.d.ts +26 -0
- package/dist/_dts/editor-blocks/src/widgets/rich-text/imageInsert.d.ts +3 -3
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -2
- package/dist/_dts/media-editor/src/context.d.ts +1 -2
- package/dist/_dts/media-editor/src/index.d.ts +3 -1
- package/dist/_dts/media-editor/src/mediaSelection.d.ts +32 -0
- package/dist/_dts/media-editor/src/types.d.ts +3 -1
- package/dist/_dts/media-editor/src/useMediaSelection.d.ts +26 -0
- package/dist/_dts/preview-next/src/client/blocks/previewBatchLoaderParams.d.ts +6 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +2 -5
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +2 -5
- package/dist/_dts/preview-next/src/client/preview/HeaderMenuControls.d.ts +12 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -5
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +2 -4
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +13 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +8 -4
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -49
- package/dist/_dts/preview-next/src/client/preview/headerInteractionPaletteSurfaceState.d.ts +8 -0
- package/dist/_dts/preview-next/src/client/preview/previewThemeRoles.d.ts +15 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeCustomizeTypes.d.ts +54 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +13 -3
- package/dist/_dts/preview-next/src/client/preview/siteChromeNavQuickControlHistory.d.ts +3 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +6 -3
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +6 -5
- package/dist/_dts/sdk/src/cli/commands/push/execute/footer.d.ts +9 -0
- package/dist/_dts/sdk/src/cli/content/footerFile.d.ts +10 -0
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +3 -5
- package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +15 -3
- package/dist/_dts/sdk/src/client/combineAbortSignals.d.ts +2 -0
- package/dist/_dts/sdk/src/client/management/types.d.ts +6 -15
- package/dist/_dts/sdk/src/client/types.d.ts +10 -2
- package/dist/_dts/sdk/src/client/wholeSeriesReadOperations.d.ts +11 -0
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
- package/dist/_dts/sdk/src/contracts/event-registration-content.d.ts +16 -0
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -15
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -18
- package/dist/_dts/sdk/src/public-api/teamMemberContracts.d.ts +17 -0
- package/dist/_dts/sdk/src/public-api/wholeSeriesContracts.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +7 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +5 -3
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +8 -2
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commandContract.d.ts +8 -1
- package/dist/_dts/site-commands/src/commands.d.ts +16 -2
- package/dist/_dts/theme-core/src/buttons/effects/presets/background.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +0 -18
- package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -3
- package/dist/_dts/theme-core/src/header/containerSchema.d.ts +20 -0
- package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +14 -0
- package/dist/_dts/theme-core/src/header/legacyNavLinkStyle.d.ts +3 -0
- package/dist/_dts/theme-core/src/header/paintTargets.d.ts +31 -0
- package/dist/_dts/theme-core/src/header/scrollTreatment.d.ts +11 -0
- package/dist/_dts/theme-core/src/header/surfaceRules.d.ts +8 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +15 -0
- package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +67 -19
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +3 -51
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +4 -11
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +3 -51
- package/dist/_dts/theme-core/src/site-styles/headerInteractionPalette.d.ts +32 -0
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +19 -106
- package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +22 -0
- package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/lookOptionGroups.d.ts +24 -0
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +1 -2
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +4 -22
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorOptions.d.ts +21 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +4 -1
- package/dist/cli/index.mjs +6272 -5706
- package/dist/client/{courseRegistration-BcemLAdN.mjs → CourseRegistrationWizard-xRmA7REV.mjs} +329 -49
- package/dist/client/{DiscountCodeDisclosure-DS0AuFWW.mjs → DiscountCodeDisclosure-B9vriL5C.mjs} +1 -1
- package/dist/client/{EventCombined.client-DtMxLr7q.mjs → EventCombined.client-BgVnVTlz.mjs} +2 -2
- package/dist/client/{EventListing.client-BdLSRNg1.mjs → EventListing.client-CqdsO7jO.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BrpC6vsT.mjs → LeafletStaticMap-CKPxot9M.mjs} +1 -1
- package/dist/client/{StepIndicator-CBYPFVoy.mjs → StepIndicator-DGCYuBJ1.mjs} +2 -2
- package/dist/client/{accordion-BqqwPJWM.mjs → accordion-BfN5Eqd-.mjs} +1 -1
- package/dist/client/{bookingForm-SneP3yxC.mjs → bookingForm-DOvCpBFP.mjs} +5 -5
- package/dist/client/bookings.mjs +126 -23
- package/dist/client/{carousel-BTIR9L3I.mjs → carousel-DPNmiH0f.mjs} +1 -1
- package/dist/client/{cart-bqiqd8SX.mjs → cart--egVXlrR.mjs} +3 -3
- package/dist/client/{checkout-WbTFV5v4.mjs → checkout-DywWtMcq.mjs} +3 -3
- package/dist/client/client.mjs +6111 -5794
- package/dist/client/courseRegistration-Dk9qFVwt.mjs +46 -0
- package/dist/client/{eventCalendar-CsxIw0V_.mjs → eventCalendar-Bkz2HjlS.mjs} +4 -4
- package/dist/client/{eventCombined-B6XMoHfa.mjs → eventCombined-D4kipYWg.mjs} +2 -2
- package/dist/client/{eventDetails-BJaoPPfo.mjs → eventDetails-Dz_5ix2Q.mjs} +56 -35
- package/dist/client/{eventListing-DgwdYHRT.mjs → eventListing-D0vm-zST.mjs} +2 -2
- package/dist/client/{eventRegistration-C0O3folu.mjs → eventRegistration-Cw1E4Q4p.mjs} +58 -6
- package/dist/client/{form-Bk9txGFt.mjs → form-C2Zf1n3K.mjs} +1 -1
- package/dist/client/{headerSection-yIBt0yTv.mjs → headerSection-CP05gzdc.mjs} +2 -2
- package/dist/client/hooks.mjs +1013 -935
- package/dist/client/{locationMap-C-3KIpv-.mjs → locationMap-Cl3x9PYJ.mjs} +2 -2
- package/dist/client/{newsletterForm-CzB8g8h2.mjs → newsletterForm-DyEJoClm.mjs} +26 -20
- package/dist/client/{pricing-C1QeDes_.mjs → pricing-DGuNR1W4.mjs} +1 -1
- package/dist/client/{productDetail-w7SBp5uc.mjs → productDetail-Cq-HrGew.mjs} +3 -3
- package/dist/client/{productList-D0tGKHGf.mjs → productList-DbB3jwqd.mjs} +3 -3
- package/dist/client/{propsDecoder-Bcin2DB3.mjs → propsDecoder-CiTuhUwY.mjs} +257 -142
- package/dist/client/rendering/client.mjs +1342 -1122
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +6622 -6321
- package/dist/client/{scrollToBlock-h-o_STf_.mjs → scrollToBlock-CShkRqab.mjs} +1 -1
- package/dist/client/{shop-BGzmL8O_.mjs → shop-Cu4Ib-ZA.mjs} +5 -5
- package/dist/client/{shop-commerce-lX8QxjX-.mjs → shop-commerce-BzpsOdh7.mjs} +4 -4
- package/dist/client/{shop-commerce-store-CEurARtu.mjs → shop-commerce-store-DaE7Fhj8.mjs} +1 -1
- package/dist/client/{shopShared-DXxH8xxw.mjs → shopShared-cF0c20vB.mjs} +2 -2
- package/dist/client/{useEventFilters-B591g9vd.mjs → useEventFilters-QZ3HMgaJ.mjs} +2 -2
- package/dist/client/{usePolling-BvnChV4m.mjs → usePolling-BKf0GcE-.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/{previewAuthStore-Dev9CdG9.mjs → previewAuthStore-BesgU5Xu.mjs} +1 -1
- package/dist/{sdk-runtime-M__i3Jce.mjs → sdk-runtime-Cn_QSCOg.mjs} +2 -2
- package/dist/{separator-VSlnI9bc.mjs → separator-CEoGABRc.mjs} +1 -1
- package/dist/server/components.mjs +1750 -1614
- package/dist/server/config-validation.mjs +1010 -935
- package/dist/server/config.mjs +1010 -935
- package/dist/server/data.mjs +1013 -935
- package/dist/server/index.mjs +40 -16
- package/dist/server/next.mjs +1790 -1632
- package/dist/server/page-converter.mjs +1012 -938
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1746 -1601
- package/dist/server/rendering.mjs +1759 -1615
- package/dist/server/routing.mjs +1123 -975
- package/dist/server/server.mjs +1053 -951
- package/dist/server/theme-bridge.mjs +151 -118
- package/dist/server/theme.mjs +111 -23
- package/package.json +1 -1
- package/dist/SdkPreviewModeRuntime-CvW1vdQ4.mjs +0 -39468
- package/dist/_dts/editor-blocks/src/widgets/rich-text/ensureRichTextImageAssetIdentifier.d.ts +0 -8
- package/dist/client/MagicLinkForm-Bt3IuLMy.mjs +0 -327
|
@@ -16,14 +16,16 @@ export type { LoadPageParams, LoadPageResult } from './helpers/loadPage';
|
|
|
16
16
|
export { loadContent, isPageContent, isEntryContent, isPageSurfaceContent, } from './helpers/loadContent';
|
|
17
17
|
export type { LoadContentParams, LoadContentResult, ContentEntryData, PagePreviewMetadata, SiteData, } from './helpers/loadContent';
|
|
18
18
|
export type { BlockLoaderMap, DataLoaderContext, DataLoaderFn, DataLoaderOverrides, DataLoaderPreviewStage, DataLoaderRenderTarget, DataLoaderSearchParams, DataLoaderValue, } from '../data/types';
|
|
19
|
-
export type { AppointmentBookingContent, BlogListingContent, BlogPostContent, BodyTextAlignment, BodyTextContent, ButtonVariant, CalendarTabViews, CardStylesContent, CollectionContent, ColumnsContent, ColumnOption, ContainerStylesContent, CtaFullContent, DisplayMode, EmbedContent, EventCalendarContent, EventDetailsContent, EventLayout, EventListingContent, EventRegistrationContent, EventSpotlightContent, FaqContent, FaqItem, FilterAutoShow, FormBlockContent, GiftingContent, HeroContent, HeroCta, HeroCtaInput, HeroMedia, ImageColSize, ImageGalleryContent, LayoutAlign, LayoutWidth, Media, MediaTextAlignment, MediaTextAspectRatio, MediaTextContent, MediaTextImagePosition, NewsletterSignupContent, NewsletterSignupPreset, TipTapNode, TipTapMark, LinkValue, InternalLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue, RichTextPrimitiveProps, RichTextVariant, PageOutline, BlockOutline, RouteMap, RouteMapEntry, OccurrenceContextData, EntrySubrouteContextData, Theme, ThemeTokens,
|
|
19
|
+
export type { AppointmentBookingContent, BlogListingContent, BlogPostContent, BodyTextAlignment, BodyTextContent, ButtonVariant, CalendarTabViews, CardStylesContent, CollectionContent, ColumnsContent, ColumnOption, ContainerStylesContent, CtaFullContent, DisplayMode, EmbedContent, EventCalendarContent, EventDetailsContent, EventLayout, EventListingContent, EventRegistrationContent, EventSpotlightContent, FaqContent, FaqItem, FilterAutoShow, FormBlockContent, GiftingContent, HeroContent, HeroCta, HeroCtaInput, HeroMedia, ImageColSize, ImageGalleryContent, LayoutAlign, LayoutWidth, Media, MediaTextAlignment, MediaTextAspectRatio, MediaTextContent, MediaTextImagePosition, NewsletterSignupContent, NewsletterSignupPreset, RichTextDoc, TipTapNode, TipTapMark, LinkValue, InternalLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue, RichTextPrimitiveProps, RichTextVariant, PageOutline, BlockOutline, RouteMap, RouteMapEntry, OccurrenceContextData, EntrySubrouteContextData, Theme, ThemeTokens, SectionStylesContent, SemanticSpacing, ShopContent, SingleButtonContent, SiteFooterContent, SiteHeaderContent, StackContentAlignment, StackImagePosition, SystemBlockContentByFullKind, SystemBlockContentByKind, SystemBlockContentFor, SystemBlockShortKind, TeamMembersContent, TestimonialEntryContent, TestimonialsBlockContent, ThumbnailPadding, ThumbnailShape, VideoGridContent, WeekStart, MediaAssetIndexItem, ImageOptions, ResolveImageUrlContext, ResolveImageUrlContextInput, ResolveImageSourceSetOptions, ResolvedImageSourceSet, } from '../contracts';
|
|
20
20
|
export { ImagePresets } from '../contracts';
|
|
21
21
|
export { RichText } from './primitives/RichText';
|
|
22
22
|
export { resolveImageUrl, resolveImageUrlWithContext, resolveImageSourceSetWithContext, } from './image';
|
|
23
|
-
export { PageRenderer } from './blocks-page-renderer';
|
|
23
|
+
export { PageRenderer, toBlocksPageRendererDataContext, } from './blocks-page-renderer';
|
|
24
24
|
export { ThemeScope } from './blocks-theme-scope';
|
|
25
25
|
export { buildThemeRuntime } from './blocks-theme-runtime';
|
|
26
|
-
export
|
|
26
|
+
export { toBlocksImageResolveContextInput, toBlocksMediaAssets, } from './mediaAssets';
|
|
27
|
+
export type { BlocksImageResolveContextInput, BlocksMediaAssetIndexItem, } from './mediaAssets';
|
|
28
|
+
export type { ComponentRegistry, BlocksPageRendererDataContext, PageRendererDataContext, PageRendererProps, SdkConfigForRenderer, } from './blocks-page-renderer';
|
|
27
29
|
export type { ThemeScopeProps } from './blocks-theme-scope';
|
|
28
30
|
export type { BlockOverrideProps, BlockOverrideComponent, BlockOverrideRegistration, BlockOverrideRegistrations, BlockOverrides, CustomBlockOverrideKey, KnownSystemBlockOverrides, KnownBlockOverrideKey, LazyBlockOverrideFactory, LazyBlockOverrideRegistration, StrictBlockOverrideRegistrations, StrictBlockOverrides, SystemBlockOverrideKey, } from './overrides';
|
|
29
31
|
export { defineBlockOverrideRegistrations, defineBlockOverrides, defineLazyBlockOverride, } from './overrides';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EventScheduleScope as SystemEventScheduleScope, EventSurfacePreset as SystemEventSurfacePreset, RichTextDoc as SystemRichTextDoc } from '../../contracts/system-block-content';
|
|
1
|
+
import type { ButtonVariant as SystemButtonVariant, EventScheduleScope as SystemEventScheduleScope, EventSurfacePreset as SystemEventSurfacePreset, RichTextDoc as SystemRichTextDoc } from '../../contracts/system-block-content';
|
|
2
2
|
import type { PublicTeamMemberSummary } from '../../../../api/src/index';
|
|
3
3
|
import type { BookingFlexibleBalanceConfig, BookingInstalmentPlanConfig, LocationCoordinates, PublicCoursePriceDisplay, PublicEventPriceDisplay, PublicEventPricing, PublicEventPricingType } from '../../../../core/src/index';
|
|
4
4
|
import type { AccordionIslandProps as BlocksAccordionIslandProps, BookingFormConfig as BlocksBookingFormConfig, BookingFormInteractiveIslandProps as BlocksBookingFormIslandProps, BookingFormService as BlocksBookingFormService, CarouselIslandProps as BlocksCarouselIslandProps, CourseRegistrationInteractiveIslandProps as BlocksCourseRegistrationIslandProps, CartDisplay as BlocksCartDisplay, CartInteractiveIslandProps as BlocksCartIslandProps, CartLineDisplay as BlocksCartLineDisplay, CheckoutDisplay as BlocksCheckoutDisplay, CheckoutInteractiveIslandProps as BlocksCheckoutIslandProps, EventCalendarInteractiveIslandProps as BlocksEventCalendarIslandProps, EventCombinedInteractiveIslandProps as BlocksEventCombinedIslandProps, EventDetailsIslandProps as BlocksEventDetailsIslandProps, EventDetailsOccurrenceContext as BlocksEventDetailsOccurrenceContext, LocationMapIslandProps as BlocksLocationMapIslandProps, EventRegistrationInteractiveIslandProps as BlocksEventRegistrationIslandProps, EventListingDisplay as BlocksEventListingDisplay, EventListingHydration as BlocksEventListingHydration, EventListingInteractiveIslandProps as BlocksEventListingIslandProps, PublicEvent as BlocksPublicEvent, FormInteractiveIslandProps as BlocksFormIslandProps, HeaderSectionIslandProps as BlocksHeaderSectionIslandProps, MembershipCardDisplay as BlocksMembershipCardDisplay, NewsletterFormInteractiveIslandProps as BlocksNewsletterFormIslandProps, PassCardDisplay as BlocksPassCardDisplay, PassesMembershipsDisplay as BlocksPassesMembershipsDisplay, ProductCardDisplay as BlocksProductCardDisplay, ProductDetailDisplay as BlocksProductDetailDisplay, ProductDetailInteractiveIslandProps as BlocksProductDetailIslandProps, ProductListDisplay as BlocksProductListDisplay, ProductListInteractiveIslandProps as BlocksProductListIslandProps, ProductVariantOptionDisplay as BlocksProductVariantOptionDisplay, ShopInteractiveIslandProps as BlocksShopIslandProps } from '../../../../blocks/src/contracts/index';
|
|
@@ -240,7 +240,7 @@ export type BookingFormService = BlocksBookingFormService;
|
|
|
240
240
|
export type BookingFormConfig = BlocksBookingFormConfig;
|
|
241
241
|
export type BookingFormIslandProps = BlocksBookingFormIslandProps;
|
|
242
242
|
export type CardVariant = 'default' | 'variant1' | 'variant2';
|
|
243
|
-
export type ButtonVariant =
|
|
243
|
+
export type ButtonVariant = SystemButtonVariant;
|
|
244
244
|
export type EventListingLayout = EventLayout;
|
|
245
245
|
export type CardOrientation = 'vertical' | 'horizontal';
|
|
246
246
|
export type EventListingDisplay = BlocksEventListingDisplay;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type MediaAssetId } from '../../../core/src/index';
|
|
2
2
|
import type { MediaAssetIndexItem as SdkMediaAssetIndexItem, ResolveImageUrlContextInput as SdkResolveImageUrlContextInput } from '../contracts';
|
|
3
|
+
export type BlocksMediaAssetIndexItem = Omit<SdkMediaAssetIndexItem, 'id'> & Readonly<{
|
|
4
|
+
id: MediaAssetId;
|
|
5
|
+
}>;
|
|
6
|
+
export type BlocksImageResolveContextInput = Omit<SdkResolveImageUrlContextInput, 'mediaAssets'> & Readonly<{
|
|
7
|
+
mediaAssets?: readonly BlocksMediaAssetIndexItem[];
|
|
8
|
+
}>;
|
|
3
9
|
export declare function toBlocksMediaAssets(assets: readonly SdkMediaAssetIndexItem[] | undefined): readonly BlocksMediaAssetIndexItem[] | undefined;
|
|
4
|
-
export declare function toBlocksImageResolveContextInput(context: SdkResolveImageUrlContextInput | undefined):
|
|
10
|
+
export declare function toBlocksImageResolveContextInput(context: SdkResolveImageUrlContextInput | undefined): BlocksImageResolveContextInput | undefined;
|
|
@@ -674,7 +674,14 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
674
674
|
type: z.ZodLiteral<"upsertFooterContent">;
|
|
675
675
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("./refs").FooterRef, string>>;
|
|
676
676
|
input: z.ZodObject<{
|
|
677
|
-
|
|
677
|
+
composition: z.ZodCustom<Readonly<{
|
|
678
|
+
schemaVersion: 1;
|
|
679
|
+
sections: readonly import("../../core/src/index").FooterSection[];
|
|
680
|
+
}>, Readonly<{
|
|
681
|
+
schemaVersion: 1;
|
|
682
|
+
sections: readonly import("../../core/src/index").FooterSection[];
|
|
683
|
+
}>>;
|
|
684
|
+
baseRevision: z.ZodNumber;
|
|
678
685
|
}, z.core.$strict>;
|
|
679
686
|
}, z.core.$strict>, z.ZodObject<{
|
|
680
687
|
type: z.ZodLiteral<"upsertContentEntry">;
|
|
@@ -224,7 +224,14 @@ export declare const upsertFooterContentCommandSchema: z.ZodObject<{
|
|
|
224
224
|
type: z.ZodLiteral<"upsertFooterContent">;
|
|
225
225
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<FooterRef, string>>;
|
|
226
226
|
input: z.ZodObject<{
|
|
227
|
-
|
|
227
|
+
composition: z.ZodCustom<Readonly<{
|
|
228
|
+
schemaVersion: 1;
|
|
229
|
+
sections: readonly import("../../core/src/index").FooterSection[];
|
|
230
|
+
}>, Readonly<{
|
|
231
|
+
schemaVersion: 1;
|
|
232
|
+
sections: readonly import("../../core/src/index").FooterSection[];
|
|
233
|
+
}>>;
|
|
234
|
+
baseRevision: z.ZodNumber;
|
|
228
235
|
}, z.core.$strict>;
|
|
229
236
|
}, z.core.$strict>;
|
|
230
237
|
export declare const upsertContentEntryCommandSchema: z.ZodObject<{
|
|
@@ -1392,7 +1399,14 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1392
1399
|
type: z.ZodLiteral<"upsertFooterContent">;
|
|
1393
1400
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<FooterRef, string>>;
|
|
1394
1401
|
input: z.ZodObject<{
|
|
1395
|
-
|
|
1402
|
+
composition: z.ZodCustom<Readonly<{
|
|
1403
|
+
schemaVersion: 1;
|
|
1404
|
+
sections: readonly import("../../core/src/index").FooterSection[];
|
|
1405
|
+
}>, Readonly<{
|
|
1406
|
+
schemaVersion: 1;
|
|
1407
|
+
sections: readonly import("../../core/src/index").FooterSection[];
|
|
1408
|
+
}>>;
|
|
1409
|
+
baseRevision: z.ZodNumber;
|
|
1396
1410
|
}, z.core.$strict>;
|
|
1397
1411
|
}, z.core.$strict>, z.ZodObject<{
|
|
1398
1412
|
type: z.ZodLiteral<"upsertContentEntry">;
|
|
@@ -720,24 +720,6 @@ export type ResolveButtonStyleSelectionResult = Readonly<{
|
|
|
720
720
|
}>;
|
|
721
721
|
export declare function resolveButtonStyleSelection(selection: ButtonStyleSelection): ResolveButtonStyleSelectionResult;
|
|
722
722
|
export declare function defaultButtonStyleSelectionFor<TStyleId extends ButtonStyleId>(styleId: TStyleId): ButtonStyleSelectionFor<TStyleId>;
|
|
723
|
-
export type PersistedButtonStyleWarning = Readonly<{
|
|
724
|
-
kind: 'missing-style-id';
|
|
725
|
-
}> | Readonly<{
|
|
726
|
-
kind: 'unknown-style-id';
|
|
727
|
-
raw: string;
|
|
728
|
-
}> | Readonly<{
|
|
729
|
-
kind: 'invalid-parameters';
|
|
730
|
-
styleId: ButtonStyleId;
|
|
731
|
-
issues: readonly string[];
|
|
732
|
-
}>;
|
|
733
|
-
export type PersistedButtonStyleSelectionResult = Readonly<{
|
|
734
|
-
selection: ButtonStyleSelection;
|
|
735
|
-
warning: PersistedButtonStyleWarning | null;
|
|
736
|
-
}>;
|
|
737
|
-
export declare function parsePersistedButtonStyleSelection(input: Readonly<{
|
|
738
|
-
styleId: string | null | undefined;
|
|
739
|
-
parameters: unknown;
|
|
740
|
-
}>, fallback?: ButtonStyleSelection): PersistedButtonStyleSelectionResult;
|
|
741
723
|
export declare function buttonStyleSelectionParameterValue(selection: ButtonStyleSelection, parameter: string): string | null;
|
|
742
724
|
export type UpdateButtonStyleSelectionChoiceResult = Readonly<{
|
|
743
725
|
kind: 'updated';
|
|
@@ -41,7 +41,7 @@ export type ButtonSizes = Record<ButtonSizeName, ButtonSizeConfig>;
|
|
|
41
41
|
* Block content references variants by role; the active theme determines
|
|
42
42
|
* what each role looks like.
|
|
43
43
|
*/
|
|
44
|
-
export declare const VARIANT_ROLES: readonly ["primary", "secondary", "outline", "ghost", "
|
|
44
|
+
export declare const VARIANT_ROLES: readonly ["primary", "secondary", "outline", "ghost", "accent"];
|
|
45
45
|
export type VariantRole = (typeof VARIANT_ROLES)[number];
|
|
46
46
|
export declare function isVariantRole(value: string): value is VariantRole;
|
|
47
47
|
declare const SpecialVariantIdBrand: unique symbol;
|
|
@@ -307,13 +307,11 @@ export declare const gradientSharpnessSchema: z.ZodEnum<{
|
|
|
307
307
|
}>;
|
|
308
308
|
export declare const prioritySchema: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
309
309
|
export declare const variantRoleSchema: z.ZodEnum<{
|
|
310
|
-
link: "link";
|
|
311
310
|
outline: "outline";
|
|
312
311
|
accent: "accent";
|
|
313
312
|
primary: "primary";
|
|
314
313
|
secondary: "secondary";
|
|
315
314
|
ghost: "ghost";
|
|
316
|
-
tertiary: "tertiary";
|
|
317
315
|
}>;
|
|
318
316
|
export declare const buttonSizeNameSchema: z.ZodEnum<{
|
|
319
317
|
sm: "sm";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const headerContainerSchema: z.ZodOptional<z.ZodObject<{
|
|
3
|
+
rounded: z.ZodDefault<z.ZodEnum<{
|
|
4
|
+
none: "none";
|
|
5
|
+
sm: "sm";
|
|
6
|
+
md: "md";
|
|
7
|
+
lg: "lg";
|
|
8
|
+
xl: "xl";
|
|
9
|
+
"2xl": "2xl";
|
|
10
|
+
}>>;
|
|
11
|
+
border: z.ZodDefault<z.ZodBoolean>;
|
|
12
|
+
shadow: z.ZodDefault<z.ZodBoolean>;
|
|
13
|
+
padding: z.ZodDefault<z.ZodEnum<{
|
|
14
|
+
sm: "sm";
|
|
15
|
+
md: "md";
|
|
16
|
+
lg: "lg";
|
|
17
|
+
}>>;
|
|
18
|
+
tint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
opacity: z.ZodDefault<z.ZodNumber>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
@@ -16,5 +16,5 @@ export declare const _testExports: {
|
|
|
16
16
|
/**
|
|
17
17
|
* Generate root header container styles
|
|
18
18
|
*/
|
|
19
|
-
declare function generateHeaderRootStyles(header: ThemeHeader, themeId: string, tokens: TokenResolver
|
|
19
|
+
declare function generateHeaderRootStyles(header: ThemeHeader, themeId: string, tokens: TokenResolver): string;
|
|
20
20
|
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const headerInteractionPaletteValues: readonly ["primary", "secondary", "accent"];
|
|
3
|
+
export declare const headerInteractionPaletteSchema: z.ZodEnum<{
|
|
4
|
+
accent: "accent";
|
|
5
|
+
primary: "primary";
|
|
6
|
+
secondary: "secondary";
|
|
7
|
+
}>;
|
|
8
|
+
export type HeaderInteractionPalette = z.infer<typeof headerInteractionPaletteSchema>;
|
|
9
|
+
export type HeaderInteractionPalettePreference = 'recommended' | HeaderInteractionPalette;
|
|
10
|
+
export type HeaderInteractionPalettePair = Readonly<{
|
|
11
|
+
backgroundToken: 'primary' | 'secondary' | 'accent';
|
|
12
|
+
foregroundToken: 'onPrimary' | 'onSecondary' | 'onAccent';
|
|
13
|
+
}>;
|
|
14
|
+
export declare function headerInteractionPalettePair(palette: HeaderInteractionPalette): HeaderInteractionPalettePair;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { NavLinkContrastTreatment, NavLinkStyle } from '../navigation/types';
|
|
2
|
+
import type { ThemeHeader } from '../schema';
|
|
3
|
+
export declare function buildLegacyHeaderNavLinkStyle(header: ThemeHeader, contrastTreatment: NavLinkContrastTreatment | null, navTextSize: NavLinkStyle['textSize'] | null): NavLinkStyle | null;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
type HeaderLayoutVariant = 'classic' | 'centered' | 'transparent' | 'floating';
|
|
2
|
+
type ElementBoxPaintTarget = Readonly<{
|
|
3
|
+
kind: 'element-box';
|
|
4
|
+
selector: string;
|
|
5
|
+
mediaQuery?: string;
|
|
6
|
+
pseudoElement?: 'inset';
|
|
7
|
+
}>;
|
|
8
|
+
type ViewportBandPaintTarget = Readonly<{
|
|
9
|
+
kind: 'viewport-band';
|
|
10
|
+
clipSelector: string;
|
|
11
|
+
ownerSelector: string;
|
|
12
|
+
selector: string;
|
|
13
|
+
mediaQuery: string;
|
|
14
|
+
extent: Readonly<{
|
|
15
|
+
top: Readonly<{
|
|
16
|
+
customProperty: '--rb-header-floating-top-gap';
|
|
17
|
+
value: '1rem' | '0.75rem';
|
|
18
|
+
ownerProperty: 'top' | 'margin-top';
|
|
19
|
+
}>;
|
|
20
|
+
bottom: Readonly<{
|
|
21
|
+
customProperty: '--rb-header-floating-bottom-extension';
|
|
22
|
+
value: '0.75rem';
|
|
23
|
+
}>;
|
|
24
|
+
}>;
|
|
25
|
+
ownerNeedsPositioning: boolean;
|
|
26
|
+
}>;
|
|
27
|
+
export type HeaderPaintTarget = ElementBoxPaintTarget | ViewportBandPaintTarget;
|
|
28
|
+
/** Resolve the element that owns the visible header surface for each layout. */
|
|
29
|
+
export declare function getHeaderPaintTargets(variant: HeaderLayoutVariant, themeId: string, state?: 'base' | 'scrolled'): readonly HeaderPaintTarget[];
|
|
30
|
+
export declare function renderHeaderPaintTargetRules(targets: readonly HeaderPaintTarget[], rules: readonly string[]): string;
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const headerScrollTreatmentSchema: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
+
kind: z.ZodLiteral<"contrast-glass">;
|
|
4
|
+
backgroundTone: z.ZodEnum<{
|
|
5
|
+
light: "light";
|
|
6
|
+
dark: "dark";
|
|
7
|
+
}>;
|
|
8
|
+
}, z.core.$strip>], "kind">>;
|
|
9
|
+
export type HeaderScrollTreatment = z.infer<typeof headerScrollTreatmentSchema>;
|
|
10
|
+
export declare function generateMobileOverlayBackdropFilterFix(themeId: string, variant: 'classic' | 'centered' | 'transparent' | 'floating'): string;
|
|
11
|
+
export declare function generateHeaderScrollTreatmentStyles(treatment: HeaderScrollTreatment, themeId: string, variant: 'classic' | 'centered' | 'transparent' | 'floating', surfaceRules?: readonly string[]): string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ThemeHeader } from '../schema';
|
|
2
|
+
import type { TokenResolver } from '../tokens/resolver';
|
|
3
|
+
export type HeaderSurfaceRules = Readonly<{
|
|
4
|
+
base: readonly string[];
|
|
5
|
+
border: readonly string[];
|
|
6
|
+
}>;
|
|
7
|
+
/** Compile the at-rest surface independently of scroll treatment and paint geometry. */
|
|
8
|
+
export declare function buildHeaderSurfaceRules(header: ThemeHeader, tokens: TokenResolver): HeaderSurfaceRules;
|
|
@@ -187,6 +187,10 @@ export declare const mockThemes: {
|
|
|
187
187
|
tint?: string | null | undefined;
|
|
188
188
|
};
|
|
189
189
|
barFrame?: "full-bleed" | "inset-shell" | undefined;
|
|
190
|
+
scrollTreatment?: {
|
|
191
|
+
kind: "contrast-glass";
|
|
192
|
+
backgroundTone: "light" | "dark";
|
|
193
|
+
} | undefined;
|
|
190
194
|
logoOverride?: {
|
|
191
195
|
type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
|
|
192
196
|
purpose?: string | undefined;
|
|
@@ -226,6 +230,7 @@ export declare const mockThemes: {
|
|
|
226
230
|
navFontRole?: "heading" | "body" | undefined;
|
|
227
231
|
navTypography?: "heading" | "body" | undefined;
|
|
228
232
|
navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
|
|
233
|
+
interactionPalette?: "accent" | "primary" | "secondary" | undefined;
|
|
229
234
|
navPlacement?: "center" | "end" | undefined;
|
|
230
235
|
container?: {
|
|
231
236
|
rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
@@ -1540,6 +1545,10 @@ export declare const mockThemes: {
|
|
|
1540
1545
|
tint?: string | null | undefined;
|
|
1541
1546
|
};
|
|
1542
1547
|
barFrame?: "full-bleed" | "inset-shell" | undefined;
|
|
1548
|
+
scrollTreatment?: {
|
|
1549
|
+
kind: "contrast-glass";
|
|
1550
|
+
backgroundTone: "light" | "dark";
|
|
1551
|
+
} | undefined;
|
|
1543
1552
|
logoOverride?: {
|
|
1544
1553
|
type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
|
|
1545
1554
|
purpose?: string | undefined;
|
|
@@ -1579,6 +1588,7 @@ export declare const mockThemes: {
|
|
|
1579
1588
|
navFontRole?: "heading" | "body" | undefined;
|
|
1580
1589
|
navTypography?: "heading" | "body" | undefined;
|
|
1581
1590
|
navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
|
|
1591
|
+
interactionPalette?: "accent" | "primary" | "secondary" | undefined;
|
|
1582
1592
|
navPlacement?: "center" | "end" | undefined;
|
|
1583
1593
|
container?: {
|
|
1584
1594
|
rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
@@ -2893,6 +2903,10 @@ export declare const mockThemes: {
|
|
|
2893
2903
|
tint?: string | null | undefined;
|
|
2894
2904
|
};
|
|
2895
2905
|
barFrame?: "full-bleed" | "inset-shell" | undefined;
|
|
2906
|
+
scrollTreatment?: {
|
|
2907
|
+
kind: "contrast-glass";
|
|
2908
|
+
backgroundTone: "light" | "dark";
|
|
2909
|
+
} | undefined;
|
|
2896
2910
|
logoOverride?: {
|
|
2897
2911
|
type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
|
|
2898
2912
|
purpose?: string | undefined;
|
|
@@ -2932,6 +2946,7 @@ export declare const mockThemes: {
|
|
|
2932
2946
|
navFontRole?: "heading" | "body" | undefined;
|
|
2933
2947
|
navTypography?: "heading" | "body" | undefined;
|
|
2934
2948
|
navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
|
|
2949
|
+
interactionPalette?: "accent" | "primary" | "secondary" | undefined;
|
|
2935
2950
|
navPlacement?: "center" | "end" | undefined;
|
|
2936
2951
|
container?: {
|
|
2937
2952
|
rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
@@ -87,7 +87,7 @@ export declare function paletteColorsEqual(left: PaletteColors, right: PaletteCo
|
|
|
87
87
|
export declare function paletteColorFingerprint(colors: PaletteColors): string;
|
|
88
88
|
export declare function canonicalPaletteHashInput(colors: PaletteColors, mode: PaletteMode): string;
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* Stable curated-catalogue identity. Do not reorder roles: the order comes
|
|
91
91
|
* from PALETTE_TOKEN_NAMES through canonicalPaletteHashInput.
|
|
92
92
|
*/
|
|
93
93
|
export declare function paletteValueKey(colors: PaletteColors, mode: PaletteMode): PaletteValueKey;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { ExpandedPalette } from './palette/expandPalette';
|
|
3
3
|
import { paletteColorSchema, paletteMetaSchema, paletteSchema } from './palette/schema';
|
|
4
|
+
import { headerContainerSchema } from './header/containerSchema';
|
|
4
5
|
export declare const axesSchema: z.ZodObject<{
|
|
5
6
|
tone: z.ZodEnum<{
|
|
6
7
|
bold: "bold";
|
|
@@ -1708,25 +1709,6 @@ declare const headerMaxWidth: z.ZodEnum<{
|
|
|
1708
1709
|
full: "full";
|
|
1709
1710
|
container: "container";
|
|
1710
1711
|
}>;
|
|
1711
|
-
declare const headerContainerSchema: z.ZodOptional<z.ZodObject<{
|
|
1712
|
-
rounded: z.ZodDefault<z.ZodEnum<{
|
|
1713
|
-
none: "none";
|
|
1714
|
-
sm: "sm";
|
|
1715
|
-
md: "md";
|
|
1716
|
-
lg: "lg";
|
|
1717
|
-
xl: "xl";
|
|
1718
|
-
"2xl": "2xl";
|
|
1719
|
-
}>>;
|
|
1720
|
-
border: z.ZodDefault<z.ZodBoolean>;
|
|
1721
|
-
shadow: z.ZodDefault<z.ZodBoolean>;
|
|
1722
|
-
padding: z.ZodDefault<z.ZodEnum<{
|
|
1723
|
-
sm: "sm";
|
|
1724
|
-
md: "md";
|
|
1725
|
-
lg: "lg";
|
|
1726
|
-
}>>;
|
|
1727
|
-
tint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1728
|
-
opacity: z.ZodDefault<z.ZodNumber>;
|
|
1729
|
-
}, z.core.$strip>>;
|
|
1730
1712
|
declare const headerBorderSchema: z.ZodOptional<z.ZodObject<{
|
|
1731
1713
|
width: z.ZodDefault<z.ZodEnum<{
|
|
1732
1714
|
medium: "medium";
|
|
@@ -1941,6 +1923,13 @@ export declare const headerSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1941
1923
|
"full-bleed": "full-bleed";
|
|
1942
1924
|
"inset-shell": "inset-shell";
|
|
1943
1925
|
}>>;
|
|
1926
|
+
scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1927
|
+
kind: z.ZodLiteral<"contrast-glass">;
|
|
1928
|
+
backgroundTone: z.ZodEnum<{
|
|
1929
|
+
light: "light";
|
|
1930
|
+
dark: "dark";
|
|
1931
|
+
}>;
|
|
1932
|
+
}, z.core.$strip>], "kind">>;
|
|
1944
1933
|
logoOverride: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1945
1934
|
type: z.ZodEnum<{
|
|
1946
1935
|
image: "image";
|
|
@@ -2082,6 +2071,11 @@ export declare const headerSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2082
2071
|
xl: "xl";
|
|
2083
2072
|
xs: "xs";
|
|
2084
2073
|
}>>;
|
|
2074
|
+
interactionPalette: z.ZodOptional<z.ZodEnum<{
|
|
2075
|
+
accent: "accent";
|
|
2076
|
+
primary: "primary";
|
|
2077
|
+
secondary: "secondary";
|
|
2078
|
+
}>>;
|
|
2085
2079
|
navPlacement: z.ZodOptional<z.ZodEnum<{
|
|
2086
2080
|
center: "center";
|
|
2087
2081
|
end: "end";
|
|
@@ -2392,6 +2386,10 @@ export declare const headerSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2392
2386
|
tint?: string | null | undefined;
|
|
2393
2387
|
};
|
|
2394
2388
|
barFrame?: "full-bleed" | "inset-shell" | undefined;
|
|
2389
|
+
scrollTreatment?: {
|
|
2390
|
+
kind: "contrast-glass";
|
|
2391
|
+
backgroundTone: "light" | "dark";
|
|
2392
|
+
} | undefined;
|
|
2395
2393
|
logoOverride?: {
|
|
2396
2394
|
type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
|
|
2397
2395
|
purpose?: string | undefined;
|
|
@@ -2431,6 +2429,7 @@ export declare const headerSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2431
2429
|
navFontRole?: "heading" | "body" | undefined;
|
|
2432
2430
|
navTypography?: "heading" | "body" | undefined;
|
|
2433
2431
|
navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
|
|
2432
|
+
interactionPalette?: "accent" | "primary" | "secondary" | undefined;
|
|
2434
2433
|
navPlacement?: "center" | "end" | undefined;
|
|
2435
2434
|
container?: {
|
|
2436
2435
|
rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
@@ -2580,6 +2579,10 @@ export declare const headerSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2580
2579
|
tint?: string | null | undefined;
|
|
2581
2580
|
};
|
|
2582
2581
|
barFrame?: "full-bleed" | "inset-shell" | undefined;
|
|
2582
|
+
scrollTreatment?: {
|
|
2583
|
+
kind: "contrast-glass";
|
|
2584
|
+
backgroundTone: "light" | "dark";
|
|
2585
|
+
} | undefined;
|
|
2583
2586
|
logoOverride?: {
|
|
2584
2587
|
type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
|
|
2585
2588
|
purpose?: string | undefined;
|
|
@@ -2619,6 +2622,7 @@ export declare const headerSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2619
2622
|
navFontRole?: "heading" | "body" | undefined;
|
|
2620
2623
|
navTypography?: "heading" | "body" | undefined;
|
|
2621
2624
|
navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
|
|
2625
|
+
interactionPalette?: "accent" | "primary" | "secondary" | undefined;
|
|
2622
2626
|
navPlacement?: "center" | "end" | undefined;
|
|
2623
2627
|
container?: {
|
|
2624
2628
|
rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
@@ -3915,6 +3919,13 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
3915
3919
|
"full-bleed": "full-bleed";
|
|
3916
3920
|
"inset-shell": "inset-shell";
|
|
3917
3921
|
}>>;
|
|
3922
|
+
scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3923
|
+
kind: z.ZodLiteral<"contrast-glass">;
|
|
3924
|
+
backgroundTone: z.ZodEnum<{
|
|
3925
|
+
light: "light";
|
|
3926
|
+
dark: "dark";
|
|
3927
|
+
}>;
|
|
3928
|
+
}, z.core.$strip>], "kind">>;
|
|
3918
3929
|
logoOverride: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3919
3930
|
type: z.ZodEnum<{
|
|
3920
3931
|
image: "image";
|
|
@@ -4056,6 +4067,11 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
4056
4067
|
xl: "xl";
|
|
4057
4068
|
xs: "xs";
|
|
4058
4069
|
}>>;
|
|
4070
|
+
interactionPalette: z.ZodOptional<z.ZodEnum<{
|
|
4071
|
+
accent: "accent";
|
|
4072
|
+
primary: "primary";
|
|
4073
|
+
secondary: "secondary";
|
|
4074
|
+
}>>;
|
|
4059
4075
|
navPlacement: z.ZodOptional<z.ZodEnum<{
|
|
4060
4076
|
center: "center";
|
|
4061
4077
|
end: "end";
|
|
@@ -4366,6 +4382,10 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
4366
4382
|
tint?: string | null | undefined;
|
|
4367
4383
|
};
|
|
4368
4384
|
barFrame?: "full-bleed" | "inset-shell" | undefined;
|
|
4385
|
+
scrollTreatment?: {
|
|
4386
|
+
kind: "contrast-glass";
|
|
4387
|
+
backgroundTone: "light" | "dark";
|
|
4388
|
+
} | undefined;
|
|
4369
4389
|
logoOverride?: {
|
|
4370
4390
|
type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
|
|
4371
4391
|
purpose?: string | undefined;
|
|
@@ -4405,6 +4425,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
4405
4425
|
navFontRole?: "heading" | "body" | undefined;
|
|
4406
4426
|
navTypography?: "heading" | "body" | undefined;
|
|
4407
4427
|
navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
|
|
4428
|
+
interactionPalette?: "accent" | "primary" | "secondary" | undefined;
|
|
4408
4429
|
navPlacement?: "center" | "end" | undefined;
|
|
4409
4430
|
container?: {
|
|
4410
4431
|
rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
@@ -4554,6 +4575,10 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
4554
4575
|
tint?: string | null | undefined;
|
|
4555
4576
|
};
|
|
4556
4577
|
barFrame?: "full-bleed" | "inset-shell" | undefined;
|
|
4578
|
+
scrollTreatment?: {
|
|
4579
|
+
kind: "contrast-glass";
|
|
4580
|
+
backgroundTone: "light" | "dark";
|
|
4581
|
+
} | undefined;
|
|
4557
4582
|
logoOverride?: {
|
|
4558
4583
|
type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
|
|
4559
4584
|
purpose?: string | undefined;
|
|
@@ -4593,6 +4618,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
4593
4618
|
navFontRole?: "heading" | "body" | undefined;
|
|
4594
4619
|
navTypography?: "heading" | "body" | undefined;
|
|
4595
4620
|
navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
|
|
4621
|
+
interactionPalette?: "accent" | "primary" | "secondary" | undefined;
|
|
4596
4622
|
navPlacement?: "center" | "end" | undefined;
|
|
4597
4623
|
container?: {
|
|
4598
4624
|
rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
@@ -7181,6 +7207,13 @@ export declare const themesTurnSchema: z.ZodObject<{
|
|
|
7181
7207
|
"full-bleed": "full-bleed";
|
|
7182
7208
|
"inset-shell": "inset-shell";
|
|
7183
7209
|
}>>;
|
|
7210
|
+
scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7211
|
+
kind: z.ZodLiteral<"contrast-glass">;
|
|
7212
|
+
backgroundTone: z.ZodEnum<{
|
|
7213
|
+
light: "light";
|
|
7214
|
+
dark: "dark";
|
|
7215
|
+
}>;
|
|
7216
|
+
}, z.core.$strip>], "kind">>;
|
|
7184
7217
|
logoOverride: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7185
7218
|
type: z.ZodEnum<{
|
|
7186
7219
|
image: "image";
|
|
@@ -7322,6 +7355,11 @@ export declare const themesTurnSchema: z.ZodObject<{
|
|
|
7322
7355
|
xl: "xl";
|
|
7323
7356
|
xs: "xs";
|
|
7324
7357
|
}>>;
|
|
7358
|
+
interactionPalette: z.ZodOptional<z.ZodEnum<{
|
|
7359
|
+
accent: "accent";
|
|
7360
|
+
primary: "primary";
|
|
7361
|
+
secondary: "secondary";
|
|
7362
|
+
}>>;
|
|
7325
7363
|
navPlacement: z.ZodOptional<z.ZodEnum<{
|
|
7326
7364
|
center: "center";
|
|
7327
7365
|
end: "end";
|
|
@@ -7632,6 +7670,10 @@ export declare const themesTurnSchema: z.ZodObject<{
|
|
|
7632
7670
|
tint?: string | null | undefined;
|
|
7633
7671
|
};
|
|
7634
7672
|
barFrame?: "full-bleed" | "inset-shell" | undefined;
|
|
7673
|
+
scrollTreatment?: {
|
|
7674
|
+
kind: "contrast-glass";
|
|
7675
|
+
backgroundTone: "light" | "dark";
|
|
7676
|
+
} | undefined;
|
|
7635
7677
|
logoOverride?: {
|
|
7636
7678
|
type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
|
|
7637
7679
|
purpose?: string | undefined;
|
|
@@ -7671,6 +7713,7 @@ export declare const themesTurnSchema: z.ZodObject<{
|
|
|
7671
7713
|
navFontRole?: "heading" | "body" | undefined;
|
|
7672
7714
|
navTypography?: "heading" | "body" | undefined;
|
|
7673
7715
|
navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
|
|
7716
|
+
interactionPalette?: "accent" | "primary" | "secondary" | undefined;
|
|
7674
7717
|
navPlacement?: "center" | "end" | undefined;
|
|
7675
7718
|
container?: {
|
|
7676
7719
|
rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
@@ -7820,6 +7863,10 @@ export declare const themesTurnSchema: z.ZodObject<{
|
|
|
7820
7863
|
tint?: string | null | undefined;
|
|
7821
7864
|
};
|
|
7822
7865
|
barFrame?: "full-bleed" | "inset-shell" | undefined;
|
|
7866
|
+
scrollTreatment?: {
|
|
7867
|
+
kind: "contrast-glass";
|
|
7868
|
+
backgroundTone: "light" | "dark";
|
|
7869
|
+
} | undefined;
|
|
7823
7870
|
logoOverride?: {
|
|
7824
7871
|
type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
|
|
7825
7872
|
purpose?: string | undefined;
|
|
@@ -7859,6 +7906,7 @@ export declare const themesTurnSchema: z.ZodObject<{
|
|
|
7859
7906
|
navFontRole?: "heading" | "body" | undefined;
|
|
7860
7907
|
navTypography?: "heading" | "body" | undefined;
|
|
7861
7908
|
navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
|
|
7909
|
+
interactionPalette?: "accent" | "primary" | "secondary" | undefined;
|
|
7862
7910
|
navPlacement?: "center" | "end" | undefined;
|
|
7863
7911
|
container?: {
|
|
7864
7912
|
rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
|