@riverbankcms/sdk 0.79.0 → 0.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PreviewEditorSidebar-QZG37QIF.mjs +2655 -0
- package/dist/{PreviewEditorUI-27KJVEET.mjs → PreviewEditorUI-AXIKSMZA.mjs} +27 -4
- package/dist/SdkPreviewModeRuntime-XE5M4UKM.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +20 -0
- package/dist/_dts/api/src/endpoints.d.ts +24 -0
- package/dist/_dts/api/src/index.d.ts +1 -1
- package/dist/_dts/api/src/siteInfrastructure.d.ts +124 -0
- package/dist/_dts/api/src/siteOnboarding.d.ts +13 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +10 -1
- package/dist/_dts/block-form/src/client/index.d.ts +2 -0
- package/dist/_dts/block-form/src/index.d.ts +2 -0
- package/dist/_dts/block-form/src/utils/evaluateVisibility.d.ts +2 -1
- package/dist/_dts/blocks/src/client/header.d.ts +1 -1
- package/dist/_dts/blocks/src/client.d.ts +12 -12
- package/dist/_dts/blocks/src/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -1
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +7 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +21 -12
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +4 -2
- package/dist/_dts/blocks/src/system/fragments/library/faqHeading.d.ts +1 -0
- package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +5 -0
- package/dist/_dts/blocks/src/system/node/fragments/headingDecoration.d.ts +1 -4
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +7 -7
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/header/enhanceHeaderSection.d.ts +10 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +5 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.server.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventSpotlight.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +9 -0
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +14 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +9 -3
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +6 -4
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +5 -1
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +24 -0
- package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +34 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -5
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeEditorDraftPatch.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/storeTypes.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +44 -0
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +56 -0
- package/dist/_dts/sdk/src/client/management/webhooks.d.ts +3 -0
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +6 -3
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/siteStyleDefaults.d.ts +220 -0
- package/dist/_dts/theme-core/src/accordions/types.d.ts +45 -2
- package/dist/_dts/theme-core/src/blockOverrides.d.ts +8 -0
- package/dist/_dts/theme-core/src/blocks/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/blocks/vars/testimonials.d.ts +4 -1
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/cards/core.d.ts +20 -0
- package/dist/_dts/theme-core/src/cards/generateDefaultCardSystem.d.ts +6 -3
- package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +105 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +177 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +156 -18
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
- package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +16 -0
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +446 -52
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +86 -17
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +86 -17
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +110 -1
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +20 -1
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +286 -6
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +193 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +2 -8
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +10 -7
- package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +11 -0
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/testimonialQuotePresets.d.ts +15 -0
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +7 -29
- package/dist/{PreviewEditorSidebar-56NMJMIK.mjs → chunk-5NZGBSJF.mjs} +1423 -2451
- package/dist/{chunk-4HCW7FHJ.mjs → chunk-7PCYG6YV.mjs} +215 -137
- package/dist/{chunk-K2IIF34C.mjs → chunk-BBLZSQEY.mjs} +24 -0
- package/dist/{chunk-V47ZU33I.mjs → chunk-GYXKAUFV.mjs} +2785 -785
- package/dist/{chunk-GP555I66.mjs → chunk-HTB4BMKD.mjs} +94 -46
- package/dist/{chunk-A3HHFKVT.mjs → chunk-MPBNEVPB.mjs} +1 -1
- package/dist/cli/index.mjs +2100 -545
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +16 -4
- package/dist/client/{accordion-QLA7KBYO.mjs → accordion-QFZMNB7O.mjs} +1 -1
- package/dist/client/{bookingForm-PYZIPA5G.mjs → bookingForm-NCIXFWIG.mjs} +3 -3
- package/dist/client/bookings.mjs +1144 -329
- package/dist/client/{carousel-5EIULWBI.mjs → carousel-EO4BJMWD.mjs} +2 -2
- package/dist/client/{cart-DOP3FNI4.mjs → cart-FTYCLYUW.mjs} +5 -5
- package/dist/client/{checkout-BVMF6FBV.mjs → checkout-NFGLVCOX.mjs} +5 -5
- package/dist/client/{chunk-TYONZMST.mjs → chunk-4W66ALYT.mjs} +1 -1
- package/dist/client/{chunk-44K2U3QI.mjs → chunk-6GVVWSPU.mjs} +4 -4
- package/dist/client/{chunk-UDS3NTWA.mjs → chunk-IWFZSQNZ.mjs} +1 -1
- package/dist/client/{chunk-R5ESWNKX.mjs → chunk-PUOELU4O.mjs} +89 -5
- package/dist/client/{chunk-YLDYVRZL.mjs → chunk-PYRBIURC.mjs} +4 -4
- package/dist/client/{chunk-GG4M2NP6.mjs → chunk-T6UIP6UZ.mjs} +1 -1
- package/dist/client/{chunk-V6M5FCR5.mjs → chunk-VDS5YFLX.mjs} +1 -1
- package/dist/client/{chunk-CCNTDRCF.mjs → chunk-Y37KDO7P.mjs} +1 -1
- package/dist/client/client.mjs +4205 -2324
- package/dist/client/{courseRegistration-E6EAA6NL.mjs → courseRegistration-2EORROPS.mjs} +3 -3
- package/dist/client/{eventCalendar-HBG3HAK6.mjs → eventCalendar-WZI4VL6N.mjs} +5 -5
- package/dist/client/{eventCombined-6K5ZZWAK.mjs → eventCombined-QCB2TCNL.mjs} +5 -5
- package/dist/client/{eventDetails-Q75ICXLT.mjs → eventDetails-TFTATAPH.mjs} +5 -5
- package/dist/client/{eventListing-27P5F7DZ.mjs → eventListing-A2CQEHEQ.mjs} +5 -5
- package/dist/client/{eventRegistration-IQ7AMASR.mjs → eventRegistration-OELPVLUY.mjs} +5 -5
- package/dist/client/{form-JRTD65FN.mjs → form-NTIFD6WQ.mjs} +1 -1
- package/dist/client/{headerSection-7FPSSZHS.mjs → headerSection-7TBNKCLA.mjs} +65 -24
- package/dist/client/hooks.mjs +3354 -2006
- package/dist/client/{locationMap-7NGFNYBH.mjs → locationMap-LRLB5A3H.mjs} +1 -1
- package/dist/client/{newsletterForm-F3BADCI2.mjs → newsletterForm-XI52RZSN.mjs} +1 -1
- package/dist/client/{productDetail-V3HP7ITJ.mjs → productDetail-GSNKBFLY.mjs} +5 -5
- package/dist/client/{productList-L3EGJUF2.mjs → productList-BGCGT4KZ.mjs} +5 -5
- package/dist/client/rendering/client.mjs +2570 -1657
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +4275 -2394
- package/dist/client/{shop-DQUB5E2C.mjs → shop-RQHUCLNY.mjs} +5 -5
- package/dist/preview-next/before-render.mjs +24 -0
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +24 -0
- package/dist/{sdk-runtime-AF6KXJU4.mjs → sdk-runtime-A4LHT2RS.mjs} +6 -6
- package/dist/server/components.mjs +4063 -2293
- package/dist/server/config-validation.mjs +3525 -2176
- package/dist/server/config.mjs +3525 -2176
- package/dist/server/data.mjs +3354 -2006
- package/dist/server/index.mjs +25 -1
- package/dist/server/next.mjs +4006 -2236
- package/dist/server/page-converter.mjs +2747 -1816
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +4063 -2293
- package/dist/server/rendering.mjs +4063 -2293
- package/dist/server/routing.mjs +3508 -2111
- package/dist/server/server.mjs +3372 -2024
- package/dist/server/theme-bridge.mjs +1436 -310
- package/dist/server/theme.mjs +409 -219
- package/dist/styles/index.css +300 -33
- package/package.json +1 -1
- package/dist/SdkPreviewModeRuntime-H4BSP6E7.mjs +0 -8
- package/dist/chunk-LCY32PXF.mjs +0 -1175
|
@@ -394,6 +394,24 @@ export declare const appearancePresets: readonly [{
|
|
|
394
394
|
readonly itemSurface: "none";
|
|
395
395
|
readonly transitionAfter: "soft-fade-short";
|
|
396
396
|
readonly emphasis: "high";
|
|
397
|
+
};
|
|
398
|
+
}, {
|
|
399
|
+
readonly kind: "block-design";
|
|
400
|
+
readonly id: "intro-portrait-bio";
|
|
401
|
+
readonly target: "intro";
|
|
402
|
+
readonly label: "Portrait and bio";
|
|
403
|
+
readonly blockKinds: readonly ["block.intro"];
|
|
404
|
+
readonly constraints: {
|
|
405
|
+
readonly layoutVariantKeys: readonly ["media-copy"];
|
|
406
|
+
};
|
|
407
|
+
readonly design: {
|
|
408
|
+
readonly sectionSurface: "base";
|
|
409
|
+
readonly contentFrame: {
|
|
410
|
+
readonly kind: "plain";
|
|
411
|
+
};
|
|
412
|
+
readonly itemSurface: "none";
|
|
413
|
+
readonly transitionAfter: "soft-fade-short";
|
|
414
|
+
readonly emphasis: "medium";
|
|
397
415
|
readonly headingDecoration: {
|
|
398
416
|
readonly family: "organic-squiggle";
|
|
399
417
|
readonly placement: "after-heading";
|
|
@@ -429,11 +447,51 @@ export declare const appearancePresets: readonly [{
|
|
|
429
447
|
readonly itemSurface: "raised";
|
|
430
448
|
readonly transitionAfter: "none";
|
|
431
449
|
readonly emphasis: "high";
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
450
|
+
};
|
|
451
|
+
}, {
|
|
452
|
+
readonly kind: "block-design";
|
|
453
|
+
readonly id: "feature-cards-editorial-columns";
|
|
454
|
+
readonly target: "feature-cards";
|
|
455
|
+
readonly label: "Editorial open columns";
|
|
456
|
+
readonly blockKinds: readonly ["block.feature-cards"];
|
|
457
|
+
readonly design: {
|
|
458
|
+
readonly sectionSurface: "base";
|
|
459
|
+
readonly contentFrame: {
|
|
460
|
+
readonly kind: "plain";
|
|
461
|
+
};
|
|
462
|
+
readonly itemSurface: "editorial";
|
|
463
|
+
readonly transitionAfter: "none";
|
|
464
|
+
readonly emphasis: "medium";
|
|
465
|
+
};
|
|
466
|
+
}, {
|
|
467
|
+
readonly kind: "block-design";
|
|
468
|
+
readonly id: "feature-cards-soft-panels";
|
|
469
|
+
readonly target: "feature-cards";
|
|
470
|
+
readonly label: "Soft tinted panels";
|
|
471
|
+
readonly blockKinds: readonly ["block.feature-cards"];
|
|
472
|
+
readonly design: {
|
|
473
|
+
readonly sectionSurface: "base";
|
|
474
|
+
readonly contentFrame: {
|
|
475
|
+
readonly kind: "plain";
|
|
476
|
+
};
|
|
477
|
+
readonly itemSurface: "inset";
|
|
478
|
+
readonly transitionAfter: "none";
|
|
479
|
+
readonly emphasis: "medium";
|
|
480
|
+
};
|
|
481
|
+
}, {
|
|
482
|
+
readonly kind: "block-design";
|
|
483
|
+
readonly id: "feature-cards-photo-tiles";
|
|
484
|
+
readonly target: "feature-cards";
|
|
485
|
+
readonly label: "Photo tiles";
|
|
486
|
+
readonly blockKinds: readonly ["block.feature-cards"];
|
|
487
|
+
readonly design: {
|
|
488
|
+
readonly sectionSurface: "base";
|
|
489
|
+
readonly contentFrame: {
|
|
490
|
+
readonly kind: "plain";
|
|
436
491
|
};
|
|
492
|
+
readonly itemSurface: "raised";
|
|
493
|
+
readonly transitionAfter: "none";
|
|
494
|
+
readonly emphasis: "high";
|
|
437
495
|
};
|
|
438
496
|
}, {
|
|
439
497
|
readonly kind: "block-design";
|
|
@@ -578,9 +636,25 @@ export declare const appearancePresets: readonly [{
|
|
|
578
636
|
};
|
|
579
637
|
}, {
|
|
580
638
|
readonly kind: "block-design";
|
|
581
|
-
readonly id: "testimonials-
|
|
639
|
+
readonly id: "testimonials-default-cards";
|
|
640
|
+
readonly target: "testimonials";
|
|
641
|
+
readonly label: "Default cards";
|
|
642
|
+
readonly blockKinds: readonly ["block.testimonials"];
|
|
643
|
+
readonly design: {
|
|
644
|
+
readonly sectionSurface: "base";
|
|
645
|
+
readonly contentFrame: {
|
|
646
|
+
readonly kind: "plain";
|
|
647
|
+
};
|
|
648
|
+
readonly itemSurface: "none";
|
|
649
|
+
readonly transitionAfter: "soft-fade-short";
|
|
650
|
+
readonly emphasis: "medium";
|
|
651
|
+
readonly testimonialCardTreatment: "default";
|
|
652
|
+
};
|
|
653
|
+
}, {
|
|
654
|
+
readonly kind: "block-design";
|
|
655
|
+
readonly id: "testimonials-statement-cards";
|
|
582
656
|
readonly target: "testimonials";
|
|
583
|
-
readonly label: "
|
|
657
|
+
readonly label: "Statement cards";
|
|
584
658
|
readonly blockKinds: readonly ["block.testimonials"];
|
|
585
659
|
readonly design: {
|
|
586
660
|
readonly sectionSurface: "accent-band";
|
|
@@ -590,28 +664,23 @@ export declare const appearancePresets: readonly [{
|
|
|
590
664
|
readonly itemSurface: "raised";
|
|
591
665
|
readonly transitionAfter: "soft-fade-short";
|
|
592
666
|
readonly emphasis: "high";
|
|
593
|
-
readonly testimonialCardTreatment: "
|
|
667
|
+
readonly testimonialCardTreatment: "statement";
|
|
594
668
|
};
|
|
595
669
|
}, {
|
|
596
670
|
readonly kind: "block-design";
|
|
597
|
-
readonly id: "testimonials-
|
|
671
|
+
readonly id: "testimonials-non-carded";
|
|
598
672
|
readonly target: "testimonials";
|
|
599
|
-
readonly label: "
|
|
673
|
+
readonly label: "Non-carded";
|
|
600
674
|
readonly blockKinds: readonly ["block.testimonials"];
|
|
601
675
|
readonly design: {
|
|
602
|
-
readonly sectionSurface: "
|
|
676
|
+
readonly sectionSurface: "muted-band";
|
|
603
677
|
readonly contentFrame: {
|
|
604
678
|
readonly kind: "plain";
|
|
605
679
|
};
|
|
606
680
|
readonly itemSurface: "none";
|
|
607
681
|
readonly transitionAfter: "soft-fade-short";
|
|
608
|
-
readonly emphasis: "
|
|
609
|
-
readonly testimonialCardTreatment: "
|
|
610
|
-
readonly headingDecoration: {
|
|
611
|
-
readonly family: "short-center-rule";
|
|
612
|
-
readonly placement: "under-centered-heading";
|
|
613
|
-
readonly colorToken: "border";
|
|
614
|
-
};
|
|
682
|
+
readonly emphasis: "medium";
|
|
683
|
+
readonly testimonialCardTreatment: "non-carded";
|
|
615
684
|
};
|
|
616
685
|
}, {
|
|
617
686
|
readonly kind: "block-design";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BlockLayoutFamily } from './blockFlow';
|
|
2
|
-
import type { ContentFrameIntent, EyebrowTreatment, EventListTreatment, HeroCompositionIntent, HeroLegibilityStrategy, HeroTypographyScaleIntent,
|
|
2
|
+
import type { ContentFrameIntent, EyebrowTreatment, EventListTreatment, HeroCompositionIntent, HeroLegibilityStrategy, HeroTypographyScaleIntent, ImageSurfaceMotion, ImageSurfaceTreatment, AccordionIconTreatment, NonEmptyReadonlyArray, SectionHeightIntent, SiteStyleEmphasis, SiteStyleItemSurfaceIntent, SiteStyleSectionTransitionIntent, SiteStyleSurfaceIntent, TestimonialCardTreatment, TileTreatment } from './types';
|
|
3
3
|
export type AppearancePresetTarget = 'hero' | 'intro' | 'body-text' | 'offerings' | 'feature-cards' | 'events' | 'media-text' | 'testimonials' | 'faq' | 'contact-form' | 'cta';
|
|
4
4
|
export type BlockAppearanceDesign = Readonly<{
|
|
5
5
|
sectionSurface: SiteStyleSurfaceIntent;
|
|
@@ -17,14 +17,13 @@ export type BlockAppearanceDesign = Readonly<{
|
|
|
17
17
|
tileTreatment?: TileTreatment;
|
|
18
18
|
eventListTreatment?: EventListTreatment;
|
|
19
19
|
eyebrowTreatment?: EyebrowTreatment;
|
|
20
|
-
headingDecoration?: HeadingDecoration;
|
|
21
20
|
accordionIconTreatment?: AccordionIconTreatment | null;
|
|
22
21
|
}>;
|
|
23
22
|
export type BlockAppearancePresetConstraints = Readonly<{
|
|
24
23
|
layoutFamilies?: readonly BlockLayoutFamily[];
|
|
25
24
|
layoutVariantKeys?: readonly string[];
|
|
26
25
|
}>;
|
|
27
|
-
export type BlockAppearanceOptionDesignPatch = Readonly<Partial<Pick<BlockAppearanceDesign, 'heroLegibility' | 'heroComposition' | 'heroTypographyScale' | 'imageSurfaceTreatment' | 'imageSurfaceMotion' | 'sectionHeight' | 'testimonialCardTreatment' | 'tileTreatment' | 'eventListTreatment' | 'eyebrowTreatment' | '
|
|
26
|
+
export type BlockAppearanceOptionDesignPatch = Readonly<Partial<Pick<BlockAppearanceDesign, 'heroLegibility' | 'heroComposition' | 'heroTypographyScale' | 'imageSurfaceTreatment' | 'imageSurfaceMotion' | 'sectionHeight' | 'testimonialCardTreatment' | 'tileTreatment' | 'eventListTreatment' | 'eyebrowTreatment' | 'accordionIconTreatment'>>>;
|
|
28
27
|
export type BlockAppearanceLayoutDesignPatch = BlockAppearanceOptionDesignPatch;
|
|
29
28
|
export type BlockAppearanceOption = Readonly<{
|
|
30
29
|
id: string;
|
|
@@ -393,6 +393,24 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
393
393
|
readonly itemSurface: "none";
|
|
394
394
|
readonly transitionAfter: "soft-fade-short";
|
|
395
395
|
readonly emphasis: "high";
|
|
396
|
+
};
|
|
397
|
+
}, {
|
|
398
|
+
readonly kind: "block-design";
|
|
399
|
+
readonly id: "intro-portrait-bio";
|
|
400
|
+
readonly target: "intro";
|
|
401
|
+
readonly label: "Portrait and bio";
|
|
402
|
+
readonly blockKinds: readonly ["block.intro"];
|
|
403
|
+
readonly constraints: {
|
|
404
|
+
readonly layoutVariantKeys: readonly ["media-copy"];
|
|
405
|
+
};
|
|
406
|
+
readonly design: {
|
|
407
|
+
readonly sectionSurface: "base";
|
|
408
|
+
readonly contentFrame: {
|
|
409
|
+
readonly kind: "plain";
|
|
410
|
+
};
|
|
411
|
+
readonly itemSurface: "none";
|
|
412
|
+
readonly transitionAfter: "soft-fade-short";
|
|
413
|
+
readonly emphasis: "medium";
|
|
396
414
|
readonly headingDecoration: {
|
|
397
415
|
readonly family: "organic-squiggle";
|
|
398
416
|
readonly placement: "after-heading";
|
|
@@ -428,11 +446,51 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
428
446
|
readonly itemSurface: "raised";
|
|
429
447
|
readonly transitionAfter: "none";
|
|
430
448
|
readonly emphasis: "high";
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
449
|
+
};
|
|
450
|
+
}, {
|
|
451
|
+
readonly kind: "block-design";
|
|
452
|
+
readonly id: "feature-cards-editorial-columns";
|
|
453
|
+
readonly target: "feature-cards";
|
|
454
|
+
readonly label: "Editorial open columns";
|
|
455
|
+
readonly blockKinds: readonly ["block.feature-cards"];
|
|
456
|
+
readonly design: {
|
|
457
|
+
readonly sectionSurface: "base";
|
|
458
|
+
readonly contentFrame: {
|
|
459
|
+
readonly kind: "plain";
|
|
460
|
+
};
|
|
461
|
+
readonly itemSurface: "editorial";
|
|
462
|
+
readonly transitionAfter: "none";
|
|
463
|
+
readonly emphasis: "medium";
|
|
464
|
+
};
|
|
465
|
+
}, {
|
|
466
|
+
readonly kind: "block-design";
|
|
467
|
+
readonly id: "feature-cards-soft-panels";
|
|
468
|
+
readonly target: "feature-cards";
|
|
469
|
+
readonly label: "Soft tinted panels";
|
|
470
|
+
readonly blockKinds: readonly ["block.feature-cards"];
|
|
471
|
+
readonly design: {
|
|
472
|
+
readonly sectionSurface: "base";
|
|
473
|
+
readonly contentFrame: {
|
|
474
|
+
readonly kind: "plain";
|
|
475
|
+
};
|
|
476
|
+
readonly itemSurface: "inset";
|
|
477
|
+
readonly transitionAfter: "none";
|
|
478
|
+
readonly emphasis: "medium";
|
|
479
|
+
};
|
|
480
|
+
}, {
|
|
481
|
+
readonly kind: "block-design";
|
|
482
|
+
readonly id: "feature-cards-photo-tiles";
|
|
483
|
+
readonly target: "feature-cards";
|
|
484
|
+
readonly label: "Photo tiles";
|
|
485
|
+
readonly blockKinds: readonly ["block.feature-cards"];
|
|
486
|
+
readonly design: {
|
|
487
|
+
readonly sectionSurface: "base";
|
|
488
|
+
readonly contentFrame: {
|
|
489
|
+
readonly kind: "plain";
|
|
435
490
|
};
|
|
491
|
+
readonly itemSurface: "raised";
|
|
492
|
+
readonly transitionAfter: "none";
|
|
493
|
+
readonly emphasis: "high";
|
|
436
494
|
};
|
|
437
495
|
}, {
|
|
438
496
|
readonly kind: "block-design";
|
|
@@ -577,9 +635,25 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
577
635
|
};
|
|
578
636
|
}, {
|
|
579
637
|
readonly kind: "block-design";
|
|
580
|
-
readonly id: "testimonials-
|
|
638
|
+
readonly id: "testimonials-default-cards";
|
|
639
|
+
readonly target: "testimonials";
|
|
640
|
+
readonly label: "Default cards";
|
|
641
|
+
readonly blockKinds: readonly ["block.testimonials"];
|
|
642
|
+
readonly design: {
|
|
643
|
+
readonly sectionSurface: "base";
|
|
644
|
+
readonly contentFrame: {
|
|
645
|
+
readonly kind: "plain";
|
|
646
|
+
};
|
|
647
|
+
readonly itemSurface: "none";
|
|
648
|
+
readonly transitionAfter: "soft-fade-short";
|
|
649
|
+
readonly emphasis: "medium";
|
|
650
|
+
readonly testimonialCardTreatment: "default";
|
|
651
|
+
};
|
|
652
|
+
}, {
|
|
653
|
+
readonly kind: "block-design";
|
|
654
|
+
readonly id: "testimonials-statement-cards";
|
|
581
655
|
readonly target: "testimonials";
|
|
582
|
-
readonly label: "
|
|
656
|
+
readonly label: "Statement cards";
|
|
583
657
|
readonly blockKinds: readonly ["block.testimonials"];
|
|
584
658
|
readonly design: {
|
|
585
659
|
readonly sectionSurface: "accent-band";
|
|
@@ -589,28 +663,23 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
589
663
|
readonly itemSurface: "raised";
|
|
590
664
|
readonly transitionAfter: "soft-fade-short";
|
|
591
665
|
readonly emphasis: "high";
|
|
592
|
-
readonly testimonialCardTreatment: "
|
|
666
|
+
readonly testimonialCardTreatment: "statement";
|
|
593
667
|
};
|
|
594
668
|
}, {
|
|
595
669
|
readonly kind: "block-design";
|
|
596
|
-
readonly id: "testimonials-
|
|
670
|
+
readonly id: "testimonials-non-carded";
|
|
597
671
|
readonly target: "testimonials";
|
|
598
|
-
readonly label: "
|
|
672
|
+
readonly label: "Non-carded";
|
|
599
673
|
readonly blockKinds: readonly ["block.testimonials"];
|
|
600
674
|
readonly design: {
|
|
601
|
-
readonly sectionSurface: "
|
|
675
|
+
readonly sectionSurface: "muted-band";
|
|
602
676
|
readonly contentFrame: {
|
|
603
677
|
readonly kind: "plain";
|
|
604
678
|
};
|
|
605
679
|
readonly itemSurface: "none";
|
|
606
680
|
readonly transitionAfter: "soft-fade-short";
|
|
607
|
-
readonly emphasis: "
|
|
608
|
-
readonly testimonialCardTreatment: "
|
|
609
|
-
readonly headingDecoration: {
|
|
610
|
-
readonly family: "short-center-rule";
|
|
611
|
-
readonly placement: "under-centered-heading";
|
|
612
|
-
readonly colorToken: "border";
|
|
613
|
-
};
|
|
681
|
+
readonly emphasis: "medium";
|
|
682
|
+
readonly testimonialCardTreatment: "non-carded";
|
|
614
683
|
};
|
|
615
684
|
}, {
|
|
616
685
|
readonly kind: "block-design";
|
|
@@ -4,7 +4,7 @@ import type { Theme } from '../schema';
|
|
|
4
4
|
import { type HeaderLayoutId, type HeaderLayoutIdValue, type HeaderLookId, type HeaderStyleId } from './headerLooks';
|
|
5
5
|
import { type FooterLookId } from './footerLooks';
|
|
6
6
|
import { type CuratedChoice } from './curatedChoices';
|
|
7
|
-
import { type AppearancePresetId, type DesignSystemTemplate, type NonEmptyReadonlyArray, type SiteStyleId } from './types';
|
|
7
|
+
import { type AppearancePresetId, type DesignSystemTemplate, type HeadingDecoration, type NonEmptyReadonlyArray, type SiteStyleId } from './types';
|
|
8
8
|
import { type KnownTypographyPresetId, type TypographyPresetId } from './typographyPresets';
|
|
9
9
|
export declare const SOFT_EARTH_SITE_STYLE_ID_VALUE: "site-style:soft-earth";
|
|
10
10
|
export declare const SOFT_EARTH_SITE_STYLE_ID: SiteStyleId;
|
|
@@ -18,6 +18,8 @@ type CuratedSiteStyleBodyTextOverrides = Readonly<{
|
|
|
18
18
|
}>;
|
|
19
19
|
type CuratedSiteStyleInputOverrides = NonNullable<Theme['inputs']>;
|
|
20
20
|
type CuratedSiteStyleAccordionOverrides = NonNullable<Theme['accordions']>;
|
|
21
|
+
type CuratedSiteStyleCardOverrides = NonNullable<Theme['cards']>;
|
|
22
|
+
type CuratedSiteStyleTestimonialQuoteOverrides = NonNullable<Theme['testimonialQuote']>;
|
|
21
23
|
/**
|
|
22
24
|
* Site-style-specific Theme overrides are applied after token recipes,
|
|
23
25
|
* button personality, and palette variant selection have compiled the base
|
|
@@ -34,6 +36,17 @@ export type CuratedSiteStyleThemeOverrides = Readonly<{
|
|
|
34
36
|
*/
|
|
35
37
|
inputs?: CuratedSiteStyleInputOverrides;
|
|
36
38
|
accordions?: CuratedSiteStyleAccordionOverrides;
|
|
39
|
+
/**
|
|
40
|
+
* Card variants (default + optional alternative/statement) the site style
|
|
41
|
+
* owns. Card-using blocks resolve a variant by role; see generateCardCss,
|
|
42
|
+
* which emits a `.card-{id}` class per enabled variant.
|
|
43
|
+
*/
|
|
44
|
+
cards?: CuratedSiteStyleCardOverrides;
|
|
45
|
+
/**
|
|
46
|
+
* Testimonial quote-mark treatment the site style owns (analogue of the FAQ
|
|
47
|
+
* accordion icon). Every curated style declares one; looks may still hide it.
|
|
48
|
+
*/
|
|
49
|
+
testimonialQuote?: CuratedSiteStyleTestimonialQuoteOverrides;
|
|
37
50
|
}>;
|
|
38
51
|
export type ButtonPersonalityChoice = CuratedChoice<KnownButtonPersonalityId>;
|
|
39
52
|
export type PaletteVariantChoice = CuratedChoice<KnownPaletteVariantId>;
|
|
@@ -77,6 +90,12 @@ export type CuratedSiteStyle = Readonly<{
|
|
|
77
90
|
template: DesignSystemTemplate;
|
|
78
91
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
79
92
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
93
|
+
/**
|
|
94
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
95
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
96
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
97
|
+
*/
|
|
98
|
+
headingDecoration: HeadingDecoration;
|
|
80
99
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
81
100
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
82
101
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -109,6 +128,12 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
109
128
|
template: DesignSystemTemplate;
|
|
110
129
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
111
130
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
131
|
+
/**
|
|
132
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
133
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
134
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
135
|
+
*/
|
|
136
|
+
headingDecoration: HeadingDecoration;
|
|
112
137
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
113
138
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
114
139
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -132,6 +157,12 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
132
157
|
template: DesignSystemTemplate;
|
|
133
158
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
134
159
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
160
|
+
/**
|
|
161
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
162
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
163
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
164
|
+
*/
|
|
165
|
+
headingDecoration: HeadingDecoration;
|
|
135
166
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
136
167
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
137
168
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -155,6 +186,12 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
155
186
|
template: DesignSystemTemplate;
|
|
156
187
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
157
188
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
189
|
+
/**
|
|
190
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
191
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
192
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
193
|
+
*/
|
|
194
|
+
headingDecoration: HeadingDecoration;
|
|
158
195
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
159
196
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
160
197
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -178,6 +215,12 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
178
215
|
template: DesignSystemTemplate;
|
|
179
216
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
180
217
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
218
|
+
/**
|
|
219
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
220
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
221
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
222
|
+
*/
|
|
223
|
+
headingDecoration: HeadingDecoration;
|
|
181
224
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
182
225
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
183
226
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -201,6 +244,12 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
201
244
|
template: DesignSystemTemplate;
|
|
202
245
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
203
246
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
247
|
+
/**
|
|
248
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
249
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
250
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
251
|
+
*/
|
|
252
|
+
headingDecoration: HeadingDecoration;
|
|
204
253
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
205
254
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
206
255
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -224,6 +273,12 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
224
273
|
template: DesignSystemTemplate;
|
|
225
274
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
226
275
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
276
|
+
/**
|
|
277
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
278
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
279
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
280
|
+
*/
|
|
281
|
+
headingDecoration: HeadingDecoration;
|
|
227
282
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
228
283
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
229
284
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -247,6 +302,12 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
247
302
|
template: DesignSystemTemplate;
|
|
248
303
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
249
304
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
305
|
+
/**
|
|
306
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
307
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
308
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
309
|
+
*/
|
|
310
|
+
headingDecoration: HeadingDecoration;
|
|
250
311
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
251
312
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
252
313
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -270,6 +331,12 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
270
331
|
template: DesignSystemTemplate;
|
|
271
332
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
272
333
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
334
|
+
/**
|
|
335
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
336
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
337
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
338
|
+
*/
|
|
339
|
+
headingDecoration: HeadingDecoration;
|
|
273
340
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
274
341
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
275
342
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -293,6 +360,12 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
293
360
|
template: DesignSystemTemplate;
|
|
294
361
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
295
362
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
363
|
+
/**
|
|
364
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
365
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
366
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
367
|
+
*/
|
|
368
|
+
headingDecoration: HeadingDecoration;
|
|
296
369
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
297
370
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
298
371
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -316,6 +389,12 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
316
389
|
template: DesignSystemTemplate;
|
|
317
390
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
318
391
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
392
|
+
/**
|
|
393
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
394
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
395
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
396
|
+
*/
|
|
397
|
+
headingDecoration: HeadingDecoration;
|
|
319
398
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
320
399
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
321
400
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -339,6 +418,12 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
339
418
|
template: DesignSystemTemplate;
|
|
340
419
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
341
420
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
421
|
+
/**
|
|
422
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
423
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
424
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
425
|
+
*/
|
|
426
|
+
headingDecoration: HeadingDecoration;
|
|
342
427
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
343
428
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
344
429
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -362,6 +447,12 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
362
447
|
template: DesignSystemTemplate;
|
|
363
448
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
364
449
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
450
|
+
/**
|
|
451
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
452
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
453
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
454
|
+
*/
|
|
455
|
+
headingDecoration: HeadingDecoration;
|
|
365
456
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
366
457
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
367
458
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -385,6 +476,12 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
385
476
|
template: DesignSystemTemplate;
|
|
386
477
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
387
478
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
479
|
+
/**
|
|
480
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
481
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
482
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
483
|
+
*/
|
|
484
|
+
headingDecoration: HeadingDecoration;
|
|
388
485
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
389
486
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
390
487
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -408,6 +505,12 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
408
505
|
template: DesignSystemTemplate;
|
|
409
506
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
410
507
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
508
|
+
/**
|
|
509
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
510
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
511
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
512
|
+
*/
|
|
513
|
+
headingDecoration: HeadingDecoration;
|
|
411
514
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
412
515
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
413
516
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -432,6 +535,12 @@ export declare const curatedSiteStylesById: Map<SiteStyleId, Readonly<{
|
|
|
432
535
|
template: DesignSystemTemplate;
|
|
433
536
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
434
537
|
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
538
|
+
/**
|
|
539
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
540
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
541
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
542
|
+
*/
|
|
543
|
+
headingDecoration: HeadingDecoration;
|
|
435
544
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
436
545
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
437
546
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Theme } from '../schema';
|
|
2
2
|
import { type SiteChromeLookDiagnostics } from './customizableSurfaces';
|
|
3
3
|
import { type Brand } from './types';
|
|
4
|
-
export declare const footerLookIdValues: readonly ["footer-muted-grounding", "site-footer-brand-two-band"];
|
|
4
|
+
export declare const footerLookIdValues: readonly ["footer-muted-grounding", "footer-centered-calm", "footer-editorial-columns", "site-footer-brand-two-band"];
|
|
5
5
|
export type FooterLookIdValue = typeof footerLookIdValues[number];
|
|
6
6
|
export type FooterLookId = Brand<FooterLookIdValue, 'FooterLookId'>;
|
|
7
7
|
export declare function asFooterLookId(value: FooterLookIdValue): FooterLookId;
|
|
@@ -52,10 +52,29 @@ export declare const guaranteedFallbackFooterLookId: FooterLookId;
|
|
|
52
52
|
declare function mutedGroundingFooter(theme: Theme): Theme['footer'];
|
|
53
53
|
/** Applies a high-contrast brand band with a darker full-bleed bottom bar. */
|
|
54
54
|
declare function brandTwoBandFooter(theme: Theme): Theme['footer'];
|
|
55
|
+
/**
|
|
56
|
+
* Centered stack on a softly tinted band: logo, inline nav, address, and a
|
|
57
|
+
* hairline-topped copyright line, all centered.
|
|
58
|
+
*/
|
|
59
|
+
declare function centeredCalmFooter(theme: Theme): Theme['footer'];
|
|
60
|
+
/**
|
|
61
|
+
* Editorial columns: site name and supporting copy on the left, inline nav on
|
|
62
|
+
* the right, with a hairline-topped bottom line. Uses the footer block's
|
|
63
|
+
* columns layout.
|
|
64
|
+
*/
|
|
65
|
+
declare function editorialColumnsFooter(theme: Theme): Theme['footer'];
|
|
55
66
|
export declare const footerLookCatalog: readonly [{
|
|
56
67
|
readonly id: FooterLookId;
|
|
57
68
|
readonly label: "Muted grounding footer";
|
|
58
69
|
readonly compile: typeof mutedGroundingFooter;
|
|
70
|
+
}, {
|
|
71
|
+
readonly id: FooterLookId;
|
|
72
|
+
readonly label: "Centered calm footer";
|
|
73
|
+
readonly compile: typeof centeredCalmFooter;
|
|
74
|
+
}, {
|
|
75
|
+
readonly id: FooterLookId;
|
|
76
|
+
readonly label: "Editorial columns footer";
|
|
77
|
+
readonly compile: typeof editorialColumnsFooter;
|
|
59
78
|
}, {
|
|
60
79
|
readonly id: FooterLookId;
|
|
61
80
|
readonly label: "Two-band brand footer";
|
|
@@ -82,6 +82,8 @@ export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
|
|
|
82
82
|
flat: "flat";
|
|
83
83
|
none: "none";
|
|
84
84
|
default: "default";
|
|
85
|
+
inset: "inset";
|
|
86
|
+
editorial: "editorial";
|
|
85
87
|
raised: "raised";
|
|
86
88
|
outlined: "outlined";
|
|
87
89
|
}>;
|
|
@@ -230,6 +232,8 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
|
|
|
230
232
|
flat: "flat";
|
|
231
233
|
none: "none";
|
|
232
234
|
default: "default";
|
|
235
|
+
inset: "inset";
|
|
236
|
+
editorial: "editorial";
|
|
233
237
|
raised: "raised";
|
|
234
238
|
outlined: "outlined";
|
|
235
239
|
}>;
|