@riverbankcms/sdk 0.60.11 → 0.60.14
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 +10 -7
- package/dist/_dts/api/src/accessAdmin.d.ts +102 -0
- package/dist/_dts/api/src/bookingConfig.d.ts +31 -1
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +38 -1
- package/dist/_dts/api/src/bookingOperations.d.ts +3 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +45 -0
- package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +4 -4
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -5
- package/dist/_dts/api/src/common/envelope.d.ts +1 -1
- package/dist/_dts/api/src/communications.d.ts +1 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -1
- package/dist/_dts/api/src/domains.d.ts +14 -13
- package/dist/_dts/api/src/endpoints.d.ts +121 -9
- package/dist/_dts/api/src/index.d.ts +3 -2
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +1 -0
- package/dist/_dts/api/src/seoEndpoints.d.ts +2 -0
- package/dist/_dts/api/src/siteAssets.d.ts +0 -10
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +15 -1
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/blocks/src/PageRenderer.d.ts +1 -0
- package/dist/_dts/blocks/src/index.d.ts +1 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
- package/dist/_dts/blocks/src/server.d.ts +1 -0
- package/dist/_dts/blocks/src/subroutes/fold.d.ts +40 -0
- package/dist/_dts/blocks/src/subroutes/formatDate.d.ts +12 -0
- package/dist/_dts/blocks/src/subroutes/index.d.ts +3 -0
- package/dist/_dts/blocks/src/subroutes/kinds.d.ts +32 -0
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +3 -1
- package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +1 -0
- package/dist/_dts/blocks/src/system/spacing.d.ts +2 -1
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +5 -0
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +5 -1
- package/dist/_dts/core/src/booking-refunds.d.ts +8 -0
- package/dist/_dts/core/src/participant-identity.d.ts +1 -1
- package/dist/_dts/core/src/participants.d.ts +19 -7
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +284 -96
- package/dist/_dts/db/src/schemas/forms.d.ts +135 -24
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/preview/SubrouteNoticePanel.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/subrouteNotice.d.ts +26 -0
- package/dist/_dts/sdk/src/contracts/page.d.ts +1 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -0
- package/dist/_dts/sdk/src/routing/resolvePageContent.d.ts +4 -5
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
- package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +17 -0
- package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +66 -30
- package/dist/_dts/theme-core/src/palette/variants/brand-led.d.ts +16 -0
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/schema.d.ts +174 -6
- package/dist/_dts/theme-core/src/site-styles/appearancePresets.d.ts +328 -15
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +54 -2
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +124 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +21 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +2 -1
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +135 -2
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/cli/index.mjs +801 -115
- package/dist/client/bookings.mjs +115 -1
- package/dist/client/client.mjs +905 -166
- package/dist/client/hooks.mjs +794 -111
- package/dist/client/rendering/client.mjs +179 -39
- package/dist/client/rendering/islands.mjs +179 -38
- package/dist/client/rendering.mjs +904 -165
- package/dist/preview-next/before-render.mjs +160 -16
- package/dist/preview-next/client/runtime.mjs +1674 -260
- package/dist/preview-next/middleware.mjs +160 -16
- package/dist/server/components.mjs +895 -165
- package/dist/server/config-validation.mjs +794 -111
- package/dist/server/config.mjs +794 -111
- package/dist/server/data.mjs +794 -111
- package/dist/server/index.mjs +163 -17
- package/dist/server/next.mjs +898 -167
- package/dist/server/page-converter.mjs +589 -82
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +895 -165
- package/dist/server/rendering.mjs +895 -165
- package/dist/server/routing.mjs +828 -117
- package/dist/server/server.mjs +795 -112
- package/dist/server/theme-bridge.mjs +216 -39
- package/dist/server/theme.mjs +139 -37
- package/dist/styles/index.css +44 -2
- package/package.json +1 -1
|
@@ -2475,6 +2475,118 @@ var init_pebble = __esm({
|
|
|
2475
2475
|
}
|
|
2476
2476
|
});
|
|
2477
2477
|
|
|
2478
|
+
// ../theme-core/src/buttons/personalities/showtime-pill.ts
|
|
2479
|
+
var showtimePill;
|
|
2480
|
+
var init_showtime_pill = __esm({
|
|
2481
|
+
"../theme-core/src/buttons/personalities/showtime-pill.ts"() {
|
|
2482
|
+
"use strict";
|
|
2483
|
+
init_types2();
|
|
2484
|
+
showtimePill = defineButtonPersonality({
|
|
2485
|
+
id: "showtime-pill",
|
|
2486
|
+
name: "Showtime Pill",
|
|
2487
|
+
description: "Bold pill buttons with uppercase labels, generous padding, and a playful pop.",
|
|
2488
|
+
tags: { tone: "bold", energy: "vibrant", motion: "expressive", era: "modern" },
|
|
2489
|
+
buttonSystem: {
|
|
2490
|
+
global: {
|
|
2491
|
+
cornerStyle: "pill",
|
|
2492
|
+
shadow: "low",
|
|
2493
|
+
textTransform: "uppercase",
|
|
2494
|
+
fontWeight: 700,
|
|
2495
|
+
borderWidth: 2,
|
|
2496
|
+
hoverTransform: "lift",
|
|
2497
|
+
hoverColor: "darken",
|
|
2498
|
+
typography: "body",
|
|
2499
|
+
paddingPreset: "spacious",
|
|
2500
|
+
italic: false
|
|
2501
|
+
},
|
|
2502
|
+
sizes: {
|
|
2503
|
+
sm: { padding: "0.625rem 1.25rem", fontSize: "0.875rem" },
|
|
2504
|
+
md: { padding: "0.875rem 1.75rem", fontSize: "1rem" },
|
|
2505
|
+
lg: { padding: "1.125rem 2.25rem", fontSize: "1.125rem" },
|
|
2506
|
+
xl: { padding: "1.125rem 2.25rem", fontSize: "1.125rem" }
|
|
2507
|
+
},
|
|
2508
|
+
variants: [
|
|
2509
|
+
{
|
|
2510
|
+
id: "primary",
|
|
2511
|
+
name: "Primary",
|
|
2512
|
+
enabled: true,
|
|
2513
|
+
priority: 1,
|
|
2514
|
+
background: { type: "solid", colorToken: "primary" },
|
|
2515
|
+
textColorToken: "background",
|
|
2516
|
+
borderRadius: "rounded-full",
|
|
2517
|
+
effects: {
|
|
2518
|
+
hover: [{ effectId: "pop" }]
|
|
2519
|
+
}
|
|
2520
|
+
},
|
|
2521
|
+
{
|
|
2522
|
+
id: "secondary",
|
|
2523
|
+
name: "Secondary",
|
|
2524
|
+
enabled: true,
|
|
2525
|
+
priority: 2,
|
|
2526
|
+
background: { type: "transparent" },
|
|
2527
|
+
textColorToken: "primary",
|
|
2528
|
+
borderRadius: "rounded-full",
|
|
2529
|
+
border: { widthClass: "border-2", colorToken: "primary" },
|
|
2530
|
+
effects: {
|
|
2531
|
+
hover: [{ effectId: "pop" }]
|
|
2532
|
+
}
|
|
2533
|
+
},
|
|
2534
|
+
{
|
|
2535
|
+
id: "hero",
|
|
2536
|
+
name: "Hero",
|
|
2537
|
+
enabled: true,
|
|
2538
|
+
priority: 1,
|
|
2539
|
+
background: { type: "solid", colorToken: "secondary" },
|
|
2540
|
+
textColorToken: "primary",
|
|
2541
|
+
borderRadius: "rounded-full",
|
|
2542
|
+
effects: {
|
|
2543
|
+
hover: [{ effectId: "pop" }]
|
|
2544
|
+
}
|
|
2545
|
+
},
|
|
2546
|
+
{
|
|
2547
|
+
id: "header",
|
|
2548
|
+
name: "Header",
|
|
2549
|
+
enabled: true,
|
|
2550
|
+
priority: 2,
|
|
2551
|
+
background: { type: "solid", colorToken: "background" },
|
|
2552
|
+
textColorToken: "primary",
|
|
2553
|
+
borderRadius: "rounded-full",
|
|
2554
|
+
border: { widthClass: "border-2", colorToken: "primary" },
|
|
2555
|
+
effects: {
|
|
2556
|
+
hover: [{ effectId: "background-on-hover", options: { colorToken: "surface" } }]
|
|
2557
|
+
}
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
id: "outline",
|
|
2561
|
+
name: "Outline",
|
|
2562
|
+
enabled: true,
|
|
2563
|
+
priority: 3,
|
|
2564
|
+
background: { type: "transparent" },
|
|
2565
|
+
textColorToken: "primary",
|
|
2566
|
+
borderRadius: "rounded-full",
|
|
2567
|
+
border: { widthClass: "border-2", colorToken: "primary" },
|
|
2568
|
+
effects: {
|
|
2569
|
+
hover: [{ effectId: "background-on-hover", options: { colorToken: "background" } }]
|
|
2570
|
+
}
|
|
2571
|
+
},
|
|
2572
|
+
{
|
|
2573
|
+
id: "ghost",
|
|
2574
|
+
name: "Ghost",
|
|
2575
|
+
enabled: true,
|
|
2576
|
+
priority: 3,
|
|
2577
|
+
background: { type: "transparent" },
|
|
2578
|
+
textColorToken: "primary",
|
|
2579
|
+
borderRadius: "rounded-full",
|
|
2580
|
+
effects: {
|
|
2581
|
+
hover: [{ effectId: "background-on-hover", options: { colorToken: "surface" } }]
|
|
2582
|
+
}
|
|
2583
|
+
}
|
|
2584
|
+
]
|
|
2585
|
+
}
|
|
2586
|
+
});
|
|
2587
|
+
}
|
|
2588
|
+
});
|
|
2589
|
+
|
|
2478
2590
|
// ../theme-core/src/buttons/personalities/soft-pill.ts
|
|
2479
2591
|
var softPill;
|
|
2480
2592
|
var init_soft_pill = __esm({
|
|
@@ -2565,6 +2677,7 @@ var init_personalities = __esm({
|
|
|
2565
2677
|
init_editorial_link();
|
|
2566
2678
|
init_ink_stamp();
|
|
2567
2679
|
init_pebble();
|
|
2680
|
+
init_showtime_pill();
|
|
2568
2681
|
init_soft_pill();
|
|
2569
2682
|
init_types2();
|
|
2570
2683
|
buttonPersonalities = [
|
|
@@ -2573,7 +2686,8 @@ var init_personalities = __esm({
|
|
|
2573
2686
|
editorialLink,
|
|
2574
2687
|
pebble,
|
|
2575
2688
|
inkStamp,
|
|
2576
|
-
brushedWash
|
|
2689
|
+
brushedWash,
|
|
2690
|
+
showtimePill
|
|
2577
2691
|
];
|
|
2578
2692
|
personalitiesById = new Map(
|
|
2579
2693
|
buttonPersonalities.map((p) => [p.id, p])
|
|
@@ -13771,7 +13885,6 @@ var init_testimonialsCarousel = __esm({
|
|
|
13771
13885
|
"../blocks/src/system/fragments/library/testimonialsCarousel.ts"() {
|
|
13772
13886
|
"use strict";
|
|
13773
13887
|
init_types9();
|
|
13774
|
-
init_colorStyles();
|
|
13775
13888
|
testimonialsCarouselFragment = defineFragment({
|
|
13776
13889
|
id: "testimonialsCarousel",
|
|
13777
13890
|
title: "Testimonials",
|
|
@@ -17069,7 +17182,8 @@ var init_course_registration_interactive = __esm({
|
|
|
17069
17182
|
run: z20.object({
|
|
17070
17183
|
courseId: z20.string(),
|
|
17071
17184
|
seriesId: z20.string(),
|
|
17072
|
-
runSlug: z20.string()
|
|
17185
|
+
runSlug: z20.string(),
|
|
17186
|
+
runName: z20.string().nullable()
|
|
17073
17187
|
})
|
|
17074
17188
|
}),
|
|
17075
17189
|
z20.object({
|
|
@@ -43518,10 +43632,17 @@ var init_footer = __esm({
|
|
|
43518
43632
|
});
|
|
43519
43633
|
|
|
43520
43634
|
// ../theme-core/src/layout/generateLayoutCss.ts
|
|
43635
|
+
function svgDataUrl(svg) {
|
|
43636
|
+
return `data:image/svg+xml,${encodeURIComponent(svg)}`;
|
|
43637
|
+
}
|
|
43638
|
+
var waveTransitionMask;
|
|
43521
43639
|
var init_generateLayoutCss = __esm({
|
|
43522
43640
|
"../theme-core/src/layout/generateLayoutCss.ts"() {
|
|
43523
43641
|
"use strict";
|
|
43524
43642
|
init_breakpoints();
|
|
43643
|
+
waveTransitionMask = svgDataUrl(
|
|
43644
|
+
"<svg viewBox='0 0 1440 72' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><path d='M0 72V46C130 55 260 24 420 30C590 36 690 62 860 42C1035 21 1160 47 1305 36C1365 31 1415 33 1440 38V72H0Z' fill='white'/></svg>"
|
|
43645
|
+
);
|
|
43525
43646
|
}
|
|
43526
43647
|
});
|
|
43527
43648
|
|
|
@@ -45775,14 +45896,7 @@ var proseLinkStyleSchema = z42.object({
|
|
|
45775
45896
|
underlineThickness: proseLinkUnderlineThicknessSchema.optional(),
|
|
45776
45897
|
underlineOffset: proseLinkUnderlineOffsetSchema.optional()
|
|
45777
45898
|
});
|
|
45778
|
-
var semanticSpacingSchema = z42.enum([
|
|
45779
|
-
"none",
|
|
45780
|
-
"compact",
|
|
45781
|
-
"cozy",
|
|
45782
|
-
"medium",
|
|
45783
|
-
"comfortable",
|
|
45784
|
-
"spacious"
|
|
45785
|
-
]);
|
|
45899
|
+
var semanticSpacingSchema = z42.enum(["none", "compact", "cozy", "medium", "comfortable", "spacious"]);
|
|
45786
45900
|
var boxRoundedSchema = z42.enum(["none", "sm", "md", "lg", "xl", "2xl", "full"]);
|
|
45787
45901
|
var boxBackgroundOverlaySchema = z42.object({
|
|
45788
45902
|
type: z42.enum(["none", "color", "gradient"]).nullable().optional(),
|
|
@@ -45799,6 +45913,7 @@ var boxBackgroundSchema = z42.object({
|
|
|
45799
45913
|
scale: z42.string().nullable().optional(),
|
|
45800
45914
|
position: z42.string().nullable().optional(),
|
|
45801
45915
|
opacity: z42.number().min(0).max(1).nullable().optional(),
|
|
45916
|
+
motion: z42.enum(["static", "fixed-frame"]).nullable().optional(),
|
|
45802
45917
|
overlay: boxBackgroundOverlaySchema.nullable().optional(),
|
|
45803
45918
|
textColor: z42.string().nullable().optional(),
|
|
45804
45919
|
headingColor: z42.string().nullable().optional()
|
|
@@ -45806,7 +45921,7 @@ var boxBackgroundSchema = z42.object({
|
|
|
45806
45921
|
var sectionStylesOverrideSchema = z42.object({
|
|
45807
45922
|
background: boxBackgroundSchema.nullable().optional(),
|
|
45808
45923
|
spacing: semanticSpacingSchema.nullable().optional(),
|
|
45809
|
-
minHeight: z42.enum(["none", "hero", "immersive"]).nullable().optional()
|
|
45924
|
+
minHeight: z42.enum(["none", "banner", "hero", "immersive"]).nullable().optional()
|
|
45810
45925
|
});
|
|
45811
45926
|
var containerStylesOverrideSchema = z42.object({
|
|
45812
45927
|
background: boxBackgroundSchema.nullable().optional(),
|
|
@@ -45825,7 +45940,8 @@ var cardStylesOverrideSchema = z42.object({
|
|
|
45825
45940
|
border: cardBorderOverrideSchema.nullable().optional(),
|
|
45826
45941
|
spacing: semanticSpacingSchema.nullable().optional(),
|
|
45827
45942
|
raised: z42.boolean().nullable().optional(),
|
|
45828
|
-
rounded: boxRoundedSchema.nullable().optional()
|
|
45943
|
+
rounded: boxRoundedSchema.nullable().optional(),
|
|
45944
|
+
treatment: z42.enum(["accent-quote"]).nullable().optional()
|
|
45829
45945
|
});
|
|
45830
45946
|
var blockStyleOverridesSchema = z42.object({
|
|
45831
45947
|
sectionStyles: sectionStylesOverrideSchema.nullable().optional(),
|
|
@@ -45900,15 +46016,7 @@ var inputStyle2 = z42.object({
|
|
|
45900
46016
|
});
|
|
45901
46017
|
var headerVariant = z42.enum(["classic", "centered", "transparent", "floating", "editorial"]);
|
|
45902
46018
|
var headerPositioning = z42.enum(["static", "sticky", "fixed"]);
|
|
45903
|
-
var headerNavStyle = z42.enum([
|
|
45904
|
-
"minimal",
|
|
45905
|
-
"underline",
|
|
45906
|
-
"underline-grow",
|
|
45907
|
-
"capsule",
|
|
45908
|
-
"scale",
|
|
45909
|
-
"frosted",
|
|
45910
|
-
"solid"
|
|
45911
|
-
]);
|
|
46019
|
+
var headerNavStyle = z42.enum(["minimal", "underline", "underline-grow", "capsule", "scale", "frosted", "solid"]);
|
|
45912
46020
|
var navFontWeight = z42.enum(["regular", "medium", "semibold", "bold"]);
|
|
45913
46021
|
var headerMaxWidth = z42.enum(["container", "full"]);
|
|
45914
46022
|
var headerContainerSchema = z42.object({
|
|
@@ -45962,6 +46070,7 @@ var dropdownStyleSchema = z42.object({
|
|
|
45962
46070
|
// optional = no override (browser default)
|
|
45963
46071
|
}).optional();
|
|
45964
46072
|
var headerCtaGapSchema = z42.enum(["none", "tight", "compact", "default", "relaxed", "spacious"]);
|
|
46073
|
+
var headerCtaTreatmentSchema = z42.enum(["default", "primary", "secondary", "inverted", "outline", "ghost"]);
|
|
45965
46074
|
var navContainerSchema = z42.object({
|
|
45966
46075
|
type: z42.enum(["none", "pill", "glass"]).default("none"),
|
|
45967
46076
|
tint: z42.string().nullable().optional(),
|
|
@@ -45980,7 +46089,10 @@ var headerSchema = z42.object({
|
|
|
45980
46089
|
shrinkOnScroll: z42.boolean(),
|
|
45981
46090
|
maxWidth: headerMaxWidth,
|
|
45982
46091
|
logoOverride: mediaSchema2.nullable().optional(),
|
|
45983
|
-
background: headerBackgroundSchema.default({
|
|
46092
|
+
background: headerBackgroundSchema.default({
|
|
46093
|
+
type: "color",
|
|
46094
|
+
color: "surface"
|
|
46095
|
+
}),
|
|
45984
46096
|
textColor: z42.string().nullable().optional(),
|
|
45985
46097
|
// Site title and general header text
|
|
45986
46098
|
navStyle: headerNavStyle,
|
|
@@ -46000,6 +46112,13 @@ var headerSchema = z42.object({
|
|
|
46000
46112
|
navLinkStyle: navLinkStyleSchema.optional(),
|
|
46001
46113
|
// CTA button spacing (desktop left margin)
|
|
46002
46114
|
ctaGap: headerCtaGapSchema.optional(),
|
|
46115
|
+
// Semantic CTA treatment for header/nav CTA buttons. The Theme V2 compiler
|
|
46116
|
+
// materializes this to ctaVariant against the active button personality.
|
|
46117
|
+
ctaTreatment: headerCtaTreatmentSchema.optional(),
|
|
46118
|
+
// Optional theme-level CTA variant for header/nav CTA buttons.
|
|
46119
|
+
// Internal runtime bridge for the block renderer; prefer ctaTreatment in
|
|
46120
|
+
// authored Theme V2 concepts.
|
|
46121
|
+
ctaVariant: z42.string().min(1).optional(),
|
|
46003
46122
|
// Dropdown menu styling (nav dropdowns and mobile drawer)
|
|
46004
46123
|
dropdownStyle: dropdownStyleSchema
|
|
46005
46124
|
});
|
|
@@ -46056,7 +46175,10 @@ var footerSchema = z42.object({
|
|
|
46056
46175
|
variant: footerVariant,
|
|
46057
46176
|
maxWidth: footerMaxWidth,
|
|
46058
46177
|
showLogoText: z42.boolean().optional(),
|
|
46059
|
-
background: headerBackgroundSchema.default({
|
|
46178
|
+
background: headerBackgroundSchema.default({
|
|
46179
|
+
type: "color",
|
|
46180
|
+
color: "surface"
|
|
46181
|
+
}),
|
|
46060
46182
|
// Footer nav styling (independent from header)
|
|
46061
46183
|
navStyle: headerNavStyle.default("minimal"),
|
|
46062
46184
|
navColor: z42.string().nullable().optional(),
|
|
@@ -46078,17 +46200,7 @@ var layoutSchema = z42.object({
|
|
|
46078
46200
|
desktop: containerPaddingPresetSchema.optional()
|
|
46079
46201
|
}).optional()
|
|
46080
46202
|
}).optional();
|
|
46081
|
-
var heroTypographySizeSchema = z42.enum([
|
|
46082
|
-
"sm",
|
|
46083
|
-
"base",
|
|
46084
|
-
"lg",
|
|
46085
|
-
"xl",
|
|
46086
|
-
"2xl",
|
|
46087
|
-
"3xl",
|
|
46088
|
-
"4xl",
|
|
46089
|
-
"5xl",
|
|
46090
|
-
"6xl"
|
|
46091
|
-
]);
|
|
46203
|
+
var heroTypographySizeSchema = z42.enum(["sm", "base", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl", "editorial"]);
|
|
46092
46204
|
var heroTypographyLineHeightSchema = z42.enum(["tight", "snug", "normal", "relaxed"]);
|
|
46093
46205
|
var heroResponsiveTypographySchema = z42.object({
|
|
46094
46206
|
headlineSize: heroTypographySizeSchema.optional(),
|
|
@@ -46113,6 +46225,13 @@ var heroTypographySchema = z42.object({
|
|
|
46113
46225
|
var heroSchema = z42.object({
|
|
46114
46226
|
typography: heroTypographySchema.optional()
|
|
46115
46227
|
}).optional();
|
|
46228
|
+
var bodyTextIntroTypographySizeSchema = z42.enum(["default", "editorial"]);
|
|
46229
|
+
var bodyTextSchema = z42.object({
|
|
46230
|
+
intro: z42.object({
|
|
46231
|
+
paragraphSize: bodyTextIntroTypographySizeSchema.optional(),
|
|
46232
|
+
headingSize: bodyTextIntroTypographySizeSchema.optional()
|
|
46233
|
+
}).optional()
|
|
46234
|
+
}).optional();
|
|
46116
46235
|
var gradientsSchema = z42.object({
|
|
46117
46236
|
button: z42.string().min(1).nullable().optional(),
|
|
46118
46237
|
hero: z42.string().min(1).nullable().optional(),
|
|
@@ -46134,6 +46253,7 @@ var themeSchema = z42.object({
|
|
|
46134
46253
|
gradients: gradientsSchema.optional(),
|
|
46135
46254
|
layout: layoutSchema,
|
|
46136
46255
|
hero: heroSchema,
|
|
46256
|
+
bodyText: bodyTextSchema,
|
|
46137
46257
|
header: headerSchema,
|
|
46138
46258
|
footer: footerSchema,
|
|
46139
46259
|
buttons: buttonSystemSchema.optional(),
|
|
@@ -46157,10 +46277,7 @@ var themeSchema = z42.object({
|
|
|
46157
46277
|
).optional(),
|
|
46158
46278
|
// Structured block-kind theme overrides (v1: typography prose-link style only)
|
|
46159
46279
|
// Keyed by block kind (usually data-block value like "hero"; "block.hero" also accepted)
|
|
46160
|
-
blockOverrides: z42.record(
|
|
46161
|
-
z42.string(),
|
|
46162
|
-
blockThemeOverrideSchema
|
|
46163
|
-
).optional(),
|
|
46280
|
+
blockOverrides: z42.record(z42.string(), blockThemeOverrideSchema).optional(),
|
|
46164
46281
|
// Structured custom CSS rules
|
|
46165
46282
|
// Validated, scoped, and safe by construction - no @import, remote url(), or global selectors
|
|
46166
46283
|
customCssRules: customCssRulesSchema,
|
|
@@ -46331,6 +46448,28 @@ var brandLedJewel = definePaletteVariant({
|
|
|
46331
46448
|
{ name: "border", hex: "#a8a29e" }
|
|
46332
46449
|
]
|
|
46333
46450
|
});
|
|
46451
|
+
var brandLedBurgundyGold = definePaletteVariant({
|
|
46452
|
+
id: "brand-led-burgundy-gold",
|
|
46453
|
+
name: "Brand-led \u2014 Burgundy Gold",
|
|
46454
|
+
description: "Deep burgundy with warm gold accents and soft neutral grounds.",
|
|
46455
|
+
tags: { tone: "bold", energy: "vibrant", era: "modern" },
|
|
46456
|
+
mode: "light",
|
|
46457
|
+
colors: [
|
|
46458
|
+
{ name: "primary", hex: "#7c2e38" },
|
|
46459
|
+
{ name: "secondary", hex: "#d4af37" },
|
|
46460
|
+
{ name: "accent", hex: "#b8e19a" },
|
|
46461
|
+
{ name: "success", hex: "#10b981" },
|
|
46462
|
+
{ name: "warning", hex: "#f59e0b" },
|
|
46463
|
+
{ name: "destructive", hex: "#ef4444" },
|
|
46464
|
+
{ name: "background", hex: "#f1dfd0" },
|
|
46465
|
+
{ name: "surface", hex: "#f5e6db" },
|
|
46466
|
+
{ name: "surfaceAlt", hex: "#f8ece3" },
|
|
46467
|
+
{ name: "muted", hex: "#c9b8a8" },
|
|
46468
|
+
{ name: "text", hex: "#400000" },
|
|
46469
|
+
{ name: "primaryForeground", hex: "#ffffff" },
|
|
46470
|
+
{ name: "border", hex: "#c9b8a8" }
|
|
46471
|
+
]
|
|
46472
|
+
});
|
|
46334
46473
|
|
|
46335
46474
|
// ../theme-core/src/palette/variants/high-contrast.ts
|
|
46336
46475
|
var highContrastInk = definePaletteVariant({
|
|
@@ -46542,6 +46681,7 @@ var paletteVariants = [
|
|
|
46542
46681
|
brandLedCool,
|
|
46543
46682
|
brandLedWarm,
|
|
46544
46683
|
brandLedJewel,
|
|
46684
|
+
brandLedBurgundyGold,
|
|
46545
46685
|
// Warm-neutral family
|
|
46546
46686
|
warmNeutralClay,
|
|
46547
46687
|
warmNeutralCream,
|