@riverbankcms/sdk 0.104.1 → 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-CmaPXdKu.mjs → PreviewEditorSidebar-DpAbAl08.mjs} +1811 -1179
- package/dist/{PreviewEditorUI-C5xRTh2b.mjs → PreviewEditorUI-O7cn6Xxv.mjs} +3 -3
- package/dist/{PreviewQueryProvider-CStABBUh.mjs → PreviewQueryProvider-D0tnKl0t.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-Eks51NcN.mjs → SdkPreviewModeRuntime-CVB7urtl.mjs} +3244 -528
- package/dist/{SiteChromeCustomizeContext-Bt8zb3qu.mjs → SiteChromeCustomizeContext-C_sizso-.mjs} +4945 -3010
- package/dist/_dts/ai/src/contracts/proposals.d.ts +32945 -1329
- 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/primitives/layout/Grid.d.ts +12 -8
- 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 +7 -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/layout.d.ts +11 -1
- 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/blocks/testimonials.d.ts +7 -1
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/events.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/fragments/library/testimonialsCarousel.d.ts +12 -0
- package/dist/_dts/blocks/src/system/node/fragments/styledCard.d.ts +3 -0
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +2 -2
- 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 +15 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/buttonAffordance.d.ts +33 -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 +32 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCapacity.d.ts +32 -0
- 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/shared/contract-schemas.d.ts +1 -0
- 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 +84 -0
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +3 -40
- package/dist/_dts/blocks/src/system/transforms/registry/formatting.d.ts +14 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +11 -0
- package/dist/_dts/core/src/branded.d.ts +49 -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 +1469 -14
- 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 +25 -5
- 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/ThemeScope.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/affordanceIcons.d.ts +29 -0
- package/dist/_dts/theme-core/src/buttons/generateButtonCss.d.ts +6 -0
- package/dist/_dts/theme-core/src/buttons/generateDefaultButtonSystem.d.ts +5 -1
- package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/personalities/flat-ink.d.ts +20 -0
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +22 -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 +6 -2
- package/dist/_dts/theme-core/src/buttons/types.d.ts +43 -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/gradients/types.d.ts +27 -3
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +87 -39
- package/dist/_dts/theme-core/src/palette/colors.d.ts +12 -0
- package/dist/_dts/theme-core/src/palette/curated/brand-led.d.ts +22 -4
- 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 -224
- 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 -3
- package/dist/_dts/theme-core/src/palette/libraryModel.d.ts +12 -6
- package/dist/_dts/theme-core/src/palette/persistenceReadSource.d.ts +20 -57
- 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/palette/themePaletteCompatibility.d.ts +3 -4
- package/dist/_dts/theme-core/src/runtime/themeCssVarNames.d.ts +1 -0
- package/dist/_dts/theme-core/src/schema.d.ts +229 -30
- package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +2 -1
- 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 +208 -49
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +8 -2
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +6 -2
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +56 -1
- 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/_dts/theme-core/src/status/index.d.ts +0 -1
- package/dist/_dts/theme-core/src/surfaces/foregroundContract.d.ts +19 -0
- package/dist/_dts/theme-core/src/surfaces/foregroundRoles.d.ts +9 -0
- package/dist/_dts/theme-core/src/surfaces/index.d.ts +2 -0
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/cli/index.mjs +4146 -1602
- package/dist/client/{DiscountCodeDisclosure-Dit2aItR.mjs → DiscountCodeDisclosure-BwGkvmVH.mjs} +1 -1
- package/dist/client/{EventCombined.client-BnREyCjf.mjs → EventCombined.client-JnWE6Hzc.mjs} +4 -4
- package/dist/client/{EventListing.client-0uHld51x.mjs → EventListing.client-DQewc_kg.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-DJcvSfmj.mjs → LeafletStaticMap-DPAU3SFt.mjs} +1 -1
- package/dist/client/{MagicLinkForm-EAsIktfw.mjs → MagicLinkForm-D4kpWCbW.mjs} +2 -2
- package/dist/client/{StepIndicator-CRR17tYI.mjs → StepIndicator-CBlkb4rA.mjs} +2 -2
- package/dist/client/{accordion-B47HIuuH.mjs → accordion-DAIBVpTS.mjs} +1 -1
- package/dist/client/{bookingForm-I1E-8F9P.mjs → bookingForm-DZ-4l5_1.mjs} +7 -7
- package/dist/client/bookings.mjs +360 -95
- package/dist/client/{buttons-BbPn8OKA.mjs → buttons-DJgynGHQ.mjs} +243 -43
- package/dist/client/{carousel-OlM7SyBs.mjs → carousel-D-SLfX8r.mjs} +1 -1
- package/dist/client/{cart-BKpG5jz6.mjs → cart-CEgbgJhX.mjs} +3 -3
- package/dist/client/{checkout-Dmmr6qoU.mjs → checkout-CXWrCRAA.mjs} +3 -3
- package/dist/client/client.mjs +6019 -1494
- package/dist/client/{colorStyles-DuW4Fjqd.mjs → colorStyles-jZS6KfkP.mjs} +46 -5
- package/dist/client/{colorTokenParts-dT8MISgJ.mjs → colorTokenParts-CMugwvX_.mjs} +3 -1
- package/dist/client/{courseRegistration-CflZiqGk.mjs → courseRegistration-DVmLrRVz.mjs} +56 -21
- package/dist/client/{eventCalendar-BvoLWcp-.mjs → eventCalendar-DCuyPY_c.mjs} +173 -5
- package/dist/client/{eventCombined-DsrO8t_t.mjs → eventCombined-kP2CA2D4.mjs} +2 -2
- package/dist/client/{eventDetails-C3hxgcJm.mjs → eventDetails-DU0LeF5e.mjs} +4 -4
- package/dist/client/{eventListing-C-hb237X.mjs → eventListing-CcHF87BI.mjs} +2 -2
- package/dist/client/{eventRegistration-B0gyzDGi.mjs → eventRegistration-DJnR0yFH.mjs} +8 -8
- package/dist/client/{form-C_RUi6oJ.mjs → form-CH1lCusH.mjs} +2 -2
- package/dist/client/{headerSection-IKQiD2U0.mjs → headerSection-CBPFZoku.mjs} +3 -3
- package/dist/client/hooks.mjs +3645 -1857
- package/dist/client/{locationMap-8ZBrMzRJ.mjs → locationMap-Cx1hBg5n.mjs} +3 -3
- package/dist/client/{media-CZJKL7fi.mjs → media-DHtSxS5V.mjs} +61 -56
- package/dist/client/{newsletterForm-CYk3ucwj.mjs → newsletterForm-1ZL_ti9u.mjs} +3 -3
- package/dist/client/{pricing-B5GmvfIH.mjs → pricing-BIbzmV0G.mjs} +1 -1
- package/dist/client/{productDetail-BjS2Dqzo.mjs → productDetail-BTh5gHBV.mjs} +3 -3
- package/dist/client/{productList-BOHvC8My.mjs → productList-Cc7OMrqN.mjs} +3 -3
- package/dist/client/{propsDecoder-WS6UEJwZ.mjs → propsDecoder-oR-M-ISN.mjs} +228 -60
- package/dist/client/rendering/client.mjs +3231 -1477
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +6889 -1927
- package/dist/client/{shop-CON03-wN.mjs → shop-CQ_YbCnn.mjs} +8 -8
- package/dist/client/{shop-commerce-DlqrFgH8.mjs → shop-commerce-BM-AoD3M.mjs} +6 -6
- package/dist/client/{shop-commerce-store-l74-Kne6.mjs → shop-commerce-store-DFMQhU5p.mjs} +1 -1
- package/dist/client/{shopShared-CQheEXSg.mjs → shopShared-D0SKO2Cu.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-v6OluyWl.mjs → useDiscountCodeUi-CrG4_ARt.mjs} +1 -1
- package/dist/client/{useEventFilters-BqSTcNOf.mjs → useEventFilters-CxK8Fekl.mjs} +6 -6
- package/dist/client/{usePolling-DMfADjIF.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-BUmJ0DaT.mjs → sdk-runtime-C39Rsk-x.mjs} +2 -2
- package/dist/{separator-Dd-JYok7.mjs → separator-BoMSQnsP.mjs} +1 -1
- package/dist/server/components.mjs +6345 -2084
- package/dist/server/config-validation.mjs +3420 -1856
- package/dist/server/config.mjs +3420 -1856
- package/dist/server/data.mjs +4067 -1923
- package/dist/server/index.mjs +46 -4
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next.mjs +7239 -2147
- package/dist/server/page-converter.mjs +3189 -1619
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +6540 -2058
- package/dist/server/rendering.mjs +7339 -2377
- package/dist/server/routing.mjs +3373 -1101
- package/dist/server/server.mjs +4307 -2002
- package/dist/server/theme-bridge.mjs +9844 -7325
- package/dist/server/theme.mjs +300 -47
- package/dist/styles/index.css +1863 -94
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/sectionForegroundStyles.d.ts +0 -2
- package/dist/_dts/preview-next/src/client/preview/typographySelectionInput.d.ts +0 -16
- package/dist/_dts/theme-core/src/palette/legacyRuntimeProjection.d.ts +0 -55
- package/dist/_dts/theme-core/src/palette/legacySelection.d.ts +0 -34
- package/dist/_dts/theme-core/src/palette/paletteCompatibilityTransition.d.ts +0 -232
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +0 -219
- package/dist/_dts/theme-core/src/status/contextualColors.d.ts +0 -6
package/dist/server/theme.mjs
CHANGED
|
@@ -344,7 +344,14 @@ const buttonSizesSchema = z$1.object({
|
|
|
344
344
|
const buttonGlobalSettingsSchema = z$1.object({
|
|
345
345
|
cornerStyle: cornerStyleSchema,
|
|
346
346
|
cornerRadius: z$1.number().min(0).max(24).optional(),
|
|
347
|
-
|
|
347
|
+
/**
|
|
348
|
+
* Family-level shadow inherited by variants that don't set their own.
|
|
349
|
+
* Optional and flat-by-default: when omitted, buttons carry no drop shadow
|
|
350
|
+
* (`elevation: 'none'`). A personality opts the whole family into a shadow by
|
|
351
|
+
* setting this; individual variants still override. There is no system-level
|
|
352
|
+
* shadow-by-default — shadows only appear when explicitly declared.
|
|
353
|
+
*/
|
|
354
|
+
shadow: shadowSizeSchema.optional(),
|
|
348
355
|
textTransform: textTransformSchema,
|
|
349
356
|
fontWeight: fontWeightSchema,
|
|
350
357
|
/**
|
|
@@ -400,6 +407,10 @@ const buttonBorderSchema = z$1.object({
|
|
|
400
407
|
widthClass: z$1.string(),
|
|
401
408
|
colorToken: themeColorTokenSchema
|
|
402
409
|
});
|
|
410
|
+
const buttonVariantAffordanceSchema = z$1.object({
|
|
411
|
+
iconId: z$1.string().min(1),
|
|
412
|
+
colorToken: themeColorTokenSchema.optional()
|
|
413
|
+
});
|
|
403
414
|
const variantShadowSchema = z$1.object({
|
|
404
415
|
elevation: z$1.enum([
|
|
405
416
|
"none",
|
|
@@ -453,7 +464,8 @@ const buttonVariantSchema = z$1.object({
|
|
|
453
464
|
border: buttonBorderSchema.optional(),
|
|
454
465
|
hoverBackgroundToken: z$1.string().optional(),
|
|
455
466
|
effects: variantEffectsSchema.optional(),
|
|
456
|
-
sizes: variantSizeOverridesSchema.optional()
|
|
467
|
+
sizes: variantSizeOverridesSchema.optional(),
|
|
468
|
+
affordance: buttonVariantAffordanceSchema.optional()
|
|
457
469
|
});
|
|
458
470
|
const buttonSystemSchema = z$1.object({
|
|
459
471
|
global: buttonGlobalSettingsSchema,
|
|
@@ -878,7 +890,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
878
890
|
buttonSystem: {
|
|
879
891
|
global: {
|
|
880
892
|
cornerStyle: "square",
|
|
881
|
-
shadow: "none",
|
|
882
893
|
textTransform: "none",
|
|
883
894
|
fontWeight: 500,
|
|
884
895
|
borderWidth: 1,
|
|
@@ -894,11 +905,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
894
905
|
background: { type: "transparent" },
|
|
895
906
|
textColorToken: "text",
|
|
896
907
|
borderRadius: "rounded-none",
|
|
897
|
-
shadow: {
|
|
898
|
-
elevation: "none",
|
|
899
|
-
softness: null,
|
|
900
|
-
position: "bottom"
|
|
901
|
-
},
|
|
902
908
|
sizes: {
|
|
903
909
|
sm: { padding: "0.25rem 0" },
|
|
904
910
|
md: { padding: "0.5rem 0" },
|
|
@@ -922,11 +928,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
922
928
|
background: { type: "transparent" },
|
|
923
929
|
textColorToken: "mutedText",
|
|
924
930
|
borderRadius: "rounded-none",
|
|
925
|
-
shadow: {
|
|
926
|
-
elevation: "none",
|
|
927
|
-
softness: null,
|
|
928
|
-
position: "bottom"
|
|
929
|
-
},
|
|
930
931
|
sizes: {
|
|
931
932
|
sm: { padding: "0.25rem 0" },
|
|
932
933
|
md: { padding: "0.5rem 0" },
|
|
@@ -950,11 +951,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
950
951
|
background: { type: "transparent" },
|
|
951
952
|
textColorToken: "accent",
|
|
952
953
|
borderRadius: "rounded-none",
|
|
953
|
-
shadow: {
|
|
954
|
-
elevation: "none",
|
|
955
|
-
softness: null,
|
|
956
|
-
position: "bottom"
|
|
957
|
-
},
|
|
958
954
|
sizes: {
|
|
959
955
|
sm: { padding: "0.25rem 0" },
|
|
960
956
|
md: { padding: "0.5rem 0" },
|
|
@@ -978,11 +974,6 @@ const editorialLink = defineButtonPersonality({
|
|
|
978
974
|
background: { type: "transparent" },
|
|
979
975
|
textColorToken: "mutedText",
|
|
980
976
|
borderRadius: "rounded-none",
|
|
981
|
-
shadow: {
|
|
982
|
-
elevation: "none",
|
|
983
|
-
softness: null,
|
|
984
|
-
position: "bottom"
|
|
985
|
-
},
|
|
986
977
|
sizes: {
|
|
987
978
|
sm: { padding: "0.25rem 0" },
|
|
988
979
|
md: { padding: "0.5rem 0" },
|
|
@@ -998,6 +989,120 @@ const editorialLink = defineButtonPersonality({
|
|
|
998
989
|
}
|
|
999
990
|
});
|
|
1000
991
|
//#endregion
|
|
992
|
+
//#region ../theme-core/src/buttons/personalities/flat-ink.ts
|
|
993
|
+
/**
|
|
994
|
+
* Flat Ink — a solid ink primary, a hairline ghost secondary, and a single
|
|
995
|
+
* amber accent climax, all completely flat (no drop shadow) with a modest
|
|
996
|
+
* radius. Reads as grounded, editorial and clinician-precise: the Fulcrum
|
|
997
|
+
* physiotherapy voice. The primary shifts to the secondary (moss) on hover and
|
|
998
|
+
* every variant lifts 2px; the amber accent is meant to be used sparingly as
|
|
999
|
+
* the page's one conversion climax.
|
|
1000
|
+
*/
|
|
1001
|
+
const flatInk = defineButtonPersonality({
|
|
1002
|
+
id: "flat-ink",
|
|
1003
|
+
name: "Flat Ink",
|
|
1004
|
+
description: "Flat solid-ink primary, hairline ghost secondary, and a single amber accent climax — modest radius, no shadow.",
|
|
1005
|
+
tags: {
|
|
1006
|
+
tone: "classic",
|
|
1007
|
+
energy: "calm",
|
|
1008
|
+
motion: "subtle",
|
|
1009
|
+
era: "editorial"
|
|
1010
|
+
},
|
|
1011
|
+
buttonSystem: {
|
|
1012
|
+
global: {
|
|
1013
|
+
cornerStyle: "rounded",
|
|
1014
|
+
textTransform: "none",
|
|
1015
|
+
fontWeight: 600,
|
|
1016
|
+
borderWidth: 1,
|
|
1017
|
+
typography: "body",
|
|
1018
|
+
letterSpacing: "tight",
|
|
1019
|
+
paddingPreset: "default",
|
|
1020
|
+
hoverTransform: "lift",
|
|
1021
|
+
hoverColor: "none"
|
|
1022
|
+
},
|
|
1023
|
+
sizes: {
|
|
1024
|
+
sm: {
|
|
1025
|
+
padding: "0.625rem 1.125rem",
|
|
1026
|
+
fontSize: "text-sm"
|
|
1027
|
+
},
|
|
1028
|
+
md: { padding: "0.8125rem 1.375rem" },
|
|
1029
|
+
lg: {
|
|
1030
|
+
padding: "0.9375rem 1.625rem",
|
|
1031
|
+
fontSize: "text-lg"
|
|
1032
|
+
},
|
|
1033
|
+
xl: {
|
|
1034
|
+
padding: "1.0625rem 2rem",
|
|
1035
|
+
fontSize: "text-xl"
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
variants: [
|
|
1039
|
+
{
|
|
1040
|
+
id: "primary",
|
|
1041
|
+
name: "Primary",
|
|
1042
|
+
enabled: true,
|
|
1043
|
+
priority: 1,
|
|
1044
|
+
background: {
|
|
1045
|
+
type: "solid",
|
|
1046
|
+
colorToken: "primary"
|
|
1047
|
+
},
|
|
1048
|
+
textColorToken: "primaryForeground",
|
|
1049
|
+
borderRadius: "rounded-lg",
|
|
1050
|
+
affordance: {
|
|
1051
|
+
iconId: "ArrowRight",
|
|
1052
|
+
colorToken: "accent"
|
|
1053
|
+
},
|
|
1054
|
+
effects: { hover: [{
|
|
1055
|
+
effectId: "lift",
|
|
1056
|
+
options: { translateY: "-2px" }
|
|
1057
|
+
}, {
|
|
1058
|
+
effectId: "background-on-hover",
|
|
1059
|
+
options: { colorToken: "secondary" }
|
|
1060
|
+
}] }
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
id: "secondary",
|
|
1064
|
+
name: "Secondary",
|
|
1065
|
+
enabled: true,
|
|
1066
|
+
priority: 2,
|
|
1067
|
+
background: { type: "transparent" },
|
|
1068
|
+
textColorToken: "primary",
|
|
1069
|
+
borderRadius: "rounded-lg",
|
|
1070
|
+
border: {
|
|
1071
|
+
widthClass: "border",
|
|
1072
|
+
colorToken: "border"
|
|
1073
|
+
},
|
|
1074
|
+
effects: { hover: [{
|
|
1075
|
+
effectId: "lift",
|
|
1076
|
+
options: { translateY: "-2px" }
|
|
1077
|
+
}, {
|
|
1078
|
+
effectId: "background-on-hover",
|
|
1079
|
+
options: { colorToken: "surfaceAlt" }
|
|
1080
|
+
}] }
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
id: "accent",
|
|
1084
|
+
name: "Accent",
|
|
1085
|
+
enabled: true,
|
|
1086
|
+
priority: 3,
|
|
1087
|
+
background: {
|
|
1088
|
+
type: "solid",
|
|
1089
|
+
colorToken: "accent"
|
|
1090
|
+
},
|
|
1091
|
+
textColorToken: "accentForeground",
|
|
1092
|
+
borderRadius: "rounded-lg",
|
|
1093
|
+
affordance: {
|
|
1094
|
+
iconId: "ArrowRight",
|
|
1095
|
+
colorToken: "accentForeground"
|
|
1096
|
+
},
|
|
1097
|
+
effects: { hover: [{
|
|
1098
|
+
effectId: "lift",
|
|
1099
|
+
options: { translateY: "-2px" }
|
|
1100
|
+
}] }
|
|
1101
|
+
}
|
|
1102
|
+
]
|
|
1103
|
+
}
|
|
1104
|
+
});
|
|
1105
|
+
//#endregion
|
|
1001
1106
|
//#region ../theme-core/src/buttons/personalities/ink-stamp.ts
|
|
1002
1107
|
/**
|
|
1003
1108
|
* Ink Stamp — solid earthy fills with a bordered, hand-stamped block-print
|
|
@@ -1016,7 +1121,6 @@ const inkStamp = defineButtonPersonality({
|
|
|
1016
1121
|
buttonSystem: {
|
|
1017
1122
|
global: {
|
|
1018
1123
|
cornerStyle: "rounded",
|
|
1019
|
-
shadow: "none",
|
|
1020
1124
|
textTransform: "uppercase",
|
|
1021
1125
|
fontWeight: 600,
|
|
1022
1126
|
borderWidth: 1,
|
|
@@ -1251,7 +1355,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1251
1355
|
buttonSystem: {
|
|
1252
1356
|
global: {
|
|
1253
1357
|
cornerStyle: "rounded",
|
|
1254
|
-
shadow: "none",
|
|
1255
1358
|
textTransform: "uppercase",
|
|
1256
1359
|
fontWeight: 600,
|
|
1257
1360
|
borderWidth: 1,
|
|
@@ -1293,11 +1396,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1293
1396
|
widthClass: "border",
|
|
1294
1397
|
colorToken: "primary"
|
|
1295
1398
|
},
|
|
1296
|
-
shadow: {
|
|
1297
|
-
elevation: "none",
|
|
1298
|
-
softness: null,
|
|
1299
|
-
position: "bottom"
|
|
1300
|
-
},
|
|
1301
1399
|
effects: {
|
|
1302
1400
|
hover: [{
|
|
1303
1401
|
effectId: "background-on-hover",
|
|
@@ -1324,11 +1422,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1324
1422
|
widthClass: "border",
|
|
1325
1423
|
colorToken: "primary"
|
|
1326
1424
|
},
|
|
1327
|
-
shadow: {
|
|
1328
|
-
elevation: "none",
|
|
1329
|
-
softness: null,
|
|
1330
|
-
position: "bottom"
|
|
1331
|
-
},
|
|
1332
1425
|
effects: { hover: [{
|
|
1333
1426
|
effectId: "background-on-hover",
|
|
1334
1427
|
options: { colorToken: "surface" }
|
|
@@ -1346,11 +1439,6 @@ const ornateRitual = defineButtonPersonality({
|
|
|
1346
1439
|
widthClass: "border",
|
|
1347
1440
|
colorToken: "primary"
|
|
1348
1441
|
},
|
|
1349
|
-
shadow: {
|
|
1350
|
-
elevation: "none",
|
|
1351
|
-
softness: null,
|
|
1352
|
-
position: "bottom"
|
|
1353
|
-
},
|
|
1354
1442
|
effects: { hover: [{
|
|
1355
1443
|
effectId: "background-on-hover",
|
|
1356
1444
|
options: { colorToken: "muted" }
|
|
@@ -1413,7 +1501,6 @@ const pebble = defineButtonPersonality({
|
|
|
1413
1501
|
buttonSystem: {
|
|
1414
1502
|
global: {
|
|
1415
1503
|
cornerStyle: "pill",
|
|
1416
|
-
shadow: "none",
|
|
1417
1504
|
textTransform: "none",
|
|
1418
1505
|
fontWeight: 500,
|
|
1419
1506
|
borderWidth: 2,
|
|
@@ -1521,6 +1608,117 @@ const pebble = defineButtonPersonality({
|
|
|
1521
1608
|
}
|
|
1522
1609
|
});
|
|
1523
1610
|
//#endregion
|
|
1611
|
+
//#region ../theme-core/src/buttons/personalities/quiet-arrow.ts
|
|
1612
|
+
/**
|
|
1613
|
+
* Quiet Arrow — wide, flat editorial buttons for grounded service businesses.
|
|
1614
|
+
* Primary and secondary keep stable semantic colours; surrounding surfaces are
|
|
1615
|
+
* responsible for contrast rather than reversing the button roles.
|
|
1616
|
+
*/
|
|
1617
|
+
const quietArrow = defineButtonPersonality({
|
|
1618
|
+
id: "quiet-arrow",
|
|
1619
|
+
name: "Quiet Arrow",
|
|
1620
|
+
description: "Wide, flat arrow buttons with a solid primary and a primary-colour outlined secondary.",
|
|
1621
|
+
tags: {
|
|
1622
|
+
tone: "classic",
|
|
1623
|
+
energy: "calm",
|
|
1624
|
+
motion: "subtle",
|
|
1625
|
+
era: "editorial"
|
|
1626
|
+
},
|
|
1627
|
+
buttonSystem: {
|
|
1628
|
+
global: {
|
|
1629
|
+
cornerStyle: "rounded",
|
|
1630
|
+
textTransform: "uppercase",
|
|
1631
|
+
fontWeight: 500,
|
|
1632
|
+
borderWidth: 1,
|
|
1633
|
+
typography: "body",
|
|
1634
|
+
fontSize: "text-sm",
|
|
1635
|
+
letterSpacing: "loose",
|
|
1636
|
+
hoverTransform: "none",
|
|
1637
|
+
hoverColor: "none"
|
|
1638
|
+
},
|
|
1639
|
+
sizes: {
|
|
1640
|
+
sm: {
|
|
1641
|
+
padding: "0.625rem 1.25rem",
|
|
1642
|
+
fontSize: "text-xs"
|
|
1643
|
+
},
|
|
1644
|
+
md: {
|
|
1645
|
+
padding: "0.8125rem 1.75rem",
|
|
1646
|
+
fontSize: "text-sm"
|
|
1647
|
+
},
|
|
1648
|
+
lg: {
|
|
1649
|
+
padding: "0.9375rem 2.125rem",
|
|
1650
|
+
fontSize: "text-sm"
|
|
1651
|
+
},
|
|
1652
|
+
xl: {
|
|
1653
|
+
padding: "1.0625rem 2.5rem",
|
|
1654
|
+
fontSize: "text-base"
|
|
1655
|
+
}
|
|
1656
|
+
},
|
|
1657
|
+
variants: [
|
|
1658
|
+
{
|
|
1659
|
+
id: "primary",
|
|
1660
|
+
name: "Primary",
|
|
1661
|
+
enabled: true,
|
|
1662
|
+
priority: 1,
|
|
1663
|
+
background: {
|
|
1664
|
+
type: "solid",
|
|
1665
|
+
colorToken: "primary"
|
|
1666
|
+
},
|
|
1667
|
+
textColorToken: "primaryForeground",
|
|
1668
|
+
borderRadius: "rounded-xl",
|
|
1669
|
+
affordance: { iconId: "ArrowRight" },
|
|
1670
|
+
effects: { hover: [{
|
|
1671
|
+
effectId: "background-on-hover-alpha",
|
|
1672
|
+
options: {
|
|
1673
|
+
colorToken: "primary",
|
|
1674
|
+
opacity: 90
|
|
1675
|
+
}
|
|
1676
|
+
}] }
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
id: "secondary",
|
|
1680
|
+
name: "Secondary",
|
|
1681
|
+
enabled: true,
|
|
1682
|
+
priority: 2,
|
|
1683
|
+
background: { type: "transparent" },
|
|
1684
|
+
textColorToken: "primary",
|
|
1685
|
+
borderRadius: "rounded-xl",
|
|
1686
|
+
border: {
|
|
1687
|
+
widthClass: "border",
|
|
1688
|
+
colorToken: "primary"
|
|
1689
|
+
},
|
|
1690
|
+
affordance: { iconId: "ArrowRight" },
|
|
1691
|
+
effects: { hover: [{
|
|
1692
|
+
effectId: "background-on-hover",
|
|
1693
|
+
options: { colorToken: "surfaceAlt" }
|
|
1694
|
+
}] }
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
id: "outline",
|
|
1698
|
+
name: "Outline",
|
|
1699
|
+
enabled: true,
|
|
1700
|
+
priority: 3,
|
|
1701
|
+
background: { type: "transparent" },
|
|
1702
|
+
textColorToken: "primary",
|
|
1703
|
+
borderRadius: "rounded-xl",
|
|
1704
|
+
border: {
|
|
1705
|
+
widthClass: "border",
|
|
1706
|
+
colorToken: "primary"
|
|
1707
|
+
}
|
|
1708
|
+
},
|
|
1709
|
+
{
|
|
1710
|
+
id: "ghost",
|
|
1711
|
+
name: "Ghost",
|
|
1712
|
+
enabled: true,
|
|
1713
|
+
priority: 3,
|
|
1714
|
+
background: { type: "transparent" },
|
|
1715
|
+
textColorToken: "primary",
|
|
1716
|
+
borderRadius: "rounded-xl"
|
|
1717
|
+
}
|
|
1718
|
+
]
|
|
1719
|
+
}
|
|
1720
|
+
});
|
|
1721
|
+
//#endregion
|
|
1524
1722
|
//#region ../theme-core/src/buttons/personalities/showtime-pill.ts
|
|
1525
1723
|
/**
|
|
1526
1724
|
* Showtime Pill — bold, spacious, fully rounded buttons with playful pop
|
|
@@ -1768,10 +1966,12 @@ const buttonPersonalities = [
|
|
|
1768
1966
|
editorialLink,
|
|
1769
1967
|
pebble,
|
|
1770
1968
|
inkStamp,
|
|
1969
|
+
flatInk,
|
|
1771
1970
|
brushedWash,
|
|
1772
1971
|
showtimePill,
|
|
1773
1972
|
joyStamp,
|
|
1774
|
-
ornateRitual
|
|
1973
|
+
ornateRitual,
|
|
1974
|
+
quietArrow
|
|
1775
1975
|
];
|
|
1776
1976
|
new Map(buttonPersonalities.map((p) => [p.id, p]));
|
|
1777
1977
|
//#endregion
|
|
@@ -2109,11 +2309,31 @@ const gradientStopSchema = z$1.object({
|
|
|
2109
2309
|
position: z$1.number().min(0).max(100)
|
|
2110
2310
|
});
|
|
2111
2311
|
/**
|
|
2112
|
-
*
|
|
2312
|
+
* Radial gradient shape. Optional; defaults to `circle` (the historical shape)
|
|
2313
|
+
* so existing radial gradients are byte-identical.
|
|
2314
|
+
*
|
|
2315
|
+
* Named `RadialGradientShape` to avoid clashing with `styles/gradients.ts`'s
|
|
2316
|
+
* `GradientShape` (which names the gradient *kind*: linear/radial/conic).
|
|
2317
|
+
*/
|
|
2318
|
+
const radialGradientShapeSchema = z$1.enum(["circle", "ellipse"]);
|
|
2319
|
+
/**
|
|
2320
|
+
* Gradient configuration.
|
|
2321
|
+
*
|
|
2322
|
+
* `type` is optional and defaults to `'linear'` so gradients persisted without a
|
|
2323
|
+
* type (or with an explicit `'linear'`) render exactly as before. `'radial'` and
|
|
2324
|
+
* `'conic'` are additive kinds:
|
|
2325
|
+
* - linear: `angle` (degrees)
|
|
2326
|
+
* - radial: optional `shape` (circle/ellipse) + `position`
|
|
2327
|
+
* - conic: optional `angle` (from-angle, degrees) + `position`
|
|
2113
2328
|
*/
|
|
2114
2329
|
const gradientConfigSchema = z$1.object({
|
|
2115
|
-
type: z$1.enum([
|
|
2330
|
+
type: z$1.enum([
|
|
2331
|
+
"linear",
|
|
2332
|
+
"radial",
|
|
2333
|
+
"conic"
|
|
2334
|
+
]).default("linear"),
|
|
2116
2335
|
angle: z$1.number().min(0).max(360).optional(),
|
|
2336
|
+
shape: radialGradientShapeSchema.optional(),
|
|
2117
2337
|
position: z$1.string().optional(),
|
|
2118
2338
|
stops: z$1.array(gradientStopSchema).min(2)
|
|
2119
2339
|
});
|
|
@@ -2523,7 +2743,13 @@ const tileTreatmentValues = [
|
|
|
2523
2743
|
"quiet",
|
|
2524
2744
|
"brand-depth"
|
|
2525
2745
|
];
|
|
2526
|
-
const eventListTreatmentValues = [
|
|
2746
|
+
const eventListTreatmentValues = [
|
|
2747
|
+
"plain",
|
|
2748
|
+
"lined-panel",
|
|
2749
|
+
"ruled-register",
|
|
2750
|
+
"editorial-register",
|
|
2751
|
+
"dense-index"
|
|
2752
|
+
];
|
|
2527
2753
|
const eyebrowTreatmentValues = [
|
|
2528
2754
|
"plain",
|
|
2529
2755
|
"accent",
|
|
@@ -2767,6 +2993,8 @@ const headingTypographyOverridesSchema = z$1.object({
|
|
|
2767
2993
|
]).nullable().optional(),
|
|
2768
2994
|
size: headingSizeSchema.nullable().optional(),
|
|
2769
2995
|
lineHeight: z$1.enum([
|
|
2996
|
+
"tight",
|
|
2997
|
+
"snug",
|
|
2770
2998
|
"normal",
|
|
2771
2999
|
"relaxed",
|
|
2772
3000
|
"loose"
|
|
@@ -2944,6 +3172,28 @@ const typographyScaleSchema = z$1.enum([
|
|
|
2944
3172
|
"majorThird",
|
|
2945
3173
|
"perfectFourth"
|
|
2946
3174
|
]);
|
|
3175
|
+
const eyebrowTypographyStyleSchema = z$1.object({
|
|
3176
|
+
family: z$1.string().min(1),
|
|
3177
|
+
size: z$1.enum([
|
|
3178
|
+
"sm",
|
|
3179
|
+
"md",
|
|
3180
|
+
"lg"
|
|
3181
|
+
]).optional(),
|
|
3182
|
+
weight: z$1.enum([
|
|
3183
|
+
"light",
|
|
3184
|
+
"regular",
|
|
3185
|
+
"medium",
|
|
3186
|
+
"semibold",
|
|
3187
|
+
"bold"
|
|
3188
|
+
]).optional(),
|
|
3189
|
+
letterSpacing: z$1.enum([
|
|
3190
|
+
"tight",
|
|
3191
|
+
"normal",
|
|
3192
|
+
"loose",
|
|
3193
|
+
"wide"
|
|
3194
|
+
]).optional(),
|
|
3195
|
+
case: z$1.enum(["uppercase", "normal"]).optional()
|
|
3196
|
+
});
|
|
2947
3197
|
const typographySchema = z$1.object({
|
|
2948
3198
|
body: bodyTypographyStyleSchema,
|
|
2949
3199
|
headings: z$1.object({
|
|
@@ -2956,7 +3206,8 @@ const typographySchema = z$1.object({
|
|
|
2956
3206
|
h6: headingTypographyOverridesSchema.optional()
|
|
2957
3207
|
}),
|
|
2958
3208
|
scale: typographyScaleSchema,
|
|
2959
|
-
proseLinkStyle: proseLinkStyleSchema.optional()
|
|
3209
|
+
proseLinkStyle: proseLinkStyleSchema.optional(),
|
|
3210
|
+
eyebrow: eyebrowTypographyStyleSchema.optional()
|
|
2960
3211
|
});
|
|
2961
3212
|
const spaceSchema = z$1.enum([
|
|
2962
3213
|
"comfortable",
|
|
@@ -2981,7 +3232,8 @@ const shadow = z$1.object({
|
|
|
2981
3232
|
"soft",
|
|
2982
3233
|
"hard"
|
|
2983
3234
|
]).nullable(),
|
|
2984
|
-
position: z$1.enum(["bottom", "bottom-right"]).default("bottom")
|
|
3235
|
+
position: z$1.enum(["bottom", "bottom-right"]).default("bottom"),
|
|
3236
|
+
colorToken: themeColorTokenSchema.optional()
|
|
2985
3237
|
});
|
|
2986
3238
|
const border = z$1.object({
|
|
2987
3239
|
width: z$1.enum([
|
|
@@ -3226,6 +3478,7 @@ const headerSchema = z$1.object({
|
|
|
3226
3478
|
navWeight: navFontWeight.default("medium"),
|
|
3227
3479
|
navTypography: z$1.enum(["body", "heading"]).optional(),
|
|
3228
3480
|
navTextSize: navLinkStyleSchema.shape.textSize,
|
|
3481
|
+
navPlacement: z$1.enum(["end", "center"]).optional(),
|
|
3229
3482
|
container: headerContainerSchema,
|
|
3230
3483
|
border: headerBorderSchema,
|
|
3231
3484
|
shadow: componentShadowSchema.optional(),
|