@riverbankcms/sdk 0.104.3 → 0.107.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/README.md +84 -51
- package/dist/{PreviewEditorSidebar-CBMhU9p_.mjs → PreviewEditorSidebar-DpAbAl08.mjs} +1811 -1179
- package/dist/{PreviewEditorUI-C5KEw4M8.mjs → PreviewEditorUI-O7cn6Xxv.mjs} +3 -3
- package/dist/{PreviewQueryProvider-CStABBUh.mjs → PreviewQueryProvider-D0tnKl0t.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-Iq12HjL7.mjs → SdkPreviewModeRuntime-CVB7urtl.mjs} +2144 -393
- package/dist/{SiteChromeCustomizeContext-Cx0NMdyv.mjs → SiteChromeCustomizeContext-C_sizso-.mjs} +3825 -2653
- package/dist/_dts/ai/src/contracts/proposals.d.ts +32945 -1339
- package/dist/_dts/api/src/bookingConfig.d.ts +2 -0
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +6 -15
- package/dist/_dts/api/src/courses.d.ts +68 -10
- package/dist/_dts/api/src/endpoints.d.ts +29 -0
- package/dist/_dts/api/src/index.d.ts +124 -124
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +9 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +116 -6
- package/dist/_dts/api/src/siteOperations.d.ts +1 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +26 -4
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +31 -46
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +36 -4
- package/dist/_dts/blocks/src/definitions.d.ts +1 -1
- package/dist/_dts/blocks/src/portal/types.d.ts +25 -7
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule-projection.d.ts +52 -0
- package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule.d.ts +22 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +45 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +10 -0
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +4 -1
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +9 -0
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +8 -2
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +8 -8
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +24 -24
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/scheduleSummary.d.ts +29 -0
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -1
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +2 -5
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/designCapabilities.d.ts +1 -0
- package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +2 -2
- package/dist/_dts/blocks/src/system/node/fragments/styledCard.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/blockComposition.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +90 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +45 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/logic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-page-surface-scope.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +9 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +106 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/RecurringSchedule.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekBoardView.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +11 -1
- 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.types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +11 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/svg.d.ts +7 -0
- package/dist/_dts/core/src/branded.d.ts +44 -0
- package/dist/_dts/core/src/dated-offering-settlement.d.ts +47 -0
- package/dist/_dts/core/src/event-page-surface-subject.d.ts +44 -0
- package/dist/_dts/core/src/index.d.ts +49 -47
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +1452 -15
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +4 -1
- package/dist/_dts/media-core/src/index.d.ts +2 -1
- package/dist/_dts/media-core/src/storagePathDomain.d.ts +47 -0
- package/dist/_dts/media-core/src/url.d.ts +1 -21
- package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +4 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +3 -9
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +7 -11
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +3 -9
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +2 -6
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +5 -9
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +81 -43
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.typography.d.ts +61 -0
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +7 -17
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +15 -8
- package/dist/_dts/preview-next/src/client/preview/typographyFontCatalog.d.ts +57 -0
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +4 -7
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +24 -10
- package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +3 -3
- package/dist/_dts/sdk/src/cli/sync/media.d.ts +16 -2
- package/dist/_dts/sdk/src/client/management/blocks.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +132 -23
- package/dist/_dts/sdk/src/client/types.d.ts +2 -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/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +23 -3
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +17 -0
- package/dist/_dts/sdk/src/data/dataLoaderValue.d.ts +36 -0
- package/dist/_dts/sdk/src/data/defineOwnDataProperty.d.ts +2 -0
- package/dist/_dts/sdk/src/data/executeCodeLoaders.d.ts +36 -40
- package/dist/_dts/sdk/src/data/index.d.ts +3 -3
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +54 -0
- package/dist/_dts/sdk/src/data/types.d.ts +43 -78
- package/dist/_dts/sdk/src/next/index.d.ts +1 -0
- package/dist/_dts/sdk/src/next/redirect-destination.d.ts +1 -1
- package/dist/_dts/sdk/src/next/resolveTheme.d.ts +2 -1
- package/dist/_dts/sdk/src/next/types.d.ts +10 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +3 -8
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +9 -4
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +6 -10
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -0
- package/dist/_dts/sdk/src/server.d.ts +4 -3
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/capabilityGaps.d.ts +2 -2
- package/dist/_dts/site-commands/src/commands.d.ts +921 -30
- package/dist/_dts/theme-core/src/buttons/generateDefaultButtonSystem.d.ts +5 -1
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
- package/dist/_dts/theme-core/src/buttons/personalities/quiet-arrow.d.ts +17 -0
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/types.d.ts +9 -5
- package/dist/_dts/theme-core/src/data.d.ts +12 -0
- package/dist/_dts/theme-core/src/fonts/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/fonts/types.d.ts +6 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +36 -24
- package/dist/_dts/theme-core/src/palette/colors.d.ts +12 -0
- package/dist/_dts/theme-core/src/palette/curated/brand-led.d.ts +10 -5
- package/dist/_dts/theme-core/src/palette/curated/high-contrast.d.ts +6 -3
- package/dist/_dts/theme-core/src/palette/curated/index.d.ts +31 -236
- package/dist/_dts/theme-core/src/palette/curated/soft-natural.d.ts +8 -4
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +14 -12
- package/dist/_dts/theme-core/src/palette/curated/warm-dark.d.ts +4 -2
- package/dist/_dts/theme-core/src/palette/curated/warm-neutral.d.ts +8 -4
- package/dist/_dts/theme-core/src/palette/editorState.d.ts +33 -3
- package/dist/_dts/theme-core/src/palette/index.d.ts +0 -4
- package/dist/_dts/theme-core/src/palette/libraryModel.d.ts +12 -6
- package/dist/_dts/theme-core/src/palette/persistenceReadSource.d.ts +20 -72
- package/dist/_dts/theme-core/src/palette/resolveSelection.d.ts +29 -4
- package/dist/_dts/theme-core/src/palette/selection.d.ts +6 -4
- package/dist/_dts/theme-core/src/schema.d.ts +121 -4
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +218 -158
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +5 -6
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +218 -158
- package/dist/_dts/theme-core/src/site-styles/compositionBudget.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +2 -1
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +161 -51
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +6 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +24 -1
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +14 -48
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +10 -23
- package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +1 -2
- package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +456 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +52 -3
- package/dist/cli/index.mjs +3155 -1701
- package/dist/client/{DiscountCodeDisclosure-BXM73_E5.mjs → DiscountCodeDisclosure-BwGkvmVH.mjs} +1 -1
- package/dist/client/{EventCombined.client-DT5elP7j.mjs → EventCombined.client-JnWE6Hzc.mjs} +3 -3
- package/dist/client/{EventListing.client-pTYGfV9C.mjs → EventListing.client-DQewc_kg.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-dQrhlUe3.mjs → LeafletStaticMap-DPAU3SFt.mjs} +1 -1
- package/dist/client/{MagicLinkForm-u6Dul4j5.mjs → MagicLinkForm-D4kpWCbW.mjs} +2 -2
- package/dist/client/{StepIndicator-nWqineJ2.mjs → StepIndicator-CBlkb4rA.mjs} +2 -2
- package/dist/client/{accordion-CSJcTUyH.mjs → accordion-DAIBVpTS.mjs} +1 -1
- package/dist/client/{bookingForm-C73wOuVa.mjs → bookingForm-DZ-4l5_1.mjs} +7 -7
- package/dist/client/bookings.mjs +239 -110
- package/dist/client/{buttons-DfYyqt8C.mjs → buttons-DJgynGHQ.mjs} +122 -58
- package/dist/client/{carousel-fMBb0JSc.mjs → carousel-D-SLfX8r.mjs} +1 -1
- package/dist/client/{cart-BtaCwT3S.mjs → cart-CEgbgJhX.mjs} +3 -3
- package/dist/client/{checkout-DkTwZSnh.mjs → checkout-CXWrCRAA.mjs} +3 -3
- package/dist/client/client.mjs +4300 -1560
- package/dist/client/{colorStyles-Wyl6JujD.mjs → colorStyles-jZS6KfkP.mjs} +1 -1
- package/dist/client/{colorTokenParts-dT8MISgJ.mjs → colorTokenParts-CMugwvX_.mjs} +3 -1
- package/dist/client/{courseRegistration-DnLmapJu.mjs → courseRegistration-DVmLrRVz.mjs} +56 -21
- package/dist/client/{eventCalendar-BvLOc9KY.mjs → eventCalendar-DCuyPY_c.mjs} +29 -21
- package/dist/client/{eventCombined-kShgJPQr.mjs → eventCombined-kP2CA2D4.mjs} +2 -2
- package/dist/client/{eventDetails-C5NTM0Vo.mjs → eventDetails-DU0LeF5e.mjs} +4 -4
- package/dist/client/{eventListing-B82ZdKP6.mjs → eventListing-CcHF87BI.mjs} +2 -2
- package/dist/client/{eventRegistration-qJVFqBWo.mjs → eventRegistration-DJnR0yFH.mjs} +8 -8
- package/dist/client/{form-BvAcKiuu.mjs → form-CH1lCusH.mjs} +2 -2
- package/dist/client/{headerSection-NvAiEHAg.mjs → headerSection-CBPFZoku.mjs} +3 -3
- package/dist/client/hooks.mjs +2958 -1848
- package/dist/client/{locationMap-D0j52xfI.mjs → locationMap-Cx1hBg5n.mjs} +3 -3
- package/dist/client/{media-BCW_g2cQ.mjs → media-DHtSxS5V.mjs} +61 -56
- package/dist/client/{newsletterForm-B8_i93qH.mjs → newsletterForm-1ZL_ti9u.mjs} +3 -3
- package/dist/client/{pricing-DIYnyHOk.mjs → pricing-BIbzmV0G.mjs} +1 -1
- package/dist/client/{productDetail-w0eAHkuQ.mjs → productDetail-BTh5gHBV.mjs} +3 -3
- package/dist/client/{productList-Vsguq5Xt.mjs → productList-Cc7OMrqN.mjs} +3 -3
- package/dist/client/{propsDecoder-CD2pJ1WB.mjs → propsDecoder-oR-M-ISN.mjs} +192 -59
- package/dist/client/rendering/client.mjs +2031 -1239
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +4889 -1712
- package/dist/client/{shop-Dgxs-Q8F.mjs → shop-CQ_YbCnn.mjs} +8 -8
- package/dist/client/{shop-commerce-DJAhsTaT.mjs → shop-commerce-BM-AoD3M.mjs} +6 -6
- package/dist/client/{shop-commerce-store-CfCXltXW.mjs → shop-commerce-store-DFMQhU5p.mjs} +1 -1
- package/dist/client/{shopShared-CmDcPXUt.mjs → shopShared-D0SKO2Cu.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-CirrT2bM.mjs → useDiscountCodeUi-CrG4_ARt.mjs} +1 -1
- package/dist/client/{useEventFilters-CNZxlCcO.mjs → useEventFilters-CxK8Fekl.mjs} +6 -6
- package/dist/client/{usePolling-Baks_iBI.mjs → usePolling-jcVryNgZ.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +40 -1
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +40 -1
- package/dist/{previewAuthStore-CfquDtTh.mjs → previewAuthStore-BPcJPzdz.mjs} +40 -1
- package/dist/{sdk-runtime-BfNiFeNJ.mjs → sdk-runtime-C39Rsk-x.mjs} +2 -2
- package/dist/{separator-BhAR_Xmf.mjs → separator-BoMSQnsP.mjs} +1 -1
- package/dist/server/components.mjs +4661 -2162
- package/dist/server/config-validation.mjs +2728 -1847
- package/dist/server/config.mjs +2728 -1847
- package/dist/server/data.mjs +3381 -1915
- package/dist/server/index.mjs +46 -4
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next.mjs +5555 -2225
- package/dist/server/page-converter.mjs +3058 -2182
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +4850 -2125
- package/dist/server/rendering.mjs +5664 -2464
- package/dist/server/routing.mjs +3027 -1509
- package/dist/server/server.mjs +3844 -2217
- package/dist/server/theme-bridge.mjs +9121 -7765
- package/dist/server/theme.mjs +152 -59
- package/dist/styles/index.css +1217 -31
- package/package.json +1 -1
- package/dist/_dts/preview-next/src/client/preview/typographySelectionInput.d.ts +0 -16
- package/dist/_dts/theme-core/src/palette/historicalThemePalette.d.ts +0 -44
- package/dist/_dts/theme-core/src/palette/legacyRuntimeProjection.d.ts +0 -55
- package/dist/_dts/theme-core/src/palette/legacySelection.d.ts +0 -45
- package/dist/_dts/theme-core/src/palette/paletteCompatibilityTransition.d.ts +0 -232
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +0 -234
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import type { PageDesignEditorReadModel } from './pageDesignEditorModel';
|
|
2
2
|
import { type Theme } from '../schema';
|
|
3
3
|
import { type ButtonPersonalityId } from '../buttons/personalities';
|
|
4
|
-
import {
|
|
5
|
-
import type { PaletteSelection, ResolvedPaletteSelection } from '../palette';
|
|
4
|
+
import type { CompleteResolvedPaletteSelection, PaletteSelection } from '../palette';
|
|
6
5
|
import { type CuratedSiteStyle } from './curatedSiteStyles';
|
|
7
|
-
import { type CompiledTypographySelection, type KnownTypographyPresetId, type TypographyPresetId, type TypographyPresetResolutionWarning, type TypographySelection } from './typographyPresets';
|
|
8
6
|
import { type FooterLookId, type FooterSelectionContext, type FooterSelectionResult } from './footerLooks';
|
|
9
7
|
import { type HeaderLayoutId, type HeaderSelectionContext, type HeaderLookId, type HeaderSelectionResult, type HeaderStyleId } from './headerLooks';
|
|
10
8
|
import { type CompiledBlockRuntimeFields, type CompiledBoundaryRuntime, type CompiledPageRuntime, type ComponentRuntimeRules, type DesignRuntimeRules, type SemanticSpacing, type SurfaceResolutionContext } from './runtimeCompiler';
|
|
@@ -26,33 +24,26 @@ export { repairDesignIssue, resolveBlockDesignPlan } from './resolver';
|
|
|
26
24
|
export { cycleableOptionsFromResolved, deriveDesignCustomizationScope, recommendedDesignOption, type CycleableDesignOption, type CycleableOptions, type DesignCustomizationAuthority, type DesignCustomizationScope, type DesignCustomizationSurface, type DesignCustomizationUnsupportedReason, type DesignOptionIssue, type ResolvedDesignOption, } from './previewCustomization';
|
|
27
25
|
export { compileBlockRuntimeFields, compileBoundaryRuntime, compilePageRuntimeFields, compileTokenRecipes, compileTransitionRuntime, compiledRuntimeStyleFieldNames, defaultComponentRuntimeRules, defaultDesignRuntimeRules, surfaceResolutionContextFromPalette, surfaceResolutionContextFromTheme, stripCompiledRuntimeStyleFields, type CompiledBlockRuntime, type CompiledBlockRuntimeFields, type CompiledBoundaryRuntime, type CompiledPageRuntime, type CompileBlockRuntimeInput, type ComponentRuntimeRules, type DesignRuntimeRules, type SemanticSpacing, type SurfaceResolutionContext, } from './runtimeCompiler';
|
|
28
26
|
export { defaultCuratedChoice, requireEntriesForCuratedChoices, resolveCuratedChoice, type CuratedChoice, type CuratedChoiceResolution, } from './curatedChoices';
|
|
29
|
-
export { curatedSiteStyles, defaultButtonPersonalityForSiteStyle, defaultPaletteForSiteStyle,
|
|
30
|
-
export { asTypographyPresetId, compileTypographySelection, evaluateTypographyFontSlot, findTypographyPreset, parsePersistedTypographyPresetId, typographyPresetIdValues, typographyPresets, type CompiledTypographySelection, type GoogleFontCategory, type KnownTypographyPresetId, type KnownTypographyPresetIdValue, type TypographyFontCapability, type TypographyFontSlot, type TypographyFontSlotFit, type TypographyFontSlotPolicy, type TypographyPreset, type TypographyPresetId, type TypographyPresetResolutionWarning, type TypographySelection, } from './typographyPresets';
|
|
27
|
+
export { curatedSiteStyles, defaultButtonPersonalityForSiteStyle, defaultPaletteForSiteStyle, getCuratedSiteStyle, type CuratedSiteStyle, } from './curatedSiteStyles';
|
|
31
28
|
export { asDesignBlockId, asSiteStyleId, makeBoundaryId, type AppearancePresetId, type BoundaryOptionId, type DesignBlockId, type DesignBoundaryId, type LayoutVariantKey, type NonEmptyReadonlyArray, type PageFlowPresetId, type ResolvedPageDesignPlan, type SiteStyleId, } from './types';
|
|
32
29
|
export declare const previewCustomizePurpose: "preview-customize";
|
|
33
30
|
/**
|
|
34
31
|
* Compiles a curated Site Style into a persisted Theme payload using the site
|
|
35
32
|
* style's defaults for the Style configurator selections. Thin wrapper around
|
|
36
|
-
* `compileSiteThemeFromSelections
|
|
33
|
+
* `compileSiteThemeFromSelections` with the style's default curated palette.
|
|
37
34
|
*/
|
|
38
35
|
export declare function compileCuratedSiteStyleTheme(siteStyle: CuratedSiteStyle): CuratedSiteStyleTheme;
|
|
36
|
+
export declare function defaultResolvedPaletteForSiteStyle(siteStyle: CuratedSiteStyle): CompleteResolvedPaletteSelection;
|
|
39
37
|
export declare function compileCuratedSiteStyleThemeById(siteStyleId: SiteStyleId): CuratedSiteStyleTheme | null;
|
|
40
38
|
export type SelectionFallbackWarning = Readonly<{
|
|
41
39
|
kind: 'rejected-personality';
|
|
42
40
|
requested: string;
|
|
43
41
|
fellBackTo: ButtonPersonalityId;
|
|
44
|
-
}
|
|
45
|
-
kind: 'rejected-palette';
|
|
46
|
-
requested: string;
|
|
47
|
-
fellBackTo: CuratedPaletteId;
|
|
48
|
-
}> | TypographyPresetResolutionWarning;
|
|
42
|
+
}>;
|
|
49
43
|
type SiteThemeSelectionsCommonInput = Readonly<{
|
|
50
44
|
siteStyle: CuratedSiteStyle;
|
|
51
45
|
buttonPersonalityId: ButtonPersonalityId | null;
|
|
52
|
-
|
|
53
|
-
typographyBodyFontOverride?: string | null;
|
|
54
|
-
typographyHeadingFontOverride?: string | null;
|
|
55
|
-
typographySelection?: TypographySelection | null;
|
|
46
|
+
typography?: Theme['typography'];
|
|
56
47
|
headerLookId?: HeaderLookId | null;
|
|
57
48
|
headerLayoutId?: HeaderLayoutId | null;
|
|
58
49
|
headerStyleId?: HeaderStyleId | null;
|
|
@@ -60,18 +51,10 @@ type SiteThemeSelectionsCommonInput = Readonly<{
|
|
|
60
51
|
headerSelectionContext?: Partial<HeaderSelectionContext>;
|
|
61
52
|
footerSelectionContext?: Partial<FooterSelectionContext>;
|
|
62
53
|
}>;
|
|
63
|
-
export type
|
|
64
|
-
resolvedPalette
|
|
65
|
-
paletteVariantId: CuratedPaletteId | null;
|
|
66
|
-
paletteOverrides: PaletteOverrides | null;
|
|
54
|
+
export type SiteThemeSelectionsInput = SiteThemeSelectionsCommonInput & Readonly<{
|
|
55
|
+
resolvedPalette: CompleteResolvedPaletteSelection;
|
|
67
56
|
}>;
|
|
68
|
-
|
|
69
|
-
resolvedPalette: ResolvedPaletteSelection;
|
|
70
|
-
paletteVariantId?: never;
|
|
71
|
-
paletteOverrides?: never;
|
|
72
|
-
}>;
|
|
73
|
-
export type SiteThemeSelectionsInput = LegacySiteThemeSelectionsInput | ExplicitPaletteSiteThemeSelectionsInput;
|
|
74
|
-
export type SiteThemeSelectionsResult = Readonly<{
|
|
57
|
+
type SiteThemeSelectionsBaseResult = Readonly<{
|
|
75
58
|
theme: CuratedSiteStyleTheme;
|
|
76
59
|
requestedSelections: Readonly<{
|
|
77
60
|
headerLookId: HeaderLookId | null;
|
|
@@ -81,15 +64,7 @@ export type SiteThemeSelectionsResult = Readonly<{
|
|
|
81
64
|
}>;
|
|
82
65
|
resolvedSelections: Readonly<{
|
|
83
66
|
buttonPersonalityId: ButtonPersonalityId;
|
|
84
|
-
|
|
85
|
-
paletteSelection: Readonly<{
|
|
86
|
-
kind: 'curated';
|
|
87
|
-
paletteId: CuratedPaletteId;
|
|
88
|
-
}>;
|
|
89
|
-
typographySelection: CompiledTypographySelection['resolvedSelection'];
|
|
90
|
-
typographyPresetId: KnownTypographyPresetId | null;
|
|
91
|
-
typographyBodyFontOverride: string | null;
|
|
92
|
-
typographyHeadingFontOverride: string | null;
|
|
67
|
+
paletteSelection: PaletteSelection | null;
|
|
93
68
|
headerLookId: HeaderLookId | null;
|
|
94
69
|
headerLayoutId: HeaderLayoutId;
|
|
95
70
|
headerStyleId: HeaderStyleId;
|
|
@@ -99,26 +74,17 @@ export type SiteThemeSelectionsResult = Readonly<{
|
|
|
99
74
|
footerSelection: FooterSelectionResult;
|
|
100
75
|
warnings: ReadonlyArray<SelectionFallbackWarning>;
|
|
101
76
|
}>;
|
|
102
|
-
export type
|
|
103
|
-
resolvedSelections: Omit<SiteThemeSelectionsResult['resolvedSelections'], 'paletteVariantId' | 'paletteSelection'> & Readonly<{
|
|
104
|
-
paletteVariantId: CuratedPaletteId | null;
|
|
105
|
-
paletteSelection: PaletteSelection;
|
|
106
|
-
}>;
|
|
107
|
-
}>;
|
|
77
|
+
export type SiteThemeSelectionsResult = SiteThemeSelectionsBaseResult;
|
|
108
78
|
/**
|
|
109
79
|
* High-level, site-style-aware compiler. Resolves the user's personality and
|
|
110
|
-
* palette selections into theme tokens.
|
|
111
|
-
*
|
|
112
|
-
* choices, so any known palette is preserved across site styles and the style's
|
|
113
|
-
* first palette choice is only used when the request is absent or unknown.
|
|
80
|
+
* palette selections into theme tokens. Palette authority is always supplied
|
|
81
|
+
* as a complete resolved curated/site selection or an explicit draft.
|
|
114
82
|
*
|
|
115
83
|
* Returns the resolved IDs so the caller can persist auto-pick decisions, plus
|
|
116
84
|
* any fallback warnings the UI can surface as "we changed your selection"
|
|
117
85
|
* notices.
|
|
118
86
|
*/
|
|
119
|
-
export declare function compileSiteThemeFromSelections(input:
|
|
120
|
-
export declare function compileSiteThemeFromSelections(input: ExplicitPaletteSiteThemeSelectionsInput): ExplicitPaletteSiteThemeSelectionsResult;
|
|
121
|
-
export declare function compileSiteThemeFromSelections(input: SiteThemeSelectionsInput): SiteThemeSelectionsResult | ExplicitPaletteSiteThemeSelectionsResult;
|
|
87
|
+
export declare function compileSiteThemeFromSelections(input: SiteThemeSelectionsInput): SiteThemeSelectionsResult;
|
|
122
88
|
export declare function siteStyleIdFromTheme(theme: Pick<Theme, 'siteStyleId'> | null | undefined): SiteStyleId | null;
|
|
123
89
|
export type EditorModelRuntimeLookOverride<TBlockId extends DesignBlockId = DesignBlockId> = Readonly<{
|
|
124
90
|
kind: 'pinned';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { type CardStylesOverride, type ContainerStylesOverride, type SectionStylesOverride, type Theme } from '../schema';
|
|
2
2
|
import { type ExpandedPalette } from '../palette/expandPalette';
|
|
3
3
|
import { type ButtonPersonalityId } from '../buttons/personalities';
|
|
4
|
-
import
|
|
5
|
-
import type { ResolvedPaletteSelection } from '../palette/resolveSelection';
|
|
4
|
+
import type { CompleteResolvedPaletteSelection } from '../palette/resolveSelection';
|
|
6
5
|
import { type RuntimeStyleWriteResultForFields, type StyleAuthority } from './designState';
|
|
7
|
-
import { type ContentFrameIntent, type EyebrowTreatment, type FlushFrameTreatment, type DesignBoundaryId, type PanelFrameTreatment, type ResolvedBlockDesignPlan, type ResolvedPageDesignPlan, type SiteStyleItemSurfaceIntent, type SiteStyleSectionTransitionIntent, type SiteStyleSurfaceIntent, type ThemeTokenRecipes } from './types';
|
|
6
|
+
import { type ContentFrameIntent, type BlockCompositionIntent, type EyebrowTreatment, type FlushFrameTreatment, type DesignBoundaryId, type PanelFrameTreatment, type ResolvedBlockDesignPlan, type ResolvedPageDesignPlan, type SiteStyleItemSurfaceIntent, type SiteStyleSectionTransitionIntent, type SiteStyleSurfaceIntent, type ThemeTokenRecipes } from './types';
|
|
8
7
|
import { type SectionBoundaryRuntimeMetrics } from './sectionTransitions';
|
|
9
8
|
import type { ThemeColorToken } from '../tokens';
|
|
10
9
|
export type SemanticSpacing = 'none' | 'compact' | 'cozy' | 'medium' | 'comfortable' | 'spacious';
|
|
@@ -34,6 +33,7 @@ export type CompiledBlockRuntimeFields = Readonly<{
|
|
|
34
33
|
_cardStyles?: CardStylesOverride;
|
|
35
34
|
_transitionStyles?: CompiledTransitionRuntime;
|
|
36
35
|
blockLook?: string;
|
|
36
|
+
blockComposition?: BlockCompositionIntent;
|
|
37
37
|
styleGroup?: string;
|
|
38
38
|
}>;
|
|
39
39
|
export type CompiledTransitionEndpoint = Readonly<{
|
|
@@ -72,7 +72,7 @@ export type HeroLayoutStylesOverride = Readonly<{
|
|
|
72
72
|
contentMaxWidth?: 'default' | 'narrow' | 'medium' | 'wide';
|
|
73
73
|
typographyScale?: NonNullable<ResolvedBlockDesignPlan['heroTypographyScale']>;
|
|
74
74
|
}>;
|
|
75
|
-
export declare const compiledRuntimeStyleFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_contentCardStyles", "_heroLayoutStyles", "_cardStyles", "_transitionStyles", "blockLook", "styleGroup"];
|
|
75
|
+
export declare const compiledRuntimeStyleFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_contentCardStyles", "_heroLayoutStyles", "_cardStyles", "_transitionStyles", "blockLook", "blockComposition", "styleGroup"];
|
|
76
76
|
export declare function stripCompiledRuntimeStyleFields<TContent extends Record<string, unknown>>(content: TContent): Record<string, unknown>;
|
|
77
77
|
export type CompiledBlockRuntime = Readonly<{
|
|
78
78
|
blockId: string;
|
|
@@ -139,7 +139,7 @@ export declare const defaultDesignRuntimeRules: {
|
|
|
139
139
|
readonly 'accent-band': {
|
|
140
140
|
readonly background: {
|
|
141
141
|
readonly type: "color";
|
|
142
|
-
readonly color: "
|
|
142
|
+
readonly color: "accent";
|
|
143
143
|
};
|
|
144
144
|
};
|
|
145
145
|
readonly 'brand-depth-band': {
|
|
@@ -312,35 +312,22 @@ export declare function compilePageRuntimeFields<TBlockId extends string, TPurpo
|
|
|
312
312
|
sectionSpacing?: SemanticSpacing;
|
|
313
313
|
terminalSectionAdjacency?: TerminalSectionAdjacency;
|
|
314
314
|
}>): CompiledPageRuntime<TBlockId>;
|
|
315
|
-
type
|
|
315
|
+
type PaletteCompileOptions = Readonly<{
|
|
316
316
|
/** A complete palette resolved from an explicit curated or site selection. */
|
|
317
|
-
resolvedPalette
|
|
318
|
-
paletteVariantId?: never;
|
|
319
|
-
paletteOverrides?: never;
|
|
320
|
-
}>;
|
|
321
|
-
type LegacyPaletteCompileOptions = Readonly<{
|
|
322
|
-
resolvedPalette?: undefined;
|
|
323
|
-
/**
|
|
324
|
-
* Legacy curated-palette selection retained while persisted Theme V2
|
|
325
|
-
* selections are migrated to the explicit palette-selection model.
|
|
326
|
-
*/
|
|
327
|
-
paletteVariantId?: CuratedPaletteId;
|
|
328
|
-
/** Legacy sparse overrides materialized into a site palette during migration. */
|
|
329
|
-
paletteOverrides?: PaletteOverrides;
|
|
317
|
+
resolvedPalette?: CompleteResolvedPaletteSelection;
|
|
330
318
|
}>;
|
|
331
319
|
export type CompileTokenRecipesOptions = Readonly<{
|
|
332
320
|
/** Resolved button personality ID. When provided, emits `theme.buttons`. */
|
|
333
321
|
buttonPersonalityId?: ButtonPersonalityId;
|
|
334
|
-
}> &
|
|
322
|
+
}> & PaletteCompileOptions;
|
|
335
323
|
/**
|
|
336
324
|
* Compiles bounded token recipes to the current Theme schema. This is intentionally
|
|
337
325
|
* pure and schema-validated so generated Theme V2 choices have a concrete legacy
|
|
338
326
|
* Theme output before any persistence or Phase 5 integration consumes them.
|
|
339
327
|
*
|
|
340
328
|
* Optional `options` accept an already-resolved palette selection and button
|
|
341
|
-
* personality.
|
|
342
|
-
*
|
|
343
|
-
* through to the recipe-based palette lookup.
|
|
329
|
+
* personality. Sparse overrides and legacy palette IDs are deliberately not
|
|
330
|
+
* compiler inputs: callers must resolve a complete palette before compiling.
|
|
344
331
|
*/
|
|
345
332
|
export declare function compileTokenRecipes(recipes: ThemeTokenRecipes, options?: CompileTokenRecipesOptions): Theme;
|
|
346
333
|
export {};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { type Theme } from '../schema';
|
|
2
2
|
import { type CuratedSiteStyle } from './curatedSiteStyles';
|
|
3
|
-
import { type CompiledTypographySelection } from './typographyPresets';
|
|
4
3
|
import type { SiteStyleId } from './types';
|
|
5
4
|
export type CuratedSiteStyleTheme = Theme & Readonly<{
|
|
6
5
|
siteStyleId: SiteStyleId;
|
|
7
6
|
}>;
|
|
8
7
|
export declare function withSiteStyleMetadata(theme: Theme, siteStyle: CuratedSiteStyle): CuratedSiteStyleTheme;
|
|
9
|
-
export declare function
|
|
8
|
+
export declare function applyTypographyToTheme(theme: Theme, typography: Theme['typography'], heroTypography?: NonNullable<NonNullable<Theme['hero']>['typography']>): Theme;
|
|
10
9
|
export declare function applySiteStyleThemeOverrides(theme: Theme, siteStyle: CuratedSiteStyle): Theme;
|
|
11
10
|
export declare function compileCuratedSiteStyleBlockTheme(siteStyle: CuratedSiteStyle): CuratedSiteStyleTheme;
|
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
import type { Theme } from '../schema';
|
|
2
|
+
import type { ThemeTokenTypographyRecipe } from './types';
|
|
3
|
+
export type SiteStyleHeroTypography = NonNullable<NonNullable<Theme['hero']>['typography']>;
|
|
4
|
+
export declare const modernSansTypography: {
|
|
5
|
+
readonly body: {
|
|
6
|
+
readonly family: "Inter, system-ui, sans-serif";
|
|
7
|
+
readonly size: "md";
|
|
8
|
+
readonly weight: "regular";
|
|
9
|
+
readonly lineHeight: "relaxed";
|
|
10
|
+
readonly letterSpacing: "normal";
|
|
11
|
+
};
|
|
12
|
+
readonly headings: {
|
|
13
|
+
readonly default: {
|
|
14
|
+
readonly family: "Inter, system-ui, sans-serif";
|
|
15
|
+
readonly weight: "semibold";
|
|
16
|
+
readonly lineHeight: "normal";
|
|
17
|
+
readonly letterSpacing: "tight";
|
|
18
|
+
readonly italic: null;
|
|
19
|
+
readonly case: null;
|
|
20
|
+
};
|
|
21
|
+
readonly h1: {
|
|
22
|
+
readonly size: "xl";
|
|
23
|
+
readonly weight: "bold";
|
|
24
|
+
readonly lineHeight: "normal";
|
|
25
|
+
readonly letterSpacing: "tight";
|
|
26
|
+
readonly italic: null;
|
|
27
|
+
};
|
|
28
|
+
readonly h2: {
|
|
29
|
+
readonly size: "lg";
|
|
30
|
+
readonly weight: "semibold";
|
|
31
|
+
readonly lineHeight: "normal";
|
|
32
|
+
readonly letterSpacing: "tight";
|
|
33
|
+
readonly italic: null;
|
|
34
|
+
};
|
|
35
|
+
readonly h3: {
|
|
36
|
+
readonly size: "md";
|
|
37
|
+
readonly weight: "semibold";
|
|
38
|
+
readonly lineHeight: "normal";
|
|
39
|
+
readonly letterSpacing: "normal";
|
|
40
|
+
readonly italic: null;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
readonly scale: "balanced";
|
|
44
|
+
};
|
|
45
|
+
export declare const warmRoundedTypography: {
|
|
46
|
+
readonly body: {
|
|
47
|
+
readonly family: "Nunito Sans, system-ui, sans-serif";
|
|
48
|
+
readonly size: "lg";
|
|
49
|
+
readonly weight: "regular";
|
|
50
|
+
readonly lineHeight: "relaxed";
|
|
51
|
+
readonly letterSpacing: "normal";
|
|
52
|
+
};
|
|
53
|
+
readonly headings: {
|
|
54
|
+
readonly default: {
|
|
55
|
+
readonly family: "Nunito Sans, system-ui, sans-serif";
|
|
56
|
+
readonly weight: "bold";
|
|
57
|
+
readonly lineHeight: "normal";
|
|
58
|
+
readonly letterSpacing: "normal";
|
|
59
|
+
readonly italic: null;
|
|
60
|
+
readonly case: null;
|
|
61
|
+
};
|
|
62
|
+
readonly h1: {
|
|
63
|
+
readonly size: "xl";
|
|
64
|
+
readonly weight: "bold";
|
|
65
|
+
readonly lineHeight: "normal";
|
|
66
|
+
readonly letterSpacing: "normal";
|
|
67
|
+
readonly italic: null;
|
|
68
|
+
};
|
|
69
|
+
readonly h2: {
|
|
70
|
+
readonly size: "lg";
|
|
71
|
+
readonly weight: "bold";
|
|
72
|
+
readonly lineHeight: "normal";
|
|
73
|
+
readonly letterSpacing: "normal";
|
|
74
|
+
readonly italic: null;
|
|
75
|
+
};
|
|
76
|
+
readonly h3: {
|
|
77
|
+
readonly size: "md";
|
|
78
|
+
readonly weight: "semibold";
|
|
79
|
+
readonly lineHeight: "relaxed";
|
|
80
|
+
readonly letterSpacing: "normal";
|
|
81
|
+
readonly italic: null;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
readonly scale: "balanced";
|
|
85
|
+
};
|
|
86
|
+
export declare const editorialSerifTypography: {
|
|
87
|
+
readonly body: {
|
|
88
|
+
readonly family: "Lora, Georgia, serif";
|
|
89
|
+
readonly size: "lg";
|
|
90
|
+
readonly weight: "regular";
|
|
91
|
+
readonly lineHeight: "loose";
|
|
92
|
+
readonly letterSpacing: "normal";
|
|
93
|
+
};
|
|
94
|
+
readonly headings: {
|
|
95
|
+
readonly default: {
|
|
96
|
+
readonly family: "Playfair Display, Georgia, serif";
|
|
97
|
+
readonly weight: "semibold";
|
|
98
|
+
readonly lineHeight: "normal";
|
|
99
|
+
readonly letterSpacing: "tight";
|
|
100
|
+
readonly italic: null;
|
|
101
|
+
readonly case: null;
|
|
102
|
+
};
|
|
103
|
+
readonly h1: {
|
|
104
|
+
readonly size: "2xl";
|
|
105
|
+
readonly weight: "semibold";
|
|
106
|
+
readonly lineHeight: "normal";
|
|
107
|
+
readonly letterSpacing: "tight";
|
|
108
|
+
readonly italic: null;
|
|
109
|
+
};
|
|
110
|
+
readonly h2: {
|
|
111
|
+
readonly size: "xl";
|
|
112
|
+
readonly weight: "semibold";
|
|
113
|
+
readonly lineHeight: "normal";
|
|
114
|
+
readonly letterSpacing: "normal";
|
|
115
|
+
readonly italic: null;
|
|
116
|
+
};
|
|
117
|
+
readonly h3: {
|
|
118
|
+
readonly size: "md";
|
|
119
|
+
readonly weight: "semibold";
|
|
120
|
+
readonly lineHeight: "relaxed";
|
|
121
|
+
readonly letterSpacing: "normal";
|
|
122
|
+
readonly italic: true;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
readonly scale: "spacious";
|
|
126
|
+
};
|
|
127
|
+
export declare const classicSerifTypography: {
|
|
128
|
+
readonly body: {
|
|
129
|
+
readonly family: "Libre Baskerville, Georgia, serif";
|
|
130
|
+
readonly size: "md";
|
|
131
|
+
readonly weight: "regular";
|
|
132
|
+
readonly lineHeight: "relaxed";
|
|
133
|
+
readonly letterSpacing: "normal";
|
|
134
|
+
};
|
|
135
|
+
readonly headings: {
|
|
136
|
+
readonly default: {
|
|
137
|
+
readonly family: "Cormorant Garamond, Georgia, serif";
|
|
138
|
+
readonly weight: "semibold";
|
|
139
|
+
readonly lineHeight: "normal";
|
|
140
|
+
readonly letterSpacing: "normal";
|
|
141
|
+
readonly italic: null;
|
|
142
|
+
readonly case: null;
|
|
143
|
+
};
|
|
144
|
+
readonly h1: {
|
|
145
|
+
readonly size: "2xl";
|
|
146
|
+
readonly weight: "semibold";
|
|
147
|
+
readonly lineHeight: "normal";
|
|
148
|
+
readonly letterSpacing: "normal";
|
|
149
|
+
readonly italic: null;
|
|
150
|
+
};
|
|
151
|
+
readonly h2: {
|
|
152
|
+
readonly size: "xl";
|
|
153
|
+
readonly weight: "semibold";
|
|
154
|
+
readonly lineHeight: "normal";
|
|
155
|
+
readonly letterSpacing: "normal";
|
|
156
|
+
readonly italic: null;
|
|
157
|
+
};
|
|
158
|
+
readonly h3: {
|
|
159
|
+
readonly size: "md";
|
|
160
|
+
readonly weight: "medium";
|
|
161
|
+
readonly lineHeight: "relaxed";
|
|
162
|
+
readonly letterSpacing: "normal";
|
|
163
|
+
readonly italic: null;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
readonly scale: "balanced";
|
|
167
|
+
};
|
|
168
|
+
export declare const groundedSerifTypography: {
|
|
169
|
+
readonly body: {
|
|
170
|
+
readonly family: "Archivo, system-ui, sans-serif";
|
|
171
|
+
readonly size: "md";
|
|
172
|
+
readonly weight: "regular";
|
|
173
|
+
readonly lineHeight: "relaxed";
|
|
174
|
+
readonly letterSpacing: "normal";
|
|
175
|
+
};
|
|
176
|
+
readonly headings: {
|
|
177
|
+
readonly default: {
|
|
178
|
+
readonly family: "Cormorant Garamond, Georgia, serif";
|
|
179
|
+
readonly weight: "medium";
|
|
180
|
+
readonly lineHeight: "normal";
|
|
181
|
+
readonly letterSpacing: "normal";
|
|
182
|
+
readonly italic: null;
|
|
183
|
+
readonly case: null;
|
|
184
|
+
};
|
|
185
|
+
readonly h1: {
|
|
186
|
+
readonly size: "2xl";
|
|
187
|
+
readonly weight: "medium";
|
|
188
|
+
readonly lineHeight: "normal";
|
|
189
|
+
readonly letterSpacing: "normal";
|
|
190
|
+
readonly italic: null;
|
|
191
|
+
};
|
|
192
|
+
readonly h2: {
|
|
193
|
+
readonly size: "xl";
|
|
194
|
+
readonly weight: "medium";
|
|
195
|
+
readonly lineHeight: "normal";
|
|
196
|
+
readonly letterSpacing: "normal";
|
|
197
|
+
readonly italic: null;
|
|
198
|
+
};
|
|
199
|
+
readonly h3: {
|
|
200
|
+
readonly size: "md";
|
|
201
|
+
readonly weight: "medium";
|
|
202
|
+
readonly lineHeight: "relaxed";
|
|
203
|
+
readonly letterSpacing: "normal";
|
|
204
|
+
readonly italic: null;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
readonly scale: "balanced";
|
|
208
|
+
};
|
|
209
|
+
export declare const kirtanOrnateTypography: {
|
|
210
|
+
readonly body: {
|
|
211
|
+
readonly family: "Jost, system-ui, sans-serif";
|
|
212
|
+
readonly size: "md";
|
|
213
|
+
readonly weight: "regular";
|
|
214
|
+
readonly lineHeight: "relaxed";
|
|
215
|
+
readonly letterSpacing: "normal";
|
|
216
|
+
};
|
|
217
|
+
readonly headings: {
|
|
218
|
+
readonly default: {
|
|
219
|
+
readonly family: "Marcellus, Georgia, serif";
|
|
220
|
+
readonly weight: "regular";
|
|
221
|
+
readonly lineHeight: "normal";
|
|
222
|
+
readonly letterSpacing: "normal";
|
|
223
|
+
readonly colorToken: "primary";
|
|
224
|
+
readonly italic: null;
|
|
225
|
+
readonly case: null;
|
|
226
|
+
};
|
|
227
|
+
readonly h1: {
|
|
228
|
+
readonly size: "2xl";
|
|
229
|
+
readonly weight: "regular";
|
|
230
|
+
readonly lineHeight: "normal";
|
|
231
|
+
readonly letterSpacing: "normal";
|
|
232
|
+
readonly italic: null;
|
|
233
|
+
};
|
|
234
|
+
readonly h2: {
|
|
235
|
+
readonly size: "xl";
|
|
236
|
+
readonly weight: "regular";
|
|
237
|
+
readonly lineHeight: "normal";
|
|
238
|
+
readonly letterSpacing: "normal";
|
|
239
|
+
readonly italic: null;
|
|
240
|
+
};
|
|
241
|
+
readonly h3: {
|
|
242
|
+
readonly size: "md";
|
|
243
|
+
readonly weight: "regular";
|
|
244
|
+
readonly lineHeight: "relaxed";
|
|
245
|
+
readonly letterSpacing: "normal";
|
|
246
|
+
readonly italic: null;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
readonly scale: "spacious";
|
|
250
|
+
};
|
|
251
|
+
export declare const boldDisplayTypography: {
|
|
252
|
+
readonly body: {
|
|
253
|
+
readonly family: "Manrope, system-ui, sans-serif";
|
|
254
|
+
readonly size: "lg";
|
|
255
|
+
readonly weight: "regular";
|
|
256
|
+
readonly lineHeight: "relaxed";
|
|
257
|
+
readonly letterSpacing: "normal";
|
|
258
|
+
};
|
|
259
|
+
readonly headings: {
|
|
260
|
+
readonly default: {
|
|
261
|
+
readonly family: "\"TAN - PEARL\", sans-serif";
|
|
262
|
+
readonly weight: "bold";
|
|
263
|
+
readonly lineHeight: "normal";
|
|
264
|
+
readonly letterSpacing: "tight";
|
|
265
|
+
readonly colorToken: "primary";
|
|
266
|
+
readonly italic: null;
|
|
267
|
+
readonly case: null;
|
|
268
|
+
};
|
|
269
|
+
readonly h1: {
|
|
270
|
+
readonly size: "xl";
|
|
271
|
+
readonly weight: "bold";
|
|
272
|
+
readonly lineHeight: "normal";
|
|
273
|
+
readonly letterSpacing: "tight";
|
|
274
|
+
readonly italic: null;
|
|
275
|
+
};
|
|
276
|
+
readonly h2: {
|
|
277
|
+
readonly size: "lg";
|
|
278
|
+
readonly weight: "bold";
|
|
279
|
+
readonly lineHeight: "normal";
|
|
280
|
+
readonly letterSpacing: "normal";
|
|
281
|
+
readonly italic: null;
|
|
282
|
+
};
|
|
283
|
+
readonly h3: {
|
|
284
|
+
readonly size: "md";
|
|
285
|
+
readonly weight: "bold";
|
|
286
|
+
readonly lineHeight: "normal";
|
|
287
|
+
readonly letterSpacing: "normal";
|
|
288
|
+
readonly italic: null;
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
readonly scale: "balanced";
|
|
292
|
+
};
|
|
293
|
+
export declare const originalJoyTypography: {
|
|
294
|
+
readonly body: {
|
|
295
|
+
readonly family: "DM Sans, system-ui, sans-serif";
|
|
296
|
+
readonly size: "md";
|
|
297
|
+
readonly weight: "regular";
|
|
298
|
+
readonly lineHeight: "relaxed";
|
|
299
|
+
readonly letterSpacing: "normal";
|
|
300
|
+
};
|
|
301
|
+
readonly headings: {
|
|
302
|
+
readonly default: {
|
|
303
|
+
readonly family: "Lobster, cursive";
|
|
304
|
+
readonly weight: "regular";
|
|
305
|
+
readonly lineHeight: "normal";
|
|
306
|
+
readonly letterSpacing: "normal";
|
|
307
|
+
readonly italic: null;
|
|
308
|
+
readonly case: null;
|
|
309
|
+
};
|
|
310
|
+
readonly h1: {
|
|
311
|
+
readonly size: "2xl";
|
|
312
|
+
readonly weight: "regular";
|
|
313
|
+
readonly lineHeight: "normal";
|
|
314
|
+
readonly letterSpacing: "normal";
|
|
315
|
+
readonly italic: null;
|
|
316
|
+
};
|
|
317
|
+
readonly h2: {
|
|
318
|
+
readonly size: "xl";
|
|
319
|
+
readonly weight: "regular";
|
|
320
|
+
readonly lineHeight: "normal";
|
|
321
|
+
readonly letterSpacing: "normal";
|
|
322
|
+
readonly italic: null;
|
|
323
|
+
};
|
|
324
|
+
readonly h3: {
|
|
325
|
+
readonly size: "lg";
|
|
326
|
+
readonly weight: "regular";
|
|
327
|
+
readonly lineHeight: "normal";
|
|
328
|
+
readonly letterSpacing: "normal";
|
|
329
|
+
readonly italic: null;
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
readonly scale: "balanced";
|
|
333
|
+
};
|
|
334
|
+
export declare const fulcrumTypography: {
|
|
335
|
+
readonly body: {
|
|
336
|
+
readonly family: "IBM Plex Sans, system-ui, -apple-system, sans-serif";
|
|
337
|
+
readonly size: "lg";
|
|
338
|
+
readonly weight: "regular";
|
|
339
|
+
readonly lineHeight: "relaxed";
|
|
340
|
+
readonly letterSpacing: "normal";
|
|
341
|
+
};
|
|
342
|
+
readonly headings: {
|
|
343
|
+
readonly default: {
|
|
344
|
+
readonly family: "Newsreader, Georgia, \"Times New Roman\", serif";
|
|
345
|
+
readonly weight: "medium";
|
|
346
|
+
readonly lineHeight: "normal";
|
|
347
|
+
readonly letterSpacing: "tight";
|
|
348
|
+
readonly colorToken: "primary";
|
|
349
|
+
readonly italic: null;
|
|
350
|
+
readonly case: null;
|
|
351
|
+
};
|
|
352
|
+
readonly h1: {
|
|
353
|
+
readonly size: "2xl";
|
|
354
|
+
readonly weight: "medium";
|
|
355
|
+
readonly lineHeight: "snug";
|
|
356
|
+
readonly letterSpacing: "tight";
|
|
357
|
+
readonly italic: null;
|
|
358
|
+
};
|
|
359
|
+
readonly h2: {
|
|
360
|
+
readonly size: "xl";
|
|
361
|
+
readonly weight: "medium";
|
|
362
|
+
readonly lineHeight: "snug";
|
|
363
|
+
readonly letterSpacing: "tight";
|
|
364
|
+
readonly italic: null;
|
|
365
|
+
};
|
|
366
|
+
readonly h3: {
|
|
367
|
+
readonly size: "md";
|
|
368
|
+
readonly weight: "semibold";
|
|
369
|
+
readonly lineHeight: "normal";
|
|
370
|
+
readonly letterSpacing: "normal";
|
|
371
|
+
readonly italic: null;
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
readonly scale: "spacious";
|
|
375
|
+
readonly eyebrow: {
|
|
376
|
+
readonly family: "IBM Plex Mono, ui-monospace, \"SF Mono\", monospace";
|
|
377
|
+
readonly letterSpacing: "wide";
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
export declare const kirtanOrnateHeroTypography: {
|
|
381
|
+
readonly headlineSize: "6xl";
|
|
382
|
+
readonly headlineLineHeight: "normal";
|
|
383
|
+
readonly subheadlineSize: "xl";
|
|
384
|
+
readonly subheadlineLineHeight: "relaxed";
|
|
385
|
+
readonly microHeadlineSize: "5xl";
|
|
386
|
+
readonly microHeadlineLineHeight: "normal";
|
|
387
|
+
readonly microSubheadlineSize: "lg";
|
|
388
|
+
readonly microSubheadlineLineHeight: "relaxed";
|
|
389
|
+
readonly responsive: {
|
|
390
|
+
readonly tablet: {
|
|
391
|
+
readonly headlineSize: "5xl";
|
|
392
|
+
};
|
|
393
|
+
readonly mobile: {
|
|
394
|
+
readonly headlineSize: "4xl";
|
|
395
|
+
readonly subheadlineSize: "lg";
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
export declare const boldDisplayHeroTypography: {
|
|
400
|
+
readonly headlineSize: "6xl";
|
|
401
|
+
readonly headlineLineHeight: "tight";
|
|
402
|
+
readonly subheadlineSize: "2xl";
|
|
403
|
+
readonly subheadlineLineHeight: "normal";
|
|
404
|
+
readonly microHeadlineSize: "6xl";
|
|
405
|
+
readonly microHeadlineLineHeight: "tight";
|
|
406
|
+
readonly microSubheadlineSize: "xl";
|
|
407
|
+
readonly microSubheadlineLineHeight: "normal";
|
|
408
|
+
readonly responsive: {
|
|
409
|
+
readonly tablet: {
|
|
410
|
+
readonly headlineSize: "5xl";
|
|
411
|
+
};
|
|
412
|
+
readonly mobile: {
|
|
413
|
+
readonly headlineSize: "4xl";
|
|
414
|
+
readonly subheadlineSize: "xl";
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
export declare const originalJoyHeroTypography: {
|
|
419
|
+
readonly headlineSize: "6xl";
|
|
420
|
+
readonly headlineLineHeight: "tight";
|
|
421
|
+
readonly subheadlineSize: "xl";
|
|
422
|
+
readonly subheadlineLineHeight: "normal";
|
|
423
|
+
readonly microHeadlineSize: "6xl";
|
|
424
|
+
readonly microHeadlineLineHeight: "tight";
|
|
425
|
+
readonly microSubheadlineSize: "lg";
|
|
426
|
+
readonly microSubheadlineLineHeight: "normal";
|
|
427
|
+
readonly responsive: {
|
|
428
|
+
readonly tablet: {
|
|
429
|
+
readonly headlineSize: "5xl";
|
|
430
|
+
};
|
|
431
|
+
readonly mobile: {
|
|
432
|
+
readonly headlineSize: "4xl";
|
|
433
|
+
readonly subheadlineSize: "lg";
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
export declare const groundedSerifHeroTypography: {
|
|
438
|
+
readonly headlineSize: "5xl";
|
|
439
|
+
readonly headlineLineHeight: "normal";
|
|
440
|
+
readonly subheadlineSize: "lg";
|
|
441
|
+
readonly subheadlineLineHeight: "relaxed";
|
|
442
|
+
readonly microHeadlineSize: "4xl";
|
|
443
|
+
readonly microHeadlineLineHeight: "normal";
|
|
444
|
+
readonly microSubheadlineSize: "base";
|
|
445
|
+
readonly microSubheadlineLineHeight: "relaxed";
|
|
446
|
+
readonly responsive: {
|
|
447
|
+
readonly tablet: {
|
|
448
|
+
readonly headlineSize: "4xl";
|
|
449
|
+
};
|
|
450
|
+
readonly mobile: {
|
|
451
|
+
readonly headlineSize: "3xl";
|
|
452
|
+
readonly subheadlineSize: "base";
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
export declare function defaultTypographyForRecipe(recipe: ThemeTokenTypographyRecipe): Theme['typography'];
|