@riverbankcms/sdk 0.152.0 → 0.154.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/{EventEmbeddedCheckoutStep-DVQXWFm6.mjs → EventEmbeddedCheckoutStep-ba9npQtb.mjs} +1 -1
- package/dist/{PreviewEditorSidebar-Dr4NJi3Q.mjs → PreviewEditorSidebar-C7FiaxlF.mjs} +194 -22
- package/dist/{PreviewEditorUI-DSZXQbyh.mjs → PreviewEditorUI-DFst50q1.mjs} +20 -44
- package/dist/{SdkPreviewModeRuntime-Dl4GyMc3.mjs → SdkPreviewModeRuntime-BUNV_YHZ.mjs} +266 -143
- package/dist/{SiteChromeCustomizeContext-DgBe-FlM.mjs → SiteChromeCustomizeContext-DEj7qppF.mjs} +5340 -4329
- package/dist/{ThemedButton-B8ViBnLK.mjs → ThemedButton-C8kzu0hY.mjs} +610 -116
- package/dist/_dts/ai/src/contracts/proposals.d.ts +416 -182
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +3270 -8214
- package/dist/_dts/api/src/billing.d.ts +2 -0
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +78 -0
- package/dist/_dts/api/src/bookingAdjustments.d.ts +3 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +7 -2
- package/dist/_dts/api/src/bookingPeople.d.ts +19 -0
- package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +4 -106
- package/dist/_dts/api/src/bookings.d.ts +2 -3
- package/dist/_dts/api/src/communications.d.ts +19 -5
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -0
- package/dist/_dts/api/src/endpoints.d.ts +88 -43
- package/dist/_dts/api/src/index.d.ts +4 -2
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/moneyPayments.d.ts +116 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +2 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +2 -2
- package/dist/_dts/api/src/sdkThemeWire.d.ts +348 -1537
- package/dist/_dts/api/src/shared-contracts.d.ts +10 -0
- package/dist/_dts/api/src/siteInfrastructure.d.ts +2 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +18 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +17 -16
- package/dist/_dts/api/src/siteSettings.d.ts +1 -0
- package/dist/_dts/api/src/stripeConnectSetup.d.ts +90 -0
- package/dist/_dts/api/src/teamMembers.d.ts +2 -27
- package/dist/_dts/api/src/types.d.ts +11 -31
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -4
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/layoutGridDomain.d.ts +3 -13
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/index.d.ts +1 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +8 -96
- package/dist/_dts/blocks/src/index.d.ts +1 -0
- package/dist/_dts/blocks/src/lib/media.d.ts +1 -0
- package/dist/_dts/blocks/src/lib/picsum.d.ts +2 -2
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -1
- package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/fields.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +276 -884
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +10 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery/fields.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +6 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +92 -90
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/shared/teamMembers.d.ts +4 -7
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-layout.d.ts +23 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-profile.d.ts +20 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +17 -16
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +2 -2
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +6 -6
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +75 -9
- package/dist/_dts/blocks/src/system/fields/backgroundContent.d.ts +377 -1
- package/dist/_dts/blocks/src/system/helpers/backgroundMedia.d.ts +6 -2
- package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +3 -3
- package/dist/_dts/blocks/src/system/layout/repeaterGrid.d.ts +12 -5
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +3 -3
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +48 -48
- package/dist/_dts/blocks/src/system/manifest/validation.d.ts +2 -0
- package/dist/_dts/blocks/src/system/node/fragments/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/fragments/responsiveTwoColumn.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/sectionHead.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +18 -198
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -99
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFlowController.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +18 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/ImageResolveContext.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +50 -202
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +28 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +12 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CardListItem.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +289 -885
- package/dist/_dts/blocks/src/system/runtime/nodes/file-download.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/form.fields.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +11 -79
- package/dist/_dts/blocks/src/system/runtime/nodes/form.parts.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/form.server.d.ts +2 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +22 -90
- package/dist/_dts/blocks/src/system/runtime/nodes/mediaContext.d.ts +69 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +8 -72
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.parts.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/footerArrangement.d.ts +6 -0
- package/dist/_dts/blocks/src/system/transforms/registry/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +0 -11
- package/dist/_dts/blocks/src/system/transforms/registry/links.d.ts +3 -3
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -10
- package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +1 -0
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +5 -2
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +1 -1
- package/dist/_dts/content-editor/src/FooterNavigationLayoutControl.d.ts +6 -3
- package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +1 -1
- package/dist/_dts/content-editor/src/footerComposer.d.ts +2 -1
- package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +3 -1
- package/dist/_dts/content-editor/src/footerNavigationLayoutState.d.ts +56 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +2 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -4
- package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +11 -8
- package/dist/_dts/content-model/src/content-types/schema.d.ts +3 -3
- package/dist/_dts/core/src/booking-refunds.d.ts +2 -0
- package/dist/_dts/core/src/date-display.d.ts +85 -0
- package/dist/_dts/core/src/date-time-formatter.d.ts +2 -0
- package/dist/_dts/core/src/footer-arrangement.d.ts +8 -1
- package/dist/_dts/core/src/footer-composition-types.d.ts +6 -1
- package/dist/_dts/core/src/footer-composition.d.ts +1 -1
- package/dist/_dts/core/src/footer-navigation-layout.d.ts +3 -0
- package/dist/_dts/core/src/index.d.ts +2 -0
- package/dist/_dts/core/src/mailing-list-runtime.d.ts +2 -2
- package/dist/_dts/core/src/mailing-list-setup-parser.d.ts +9 -1
- package/dist/_dts/core/src/mailing-list-setup.d.ts +12 -1
- package/dist/_dts/core/src/mailing-list-submission.d.ts +7 -2
- package/dist/_dts/core/src/mailing-list-targeting.d.ts +9 -1
- package/dist/_dts/core/src/public-profile.d.ts +3 -1
- package/dist/_dts/core/src/scheduled-date-time.d.ts +69 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +105 -13
- package/dist/_dts/db/src/schemas/forms.d.ts +16 -16
- package/dist/_dts/editor-blocks/src/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/media/admitEditorMediaField.d.ts +4 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/targetingState.d.ts +2 -2
- package/dist/_dts/media-core/src/assetsInUseSummary.d.ts +6 -0
- package/dist/_dts/media-core/src/contentMediaAudit.d.ts +3 -2
- package/dist/_dts/media-core/src/index.d.ts +4 -0
- package/dist/_dts/media-core/src/media.d.ts +406 -0
- package/dist/_dts/media-core/src/mediaIdentifierSchema.d.ts +3 -0
- package/dist/_dts/media-core/src/mediaKinds.d.ts +2 -0
- package/dist/_dts/media-core/src/mediaUsageProjection.d.ts +13 -1
- package/dist/_dts/media-core/src/mediaWriteNormalizer.d.ts +2 -6
- package/dist/_dts/media-core/src/portableMediaReferences.d.ts +8 -21
- package/dist/_dts/media-core/src/renderableMediaAsset.d.ts +28 -14
- package/dist/_dts/media-core/src/renderableMediaAssetAdmission.d.ts +15 -0
- package/dist/_dts/media-editor/src/CropDialog.d.ts +6 -3
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -1
- package/dist/_dts/media-editor/src/MediaPreview.d.ts +3 -3
- package/dist/_dts/media-editor/src/cropEditorSource.d.ts +5 -7
- package/dist/_dts/media-editor/src/editorMediaState.d.ts +29 -0
- package/dist/_dts/media-editor/src/mediaSelection.d.ts +1 -2
- package/dist/_dts/media-editor/src/runtimeMediaAssetState.d.ts +4 -5
- package/dist/_dts/media-editor/src/types.d.ts +1 -1
- package/dist/_dts/media-editor/src/utils.d.ts +0 -1
- package/dist/_dts/media-react/src/components/cropChangePolicy.d.ts +4 -1
- package/dist/_dts/media-react/src/components/cropGeometry.d.ts +1 -0
- package/dist/_dts/media-react/src/components/useImageCropperController.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/blocks/ArrangementBlockToolbar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/BlockBackgroundChooser.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeSelectedMedia.d.ts +11 -12
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +27 -5
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/useConfirmedPreferenceRecord.d.ts +12 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedFooterPreferences.d.ts +26 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedHeaderPreferences.d.ts +40 -2
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/content.d.ts +2 -45
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/rendering.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -46
- package/dist/_dts/sdk/src/date-time/index.d.ts +2 -68
- package/dist/_dts/sdk/src/index.d.ts +1 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/image.d.ts +5 -5
- package/dist/_dts/sdk/src/rendering/index.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/link.d.ts +3 -7
- package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +2 -4
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/boxBackgroundSchema.d.ts +397 -26
- package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/lanternRecipes.d.ts +60 -0
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +57 -0
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +10 -1
- package/dist/_dts/theme-core/src/buttons/types.d.ts +378 -66
- package/dist/_dts/theme-core/src/buttons/typography.d.ts +24 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +42 -42
- package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +1 -1
- package/dist/_dts/theme-core/src/footer/generateFooterCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/footer/mode.d.ts +2 -11
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/lib/media.d.ts +2 -616
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +495 -2766
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +838 -3369
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +23 -7
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +4 -6
- package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +121 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +25 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookDefaults.d.ts +45 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookRecipe.d.ts +50 -0
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +9 -35
- package/dist/_dts/theme-core/src/site-styles/footerPreferences.d.ts +29 -0
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +9 -9
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/themeParity.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +2 -2
- package/dist/_dts/theme-core/src/styles/skinTokens.d.ts +2 -2
- package/dist/_dts/theme-core/src/typography/schema.d.ts +2 -2
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/client/{BookingMailingListNote-CBuMKN0w.mjs → BookingMailingListNote-CNoSqFtf.mjs} +2 -2
- package/dist/client/{CardListItem-Dc9XTXhB.mjs → CardListItem-BkTkqBkh.mjs} +5 -4
- package/dist/client/{CheckboxChoice-CIqx_o0E.mjs → CheckboxChoice-CHJpsty4.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-D3VQ_kLj.mjs → DemoBookingPortalAccess-C7KQKFNt.mjs} +2 -2
- package/dist/client/{EventCombined.client-BHGEKise.mjs → EventCombined.client-BgeYMjHJ.mjs} +5 -6
- package/dist/client/{EventEmbeddedCheckoutStep-Bo1Cm23R.mjs → EventEmbeddedCheckoutStep-BTc_lTkM.mjs} +2 -2
- package/dist/client/{EventListing.client-D5OQgVPr.mjs → EventListing.client-ChRs9Hl2.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-CLL5cWrr.mjs → LeafletStaticMap-C_dNQgd0.mjs} +1 -1
- package/dist/client/{RichText-BoDmnopf.mjs → RichText-BI9bzbjo.mjs} +106 -60
- package/dist/client/{ThemedButton-Ciltp0IK.mjs → ThemedButton-wl3Z3wkH.mjs} +1 -2
- package/dist/client/{accordion-DOkRS64-.mjs → accordion-6Yz8Wd83.mjs} +1 -1
- package/dist/client/{bookingForm-wlMVwo9h.mjs → bookingForm-i_pKIGiY.mjs} +42 -15
- package/dist/client/bookings.mjs +118357 -22833
- package/dist/client/{carousel-CGWk-Z0u.mjs → carousel-DNqd_PjC.mjs} +2 -2
- package/dist/client/{carousel.client-kX5mN1Eg.mjs → carousel.client-BUgjPbb6.mjs} +1 -1
- package/dist/client/{cart-OBBPlaH4.mjs → cart-D8OBHuF4.mjs} +3 -3
- package/dist/client/{checkout-Bmw2WjQX.mjs → checkout-F3-9IGLU.mjs} +3 -3
- package/dist/client/client.mjs +20785 -19238
- package/dist/client/{context-BI77UFAn.mjs → context-Dg4ZrxDD.mjs} +1 -1
- package/dist/client/{eventCalendar-qkej2Edn.mjs → eventCalendar-BUc7YIBM.mjs} +8 -9
- package/dist/client/{eventCombined-DApKHvat.mjs → eventCombined-BwfShk2a.mjs} +4 -4
- package/dist/client/{eventDetails-BQyUDPH0.mjs → eventDetails-BMOVC3go.mjs} +3 -3
- package/dist/client/{eventListing-CeAnshlZ.mjs → eventListing-BwE9PM-t.mjs} +4 -4
- package/dist/client/{eventRegistration-C3A3NyBO.mjs → eventRegistration-CCWPYDc7.mjs} +10 -10
- package/dist/client/{form-DW8rU7jO.mjs → form-CXFr0Gd5.mjs} +115 -52
- package/dist/client/{headerSection-CkIhsoNm.mjs → headerSection-BX8qw8kH.mjs} +3 -3
- package/dist/client/hooks.mjs +17908 -16797
- package/dist/client/{locationMap-D4O8wbli.mjs → locationMap-B3La71m0.mjs} +3 -4
- package/dist/client/{media-C5K_0xPd.mjs → media-B1Cbv721.mjs} +183 -362
- package/dist/client/mediaContext-CwbbimYB.mjs +135 -0
- package/dist/client/{newsletterForm-B7IxSPuz.mjs → newsletterForm-DnGyR0x7.mjs} +51 -15
- package/dist/client/{productDetail-Bqxpwy5N.mjs → productDetail-BVgTqvkb.mjs} +3 -3
- package/dist/client/{productList-u9Lz8V15.mjs → productList-CcO7kUQw.mjs} +3 -3
- package/dist/client/{propsDecoder-Bf1jucUp.mjs → propsDecoder-B1OeWavE.mjs} +2193 -374
- package/dist/client/renderableMediaAssetAdmission-CHkXYDC_.mjs +143 -0
- package/dist/client/rendering/client.mjs +22424 -21488
- package/dist/client/rendering/islands.mjs +20 -23
- package/dist/client/rendering.mjs +21025 -19413
- package/dist/client/{routeIslandApiConfig-BgP-aPMl.mjs → routeIslandApiConfig-Dl4vglJm.mjs} +1 -1
- package/dist/client/{shop-B_eykR-_.mjs → shop-P72nX5Fs.mjs} +7 -7
- package/dist/client/{shop-commerce-CT0APkFV.mjs → shop-commerce-Bt7uraDx.mjs} +8 -8
- package/dist/client/{shop-commerce-store-DcvZxdEK.mjs → shop-commerce-store-C1-mxSye.mjs} +1 -1
- package/dist/client/{shopShared-BVJOiUiJ.mjs → shopShared-Db-cRGu3.mjs} +5 -5
- package/dist/client/{useDiscountCodeUi-DPmYDunz.mjs → useDiscountCodeUi-jvAiUoUX.mjs} +1 -1
- package/dist/client/{useEventPagination-8-U55vH5.mjs → useEventPagination-BdWpCniq.mjs} +6 -7
- package/dist/preview-next/before-render.mjs +222 -55
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/editor-chrome.css +5 -2
- package/dist/preview-next/keepAlive.mjs +133 -51
- package/dist/preview-next/middleware.mjs +133 -51
- package/dist/{sdk-runtime-C5jPdSrk.mjs → sdk-runtime-DLhjF2Nw.mjs} +1 -1
- package/dist/server/components.mjs +21541 -20118
- package/dist/server/config-validation.mjs +2466 -1403
- package/dist/server/config.mjs +2466 -1403
- package/dist/server/data.mjs +17842 -16759
- package/dist/server/date-time.mjs +258 -116
- package/dist/server/index.mjs +360 -53
- package/dist/server/next.mjs +21913 -20539
- package/dist/server/page-converter.mjs +8121 -7322
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +21196 -19760
- package/dist/server/rendering.mjs +21554 -20123
- package/dist/server/routing.mjs +19806 -18607
- package/dist/server/server.mjs +2907 -1845
- package/dist/server/theme-bridge.mjs +991 -160
- package/dist/server/theme.mjs +501 -100
- package/dist/{spinner-B-ab2rJp.mjs → spinner-MTooKfck.mjs} +1 -1
- package/dist/styles/index.css +254 -1
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +0 -12
- package/dist/client/aspectTransforms-D-TnDdq4.mjs +0 -93
- package/dist/client/colorStyles-ECDNPE_P.mjs +0 -1253
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Closed button typography choices shared by recipe and persisted family schemas. */
|
|
3
|
+
export type TextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
|
|
4
|
+
export type FontWeight = 400 | 500 | 600 | 700 | 800;
|
|
5
|
+
export type ButtonTypography = 'body' | 'heading';
|
|
6
|
+
export type LetterSpacing = 'tight' | 'normal' | 'slight' | 'loose' | 'wide';
|
|
7
|
+
export declare const textTransformSchema: z.ZodEnum<{
|
|
8
|
+
none: "none";
|
|
9
|
+
lowercase: "lowercase";
|
|
10
|
+
uppercase: "uppercase";
|
|
11
|
+
capitalize: "capitalize";
|
|
12
|
+
}>;
|
|
13
|
+
export declare const fontWeightSchema: z.ZodUnion<readonly [z.ZodLiteral<400>, z.ZodLiteral<500>, z.ZodLiteral<600>, z.ZodLiteral<700>, z.ZodLiteral<800>]>;
|
|
14
|
+
export declare const buttonTypographySchema: z.ZodEnum<{
|
|
15
|
+
heading: "heading";
|
|
16
|
+
body: "body";
|
|
17
|
+
}>;
|
|
18
|
+
export declare const letterSpacingSchema: z.ZodEnum<{
|
|
19
|
+
normal: "normal";
|
|
20
|
+
tight: "tight";
|
|
21
|
+
loose: "loose";
|
|
22
|
+
wide: "wide";
|
|
23
|
+
slight: "slight";
|
|
24
|
+
}>;
|
|
@@ -70,8 +70,8 @@ export declare const cardSpacingSchema: z.ZodEnum<{
|
|
|
70
70
|
medium: "medium";
|
|
71
71
|
compact: "compact";
|
|
72
72
|
spacious: "spacious";
|
|
73
|
-
cozy: "cozy";
|
|
74
73
|
comfortable: "comfortable";
|
|
74
|
+
cozy: "cozy";
|
|
75
75
|
}>;
|
|
76
76
|
/** Per-axis padding, for boxless cards whose inline padding differs from block. */
|
|
77
77
|
export declare const cardSpacingAxesSchema: z.ZodObject<{
|
|
@@ -80,16 +80,16 @@ export declare const cardSpacingAxesSchema: z.ZodObject<{
|
|
|
80
80
|
medium: "medium";
|
|
81
81
|
compact: "compact";
|
|
82
82
|
spacious: "spacious";
|
|
83
|
-
cozy: "cozy";
|
|
84
83
|
comfortable: "comfortable";
|
|
84
|
+
cozy: "cozy";
|
|
85
85
|
}>;
|
|
86
86
|
inline: z.ZodEnum<{
|
|
87
87
|
none: "none";
|
|
88
88
|
medium: "medium";
|
|
89
89
|
compact: "compact";
|
|
90
90
|
spacious: "spacious";
|
|
91
|
-
cozy: "cozy";
|
|
92
91
|
comfortable: "comfortable";
|
|
92
|
+
cozy: "cozy";
|
|
93
93
|
}>;
|
|
94
94
|
}, z.core.$strip>;
|
|
95
95
|
export type CardSpacingAxes = z.infer<typeof cardSpacingAxesSchema>;
|
|
@@ -103,24 +103,24 @@ export declare const cardSpacingValueSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
103
103
|
medium: "medium";
|
|
104
104
|
compact: "compact";
|
|
105
105
|
spacious: "spacious";
|
|
106
|
-
cozy: "cozy";
|
|
107
106
|
comfortable: "comfortable";
|
|
107
|
+
cozy: "cozy";
|
|
108
108
|
}>, z.ZodObject<{
|
|
109
109
|
block: z.ZodEnum<{
|
|
110
110
|
none: "none";
|
|
111
111
|
medium: "medium";
|
|
112
112
|
compact: "compact";
|
|
113
113
|
spacious: "spacious";
|
|
114
|
-
cozy: "cozy";
|
|
115
114
|
comfortable: "comfortable";
|
|
115
|
+
cozy: "cozy";
|
|
116
116
|
}>;
|
|
117
117
|
inline: z.ZodEnum<{
|
|
118
118
|
none: "none";
|
|
119
119
|
medium: "medium";
|
|
120
120
|
compact: "compact";
|
|
121
121
|
spacious: "spacious";
|
|
122
|
-
cozy: "cozy";
|
|
123
122
|
comfortable: "comfortable";
|
|
123
|
+
cozy: "cozy";
|
|
124
124
|
}>;
|
|
125
125
|
}, z.core.$strip>]>;
|
|
126
126
|
export type CardSpacingValue = z.infer<typeof cardSpacingValueSchema>;
|
|
@@ -228,8 +228,8 @@ export declare const cardEdgeRuleWidthSchema: z.ZodEnum<{
|
|
|
228
228
|
medium: "medium";
|
|
229
229
|
thin: "thin";
|
|
230
230
|
thick: "thick";
|
|
231
|
-
heavy: "heavy";
|
|
232
231
|
hairline: "hairline";
|
|
232
|
+
heavy: "heavy";
|
|
233
233
|
}>;
|
|
234
234
|
export type CardEdgeRuleWidth = z.infer<typeof cardEdgeRuleWidthSchema>;
|
|
235
235
|
export declare const cardEdgeRuleLengthSchema: z.ZodEnum<{
|
|
@@ -237,9 +237,9 @@ export declare const cardEdgeRuleLengthSchema: z.ZodEnum<{
|
|
|
237
237
|
full: "full";
|
|
238
238
|
}>;
|
|
239
239
|
export declare const cardEdgeRuleAlignSchema: z.ZodEnum<{
|
|
240
|
-
center: "center";
|
|
241
240
|
start: "start";
|
|
242
241
|
end: "end";
|
|
242
|
+
center: "center";
|
|
243
243
|
}>;
|
|
244
244
|
/**
|
|
245
245
|
* A rule drawn along one card edge. `full` renders as a border side; `short`
|
|
@@ -258,17 +258,17 @@ export declare const cardEdgeRuleSchema: z.ZodObject<{
|
|
|
258
258
|
medium: "medium";
|
|
259
259
|
thin: "thin";
|
|
260
260
|
thick: "thick";
|
|
261
|
-
heavy: "heavy";
|
|
262
261
|
hairline: "hairline";
|
|
262
|
+
heavy: "heavy";
|
|
263
263
|
}>;
|
|
264
264
|
length: z.ZodOptional<z.ZodEnum<{
|
|
265
265
|
short: "short";
|
|
266
266
|
full: "full";
|
|
267
267
|
}>>;
|
|
268
268
|
align: z.ZodOptional<z.ZodEnum<{
|
|
269
|
-
center: "center";
|
|
270
269
|
start: "start";
|
|
271
270
|
end: "end";
|
|
271
|
+
center: "center";
|
|
272
272
|
}>>;
|
|
273
273
|
alpha: z.ZodOptional<z.ZodNumber>;
|
|
274
274
|
}, z.core.$strip>;
|
|
@@ -289,17 +289,17 @@ export declare const cardDecorationSchema: z.ZodObject<{
|
|
|
289
289
|
medium: "medium";
|
|
290
290
|
thin: "thin";
|
|
291
291
|
thick: "thick";
|
|
292
|
-
heavy: "heavy";
|
|
293
292
|
hairline: "hairline";
|
|
293
|
+
heavy: "heavy";
|
|
294
294
|
}>;
|
|
295
295
|
length: z.ZodOptional<z.ZodEnum<{
|
|
296
296
|
short: "short";
|
|
297
297
|
full: "full";
|
|
298
298
|
}>>;
|
|
299
299
|
align: z.ZodOptional<z.ZodEnum<{
|
|
300
|
-
center: "center";
|
|
301
300
|
start: "start";
|
|
302
301
|
end: "end";
|
|
302
|
+
center: "center";
|
|
303
303
|
}>>;
|
|
304
304
|
alpha: z.ZodOptional<z.ZodNumber>;
|
|
305
305
|
}, z.core.$strip>;
|
|
@@ -316,17 +316,17 @@ export declare const cardDecorationsSchema: z.ZodArray<z.ZodObject<{
|
|
|
316
316
|
medium: "medium";
|
|
317
317
|
thin: "thin";
|
|
318
318
|
thick: "thick";
|
|
319
|
-
heavy: "heavy";
|
|
320
319
|
hairline: "hairline";
|
|
320
|
+
heavy: "heavy";
|
|
321
321
|
}>;
|
|
322
322
|
length: z.ZodOptional<z.ZodEnum<{
|
|
323
323
|
short: "short";
|
|
324
324
|
full: "full";
|
|
325
325
|
}>>;
|
|
326
326
|
align: z.ZodOptional<z.ZodEnum<{
|
|
327
|
-
center: "center";
|
|
328
327
|
start: "start";
|
|
329
328
|
end: "end";
|
|
329
|
+
center: "center";
|
|
330
330
|
}>>;
|
|
331
331
|
alpha: z.ZodOptional<z.ZodNumber>;
|
|
332
332
|
}, z.core.$strip>>;
|
|
@@ -396,24 +396,24 @@ export declare const cardVariantSchema: z.ZodPipe<z.ZodObject<{
|
|
|
396
396
|
medium: "medium";
|
|
397
397
|
compact: "compact";
|
|
398
398
|
spacious: "spacious";
|
|
399
|
-
cozy: "cozy";
|
|
400
399
|
comfortable: "comfortable";
|
|
400
|
+
cozy: "cozy";
|
|
401
401
|
}>, z.ZodObject<{
|
|
402
402
|
block: z.ZodEnum<{
|
|
403
403
|
none: "none";
|
|
404
404
|
medium: "medium";
|
|
405
405
|
compact: "compact";
|
|
406
406
|
spacious: "spacious";
|
|
407
|
-
cozy: "cozy";
|
|
408
407
|
comfortable: "comfortable";
|
|
408
|
+
cozy: "cozy";
|
|
409
409
|
}>;
|
|
410
410
|
inline: z.ZodEnum<{
|
|
411
411
|
none: "none";
|
|
412
412
|
medium: "medium";
|
|
413
413
|
compact: "compact";
|
|
414
414
|
spacious: "spacious";
|
|
415
|
-
cozy: "cozy";
|
|
416
415
|
comfortable: "comfortable";
|
|
416
|
+
cozy: "cozy";
|
|
417
417
|
}>;
|
|
418
418
|
}, z.core.$strip>]>;
|
|
419
419
|
spacingAxes: z.ZodOptional<z.ZodObject<{
|
|
@@ -422,16 +422,16 @@ export declare const cardVariantSchema: z.ZodPipe<z.ZodObject<{
|
|
|
422
422
|
medium: "medium";
|
|
423
423
|
compact: "compact";
|
|
424
424
|
spacious: "spacious";
|
|
425
|
-
cozy: "cozy";
|
|
426
425
|
comfortable: "comfortable";
|
|
426
|
+
cozy: "cozy";
|
|
427
427
|
}>;
|
|
428
428
|
inline: z.ZodEnum<{
|
|
429
429
|
none: "none";
|
|
430
430
|
medium: "medium";
|
|
431
431
|
compact: "compact";
|
|
432
432
|
spacious: "spacious";
|
|
433
|
-
cozy: "cozy";
|
|
434
433
|
comfortable: "comfortable";
|
|
434
|
+
cozy: "cozy";
|
|
435
435
|
}>;
|
|
436
436
|
}, z.core.$strip>>;
|
|
437
437
|
foregroundToken: z.ZodOptional<z.ZodString>;
|
|
@@ -504,17 +504,17 @@ export declare const cardVariantSchema: z.ZodPipe<z.ZodObject<{
|
|
|
504
504
|
medium: "medium";
|
|
505
505
|
thin: "thin";
|
|
506
506
|
thick: "thick";
|
|
507
|
-
heavy: "heavy";
|
|
508
507
|
hairline: "hairline";
|
|
508
|
+
heavy: "heavy";
|
|
509
509
|
}>;
|
|
510
510
|
length: z.ZodOptional<z.ZodEnum<{
|
|
511
511
|
short: "short";
|
|
512
512
|
full: "full";
|
|
513
513
|
}>>;
|
|
514
514
|
align: z.ZodOptional<z.ZodEnum<{
|
|
515
|
-
center: "center";
|
|
516
515
|
start: "start";
|
|
517
516
|
end: "end";
|
|
517
|
+
center: "center";
|
|
518
518
|
}>>;
|
|
519
519
|
alpha: z.ZodOptional<z.ZodNumber>;
|
|
520
520
|
}, z.core.$strip>>>;
|
|
@@ -549,14 +549,14 @@ export declare const cardVariantSchema: z.ZodPipe<z.ZodObject<{
|
|
|
549
549
|
} | {
|
|
550
550
|
type: "transparent";
|
|
551
551
|
};
|
|
552
|
-
spacing: "none" | "medium" | "compact" | "spacious" | "
|
|
553
|
-
block: "none" | "medium" | "compact" | "spacious" | "
|
|
554
|
-
inline: "none" | "medium" | "compact" | "spacious" | "
|
|
552
|
+
spacing: "none" | "medium" | "compact" | "spacious" | "comfortable" | "cozy" | {
|
|
553
|
+
block: "none" | "medium" | "compact" | "spacious" | "comfortable" | "cozy";
|
|
554
|
+
inline: "none" | "medium" | "compact" | "spacious" | "comfortable" | "cozy";
|
|
555
555
|
};
|
|
556
556
|
role?: "open" | "default" | "alternative" | undefined;
|
|
557
557
|
spacingAxes?: {
|
|
558
|
-
block: "none" | "medium" | "compact" | "spacious" | "
|
|
559
|
-
inline: "none" | "medium" | "compact" | "spacious" | "
|
|
558
|
+
block: "none" | "medium" | "compact" | "spacious" | "comfortable" | "cozy";
|
|
559
|
+
inline: "none" | "medium" | "compact" | "spacious" | "comfortable" | "cozy";
|
|
560
560
|
} | undefined;
|
|
561
561
|
foregroundToken?: string | undefined;
|
|
562
562
|
shadow?: {
|
|
@@ -578,9 +578,9 @@ export declare const cardVariantSchema: z.ZodPipe<z.ZodObject<{
|
|
|
578
578
|
decorations?: {
|
|
579
579
|
edge: "left" | "right" | "bottom" | "top";
|
|
580
580
|
colorToken: string;
|
|
581
|
-
width: "medium" | "thin" | "thick" | "
|
|
581
|
+
width: "medium" | "thin" | "thick" | "hairline" | "heavy";
|
|
582
582
|
length?: "short" | "full" | undefined;
|
|
583
|
-
align?: "
|
|
583
|
+
align?: "start" | "end" | "center" | undefined;
|
|
584
584
|
alpha?: number | undefined;
|
|
585
585
|
}[] | undefined;
|
|
586
586
|
accentEdge?: {
|
|
@@ -625,24 +625,24 @@ export declare const cardSystemSchema: z.ZodPipe<z.ZodObject<{
|
|
|
625
625
|
medium: "medium";
|
|
626
626
|
compact: "compact";
|
|
627
627
|
spacious: "spacious";
|
|
628
|
-
cozy: "cozy";
|
|
629
628
|
comfortable: "comfortable";
|
|
629
|
+
cozy: "cozy";
|
|
630
630
|
}>, z.ZodObject<{
|
|
631
631
|
block: z.ZodEnum<{
|
|
632
632
|
none: "none";
|
|
633
633
|
medium: "medium";
|
|
634
634
|
compact: "compact";
|
|
635
635
|
spacious: "spacious";
|
|
636
|
-
cozy: "cozy";
|
|
637
636
|
comfortable: "comfortable";
|
|
637
|
+
cozy: "cozy";
|
|
638
638
|
}>;
|
|
639
639
|
inline: z.ZodEnum<{
|
|
640
640
|
none: "none";
|
|
641
641
|
medium: "medium";
|
|
642
642
|
compact: "compact";
|
|
643
643
|
spacious: "spacious";
|
|
644
|
-
cozy: "cozy";
|
|
645
644
|
comfortable: "comfortable";
|
|
645
|
+
cozy: "cozy";
|
|
646
646
|
}>;
|
|
647
647
|
}, z.core.$strip>]>;
|
|
648
648
|
spacingAxes: z.ZodOptional<z.ZodObject<{
|
|
@@ -651,16 +651,16 @@ export declare const cardSystemSchema: z.ZodPipe<z.ZodObject<{
|
|
|
651
651
|
medium: "medium";
|
|
652
652
|
compact: "compact";
|
|
653
653
|
spacious: "spacious";
|
|
654
|
-
cozy: "cozy";
|
|
655
654
|
comfortable: "comfortable";
|
|
655
|
+
cozy: "cozy";
|
|
656
656
|
}>;
|
|
657
657
|
inline: z.ZodEnum<{
|
|
658
658
|
none: "none";
|
|
659
659
|
medium: "medium";
|
|
660
660
|
compact: "compact";
|
|
661
661
|
spacious: "spacious";
|
|
662
|
-
cozy: "cozy";
|
|
663
662
|
comfortable: "comfortable";
|
|
663
|
+
cozy: "cozy";
|
|
664
664
|
}>;
|
|
665
665
|
}, z.core.$strip>>;
|
|
666
666
|
foregroundToken: z.ZodOptional<z.ZodString>;
|
|
@@ -733,17 +733,17 @@ export declare const cardSystemSchema: z.ZodPipe<z.ZodObject<{
|
|
|
733
733
|
medium: "medium";
|
|
734
734
|
thin: "thin";
|
|
735
735
|
thick: "thick";
|
|
736
|
-
heavy: "heavy";
|
|
737
736
|
hairline: "hairline";
|
|
737
|
+
heavy: "heavy";
|
|
738
738
|
}>;
|
|
739
739
|
length: z.ZodOptional<z.ZodEnum<{
|
|
740
740
|
short: "short";
|
|
741
741
|
full: "full";
|
|
742
742
|
}>>;
|
|
743
743
|
align: z.ZodOptional<z.ZodEnum<{
|
|
744
|
-
center: "center";
|
|
745
744
|
start: "start";
|
|
746
745
|
end: "end";
|
|
746
|
+
center: "center";
|
|
747
747
|
}>>;
|
|
748
748
|
alpha: z.ZodOptional<z.ZodNumber>;
|
|
749
749
|
}, z.core.$strip>>>;
|
|
@@ -778,14 +778,14 @@ export declare const cardSystemSchema: z.ZodPipe<z.ZodObject<{
|
|
|
778
778
|
} | {
|
|
779
779
|
type: "transparent";
|
|
780
780
|
};
|
|
781
|
-
spacing: "none" | "medium" | "compact" | "spacious" | "
|
|
782
|
-
block: "none" | "medium" | "compact" | "spacious" | "
|
|
783
|
-
inline: "none" | "medium" | "compact" | "spacious" | "
|
|
781
|
+
spacing: "none" | "medium" | "compact" | "spacious" | "comfortable" | "cozy" | {
|
|
782
|
+
block: "none" | "medium" | "compact" | "spacious" | "comfortable" | "cozy";
|
|
783
|
+
inline: "none" | "medium" | "compact" | "spacious" | "comfortable" | "cozy";
|
|
784
784
|
};
|
|
785
785
|
role?: "open" | "default" | "alternative" | undefined;
|
|
786
786
|
spacingAxes?: {
|
|
787
|
-
block: "none" | "medium" | "compact" | "spacious" | "
|
|
788
|
-
inline: "none" | "medium" | "compact" | "spacious" | "
|
|
787
|
+
block: "none" | "medium" | "compact" | "spacious" | "comfortable" | "cozy";
|
|
788
|
+
inline: "none" | "medium" | "compact" | "spacious" | "comfortable" | "cozy";
|
|
789
789
|
} | undefined;
|
|
790
790
|
foregroundToken?: string | undefined;
|
|
791
791
|
shadow?: {
|
|
@@ -807,9 +807,9 @@ export declare const cardSystemSchema: z.ZodPipe<z.ZodObject<{
|
|
|
807
807
|
decorations?: {
|
|
808
808
|
edge: "left" | "right" | "bottom" | "top";
|
|
809
809
|
colorToken: string;
|
|
810
|
-
width: "medium" | "thin" | "thick" | "
|
|
810
|
+
width: "medium" | "thin" | "thick" | "hairline" | "heavy";
|
|
811
811
|
length?: "short" | "full" | undefined;
|
|
812
|
-
align?: "
|
|
812
|
+
align?: "start" | "end" | "center" | undefined;
|
|
813
813
|
alpha?: number | undefined;
|
|
814
814
|
}[] | undefined;
|
|
815
815
|
accentEdge?: {
|
|
@@ -7,7 +7,7 @@ export declare function footerForegroundCandidates(footer: Partial<ThemeFooter>
|
|
|
7
7
|
link?: undefined;
|
|
8
8
|
linkHover?: undefined;
|
|
9
9
|
} | {
|
|
10
|
-
text: string |
|
|
10
|
+
text: string | undefined;
|
|
11
11
|
link: string | null | undefined;
|
|
12
12
|
linkHover: ThemeColorToken | null | undefined;
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Theme } from '../schema';
|
|
1
|
+
import type { LogoStyle, Theme, ThemeFooter } from '../schema';
|
|
2
2
|
export interface GenerateFooterCssOptions {
|
|
3
3
|
themeId: string;
|
|
4
4
|
theme: Theme;
|
|
@@ -9,3 +9,6 @@ export interface GenerateFooterCssOptions {
|
|
|
9
9
|
* Similar to header nav but with independent configuration and no advanced effects
|
|
10
10
|
*/
|
|
11
11
|
export declare function generateFooterCss(options: GenerateFooterCssOptions): string;
|
|
12
|
+
type FooterLogoSize = NonNullable<NonNullable<ThemeFooter['logo']>['size']>;
|
|
13
|
+
export declare function footerLogoSizeFromHeaderLogo(headerLogo: LogoStyle | undefined): FooterLogoSize | null;
|
|
14
|
+
export {};
|
|
@@ -12,16 +12,8 @@ export type FooterBrandVisibility = Readonly<{
|
|
|
12
12
|
showLogo: boolean;
|
|
13
13
|
showTitle: boolean;
|
|
14
14
|
}>;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
showLogoText?: boolean;
|
|
18
|
-
logo?: Readonly<{
|
|
19
|
-
showLogo?: boolean;
|
|
20
|
-
showLogoText?: boolean;
|
|
21
|
-
}>;
|
|
22
|
-
}>;
|
|
23
|
-
/** Mirrors the incumbent footer renderer's variant-specific identity rules. */
|
|
24
|
-
export declare function resolveFooterBrandVisibility(footer: FooterBrandPresentation): FooterBrandVisibility;
|
|
15
|
+
/** Offline composition backfill only. Never read appearance visibility at runtime. */
|
|
16
|
+
export declare function readLegacyFooterBrandVisibility(value: unknown): FooterBrandVisibility | null;
|
|
25
17
|
export type FooterRenderPlan = {
|
|
26
18
|
mode: 'default';
|
|
27
19
|
renderDefaultFooter: true;
|
|
@@ -49,4 +41,3 @@ export declare function resolveFooterRenderPlan(params: {
|
|
|
49
41
|
isSdkSite: boolean;
|
|
50
42
|
mode: FooterMode | null | undefined;
|
|
51
43
|
}): FooterRenderPlan;
|
|
52
|
-
export {};
|