@riverbankcms/sdk 0.75.0 → 0.77.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 +2 -0
- package/dist/{PreviewEditorSidebar-U2IHCBYN.mjs → PreviewEditorSidebar-XSX7QKHQ.mjs} +1179 -519
- package/dist/{PreviewEditorUI-ZGH2RQNP.mjs → PreviewEditorUI-YZNEZ3QD.mjs} +2 -2
- package/dist/SdkPreviewModeRuntime-5FS5E6BI.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +528 -20
- package/dist/_dts/api/src/bookingOperations.d.ts +12 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +5 -0
- package/dist/_dts/api/src/index.d.ts +1 -1
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +11 -3
- package/dist/_dts/api/src/siteAssets.d.ts +1 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +26 -2
- package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +28 -1
- package/dist/_dts/block-form/src/client/index.d.ts +2 -2
- package/dist/_dts/block-form/src/index.d.ts +2 -1
- package/dist/_dts/block-form/src/manifest/utils.d.ts +24 -0
- package/dist/_dts/block-form/src/widgets/DateField/dateFieldSchema.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/DateTimeField/dateTimeFieldSchema.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/TimeField/timeFieldSchema.d.ts +1 -1
- package/dist/_dts/blocks/src/PageRenderer.d.ts +10 -10
- package/dist/_dts/blocks/src/client/events.d.ts +3 -1
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +22 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +4 -4
- package/dist/_dts/blocks/src/customBlockRegistry.d.ts +38 -0
- package/dist/_dts/blocks/src/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +20 -2
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +25 -0
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/intro.d.ts +24 -0
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +3 -34
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fields/aspectRatio.d.ts +30 -0
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +4 -1
- package/dist/_dts/blocks/src/system/fields/ctas.d.ts +7 -0
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +11 -2
- 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 +6 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/accordion.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/accordion.server.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/accordionIconTreatment.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +3 -27
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +163 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -5
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionCompactRow.d.ts +29 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionList.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +4 -3
- package/dist/_dts/blocks/src/system/runtime/shared/utils/bookingRoute.d.ts +20 -0
- package/dist/_dts/blocks/src/system/runtime/shared/utils/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +1 -0
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +2 -1
- package/dist/_dts/blocks/src/system/types/link.d.ts +12 -0
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +2 -0
- package/dist/_dts/content-editor/src/hooks/blockDraftLifecycle.d.ts +48 -0
- package/dist/_dts/content-editor/src/hooks/invalidBlockSelectors.d.ts +4 -0
- package/dist/_dts/content-editor/src/hooks/publishability.d.ts +47 -0
- package/dist/_dts/content-editor/src/index.d.ts +1 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +20 -0
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +4 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +3 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +3 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockSettingsModal.d.ts +5 -1
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +4 -1
- package/dist/_dts/editor-blocks/src/block-editor/actionControlMode.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/block-editor/customBlockRegistry.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/block-editor/sdkBlockMerger.d.ts +9 -37
- package/dist/_dts/editor-blocks/src/index.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/index.d.ts +3 -0
- package/dist/_dts/preview-next/src/client/layout/PreviewLayoutContext.d.ts +5 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignCoordinatorContext.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +7 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +7 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +7 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewThemedSiteDocument.d.ts +18 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +20 -3
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +6 -1
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +14 -4
- package/dist/_dts/preview-next/src/client/preview/previewDesignCoordinator.d.ts +73 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +12 -4
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +46 -0
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +6 -1
- package/dist/_dts/preview-next/src/client/preview/themeOverlay.d.ts +21 -3
- package/dist/_dts/preview-next/src/client/preview/typographySelectionInput.d.ts +14 -0
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewModeRuntime.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +8 -0
- package/dist/_dts/sdk/src/client/management/types.d.ts +6 -1
- package/dist/_dts/sdk/src/client/types.d.ts +9 -0
- package/dist/_dts/sdk/src/client.d.ts +1 -1
- package/dist/_dts/sdk/src/components.d.ts +2 -2
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +35 -0
- package/dist/_dts/sdk/src/index.d.ts +2 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +5 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/overrideResolution.d.ts +6 -0
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +21 -1
- package/dist/_dts/sdk/src/rendering/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/commands.d.ts +15 -0
- package/dist/_dts/theme-core/src/buttons/personalities/earth-pill.d.ts +16 -0
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
- package/dist/_dts/theme-core/src/fonts/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +45 -0
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
- package/dist/_dts/theme-core/src/palette/variants/warm-neutral.d.ts +16 -0
- package/dist/_dts/theme-core/src/schema.d.ts +280 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +81 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +6 -4
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +81 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +118 -2
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +13 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +364 -5
- package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +6 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/persistedIdParseResult.d.ts +9 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +20 -4
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +74 -2
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +189 -0
- package/dist/{chunk-Z7JLNTJR.mjs → chunk-6SMUFTXD.mjs} +2 -1
- package/dist/{chunk-ZSHFGFUG.mjs → chunk-ANKDYZ2E.mjs} +1 -1
- package/dist/{chunk-BGMNDF6T.mjs → chunk-EAWHBECW.mjs} +476 -153
- package/dist/{chunk-RWXQBRQZ.mjs → chunk-GSQX43EZ.mjs} +450 -63
- package/dist/{chunk-GFE74WRD.mjs → chunk-WLQBJN2Z.mjs} +3275 -435
- package/dist/cli/index.mjs +2023 -181
- package/dist/client/{accordion-T2UD2ZTH.mjs → accordion-RZMQSYLR.mjs} +1 -1
- package/dist/client/{bookingForm-GUP75FKN.mjs → bookingForm-NF4ASVNV.mjs} +3 -13
- package/dist/client/bookings.mjs +103 -11
- package/dist/client/{carousel-2NQA6V57.mjs → carousel-LDX47ZIK.mjs} +1 -1
- package/dist/client/{cart-5TFIAFDS.mjs → cart-RGXDS5F4.mjs} +4 -4
- package/dist/client/{checkout-TP4WAHZE.mjs → checkout-P7WWSNNY.mjs} +4 -4
- package/dist/client/{chunk-ZLMS67RR.mjs → chunk-E2TDNXCL.mjs} +1 -1
- package/dist/client/{chunk-NWOUL6JY.mjs → chunk-GMVTOKYG.mjs} +3 -3
- package/dist/client/{chunk-CY2ZTSE5.mjs → chunk-JNC7CGHX.mjs} +1 -1
- package/dist/client/{chunk-VUAOE3AG.mjs → chunk-L3DNHIJX.mjs} +4 -4
- package/dist/client/{chunk-FU2QRZMX.mjs → chunk-R56FQ3RR.mjs} +163 -24
- package/dist/client/{chunk-WJXXNDSE.mjs → chunk-UFSWADAO.mjs} +1 -1
- package/dist/client/client.mjs +4392 -2504
- package/dist/client/{courseRegistration-5DPU6PDY.mjs → courseRegistration-7F65K5ZR.mjs} +3 -3
- package/dist/client/{eventCalendar-F3GZGTEF.mjs → eventCalendar-GLSC5KTL.mjs} +5 -5
- package/dist/client/{eventCombined-BQOB6QMY.mjs → eventCombined-ZHK4WKUR.mjs} +5 -5
- package/dist/client/{eventDetails-PEM2EJWE.mjs → eventDetails-E3PJYBIN.mjs} +5 -5
- package/dist/client/{eventListing-YMIQPVME.mjs → eventListing-EMS3WC3E.mjs} +5 -5
- package/dist/client/{eventRegistration-4I6ZNDUF.mjs → eventRegistration-NZOTVNPI.mjs} +5 -5
- package/dist/client/{form-ZJVAYZ6G.mjs → form-ETFZFATW.mjs} +1 -1
- package/dist/client/{headerSection-TOT5MGTF.mjs → headerSection-4LBP7ULT.mjs} +2 -2
- package/dist/client/hooks.mjs +1918 -293
- package/dist/client/{locationMap-J66NZREU.mjs → locationMap-5M655YSJ.mjs} +1 -1
- package/dist/client/{newsletterForm-ET2XUMRO.mjs → newsletterForm-QOUYW44O.mjs} +1 -1
- package/dist/client/{productDetail-C2XIH7C5.mjs → productDetail-O4DOCWQG.mjs} +4 -4
- package/dist/client/{productList-T2AZLFTP.mjs → productList-A5RO5WIS.mjs} +4 -4
- package/dist/client/rendering/client.mjs +3328 -3177
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +5461 -3584
- package/dist/client/{shop-UZ6IUZXD.mjs → shop-L4MZH4I2.mjs} +4 -4
- package/dist/preview-next/chrome.css +1 -1
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/editor-base.css +2 -148
- package/dist/preview-next/editor-chrome.css +179 -0
- package/dist/{sdk-runtime-JCUQM63Y.mjs → sdk-runtime-Q6MTR4KL.mjs} +5 -5
- package/dist/server/components.mjs +2983 -1093
- package/dist/server/config-validation.mjs +1921 -293
- package/dist/server/config.mjs +1921 -293
- package/dist/server/data.mjs +1918 -293
- package/dist/server/index.mjs +31 -2
- package/dist/server/next.mjs +2951 -1043
- package/dist/server/page-converter.mjs +1894 -281
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +2995 -1096
- package/dist/server/rendering.mjs +2988 -1098
- package/dist/server/routing.mjs +1963 -275
- package/dist/server/server.mjs +1932 -288
- package/dist/server/theme-bridge.mjs +158 -1
- package/dist/server/theme.mjs +158 -1
- package/package.json +1 -1
- package/dist/SdkPreviewModeRuntime-MTUGBTLQ.mjs +0 -8
- /package/dist/client/{chunk-2PHQZ666.mjs → chunk-JEZECJ3W.mjs} +0 -0
|
@@ -532,6 +532,97 @@ var confidentChip = defineButtonPersonality({
|
|
|
532
532
|
}
|
|
533
533
|
});
|
|
534
534
|
|
|
535
|
+
// ../theme-core/src/buttons/personalities/earth-pill.ts
|
|
536
|
+
var earthPill = defineButtonPersonality({
|
|
537
|
+
id: "earth-pill",
|
|
538
|
+
name: "Earth Pill",
|
|
539
|
+
description: "Compact terracotta pills with quiet primary-coloured ghost CTAs.",
|
|
540
|
+
tags: { tone: "classic", energy: "calm", motion: "subtle", era: "organic" },
|
|
541
|
+
buttonSystem: {
|
|
542
|
+
global: {
|
|
543
|
+
cornerStyle: "pill",
|
|
544
|
+
shadow: "low",
|
|
545
|
+
textTransform: "none",
|
|
546
|
+
fontWeight: 500,
|
|
547
|
+
borderWidth: 1,
|
|
548
|
+
hoverTransform: "lift",
|
|
549
|
+
hoverColor: "none",
|
|
550
|
+
typography: "body",
|
|
551
|
+
paddingPreset: "default"
|
|
552
|
+
},
|
|
553
|
+
sizes: {
|
|
554
|
+
sm: { padding: "0.5rem 1rem", fontSize: "text-sm" },
|
|
555
|
+
md: { padding: "0.625rem 1.35rem" },
|
|
556
|
+
lg: { padding: "0.75rem 1.65rem", fontSize: "text-lg" },
|
|
557
|
+
xl: { padding: "0.875rem 2rem", fontSize: "text-xl" }
|
|
558
|
+
},
|
|
559
|
+
variants: [
|
|
560
|
+
{
|
|
561
|
+
id: "primary",
|
|
562
|
+
name: "Primary",
|
|
563
|
+
enabled: true,
|
|
564
|
+
priority: 1,
|
|
565
|
+
background: { type: "solid", colorToken: "primary" },
|
|
566
|
+
textColorToken: "primaryForeground",
|
|
567
|
+
borderRadius: "rounded-full",
|
|
568
|
+
shadow: { elevation: "low", softness: "soft", position: "bottom" },
|
|
569
|
+
effects: {
|
|
570
|
+
hover: [
|
|
571
|
+
{ effectId: "lift", options: { translateY: "-1px" } },
|
|
572
|
+
{ effectId: "background-on-hover", options: { colorToken: "accent" } }
|
|
573
|
+
],
|
|
574
|
+
active: [{ effectId: "scale-down", options: { scale: "0.98" } }]
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
id: "secondary",
|
|
579
|
+
name: "Secondary",
|
|
580
|
+
enabled: true,
|
|
581
|
+
priority: 2,
|
|
582
|
+
background: { type: "transparent" },
|
|
583
|
+
textColorToken: "primary",
|
|
584
|
+
borderRadius: "rounded-full",
|
|
585
|
+
border: { widthClass: "border", colorToken: "primary" },
|
|
586
|
+
effects: {
|
|
587
|
+
hover: [{ effectId: "background-on-hover", options: { colorToken: "muted" } }]
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
id: "outline",
|
|
592
|
+
name: "Outline",
|
|
593
|
+
enabled: true,
|
|
594
|
+
priority: 3,
|
|
595
|
+
background: { type: "transparent" },
|
|
596
|
+
textColorToken: "text",
|
|
597
|
+
borderRadius: "rounded-full",
|
|
598
|
+
border: { widthClass: "border", colorToken: "border" },
|
|
599
|
+
effects: {
|
|
600
|
+
hover: [{ effectId: "background-on-hover", options: { colorToken: "surfaceAlt" } }]
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
id: "ghost",
|
|
605
|
+
name: "Ghost",
|
|
606
|
+
enabled: true,
|
|
607
|
+
priority: 3,
|
|
608
|
+
background: { type: "transparent" },
|
|
609
|
+
textColorToken: "primary",
|
|
610
|
+
borderRadius: "rounded-full",
|
|
611
|
+
shadow: { elevation: "none", softness: null, position: "bottom" },
|
|
612
|
+
sizes: {
|
|
613
|
+
sm: { padding: "0.25rem 0", fontSize: "text-sm" },
|
|
614
|
+
md: { padding: "0.375rem 0" },
|
|
615
|
+
lg: { padding: "0.5rem 0", fontSize: "text-lg" },
|
|
616
|
+
xl: { padding: "0.625rem 0", fontSize: "text-xl" }
|
|
617
|
+
},
|
|
618
|
+
effects: {
|
|
619
|
+
hover: [{ effectId: "opacity-reduce", options: { reduction: 25 } }]
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
]
|
|
623
|
+
}
|
|
624
|
+
});
|
|
625
|
+
|
|
535
626
|
// ../theme-core/src/buttons/personalities/editorial-link.ts
|
|
536
627
|
var editorialLink = defineButtonPersonality({
|
|
537
628
|
id: "editorial-link",
|
|
@@ -990,6 +1081,7 @@ var softPill = defineButtonPersonality({
|
|
|
990
1081
|
// ../theme-core/src/buttons/personalities/index.ts
|
|
991
1082
|
var buttonPersonalities = [
|
|
992
1083
|
softPill,
|
|
1084
|
+
earthPill,
|
|
993
1085
|
confidentChip,
|
|
994
1086
|
editorialLink,
|
|
995
1087
|
pebble,
|
|
@@ -1711,6 +1803,47 @@ var eyebrowTreatmentValues = [
|
|
|
1711
1803
|
"pill-bounce",
|
|
1712
1804
|
"accent-pill-bounce"
|
|
1713
1805
|
];
|
|
1806
|
+
var visibleHeadingDecorationFamilyValues = [
|
|
1807
|
+
"organic-squiggle",
|
|
1808
|
+
"short-center-rule"
|
|
1809
|
+
];
|
|
1810
|
+
var visibleHeadingDecorationPlacementValues = [
|
|
1811
|
+
"after-heading",
|
|
1812
|
+
"between-heading-and-body",
|
|
1813
|
+
"under-centered-heading"
|
|
1814
|
+
];
|
|
1815
|
+
var headingDecorationOverrideValues = [
|
|
1816
|
+
"site-default",
|
|
1817
|
+
"on",
|
|
1818
|
+
"off"
|
|
1819
|
+
];
|
|
1820
|
+
var headingDecorationColorTokenValues = [
|
|
1821
|
+
"text",
|
|
1822
|
+
"primary",
|
|
1823
|
+
"secondary",
|
|
1824
|
+
"accent",
|
|
1825
|
+
"border",
|
|
1826
|
+
"muted"
|
|
1827
|
+
];
|
|
1828
|
+
var accordionIconSetValues = [
|
|
1829
|
+
"plus",
|
|
1830
|
+
"chevron",
|
|
1831
|
+
"caret",
|
|
1832
|
+
"minimal-cross"
|
|
1833
|
+
];
|
|
1834
|
+
var accordionIconColorTokenValues = [
|
|
1835
|
+
"text",
|
|
1836
|
+
"muted",
|
|
1837
|
+
"primary",
|
|
1838
|
+
"secondary",
|
|
1839
|
+
"accent",
|
|
1840
|
+
"current"
|
|
1841
|
+
];
|
|
1842
|
+
var accordionIconMotionValues = [
|
|
1843
|
+
"none",
|
|
1844
|
+
"rotate",
|
|
1845
|
+
"swap"
|
|
1846
|
+
];
|
|
1714
1847
|
|
|
1715
1848
|
// ../theme-core/src/utils/tokenOrColor.ts
|
|
1716
1849
|
import { z as z15 } from "zod";
|
|
@@ -1795,12 +1928,36 @@ var boxBackgroundSchema = z16.object({
|
|
|
1795
1928
|
textColor: tokenOrCssColorValueSchema.nullable().optional(),
|
|
1796
1929
|
headingColor: tokenOrCssColorValueSchema.nullable().optional()
|
|
1797
1930
|
});
|
|
1931
|
+
var noHeadingDecorationSchema = z16.object({
|
|
1932
|
+
family: z16.literal("none"),
|
|
1933
|
+
placement: z16.literal("none")
|
|
1934
|
+
});
|
|
1935
|
+
var visibleHeadingDecorationSchema = z16.object({
|
|
1936
|
+
family: z16.enum(visibleHeadingDecorationFamilyValues),
|
|
1937
|
+
placement: z16.enum(visibleHeadingDecorationPlacementValues),
|
|
1938
|
+
colorToken: z16.enum(headingDecorationColorTokenValues).optional()
|
|
1939
|
+
});
|
|
1940
|
+
var headingDecorationSchema = z16.union([
|
|
1941
|
+
noHeadingDecorationSchema,
|
|
1942
|
+
visibleHeadingDecorationSchema
|
|
1943
|
+
]);
|
|
1944
|
+
var accordionIconTreatmentSchema = z16.object({
|
|
1945
|
+
iconSet: z16.enum(accordionIconSetValues),
|
|
1946
|
+
colorToken: z16.enum(accordionIconColorTokenValues),
|
|
1947
|
+
openColorToken: z16.enum(accordionIconColorTokenValues).optional(),
|
|
1948
|
+
motion: z16.enum(accordionIconMotionValues)
|
|
1949
|
+
});
|
|
1798
1950
|
var sectionStylesOverrideSchema = z16.object({
|
|
1799
1951
|
background: boxBackgroundSchema.nullable().optional(),
|
|
1800
1952
|
spacing: semanticSpacingSchema.nullable().optional(),
|
|
1801
1953
|
minHeight: z16.enum(["none", "banner", "hero", "immersive"]).nullable().optional(),
|
|
1802
1954
|
tileTreatment: z16.enum(tileTreatmentValues).nullable().optional(),
|
|
1803
|
-
eyebrowTreatment: z16.enum(eyebrowTreatmentValues).nullable().optional()
|
|
1955
|
+
eyebrowTreatment: z16.enum(eyebrowTreatmentValues).nullable().optional(),
|
|
1956
|
+
headingDecoration: headingDecorationSchema.nullable().optional(),
|
|
1957
|
+
// Author-level override consumed by later block/editor rendering phases.
|
|
1958
|
+
// Keeping it in section styles lets existing block save APIs persist it.
|
|
1959
|
+
headingDecorationOverride: z16.enum(headingDecorationOverrideValues).nullable().optional(),
|
|
1960
|
+
accordionIconTreatment: accordionIconTreatmentSchema.nullable().optional()
|
|
1804
1961
|
});
|
|
1805
1962
|
var containerStylesOverrideSchema = z16.object({
|
|
1806
1963
|
background: boxBackgroundSchema.nullable().optional(),
|
package/dist/server/theme.mjs
CHANGED
|
@@ -26,6 +26,47 @@ var eyebrowTreatmentValues = [
|
|
|
26
26
|
"pill-bounce",
|
|
27
27
|
"accent-pill-bounce"
|
|
28
28
|
];
|
|
29
|
+
var visibleHeadingDecorationFamilyValues = [
|
|
30
|
+
"organic-squiggle",
|
|
31
|
+
"short-center-rule"
|
|
32
|
+
];
|
|
33
|
+
var visibleHeadingDecorationPlacementValues = [
|
|
34
|
+
"after-heading",
|
|
35
|
+
"between-heading-and-body",
|
|
36
|
+
"under-centered-heading"
|
|
37
|
+
];
|
|
38
|
+
var headingDecorationOverrideValues = [
|
|
39
|
+
"site-default",
|
|
40
|
+
"on",
|
|
41
|
+
"off"
|
|
42
|
+
];
|
|
43
|
+
var headingDecorationColorTokenValues = [
|
|
44
|
+
"text",
|
|
45
|
+
"primary",
|
|
46
|
+
"secondary",
|
|
47
|
+
"accent",
|
|
48
|
+
"border",
|
|
49
|
+
"muted"
|
|
50
|
+
];
|
|
51
|
+
var accordionIconSetValues = [
|
|
52
|
+
"plus",
|
|
53
|
+
"chevron",
|
|
54
|
+
"caret",
|
|
55
|
+
"minimal-cross"
|
|
56
|
+
];
|
|
57
|
+
var accordionIconColorTokenValues = [
|
|
58
|
+
"text",
|
|
59
|
+
"muted",
|
|
60
|
+
"primary",
|
|
61
|
+
"secondary",
|
|
62
|
+
"accent",
|
|
63
|
+
"current"
|
|
64
|
+
];
|
|
65
|
+
var accordionIconMotionValues = [
|
|
66
|
+
"none",
|
|
67
|
+
"rotate",
|
|
68
|
+
"swap"
|
|
69
|
+
];
|
|
29
70
|
|
|
30
71
|
// ../theme-core/src/buttons/personalities/types.ts
|
|
31
72
|
import { z as z4 } from "zod";
|
|
@@ -509,6 +550,97 @@ var confidentChip = defineButtonPersonality({
|
|
|
509
550
|
}
|
|
510
551
|
});
|
|
511
552
|
|
|
553
|
+
// ../theme-core/src/buttons/personalities/earth-pill.ts
|
|
554
|
+
var earthPill = defineButtonPersonality({
|
|
555
|
+
id: "earth-pill",
|
|
556
|
+
name: "Earth Pill",
|
|
557
|
+
description: "Compact terracotta pills with quiet primary-coloured ghost CTAs.",
|
|
558
|
+
tags: { tone: "classic", energy: "calm", motion: "subtle", era: "organic" },
|
|
559
|
+
buttonSystem: {
|
|
560
|
+
global: {
|
|
561
|
+
cornerStyle: "pill",
|
|
562
|
+
shadow: "low",
|
|
563
|
+
textTransform: "none",
|
|
564
|
+
fontWeight: 500,
|
|
565
|
+
borderWidth: 1,
|
|
566
|
+
hoverTransform: "lift",
|
|
567
|
+
hoverColor: "none",
|
|
568
|
+
typography: "body",
|
|
569
|
+
paddingPreset: "default"
|
|
570
|
+
},
|
|
571
|
+
sizes: {
|
|
572
|
+
sm: { padding: "0.5rem 1rem", fontSize: "text-sm" },
|
|
573
|
+
md: { padding: "0.625rem 1.35rem" },
|
|
574
|
+
lg: { padding: "0.75rem 1.65rem", fontSize: "text-lg" },
|
|
575
|
+
xl: { padding: "0.875rem 2rem", fontSize: "text-xl" }
|
|
576
|
+
},
|
|
577
|
+
variants: [
|
|
578
|
+
{
|
|
579
|
+
id: "primary",
|
|
580
|
+
name: "Primary",
|
|
581
|
+
enabled: true,
|
|
582
|
+
priority: 1,
|
|
583
|
+
background: { type: "solid", colorToken: "primary" },
|
|
584
|
+
textColorToken: "primaryForeground",
|
|
585
|
+
borderRadius: "rounded-full",
|
|
586
|
+
shadow: { elevation: "low", softness: "soft", position: "bottom" },
|
|
587
|
+
effects: {
|
|
588
|
+
hover: [
|
|
589
|
+
{ effectId: "lift", options: { translateY: "-1px" } },
|
|
590
|
+
{ effectId: "background-on-hover", options: { colorToken: "accent" } }
|
|
591
|
+
],
|
|
592
|
+
active: [{ effectId: "scale-down", options: { scale: "0.98" } }]
|
|
593
|
+
}
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
id: "secondary",
|
|
597
|
+
name: "Secondary",
|
|
598
|
+
enabled: true,
|
|
599
|
+
priority: 2,
|
|
600
|
+
background: { type: "transparent" },
|
|
601
|
+
textColorToken: "primary",
|
|
602
|
+
borderRadius: "rounded-full",
|
|
603
|
+
border: { widthClass: "border", colorToken: "primary" },
|
|
604
|
+
effects: {
|
|
605
|
+
hover: [{ effectId: "background-on-hover", options: { colorToken: "muted" } }]
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
id: "outline",
|
|
610
|
+
name: "Outline",
|
|
611
|
+
enabled: true,
|
|
612
|
+
priority: 3,
|
|
613
|
+
background: { type: "transparent" },
|
|
614
|
+
textColorToken: "text",
|
|
615
|
+
borderRadius: "rounded-full",
|
|
616
|
+
border: { widthClass: "border", colorToken: "border" },
|
|
617
|
+
effects: {
|
|
618
|
+
hover: [{ effectId: "background-on-hover", options: { colorToken: "surfaceAlt" } }]
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
id: "ghost",
|
|
623
|
+
name: "Ghost",
|
|
624
|
+
enabled: true,
|
|
625
|
+
priority: 3,
|
|
626
|
+
background: { type: "transparent" },
|
|
627
|
+
textColorToken: "primary",
|
|
628
|
+
borderRadius: "rounded-full",
|
|
629
|
+
shadow: { elevation: "none", softness: null, position: "bottom" },
|
|
630
|
+
sizes: {
|
|
631
|
+
sm: { padding: "0.25rem 0", fontSize: "text-sm" },
|
|
632
|
+
md: { padding: "0.375rem 0" },
|
|
633
|
+
lg: { padding: "0.5rem 0", fontSize: "text-lg" },
|
|
634
|
+
xl: { padding: "0.625rem 0", fontSize: "text-xl" }
|
|
635
|
+
},
|
|
636
|
+
effects: {
|
|
637
|
+
hover: [{ effectId: "opacity-reduce", options: { reduction: 25 } }]
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
]
|
|
641
|
+
}
|
|
642
|
+
});
|
|
643
|
+
|
|
512
644
|
// ../theme-core/src/buttons/personalities/editorial-link.ts
|
|
513
645
|
var editorialLink = defineButtonPersonality({
|
|
514
646
|
id: "editorial-link",
|
|
@@ -967,6 +1099,7 @@ var softPill = defineButtonPersonality({
|
|
|
967
1099
|
// ../theme-core/src/buttons/personalities/index.ts
|
|
968
1100
|
var buttonPersonalities = [
|
|
969
1101
|
softPill,
|
|
1102
|
+
earthPill,
|
|
970
1103
|
confidentChip,
|
|
971
1104
|
editorialLink,
|
|
972
1105
|
pebble,
|
|
@@ -1523,12 +1656,36 @@ var boxBackgroundSchema = z16.object({
|
|
|
1523
1656
|
textColor: tokenOrCssColorValueSchema.nullable().optional(),
|
|
1524
1657
|
headingColor: tokenOrCssColorValueSchema.nullable().optional()
|
|
1525
1658
|
});
|
|
1659
|
+
var noHeadingDecorationSchema = z16.object({
|
|
1660
|
+
family: z16.literal("none"),
|
|
1661
|
+
placement: z16.literal("none")
|
|
1662
|
+
});
|
|
1663
|
+
var visibleHeadingDecorationSchema = z16.object({
|
|
1664
|
+
family: z16.enum(visibleHeadingDecorationFamilyValues),
|
|
1665
|
+
placement: z16.enum(visibleHeadingDecorationPlacementValues),
|
|
1666
|
+
colorToken: z16.enum(headingDecorationColorTokenValues).optional()
|
|
1667
|
+
});
|
|
1668
|
+
var headingDecorationSchema = z16.union([
|
|
1669
|
+
noHeadingDecorationSchema,
|
|
1670
|
+
visibleHeadingDecorationSchema
|
|
1671
|
+
]);
|
|
1672
|
+
var accordionIconTreatmentSchema = z16.object({
|
|
1673
|
+
iconSet: z16.enum(accordionIconSetValues),
|
|
1674
|
+
colorToken: z16.enum(accordionIconColorTokenValues),
|
|
1675
|
+
openColorToken: z16.enum(accordionIconColorTokenValues).optional(),
|
|
1676
|
+
motion: z16.enum(accordionIconMotionValues)
|
|
1677
|
+
});
|
|
1526
1678
|
var sectionStylesOverrideSchema = z16.object({
|
|
1527
1679
|
background: boxBackgroundSchema.nullable().optional(),
|
|
1528
1680
|
spacing: semanticSpacingSchema.nullable().optional(),
|
|
1529
1681
|
minHeight: z16.enum(["none", "banner", "hero", "immersive"]).nullable().optional(),
|
|
1530
1682
|
tileTreatment: z16.enum(tileTreatmentValues).nullable().optional(),
|
|
1531
|
-
eyebrowTreatment: z16.enum(eyebrowTreatmentValues).nullable().optional()
|
|
1683
|
+
eyebrowTreatment: z16.enum(eyebrowTreatmentValues).nullable().optional(),
|
|
1684
|
+
headingDecoration: headingDecorationSchema.nullable().optional(),
|
|
1685
|
+
// Author-level override consumed by later block/editor rendering phases.
|
|
1686
|
+
// Keeping it in section styles lets existing block save APIs persist it.
|
|
1687
|
+
headingDecorationOverride: z16.enum(headingDecorationOverrideValues).nullable().optional(),
|
|
1688
|
+
accordionIconTreatment: accordionIconTreatmentSchema.nullable().optional()
|
|
1532
1689
|
});
|
|
1533
1690
|
var containerStylesOverrideSchema = z16.object({
|
|
1534
1691
|
background: boxBackgroundSchema.nullable().optional(),
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
export { SdkPreviewModeRuntime } from './chunk-BGMNDF6T.mjs';
|
|
3
|
-
import './chunk-Z7JLNTJR.mjs';
|
|
4
|
-
import './chunk-RWXQBRQZ.mjs';
|
|
5
|
-
import './chunk-ZSHFGFUG.mjs';
|
|
6
|
-
import './chunk-GFE74WRD.mjs';
|
|
7
|
-
import './chunk-VX7B5VAC.mjs';
|
|
8
|
-
import './chunk-XGB3TDIC.mjs';
|
|
File without changes
|