@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
|
@@ -2428,7 +2428,8 @@ var init_course_registration_interactive = __esm({
|
|
|
2428
2428
|
run: z10.object({
|
|
2429
2429
|
courseId: z10.string(),
|
|
2430
2430
|
seriesId: z10.string(),
|
|
2431
|
-
runSlug: z10.string()
|
|
2431
|
+
runSlug: z10.string(),
|
|
2432
|
+
runName: z10.string().nullable()
|
|
2432
2433
|
})
|
|
2433
2434
|
}),
|
|
2434
2435
|
z10.object({
|
|
@@ -5475,6 +5476,118 @@ var init_pebble = __esm({
|
|
|
5475
5476
|
}
|
|
5476
5477
|
});
|
|
5477
5478
|
|
|
5479
|
+
// ../theme-core/src/buttons/personalities/showtime-pill.ts
|
|
5480
|
+
var showtimePill;
|
|
5481
|
+
var init_showtime_pill = __esm({
|
|
5482
|
+
"../theme-core/src/buttons/personalities/showtime-pill.ts"() {
|
|
5483
|
+
"use strict";
|
|
5484
|
+
init_types5();
|
|
5485
|
+
showtimePill = defineButtonPersonality({
|
|
5486
|
+
id: "showtime-pill",
|
|
5487
|
+
name: "Showtime Pill",
|
|
5488
|
+
description: "Bold pill buttons with uppercase labels, generous padding, and a playful pop.",
|
|
5489
|
+
tags: { tone: "bold", energy: "vibrant", motion: "expressive", era: "modern" },
|
|
5490
|
+
buttonSystem: {
|
|
5491
|
+
global: {
|
|
5492
|
+
cornerStyle: "pill",
|
|
5493
|
+
shadow: "low",
|
|
5494
|
+
textTransform: "uppercase",
|
|
5495
|
+
fontWeight: 700,
|
|
5496
|
+
borderWidth: 2,
|
|
5497
|
+
hoverTransform: "lift",
|
|
5498
|
+
hoverColor: "darken",
|
|
5499
|
+
typography: "body",
|
|
5500
|
+
paddingPreset: "spacious",
|
|
5501
|
+
italic: false
|
|
5502
|
+
},
|
|
5503
|
+
sizes: {
|
|
5504
|
+
sm: { padding: "0.625rem 1.25rem", fontSize: "0.875rem" },
|
|
5505
|
+
md: { padding: "0.875rem 1.75rem", fontSize: "1rem" },
|
|
5506
|
+
lg: { padding: "1.125rem 2.25rem", fontSize: "1.125rem" },
|
|
5507
|
+
xl: { padding: "1.125rem 2.25rem", fontSize: "1.125rem" }
|
|
5508
|
+
},
|
|
5509
|
+
variants: [
|
|
5510
|
+
{
|
|
5511
|
+
id: "primary",
|
|
5512
|
+
name: "Primary",
|
|
5513
|
+
enabled: true,
|
|
5514
|
+
priority: 1,
|
|
5515
|
+
background: { type: "solid", colorToken: "primary" },
|
|
5516
|
+
textColorToken: "background",
|
|
5517
|
+
borderRadius: "rounded-full",
|
|
5518
|
+
effects: {
|
|
5519
|
+
hover: [{ effectId: "pop" }]
|
|
5520
|
+
}
|
|
5521
|
+
},
|
|
5522
|
+
{
|
|
5523
|
+
id: "secondary",
|
|
5524
|
+
name: "Secondary",
|
|
5525
|
+
enabled: true,
|
|
5526
|
+
priority: 2,
|
|
5527
|
+
background: { type: "transparent" },
|
|
5528
|
+
textColorToken: "primary",
|
|
5529
|
+
borderRadius: "rounded-full",
|
|
5530
|
+
border: { widthClass: "border-2", colorToken: "primary" },
|
|
5531
|
+
effects: {
|
|
5532
|
+
hover: [{ effectId: "pop" }]
|
|
5533
|
+
}
|
|
5534
|
+
},
|
|
5535
|
+
{
|
|
5536
|
+
id: "hero",
|
|
5537
|
+
name: "Hero",
|
|
5538
|
+
enabled: true,
|
|
5539
|
+
priority: 1,
|
|
5540
|
+
background: { type: "solid", colorToken: "secondary" },
|
|
5541
|
+
textColorToken: "primary",
|
|
5542
|
+
borderRadius: "rounded-full",
|
|
5543
|
+
effects: {
|
|
5544
|
+
hover: [{ effectId: "pop" }]
|
|
5545
|
+
}
|
|
5546
|
+
},
|
|
5547
|
+
{
|
|
5548
|
+
id: "header",
|
|
5549
|
+
name: "Header",
|
|
5550
|
+
enabled: true,
|
|
5551
|
+
priority: 2,
|
|
5552
|
+
background: { type: "solid", colorToken: "background" },
|
|
5553
|
+
textColorToken: "primary",
|
|
5554
|
+
borderRadius: "rounded-full",
|
|
5555
|
+
border: { widthClass: "border-2", colorToken: "primary" },
|
|
5556
|
+
effects: {
|
|
5557
|
+
hover: [{ effectId: "background-on-hover", options: { colorToken: "surface" } }]
|
|
5558
|
+
}
|
|
5559
|
+
},
|
|
5560
|
+
{
|
|
5561
|
+
id: "outline",
|
|
5562
|
+
name: "Outline",
|
|
5563
|
+
enabled: true,
|
|
5564
|
+
priority: 3,
|
|
5565
|
+
background: { type: "transparent" },
|
|
5566
|
+
textColorToken: "primary",
|
|
5567
|
+
borderRadius: "rounded-full",
|
|
5568
|
+
border: { widthClass: "border-2", colorToken: "primary" },
|
|
5569
|
+
effects: {
|
|
5570
|
+
hover: [{ effectId: "background-on-hover", options: { colorToken: "background" } }]
|
|
5571
|
+
}
|
|
5572
|
+
},
|
|
5573
|
+
{
|
|
5574
|
+
id: "ghost",
|
|
5575
|
+
name: "Ghost",
|
|
5576
|
+
enabled: true,
|
|
5577
|
+
priority: 3,
|
|
5578
|
+
background: { type: "transparent" },
|
|
5579
|
+
textColorToken: "primary",
|
|
5580
|
+
borderRadius: "rounded-full",
|
|
5581
|
+
effects: {
|
|
5582
|
+
hover: [{ effectId: "background-on-hover", options: { colorToken: "surface" } }]
|
|
5583
|
+
}
|
|
5584
|
+
}
|
|
5585
|
+
]
|
|
5586
|
+
}
|
|
5587
|
+
});
|
|
5588
|
+
}
|
|
5589
|
+
});
|
|
5590
|
+
|
|
5478
5591
|
// ../theme-core/src/buttons/personalities/soft-pill.ts
|
|
5479
5592
|
var softPill;
|
|
5480
5593
|
var init_soft_pill = __esm({
|
|
@@ -5565,6 +5678,7 @@ var init_personalities = __esm({
|
|
|
5565
5678
|
init_editorial_link();
|
|
5566
5679
|
init_ink_stamp();
|
|
5567
5680
|
init_pebble();
|
|
5681
|
+
init_showtime_pill();
|
|
5568
5682
|
init_soft_pill();
|
|
5569
5683
|
init_types5();
|
|
5570
5684
|
buttonPersonalities = [
|
|
@@ -5573,7 +5687,8 @@ var init_personalities = __esm({
|
|
|
5573
5687
|
editorialLink,
|
|
5574
5688
|
pebble,
|
|
5575
5689
|
inkStamp,
|
|
5576
|
-
brushedWash
|
|
5690
|
+
brushedWash,
|
|
5691
|
+
showtimePill
|
|
5577
5692
|
];
|
|
5578
5693
|
personalitiesById = new Map(
|
|
5579
5694
|
buttonPersonalities.map((p) => [p.id, p])
|
|
@@ -30441,10 +30556,17 @@ var init_footer = __esm({
|
|
|
30441
30556
|
});
|
|
30442
30557
|
|
|
30443
30558
|
// ../theme-core/src/layout/generateLayoutCss.ts
|
|
30559
|
+
function svgDataUrl(svg) {
|
|
30560
|
+
return `data:image/svg+xml,${encodeURIComponent(svg)}`;
|
|
30561
|
+
}
|
|
30562
|
+
var waveTransitionMask;
|
|
30444
30563
|
var init_generateLayoutCss = __esm({
|
|
30445
30564
|
"../theme-core/src/layout/generateLayoutCss.ts"() {
|
|
30446
30565
|
"use strict";
|
|
30447
30566
|
init_breakpoints();
|
|
30567
|
+
waveTransitionMask = svgDataUrl(
|
|
30568
|
+
"<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>"
|
|
30569
|
+
);
|
|
30448
30570
|
}
|
|
30449
30571
|
});
|
|
30450
30572
|
|
|
@@ -32569,14 +32691,7 @@ var proseLinkStyleSchema = z35.object({
|
|
|
32569
32691
|
underlineThickness: proseLinkUnderlineThicknessSchema.optional(),
|
|
32570
32692
|
underlineOffset: proseLinkUnderlineOffsetSchema.optional()
|
|
32571
32693
|
});
|
|
32572
|
-
var semanticSpacingSchema = z35.enum([
|
|
32573
|
-
"none",
|
|
32574
|
-
"compact",
|
|
32575
|
-
"cozy",
|
|
32576
|
-
"medium",
|
|
32577
|
-
"comfortable",
|
|
32578
|
-
"spacious"
|
|
32579
|
-
]);
|
|
32694
|
+
var semanticSpacingSchema = z35.enum(["none", "compact", "cozy", "medium", "comfortable", "spacious"]);
|
|
32580
32695
|
var boxRoundedSchema = z35.enum(["none", "sm", "md", "lg", "xl", "2xl", "full"]);
|
|
32581
32696
|
var boxBackgroundOverlaySchema = z35.object({
|
|
32582
32697
|
type: z35.enum(["none", "color", "gradient"]).nullable().optional(),
|
|
@@ -32593,6 +32708,7 @@ var boxBackgroundSchema = z35.object({
|
|
|
32593
32708
|
scale: z35.string().nullable().optional(),
|
|
32594
32709
|
position: z35.string().nullable().optional(),
|
|
32595
32710
|
opacity: z35.number().min(0).max(1).nullable().optional(),
|
|
32711
|
+
motion: z35.enum(["static", "fixed-frame"]).nullable().optional(),
|
|
32596
32712
|
overlay: boxBackgroundOverlaySchema.nullable().optional(),
|
|
32597
32713
|
textColor: z35.string().nullable().optional(),
|
|
32598
32714
|
headingColor: z35.string().nullable().optional()
|
|
@@ -32600,7 +32716,7 @@ var boxBackgroundSchema = z35.object({
|
|
|
32600
32716
|
var sectionStylesOverrideSchema = z35.object({
|
|
32601
32717
|
background: boxBackgroundSchema.nullable().optional(),
|
|
32602
32718
|
spacing: semanticSpacingSchema.nullable().optional(),
|
|
32603
|
-
minHeight: z35.enum(["none", "hero", "immersive"]).nullable().optional()
|
|
32719
|
+
minHeight: z35.enum(["none", "banner", "hero", "immersive"]).nullable().optional()
|
|
32604
32720
|
});
|
|
32605
32721
|
var containerStylesOverrideSchema = z35.object({
|
|
32606
32722
|
background: boxBackgroundSchema.nullable().optional(),
|
|
@@ -32619,7 +32735,8 @@ var cardStylesOverrideSchema = z35.object({
|
|
|
32619
32735
|
border: cardBorderOverrideSchema.nullable().optional(),
|
|
32620
32736
|
spacing: semanticSpacingSchema.nullable().optional(),
|
|
32621
32737
|
raised: z35.boolean().nullable().optional(),
|
|
32622
|
-
rounded: boxRoundedSchema.nullable().optional()
|
|
32738
|
+
rounded: boxRoundedSchema.nullable().optional(),
|
|
32739
|
+
treatment: z35.enum(["accent-quote"]).nullable().optional()
|
|
32623
32740
|
});
|
|
32624
32741
|
var blockStyleOverridesSchema = z35.object({
|
|
32625
32742
|
sectionStyles: sectionStylesOverrideSchema.nullable().optional(),
|
|
@@ -32694,15 +32811,7 @@ var inputStyle = z35.object({
|
|
|
32694
32811
|
});
|
|
32695
32812
|
var headerVariant = z35.enum(["classic", "centered", "transparent", "floating", "editorial"]);
|
|
32696
32813
|
var headerPositioning = z35.enum(["static", "sticky", "fixed"]);
|
|
32697
|
-
var headerNavStyle = z35.enum([
|
|
32698
|
-
"minimal",
|
|
32699
|
-
"underline",
|
|
32700
|
-
"underline-grow",
|
|
32701
|
-
"capsule",
|
|
32702
|
-
"scale",
|
|
32703
|
-
"frosted",
|
|
32704
|
-
"solid"
|
|
32705
|
-
]);
|
|
32814
|
+
var headerNavStyle = z35.enum(["minimal", "underline", "underline-grow", "capsule", "scale", "frosted", "solid"]);
|
|
32706
32815
|
var navFontWeight = z35.enum(["regular", "medium", "semibold", "bold"]);
|
|
32707
32816
|
var headerMaxWidth = z35.enum(["container", "full"]);
|
|
32708
32817
|
var headerContainerSchema = z35.object({
|
|
@@ -32756,6 +32865,7 @@ var dropdownStyleSchema = z35.object({
|
|
|
32756
32865
|
// optional = no override (browser default)
|
|
32757
32866
|
}).optional();
|
|
32758
32867
|
var headerCtaGapSchema = z35.enum(["none", "tight", "compact", "default", "relaxed", "spacious"]);
|
|
32868
|
+
var headerCtaTreatmentSchema = z35.enum(["default", "primary", "secondary", "inverted", "outline", "ghost"]);
|
|
32759
32869
|
var navContainerSchema = z35.object({
|
|
32760
32870
|
type: z35.enum(["none", "pill", "glass"]).default("none"),
|
|
32761
32871
|
tint: z35.string().nullable().optional(),
|
|
@@ -32774,7 +32884,10 @@ var headerSchema = z35.object({
|
|
|
32774
32884
|
shrinkOnScroll: z35.boolean(),
|
|
32775
32885
|
maxWidth: headerMaxWidth,
|
|
32776
32886
|
logoOverride: mediaSchema2.nullable().optional(),
|
|
32777
|
-
background: headerBackgroundSchema.default({
|
|
32887
|
+
background: headerBackgroundSchema.default({
|
|
32888
|
+
type: "color",
|
|
32889
|
+
color: "surface"
|
|
32890
|
+
}),
|
|
32778
32891
|
textColor: z35.string().nullable().optional(),
|
|
32779
32892
|
// Site title and general header text
|
|
32780
32893
|
navStyle: headerNavStyle,
|
|
@@ -32794,6 +32907,13 @@ var headerSchema = z35.object({
|
|
|
32794
32907
|
navLinkStyle: navLinkStyleSchema.optional(),
|
|
32795
32908
|
// CTA button spacing (desktop left margin)
|
|
32796
32909
|
ctaGap: headerCtaGapSchema.optional(),
|
|
32910
|
+
// Semantic CTA treatment for header/nav CTA buttons. The Theme V2 compiler
|
|
32911
|
+
// materializes this to ctaVariant against the active button personality.
|
|
32912
|
+
ctaTreatment: headerCtaTreatmentSchema.optional(),
|
|
32913
|
+
// Optional theme-level CTA variant for header/nav CTA buttons.
|
|
32914
|
+
// Internal runtime bridge for the block renderer; prefer ctaTreatment in
|
|
32915
|
+
// authored Theme V2 concepts.
|
|
32916
|
+
ctaVariant: z35.string().min(1).optional(),
|
|
32797
32917
|
// Dropdown menu styling (nav dropdowns and mobile drawer)
|
|
32798
32918
|
dropdownStyle: dropdownStyleSchema
|
|
32799
32919
|
});
|
|
@@ -32850,7 +32970,10 @@ var footerSchema = z35.object({
|
|
|
32850
32970
|
variant: footerVariant,
|
|
32851
32971
|
maxWidth: footerMaxWidth,
|
|
32852
32972
|
showLogoText: z35.boolean().optional(),
|
|
32853
|
-
background: headerBackgroundSchema.default({
|
|
32973
|
+
background: headerBackgroundSchema.default({
|
|
32974
|
+
type: "color",
|
|
32975
|
+
color: "surface"
|
|
32976
|
+
}),
|
|
32854
32977
|
// Footer nav styling (independent from header)
|
|
32855
32978
|
navStyle: headerNavStyle.default("minimal"),
|
|
32856
32979
|
navColor: z35.string().nullable().optional(),
|
|
@@ -32872,17 +32995,7 @@ var layoutSchema = z35.object({
|
|
|
32872
32995
|
desktop: containerPaddingPresetSchema.optional()
|
|
32873
32996
|
}).optional()
|
|
32874
32997
|
}).optional();
|
|
32875
|
-
var heroTypographySizeSchema = z35.enum([
|
|
32876
|
-
"sm",
|
|
32877
|
-
"base",
|
|
32878
|
-
"lg",
|
|
32879
|
-
"xl",
|
|
32880
|
-
"2xl",
|
|
32881
|
-
"3xl",
|
|
32882
|
-
"4xl",
|
|
32883
|
-
"5xl",
|
|
32884
|
-
"6xl"
|
|
32885
|
-
]);
|
|
32998
|
+
var heroTypographySizeSchema = z35.enum(["sm", "base", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl", "editorial"]);
|
|
32886
32999
|
var heroTypographyLineHeightSchema = z35.enum(["tight", "snug", "normal", "relaxed"]);
|
|
32887
33000
|
var heroResponsiveTypographySchema = z35.object({
|
|
32888
33001
|
headlineSize: heroTypographySizeSchema.optional(),
|
|
@@ -32907,6 +33020,13 @@ var heroTypographySchema = z35.object({
|
|
|
32907
33020
|
var heroSchema = z35.object({
|
|
32908
33021
|
typography: heroTypographySchema.optional()
|
|
32909
33022
|
}).optional();
|
|
33023
|
+
var bodyTextIntroTypographySizeSchema = z35.enum(["default", "editorial"]);
|
|
33024
|
+
var bodyTextSchema = z35.object({
|
|
33025
|
+
intro: z35.object({
|
|
33026
|
+
paragraphSize: bodyTextIntroTypographySizeSchema.optional(),
|
|
33027
|
+
headingSize: bodyTextIntroTypographySizeSchema.optional()
|
|
33028
|
+
}).optional()
|
|
33029
|
+
}).optional();
|
|
32910
33030
|
var gradientsSchema = z35.object({
|
|
32911
33031
|
button: z35.string().min(1).nullable().optional(),
|
|
32912
33032
|
hero: z35.string().min(1).nullable().optional(),
|
|
@@ -32928,6 +33048,7 @@ var themeSchema = z35.object({
|
|
|
32928
33048
|
gradients: gradientsSchema.optional(),
|
|
32929
33049
|
layout: layoutSchema,
|
|
32930
33050
|
hero: heroSchema,
|
|
33051
|
+
bodyText: bodyTextSchema,
|
|
32931
33052
|
header: headerSchema,
|
|
32932
33053
|
footer: footerSchema,
|
|
32933
33054
|
buttons: buttonSystemSchema.optional(),
|
|
@@ -32951,10 +33072,7 @@ var themeSchema = z35.object({
|
|
|
32951
33072
|
).optional(),
|
|
32952
33073
|
// Structured block-kind theme overrides (v1: typography prose-link style only)
|
|
32953
33074
|
// Keyed by block kind (usually data-block value like "hero"; "block.hero" also accepted)
|
|
32954
|
-
blockOverrides: z35.record(
|
|
32955
|
-
z35.string(),
|
|
32956
|
-
blockThemeOverrideSchema
|
|
32957
|
-
).optional(),
|
|
33075
|
+
blockOverrides: z35.record(z35.string(), blockThemeOverrideSchema).optional(),
|
|
32958
33076
|
// Structured custom CSS rules
|
|
32959
33077
|
// Validated, scoped, and safe by construction - no @import, remote url(), or global selectors
|
|
32960
33078
|
customCssRules: customCssRulesSchema,
|
|
@@ -33125,6 +33243,28 @@ var brandLedJewel = definePaletteVariant({
|
|
|
33125
33243
|
{ name: "border", hex: "#a8a29e" }
|
|
33126
33244
|
]
|
|
33127
33245
|
});
|
|
33246
|
+
var brandLedBurgundyGold = definePaletteVariant({
|
|
33247
|
+
id: "brand-led-burgundy-gold",
|
|
33248
|
+
name: "Brand-led \u2014 Burgundy Gold",
|
|
33249
|
+
description: "Deep burgundy with warm gold accents and soft neutral grounds.",
|
|
33250
|
+
tags: { tone: "bold", energy: "vibrant", era: "modern" },
|
|
33251
|
+
mode: "light",
|
|
33252
|
+
colors: [
|
|
33253
|
+
{ name: "primary", hex: "#7c2e38" },
|
|
33254
|
+
{ name: "secondary", hex: "#d4af37" },
|
|
33255
|
+
{ name: "accent", hex: "#b8e19a" },
|
|
33256
|
+
{ name: "success", hex: "#10b981" },
|
|
33257
|
+
{ name: "warning", hex: "#f59e0b" },
|
|
33258
|
+
{ name: "destructive", hex: "#ef4444" },
|
|
33259
|
+
{ name: "background", hex: "#f1dfd0" },
|
|
33260
|
+
{ name: "surface", hex: "#f5e6db" },
|
|
33261
|
+
{ name: "surfaceAlt", hex: "#f8ece3" },
|
|
33262
|
+
{ name: "muted", hex: "#c9b8a8" },
|
|
33263
|
+
{ name: "text", hex: "#400000" },
|
|
33264
|
+
{ name: "primaryForeground", hex: "#ffffff" },
|
|
33265
|
+
{ name: "border", hex: "#c9b8a8" }
|
|
33266
|
+
]
|
|
33267
|
+
});
|
|
33128
33268
|
|
|
33129
33269
|
// ../theme-core/src/palette/variants/high-contrast.ts
|
|
33130
33270
|
var highContrastInk = definePaletteVariant({
|
|
@@ -33336,6 +33476,7 @@ var paletteVariants = [
|
|
|
33336
33476
|
brandLedCool,
|
|
33337
33477
|
brandLedWarm,
|
|
33338
33478
|
brandLedJewel,
|
|
33479
|
+
brandLedBurgundyGold,
|
|
33339
33480
|
// Warm-neutral family
|
|
33340
33481
|
warmNeutralClay,
|
|
33341
33482
|
warmNeutralCream,
|