@riverbankcms/sdk 0.126.0 → 0.127.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-DcYJxTgc.mjs → PreviewEditorSidebar-BXtfF7tp.mjs} +58 -38
- package/dist/{PreviewEditorUI-Ctt1yTJr.mjs → PreviewEditorUI-Dou73Q0K.mjs} +2 -2
- package/dist/{SdkPreviewModeRuntime-CvW1vdQ4.mjs → SdkPreviewModeRuntime-B0HPXr-l.mjs} +119 -41
- package/dist/{SiteChromeCustomizeContext-C87qlKWw.mjs → SiteChromeCustomizeContext-DZiDBAYu.mjs} +9961 -9583
- package/dist/_dts/ai/src/contracts/proposals.d.ts +198 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -5
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +2 -1
- package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +1 -0
- package/dist/_dts/blocks/src/index.d.ts +3 -2
- package/dist/_dts/blocks/src/lib/media.d.ts +267 -0
- package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +0 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/mergeResolveImageUrlContexts.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
- package/dist/_dts/content-editor/src/ui/blockValidationManifestRegistry.d.ts +17 -0
- package/dist/_dts/content-editor/src/ui/blockValidationView.d.ts +1 -1
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +4 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +143 -155
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +4 -0
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockValidationManifests.d.ts +26 -0
- package/dist/_dts/editor-blocks/src/widgets/rich-text/imageInsert.d.ts +3 -3
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -2
- package/dist/_dts/media-editor/src/context.d.ts +1 -2
- package/dist/_dts/media-editor/src/index.d.ts +3 -1
- package/dist/_dts/media-editor/src/mediaSelection.d.ts +32 -0
- package/dist/_dts/media-editor/src/types.d.ts +3 -1
- package/dist/_dts/media-editor/src/useMediaSelection.d.ts +26 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/HeaderMenuControls.d.ts +12 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +12 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +7 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -49
- package/dist/_dts/preview-next/src/client/preview/headerInteractionPaletteSurfaceState.d.ts +8 -0
- package/dist/_dts/preview-next/src/client/preview/previewThemeRoles.d.ts +15 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeCustomizeTypes.d.ts +54 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +13 -3
- package/dist/_dts/preview-next/src/client/preview/siteChromeNavQuickControlHistory.d.ts +3 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +6 -3
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -2
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/effects/presets/background.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +0 -18
- package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -3
- package/dist/_dts/theme-core/src/header/containerSchema.d.ts +20 -0
- package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +14 -0
- package/dist/_dts/theme-core/src/header/legacyNavLinkStyle.d.ts +3 -0
- package/dist/_dts/theme-core/src/header/paintTargets.d.ts +25 -0
- package/dist/_dts/theme-core/src/header/scrollTreatment.d.ts +11 -0
- package/dist/_dts/theme-core/src/header/surfaceRules.d.ts +9 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +15 -0
- package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +67 -19
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +3 -51
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +4 -11
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +3 -51
- package/dist/_dts/theme-core/src/site-styles/headerInteractionPalette.d.ts +32 -0
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +19 -106
- package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +22 -0
- package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/lookOptionGroups.d.ts +24 -0
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +1 -2
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +4 -22
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorOptions.d.ts +21 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +4 -1
- package/dist/cli/index.mjs +973 -1081
- package/dist/client/{DiscountCodeDisclosure-DS0AuFWW.mjs → DiscountCodeDisclosure-BDFRp8Y7.mjs} +1 -1
- package/dist/client/{EventCombined.client-DtMxLr7q.mjs → EventCombined.client-DJgF1_lf.mjs} +2 -2
- package/dist/client/{EventListing.client-BdLSRNg1.mjs → EventListing.client-CnWGNjOr.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BrpC6vsT.mjs → LeafletStaticMap-BISs9Bl7.mjs} +1 -1
- package/dist/client/{MagicLinkForm-Bt3IuLMy.mjs → MagicLinkForm-b5E_HoG9.mjs} +1 -1
- package/dist/client/{StepIndicator-CBYPFVoy.mjs → StepIndicator-D8gVYkK-.mjs} +2 -2
- package/dist/client/{accordion-BqqwPJWM.mjs → accordion-DFDajgDz.mjs} +1 -1
- package/dist/client/{bookingForm-SneP3yxC.mjs → bookingForm-Bdqj9-52.mjs} +5 -5
- package/dist/client/bookings.mjs +126 -23
- package/dist/client/{carousel-BTIR9L3I.mjs → carousel-Cvqf-kN8.mjs} +1 -1
- package/dist/client/{cart-bqiqd8SX.mjs → cart-CuH2TJXP.mjs} +3 -3
- package/dist/client/{checkout-WbTFV5v4.mjs → checkout-CMNPpejZ.mjs} +3 -3
- package/dist/client/client.mjs +1227 -1209
- package/dist/client/{courseRegistration-BcemLAdN.mjs → courseRegistration-DTEYWL6Z.mjs} +6 -6
- package/dist/client/{eventCalendar-CsxIw0V_.mjs → eventCalendar-BW-XoxZ0.mjs} +4 -4
- package/dist/client/{eventCombined-B6XMoHfa.mjs → eventCombined-Bpn7s0y9.mjs} +2 -2
- package/dist/client/{eventDetails-BJaoPPfo.mjs → eventDetails-D2uUSTMH.mjs} +3 -3
- package/dist/client/{eventListing-DgwdYHRT.mjs → eventListing-CVr1c094.mjs} +2 -2
- package/dist/client/{eventRegistration-C0O3folu.mjs → eventRegistration-Dv4AvkMw.mjs} +6 -6
- package/dist/client/{form-Bk9txGFt.mjs → form-DxdKf9fs.mjs} +1 -1
- package/dist/client/{headerSection-yIBt0yTv.mjs → headerSection-BaXI5Sro.mjs} +2 -2
- package/dist/client/hooks.mjs +801 -874
- package/dist/client/{locationMap-C-3KIpv-.mjs → locationMap-BEtW2fKz.mjs} +2 -2
- package/dist/client/{newsletterForm-CzB8g8h2.mjs → newsletterForm-BKKs0S4R.mjs} +1 -1
- package/dist/client/{pricing-C1QeDes_.mjs → pricing-ClkqcElA.mjs} +1 -1
- package/dist/client/{productDetail-w7SBp5uc.mjs → productDetail-H-ru8dyy.mjs} +3 -3
- package/dist/client/{productList-D0tGKHGf.mjs → productList-Buyi5c0C.mjs} +3 -3
- package/dist/client/{propsDecoder-Bcin2DB3.mjs → propsDecoder-BF7i6Ijg.mjs} +127 -55
- package/dist/client/rendering/client.mjs +928 -916
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +1130 -1114
- package/dist/client/{scrollToBlock-h-o_STf_.mjs → scrollToBlock-D_7t8yWb.mjs} +1 -1
- package/dist/client/{shop-BGzmL8O_.mjs → shop-CF7SZQNX.mjs} +5 -5
- package/dist/client/{shop-commerce-lX8QxjX-.mjs → shop-commerce-DA7_Rq5p.mjs} +4 -4
- package/dist/client/{shop-commerce-store-CEurARtu.mjs → shop-commerce-store-BmLqW7Gh.mjs} +1 -1
- package/dist/client/{shopShared-DXxH8xxw.mjs → shopShared-WL-E1znM.mjs} +2 -2
- package/dist/client/{useEventFilters-B591g9vd.mjs → useEventFilters-rc8VLeLV.mjs} +2 -2
- package/dist/client/{usePolling-BvnChV4m.mjs → usePolling-1ncrfd4S.mjs} +2 -2
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-M__i3Jce.mjs → sdk-runtime-BnrCCFJq.mjs} +1 -1
- package/dist/{separator-VSlnI9bc.mjs → separator-CFvBx2yl.mjs} +1 -1
- package/dist/server/components.mjs +1302 -1350
- package/dist/server/config-validation.mjs +801 -874
- package/dist/server/config.mjs +801 -874
- package/dist/server/data.mjs +801 -874
- package/dist/server/index.mjs +1 -1
- package/dist/server/next.mjs +1303 -1351
- package/dist/server/page-converter.mjs +801 -874
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1296 -1344
- package/dist/server/rendering.mjs +1302 -1350
- package/dist/server/routing.mjs +869 -895
- package/dist/server/server.mjs +802 -875
- package/dist/server/theme-bridge.mjs +151 -118
- package/dist/server/theme.mjs +111 -23
- package/package.json +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/ensureRichTextImageAssetIdentifier.d.ts +0 -8
|
@@ -3053,7 +3053,7 @@ function canonicalPaletteHashInput(colors, mode) {
|
|
|
3053
3053
|
return `${mode}|${paletteColorFingerprint(colors)}`;
|
|
3054
3054
|
}
|
|
3055
3055
|
/**
|
|
3056
|
-
*
|
|
3056
|
+
* Stable curated-catalogue identity. Do not reorder roles: the order comes
|
|
3057
3057
|
* from PALETTE_TOKEN_NAMES through canonicalPaletteHashInput.
|
|
3058
3058
|
*/
|
|
3059
3059
|
function paletteValueKey(colors, mode) {
|
|
@@ -4513,8 +4513,6 @@ const VARIANT_ROLES = [
|
|
|
4513
4513
|
"secondary",
|
|
4514
4514
|
"outline",
|
|
4515
4515
|
"ghost",
|
|
4516
|
-
"link",
|
|
4517
|
-
"tertiary",
|
|
4518
4516
|
"accent"
|
|
4519
4517
|
];
|
|
4520
4518
|
/**
|
|
@@ -4523,7 +4521,7 @@ const VARIANT_ROLES = [
|
|
|
4523
4521
|
* IDs become class selectors, so keep the contract deliberately narrower than
|
|
4524
4522
|
* an arbitrary string and shared with every authoring/runtime boundary.
|
|
4525
4523
|
*/
|
|
4526
|
-
const buttonVariantIdSchema = z$1.string().min(1).max(50).regex(/^[a-z0-9-]+$/, "Button variant IDs may contain lowercase letters, numbers, and hyphens only");
|
|
4524
|
+
const buttonVariantIdSchema = z$1.string().min(1).max(50).regex(/^[a-z0-9-]+$/, "Button variant IDs may contain lowercase letters, numbers, and hyphens only").refine((value) => value !== "link" && value !== "tertiary", { message: "Retired button role IDs are not valid variant IDs" });
|
|
4527
4525
|
function parseOpaqueButtonColourToken(value) {
|
|
4528
4526
|
const token = parseThemeColorToken(value);
|
|
4529
4527
|
if (token === null) return null;
|
|
@@ -4926,6 +4924,59 @@ function surfaceForegroundStyle(input) {
|
|
|
4926
4924
|
[SURFACE_FOREGROUND_CSS_VARS.supporting]: foregrounds.supporting
|
|
4927
4925
|
};
|
|
4928
4926
|
}
|
|
4927
|
+
shadeBackgroundEffect({
|
|
4928
|
+
id: "darken-background",
|
|
4929
|
+
name: "Darken on Hover",
|
|
4930
|
+
description: "Darkens the background color on hover",
|
|
4931
|
+
label: "Darken Amount (shade step)",
|
|
4932
|
+
shadeDirection: 1
|
|
4933
|
+
});
|
|
4934
|
+
shadeBackgroundEffect({
|
|
4935
|
+
id: "lighten-background",
|
|
4936
|
+
name: "Lighten on Hover",
|
|
4937
|
+
description: "Lightens the background color on hover",
|
|
4938
|
+
label: "Lighten Amount (shade step)",
|
|
4939
|
+
shadeDirection: -1
|
|
4940
|
+
});
|
|
4941
|
+
function shadeBackgroundEffect(config) {
|
|
4942
|
+
return {
|
|
4943
|
+
id: config.id,
|
|
4944
|
+
name: config.name,
|
|
4945
|
+
description: config.description,
|
|
4946
|
+
category: "background",
|
|
4947
|
+
pseudoElement: "none",
|
|
4948
|
+
applicableTo: ["button"],
|
|
4949
|
+
customizableOption: {
|
|
4950
|
+
name: "amount",
|
|
4951
|
+
type: "select",
|
|
4952
|
+
label: config.label,
|
|
4953
|
+
default: 100,
|
|
4954
|
+
options: [
|
|
4955
|
+
0,
|
|
4956
|
+
100,
|
|
4957
|
+
200,
|
|
4958
|
+
300,
|
|
4959
|
+
400,
|
|
4960
|
+
500,
|
|
4961
|
+
600,
|
|
4962
|
+
700,
|
|
4963
|
+
800,
|
|
4964
|
+
900
|
|
4965
|
+
]
|
|
4966
|
+
},
|
|
4967
|
+
isApplicable: (buttonConfig) => buttonConfig.background.type === "solid",
|
|
4968
|
+
generateCSS: ({ themeId, variantId, options, tokens, buttonConfig }) => {
|
|
4969
|
+
if (buttonConfig.background.type !== "solid") return "";
|
|
4970
|
+
const amount = (options.amount || 100) * config.shadeDirection;
|
|
4971
|
+
const baseToken = buttonConfig.background.colorToken ?? "primary-500";
|
|
4972
|
+
return `
|
|
4973
|
+
:where([data-theme-scope="${themeId}"]) .${variantId}:hover {
|
|
4974
|
+
background-color: ${tokens.getColor(tokens.adjustShade(baseToken, amount))};
|
|
4975
|
+
}
|
|
4976
|
+
`;
|
|
4977
|
+
}
|
|
4978
|
+
};
|
|
4979
|
+
}
|
|
4929
4980
|
buttonSizeNameSchema.options;
|
|
4930
4981
|
//#endregion
|
|
4931
4982
|
//#region ../theme-core/src/buttons/styles/domain.ts
|
|
@@ -7740,6 +7791,60 @@ function resolveThemeColorReferenceValue(input, context) {
|
|
|
7740
7791
|
const reference = parseThemeColorReference(input, context);
|
|
7741
7792
|
return reference.kind === "literal-css" ? reference.value : rgbColorValue(reference.token);
|
|
7742
7793
|
}
|
|
7794
|
+
const BREAKPOINT_LG = 1024;
|
|
7795
|
+
const BREAKPOINT_XL = 1280;
|
|
7796
|
+
const BREAKPOINT_LG_DOWN = BREAKPOINT_LG - 1;
|
|
7797
|
+
function mqUp(px) {
|
|
7798
|
+
return `(min-width: ${px}px)`;
|
|
7799
|
+
}
|
|
7800
|
+
function mqDown(px) {
|
|
7801
|
+
return `(max-width: ${px}px)`;
|
|
7802
|
+
}
|
|
7803
|
+
function mqBetween(minPx, maxPx) {
|
|
7804
|
+
return `${mqUp(minPx)} and ${mqDown(maxPx)}`;
|
|
7805
|
+
}
|
|
7806
|
+
mqUp(640);
|
|
7807
|
+
mqUp(768);
|
|
7808
|
+
mqUp(BREAKPOINT_LG);
|
|
7809
|
+
mqUp(BREAKPOINT_XL);
|
|
7810
|
+
mqDown(639);
|
|
7811
|
+
mqDown(767);
|
|
7812
|
+
mqDown(BREAKPOINT_LG_DOWN);
|
|
7813
|
+
mqBetween(640, BREAKPOINT_LG_DOWN);
|
|
7814
|
+
mqDown(640);
|
|
7815
|
+
mqDown(768);
|
|
7816
|
+
//#endregion
|
|
7817
|
+
//#region ../theme-core/src/header/scrollTreatment.ts
|
|
7818
|
+
const headerScrollTreatmentSchema = z$1.discriminatedUnion("kind", [z$1.object({
|
|
7819
|
+
kind: z$1.literal("contrast-glass"),
|
|
7820
|
+
backgroundTone: z$1.enum(["light", "dark"])
|
|
7821
|
+
})]).optional();
|
|
7822
|
+
//#endregion
|
|
7823
|
+
//#region ../theme-core/src/header/containerSchema.ts
|
|
7824
|
+
const headerContainerSchema = z$1.object({
|
|
7825
|
+
rounded: z$1.enum([
|
|
7826
|
+
"none",
|
|
7827
|
+
"sm",
|
|
7828
|
+
"md",
|
|
7829
|
+
"lg",
|
|
7830
|
+
"xl",
|
|
7831
|
+
"2xl"
|
|
7832
|
+
]).default("xl"),
|
|
7833
|
+
border: z$1.boolean().default(true),
|
|
7834
|
+
shadow: z$1.boolean().default(true),
|
|
7835
|
+
padding: z$1.enum([
|
|
7836
|
+
"sm",
|
|
7837
|
+
"md",
|
|
7838
|
+
"lg"
|
|
7839
|
+
]).default("md"),
|
|
7840
|
+
tint: z$1.string().nullable().optional(),
|
|
7841
|
+
opacity: z$1.number().min(0).max(1).default(.12)
|
|
7842
|
+
}).optional();
|
|
7843
|
+
const headerInteractionPaletteSchema = z$1.enum([
|
|
7844
|
+
"primary",
|
|
7845
|
+
"secondary",
|
|
7846
|
+
"accent"
|
|
7847
|
+
]);
|
|
7743
7848
|
//#endregion
|
|
7744
7849
|
//#region ../theme-core/src/schema.ts
|
|
7745
7850
|
const axesSchema = z$1.object({
|
|
@@ -8149,25 +8254,6 @@ const navFontWeight = z$1.enum([
|
|
|
8149
8254
|
]);
|
|
8150
8255
|
const headerMaxWidth = z$1.enum(["container", "full"]);
|
|
8151
8256
|
const headerBarFrame = z$1.enum(["full-bleed", "inset-shell"]);
|
|
8152
|
-
const headerContainerSchema = z$1.object({
|
|
8153
|
-
rounded: z$1.enum([
|
|
8154
|
-
"none",
|
|
8155
|
-
"sm",
|
|
8156
|
-
"md",
|
|
8157
|
-
"lg",
|
|
8158
|
-
"xl",
|
|
8159
|
-
"2xl"
|
|
8160
|
-
]).default("xl"),
|
|
8161
|
-
border: z$1.boolean().default(true),
|
|
8162
|
-
shadow: z$1.boolean().default(true),
|
|
8163
|
-
padding: z$1.enum([
|
|
8164
|
-
"sm",
|
|
8165
|
-
"md",
|
|
8166
|
-
"lg"
|
|
8167
|
-
]).default("md"),
|
|
8168
|
-
tint: z$1.string().nullable().optional(),
|
|
8169
|
-
opacity: z$1.number().min(0).max(1).default(.12)
|
|
8170
|
-
}).optional();
|
|
8171
8257
|
const headerBorderSchema = componentBorderSchema.extend({ position: z$1.enum([
|
|
8172
8258
|
"bottom",
|
|
8173
8259
|
"top",
|
|
@@ -8294,6 +8380,7 @@ const headerSchema = z$1.object({
|
|
|
8294
8380
|
shrinkOnScroll: z$1.boolean(),
|
|
8295
8381
|
maxWidth: headerMaxWidth,
|
|
8296
8382
|
barFrame: headerBarFrame.optional(),
|
|
8383
|
+
scrollTreatment: headerScrollTreatmentSchema,
|
|
8297
8384
|
logoOverride: mediaSchema$1.nullable().optional(),
|
|
8298
8385
|
background: headerBackgroundSchema.default({
|
|
8299
8386
|
type: "color",
|
|
@@ -8306,6 +8393,7 @@ const headerSchema = z$1.object({
|
|
|
8306
8393
|
navFontRole: z$1.enum(["body", "heading"]).optional(),
|
|
8307
8394
|
navTypography: z$1.enum(["body", "heading"]).optional(),
|
|
8308
8395
|
navTextSize: navLinkStyleSchema.shape.textSize,
|
|
8396
|
+
interactionPalette: headerInteractionPaletteSchema.optional(),
|
|
8309
8397
|
navPlacement: z$1.enum(["end", "center"]).optional(),
|
|
8310
8398
|
container: headerContainerSchema,
|
|
8311
8399
|
border: headerBorderSchema,
|
|
@@ -8598,770 +8686,669 @@ z$1.object({
|
|
|
8598
8686
|
themes: z$1.array(themeSchema).length(3)
|
|
8599
8687
|
});
|
|
8600
8688
|
//#endregion
|
|
8689
|
+
//#region ../theme-core/src/site-styles/lookOptionGroups.ts
|
|
8690
|
+
function defineLookOptionGroup(group) {
|
|
8691
|
+
defaultOption(group);
|
|
8692
|
+
return group;
|
|
8693
|
+
}
|
|
8694
|
+
function defaultOption(group) {
|
|
8695
|
+
const option = group.options.find((candidate) => candidate.id === group.defaultOptionId);
|
|
8696
|
+
if (option) return option;
|
|
8697
|
+
throw new Error(`Look option group "${group.id}" defaults to missing option "${group.defaultOptionId}".`);
|
|
8698
|
+
}
|
|
8699
|
+
//#endregion
|
|
8601
8700
|
//#region ../theme-core/src/site-styles/appearancePresetResolution.ts
|
|
8602
8701
|
function assertValidOptionGroups(preset) {
|
|
8603
8702
|
preset.optionGroups?.forEach((group) => {
|
|
8604
|
-
|
|
8703
|
+
defineLookOptionGroup(group);
|
|
8605
8704
|
});
|
|
8606
8705
|
}
|
|
8607
8706
|
function defineBlockAppearancePreset(preset) {
|
|
8608
8707
|
assertValidOptionGroups(preset);
|
|
8609
8708
|
return preset;
|
|
8610
8709
|
}
|
|
8611
|
-
|
|
8612
|
-
|
|
8613
|
-
|
|
8614
|
-
|
|
8615
|
-
|
|
8616
|
-
|
|
8617
|
-
|
|
8618
|
-
|
|
8619
|
-
|
|
8620
|
-
|
|
8621
|
-
|
|
8622
|
-
|
|
8623
|
-
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
|
|
8631
|
-
|
|
8632
|
-
|
|
8633
|
-
|
|
8710
|
+
//#endregion
|
|
8711
|
+
//#region ../theme-core/src/site-styles/blockAppearancePresets.ts
|
|
8712
|
+
const brandScrimOptionGroups = [{
|
|
8713
|
+
id: "image-surface-treatment",
|
|
8714
|
+
label: "Treatment",
|
|
8715
|
+
defaultOptionId: "brand-scrim-primary",
|
|
8716
|
+
options: [{
|
|
8717
|
+
id: "brand-scrim-primary",
|
|
8718
|
+
label: "Brand scrim",
|
|
8719
|
+
designPatch: { imageSurfaceTreatment: {
|
|
8720
|
+
kind: "brand-scrim",
|
|
8721
|
+
token: "primary"
|
|
8722
|
+
} }
|
|
8723
|
+
}, {
|
|
8724
|
+
id: "neutral-scrim",
|
|
8725
|
+
label: "Neutral scrim",
|
|
8726
|
+
designPatch: { imageSurfaceTreatment: { kind: "neutral-scrim" } }
|
|
8727
|
+
}]
|
|
8728
|
+
}];
|
|
8729
|
+
const microBannerLayoutPatches = [{
|
|
8730
|
+
constraints: { layoutVariantKeys: ["micro"] },
|
|
8731
|
+
designPatch: { sectionHeight: "banner" }
|
|
8732
|
+
}];
|
|
8733
|
+
defineBlockAppearancePreset({
|
|
8734
|
+
id: "hero-immersive-image",
|
|
8735
|
+
target: "hero",
|
|
8736
|
+
label: "Immersive image hero",
|
|
8737
|
+
blockKinds: ["block.hero"],
|
|
8738
|
+
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
8739
|
+
layoutPatches: [{
|
|
8740
|
+
constraints: { layoutVariantKeys: ["micro"] },
|
|
8741
|
+
designPatch: {
|
|
8742
|
+
sectionHeight: "banner",
|
|
8743
|
+
heroTypographyScale: "display"
|
|
8634
8744
|
}
|
|
8635
|
-
}
|
|
8636
|
-
|
|
8637
|
-
|
|
8638
|
-
|
|
8639
|
-
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
|
|
8651
|
-
|
|
8652
|
-
|
|
8653
|
-
|
|
8654
|
-
|
|
8655
|
-
|
|
8656
|
-
|
|
8657
|
-
|
|
8658
|
-
|
|
8659
|
-
token: "primary",
|
|
8660
|
-
intensity: "balanced"
|
|
8661
|
-
} }
|
|
8662
|
-
}]
|
|
8663
|
-
}],
|
|
8664
|
-
layoutPatches: [{
|
|
8665
|
-
constraints: { layoutVariantKeys: ["micro"] },
|
|
8666
|
-
designPatch: {
|
|
8667
|
-
sectionHeight: "banner",
|
|
8668
|
-
heroTypographyScale: "editorial"
|
|
8669
|
-
}
|
|
8670
|
-
}],
|
|
8671
|
-
design: {
|
|
8672
|
-
sectionSurface: "hero-image",
|
|
8673
|
-
contentFrame: panelFrame("raised"),
|
|
8674
|
-
itemSurface: "none",
|
|
8675
|
-
sectionHeight: "immersive",
|
|
8676
|
-
heroComposition: "bottom-left",
|
|
8677
|
-
heroTypographyScale: "display",
|
|
8678
|
-
imageSurfaceTreatment: {
|
|
8745
|
+
}],
|
|
8746
|
+
design: {
|
|
8747
|
+
sectionSurface: "hero-image",
|
|
8748
|
+
contentFrame: plainFrame,
|
|
8749
|
+
itemSurface: "none",
|
|
8750
|
+
sectionHeight: "hero",
|
|
8751
|
+
heroComposition: "center",
|
|
8752
|
+
heroTypographyScale: "display",
|
|
8753
|
+
imageSurfaceTreatment: { kind: "neutral-wash" }
|
|
8754
|
+
}
|
|
8755
|
+
}), defineBlockAppearancePreset({
|
|
8756
|
+
id: "hero-bottom-left-panel",
|
|
8757
|
+
target: "hero",
|
|
8758
|
+
label: "Bottom-left panel hero",
|
|
8759
|
+
blockKinds: ["block.hero"],
|
|
8760
|
+
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
8761
|
+
optionGroups: [{
|
|
8762
|
+
id: "image-surface-treatment",
|
|
8763
|
+
label: "Treatment",
|
|
8764
|
+
defaultOptionId: "neutral-scrim",
|
|
8765
|
+
options: [{
|
|
8766
|
+
id: "neutral-scrim",
|
|
8767
|
+
label: "Neutral scrim",
|
|
8768
|
+
designPatch: { imageSurfaceTreatment: {
|
|
8679
8769
|
kind: "neutral-scrim",
|
|
8680
8770
|
intensity: "balanced"
|
|
8681
|
-
}
|
|
8682
|
-
}
|
|
8683
|
-
|
|
8684
|
-
|
|
8685
|
-
|
|
8686
|
-
id: "hero-poster-image",
|
|
8687
|
-
target: "hero",
|
|
8688
|
-
label: "Poster image hero",
|
|
8689
|
-
blockKinds: ["block.hero"],
|
|
8690
|
-
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
8691
|
-
layoutPatches: [{
|
|
8692
|
-
constraints: { layoutVariantKeys: ["micro"] },
|
|
8693
|
-
designPatch: {
|
|
8694
|
-
sectionHeight: "banner",
|
|
8695
|
-
heroTypographyScale: "display"
|
|
8696
|
-
}
|
|
8697
|
-
}],
|
|
8698
|
-
design: {
|
|
8699
|
-
sectionSurface: "hero-image",
|
|
8700
|
-
contentFrame: plainFrame,
|
|
8701
|
-
itemSurface: "none",
|
|
8702
|
-
sectionHeight: "immersive",
|
|
8703
|
-
heroComposition: "center",
|
|
8704
|
-
heroTypographyScale: "poster",
|
|
8705
|
-
imageSurfaceTreatment: {
|
|
8771
|
+
} }
|
|
8772
|
+
}, {
|
|
8773
|
+
id: "brand-scrim-primary",
|
|
8774
|
+
label: "Brand scrim",
|
|
8775
|
+
designPatch: { imageSurfaceTreatment: {
|
|
8706
8776
|
kind: "brand-scrim",
|
|
8707
8777
|
token: "primary",
|
|
8708
|
-
intensity: "
|
|
8709
|
-
}
|
|
8710
|
-
}
|
|
8711
|
-
}
|
|
8712
|
-
|
|
8713
|
-
|
|
8714
|
-
|
|
8715
|
-
|
|
8716
|
-
label: "Brand scrim image hero",
|
|
8717
|
-
blockKinds: ["block.hero"],
|
|
8718
|
-
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
8719
|
-
optionGroups: [{
|
|
8720
|
-
id: "image-surface-treatment",
|
|
8721
|
-
label: "Treatment",
|
|
8722
|
-
selectedOptionId: "brand-scrim-primary",
|
|
8723
|
-
options: [{
|
|
8724
|
-
id: "brand-scrim-primary",
|
|
8725
|
-
label: "Brand scrim",
|
|
8726
|
-
designPatch: { imageSurfaceTreatment: {
|
|
8727
|
-
kind: "brand-scrim",
|
|
8728
|
-
token: "primary"
|
|
8729
|
-
} }
|
|
8730
|
-
}, {
|
|
8731
|
-
id: "neutral-scrim",
|
|
8732
|
-
label: "Neutral scrim",
|
|
8733
|
-
designPatch: { imageSurfaceTreatment: { kind: "neutral-scrim" } }
|
|
8734
|
-
}]
|
|
8735
|
-
}],
|
|
8736
|
-
layoutPatches: [{
|
|
8737
|
-
constraints: { layoutVariantKeys: ["micro"] },
|
|
8738
|
-
designPatch: { sectionHeight: "banner" }
|
|
8739
|
-
}],
|
|
8740
|
-
design: {
|
|
8741
|
-
sectionSurface: "hero-image",
|
|
8742
|
-
contentFrame: plainFrame,
|
|
8743
|
-
itemSurface: "none",
|
|
8744
|
-
sectionHeight: "immersive",
|
|
8745
|
-
heroComposition: "center",
|
|
8746
|
-
heroTypographyScale: "display",
|
|
8747
|
-
imageSurfaceTreatment: {
|
|
8748
|
-
kind: "brand-scrim",
|
|
8749
|
-
token: "primary"
|
|
8750
|
-
}
|
|
8751
|
-
}
|
|
8752
|
-
}),
|
|
8753
|
-
defineBlockAppearancePreset({
|
|
8754
|
-
kind: "block-design",
|
|
8755
|
-
id: "hero-brand-scrim-fixed-frame",
|
|
8756
|
-
target: "hero",
|
|
8757
|
-
label: "Fixed-frame brand scrim hero",
|
|
8758
|
-
blockKinds: ["block.hero"],
|
|
8759
|
-
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
8760
|
-
optionGroups: [{
|
|
8761
|
-
id: "image-surface-treatment",
|
|
8762
|
-
label: "Treatment",
|
|
8763
|
-
selectedOptionId: "brand-scrim-primary",
|
|
8764
|
-
options: [{
|
|
8765
|
-
id: "brand-scrim-primary",
|
|
8766
|
-
label: "Brand scrim",
|
|
8767
|
-
designPatch: { imageSurfaceTreatment: {
|
|
8768
|
-
kind: "brand-scrim",
|
|
8769
|
-
token: "primary"
|
|
8770
|
-
} }
|
|
8771
|
-
}, {
|
|
8772
|
-
id: "neutral-scrim",
|
|
8773
|
-
label: "Neutral scrim",
|
|
8774
|
-
designPatch: { imageSurfaceTreatment: { kind: "neutral-scrim" } }
|
|
8775
|
-
}]
|
|
8776
|
-
}],
|
|
8777
|
-
layoutPatches: [{
|
|
8778
|
-
constraints: { layoutVariantKeys: ["micro"] },
|
|
8779
|
-
designPatch: { sectionHeight: "banner" }
|
|
8780
|
-
}],
|
|
8781
|
-
design: {
|
|
8782
|
-
sectionSurface: "hero-image",
|
|
8783
|
-
contentFrame: plainFrame,
|
|
8784
|
-
itemSurface: "none",
|
|
8785
|
-
sectionHeight: "immersive",
|
|
8786
|
-
heroComposition: "center",
|
|
8787
|
-
heroTypographyScale: "display",
|
|
8788
|
-
imageSurfaceTreatment: {
|
|
8789
|
-
kind: "brand-scrim",
|
|
8790
|
-
token: "primary"
|
|
8791
|
-
},
|
|
8792
|
-
imageSurfaceMotion: "fixed-frame",
|
|
8793
|
-
eyebrowTreatment: "accent-pill-bounce"
|
|
8794
|
-
}
|
|
8795
|
-
}),
|
|
8796
|
-
defineBlockAppearancePreset({
|
|
8797
|
-
kind: "block-design",
|
|
8798
|
-
id: "hero-brand-depth-expressive",
|
|
8799
|
-
target: "hero",
|
|
8800
|
-
label: "Expressive brand-depth hero",
|
|
8801
|
-
blockKinds: ["block.hero"],
|
|
8802
|
-
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
8803
|
-
design: {
|
|
8804
|
-
sectionSurface: "brand-depth-band",
|
|
8805
|
-
contentFrame: plainFrame,
|
|
8806
|
-
itemSurface: "none",
|
|
8807
|
-
heroComposition: "center",
|
|
8808
|
-
heroTypographyScale: "editorial",
|
|
8809
|
-
eyebrowTreatment: "accent-pill-bounce"
|
|
8810
|
-
}
|
|
8811
|
-
}),
|
|
8812
|
-
defineBlockAppearancePreset({
|
|
8813
|
-
kind: "block-design",
|
|
8814
|
-
id: "hero-contained-intro",
|
|
8815
|
-
target: "hero",
|
|
8816
|
-
label: "Contained intro hero",
|
|
8817
|
-
blockKinds: ["block.hero"],
|
|
8818
|
-
design: {
|
|
8819
|
-
sectionSurface: "muted-band",
|
|
8820
|
-
contentFrame: panelFrame("inset"),
|
|
8821
|
-
itemSurface: "none",
|
|
8822
|
-
heroComposition: "center",
|
|
8823
|
-
heroTypographyScale: "editorial"
|
|
8824
|
-
}
|
|
8825
|
-
}),
|
|
8826
|
-
defineBlockAppearancePreset({
|
|
8827
|
-
kind: "block-design",
|
|
8828
|
-
id: "hero-split-editorial",
|
|
8829
|
-
target: "hero",
|
|
8830
|
-
label: "Editorial split hero",
|
|
8831
|
-
blockKinds: ["block.hero"],
|
|
8832
|
-
constraints: { layoutFamilies: ["split"] },
|
|
8833
|
-
design: {
|
|
8834
|
-
sectionSurface: "base",
|
|
8835
|
-
contentFrame: plainFrame,
|
|
8836
|
-
itemSurface: "none",
|
|
8837
|
-
heroTypographyScale: "editorial"
|
|
8838
|
-
}
|
|
8839
|
-
}),
|
|
8840
|
-
defineBlockAppearancePreset({
|
|
8841
|
-
kind: "block-design",
|
|
8842
|
-
id: "hero-split-brand",
|
|
8843
|
-
target: "hero",
|
|
8844
|
-
label: "Brand split hero",
|
|
8845
|
-
blockKinds: ["block.hero"],
|
|
8846
|
-
constraints: { layoutFamilies: ["split"] },
|
|
8847
|
-
design: {
|
|
8848
|
-
sectionSurface: "brand-depth-band",
|
|
8849
|
-
contentFrame: plainFrame,
|
|
8850
|
-
itemSurface: "none",
|
|
8851
|
-
heroTypographyScale: "display",
|
|
8852
|
-
eyebrowTreatment: "accent-pill-bounce"
|
|
8853
|
-
}
|
|
8854
|
-
}),
|
|
8855
|
-
defineBlockAppearancePreset({
|
|
8856
|
-
kind: "block-design",
|
|
8857
|
-
id: "hero-split-soft-panel",
|
|
8858
|
-
target: "hero",
|
|
8859
|
-
label: "Soft panel split hero",
|
|
8860
|
-
blockKinds: ["block.hero"],
|
|
8861
|
-
constraints: { layoutFamilies: ["split"] },
|
|
8862
|
-
design: {
|
|
8863
|
-
sectionSurface: "muted-band",
|
|
8864
|
-
contentFrame: panelFrame("raised"),
|
|
8865
|
-
itemSurface: "none",
|
|
8778
|
+
intensity: "balanced"
|
|
8779
|
+
} }
|
|
8780
|
+
}]
|
|
8781
|
+
}],
|
|
8782
|
+
layoutPatches: [{
|
|
8783
|
+
constraints: { layoutVariantKeys: ["micro"] },
|
|
8784
|
+
designPatch: {
|
|
8785
|
+
sectionHeight: "banner",
|
|
8866
8786
|
heroTypographyScale: "editorial"
|
|
8867
8787
|
}
|
|
8868
|
-
}
|
|
8869
|
-
|
|
8870
|
-
|
|
8871
|
-
|
|
8872
|
-
|
|
8873
|
-
|
|
8874
|
-
|
|
8875
|
-
|
|
8876
|
-
|
|
8877
|
-
|
|
8878
|
-
|
|
8879
|
-
|
|
8788
|
+
}],
|
|
8789
|
+
design: {
|
|
8790
|
+
sectionSurface: "hero-image",
|
|
8791
|
+
contentFrame: panelFrame("raised"),
|
|
8792
|
+
itemSurface: "none",
|
|
8793
|
+
sectionHeight: "immersive",
|
|
8794
|
+
heroComposition: "bottom-left",
|
|
8795
|
+
heroTypographyScale: "display",
|
|
8796
|
+
imageSurfaceTreatment: {
|
|
8797
|
+
kind: "neutral-scrim",
|
|
8798
|
+
intensity: "balanced"
|
|
8799
|
+
}
|
|
8800
|
+
}
|
|
8801
|
+
}), defineBlockAppearancePreset({
|
|
8802
|
+
id: "hero-poster-image",
|
|
8803
|
+
target: "hero",
|
|
8804
|
+
label: "Poster image hero",
|
|
8805
|
+
blockKinds: ["block.hero"],
|
|
8806
|
+
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
8807
|
+
layoutPatches: [{
|
|
8808
|
+
constraints: { layoutVariantKeys: ["micro"] },
|
|
8809
|
+
designPatch: {
|
|
8810
|
+
sectionHeight: "banner",
|
|
8880
8811
|
heroTypographyScale: "display"
|
|
8881
8812
|
}
|
|
8882
|
-
}
|
|
8883
|
-
|
|
8884
|
-
|
|
8885
|
-
|
|
8886
|
-
|
|
8887
|
-
|
|
8888
|
-
|
|
8889
|
-
|
|
8890
|
-
|
|
8891
|
-
|
|
8892
|
-
|
|
8893
|
-
|
|
8894
|
-
|
|
8895
|
-
|
|
8896
|
-
|
|
8897
|
-
|
|
8898
|
-
|
|
8899
|
-
|
|
8900
|
-
|
|
8901
|
-
|
|
8902
|
-
|
|
8903
|
-
|
|
8904
|
-
|
|
8905
|
-
|
|
8906
|
-
|
|
8907
|
-
|
|
8908
|
-
|
|
8909
|
-
|
|
8910
|
-
|
|
8911
|
-
|
|
8912
|
-
|
|
8913
|
-
|
|
8914
|
-
|
|
8915
|
-
|
|
8916
|
-
|
|
8917
|
-
|
|
8918
|
-
|
|
8919
|
-
|
|
8920
|
-
|
|
8921
|
-
|
|
8922
|
-
|
|
8923
|
-
|
|
8924
|
-
|
|
8925
|
-
|
|
8926
|
-
|
|
8927
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
8938
|
-
|
|
8939
|
-
|
|
8940
|
-
|
|
8941
|
-
|
|
8942
|
-
|
|
8943
|
-
|
|
8944
|
-
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
|
|
8950
|
-
|
|
8951
|
-
|
|
8952
|
-
|
|
8953
|
-
|
|
8954
|
-
|
|
8955
|
-
|
|
8956
|
-
|
|
8957
|
-
|
|
8958
|
-
|
|
8959
|
-
|
|
8960
|
-
|
|
8961
|
-
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
|
|
8970
|
-
|
|
8971
|
-
|
|
8972
|
-
|
|
8973
|
-
|
|
8974
|
-
|
|
8975
|
-
|
|
8976
|
-
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
|
|
8980
|
-
|
|
8981
|
-
|
|
8982
|
-
|
|
8983
|
-
|
|
8984
|
-
|
|
8985
|
-
|
|
8986
|
-
|
|
8987
|
-
|
|
8988
|
-
|
|
8989
|
-
|
|
8990
|
-
|
|
8991
|
-
|
|
8992
|
-
|
|
8993
|
-
|
|
8994
|
-
|
|
8995
|
-
|
|
8996
|
-
|
|
8997
|
-
|
|
8998
|
-
|
|
8999
|
-
|
|
9000
|
-
|
|
9001
|
-
|
|
9002
|
-
|
|
9003
|
-
|
|
9004
|
-
|
|
9005
|
-
|
|
9006
|
-
|
|
9007
|
-
|
|
9008
|
-
|
|
9009
|
-
|
|
9010
|
-
|
|
9011
|
-
|
|
9012
|
-
|
|
9013
|
-
|
|
9014
|
-
|
|
9015
|
-
|
|
9016
|
-
|
|
9017
|
-
|
|
9018
|
-
|
|
9019
|
-
|
|
9020
|
-
|
|
9021
|
-
|
|
9022
|
-
|
|
9023
|
-
|
|
9024
|
-
|
|
9025
|
-
|
|
9026
|
-
}
|
|
9027
|
-
}
|
|
9028
|
-
|
|
9029
|
-
|
|
9030
|
-
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
|
-
|
|
9034
|
-
|
|
9035
|
-
|
|
9036
|
-
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9046
|
-
|
|
9047
|
-
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9053
|
-
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
|
|
9062
|
-
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
|
|
9066
|
-
|
|
9067
|
-
|
|
9068
|
-
|
|
9069
|
-
|
|
9070
|
-
|
|
9071
|
-
|
|
9072
|
-
|
|
9073
|
-
|
|
9074
|
-
|
|
9075
|
-
|
|
9076
|
-
|
|
9077
|
-
|
|
9078
|
-
|
|
9079
|
-
|
|
9080
|
-
|
|
9081
|
-
|
|
9082
|
-
|
|
9083
|
-
|
|
9084
|
-
|
|
9085
|
-
|
|
9086
|
-
|
|
9087
|
-
|
|
9088
|
-
|
|
9089
|
-
|
|
9090
|
-
|
|
9091
|
-
|
|
9092
|
-
|
|
9093
|
-
|
|
9094
|
-
|
|
9095
|
-
|
|
9096
|
-
|
|
9097
|
-
|
|
9098
|
-
|
|
9099
|
-
|
|
9100
|
-
|
|
9101
|
-
|
|
9102
|
-
|
|
9103
|
-
|
|
9104
|
-
|
|
9105
|
-
|
|
9106
|
-
|
|
9107
|
-
|
|
9108
|
-
|
|
9109
|
-
|
|
9110
|
-
|
|
9111
|
-
|
|
9112
|
-
|
|
9113
|
-
|
|
9114
|
-
|
|
9115
|
-
|
|
9116
|
-
|
|
9117
|
-
|
|
9118
|
-
|
|
9119
|
-
|
|
9120
|
-
|
|
9121
|
-
|
|
9122
|
-
|
|
9123
|
-
|
|
9124
|
-
|
|
9125
|
-
|
|
9126
|
-
|
|
9127
|
-
|
|
9128
|
-
|
|
9129
|
-
|
|
9130
|
-
|
|
9131
|
-
|
|
9132
|
-
|
|
9133
|
-
|
|
9134
|
-
|
|
9135
|
-
|
|
9136
|
-
|
|
9137
|
-
|
|
9138
|
-
|
|
9139
|
-
|
|
9140
|
-
|
|
9141
|
-
|
|
9142
|
-
|
|
9143
|
-
|
|
9144
|
-
|
|
9145
|
-
|
|
9146
|
-
|
|
9147
|
-
|
|
9148
|
-
|
|
9149
|
-
|
|
9150
|
-
|
|
9151
|
-
|
|
9152
|
-
|
|
9153
|
-
|
|
9154
|
-
|
|
9155
|
-
|
|
9156
|
-
|
|
9157
|
-
|
|
9158
|
-
|
|
9159
|
-
|
|
9160
|
-
|
|
9161
|
-
|
|
9162
|
-
|
|
9163
|
-
|
|
9164
|
-
|
|
9165
|
-
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
|
-
|
|
9169
|
-
|
|
9170
|
-
|
|
9171
|
-
|
|
9172
|
-
|
|
9173
|
-
|
|
9174
|
-
|
|
9175
|
-
}
|
|
9176
|
-
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
|
|
9180
|
-
|
|
9181
|
-
|
|
9182
|
-
|
|
9183
|
-
|
|
9184
|
-
|
|
9185
|
-
|
|
9186
|
-
|
|
9187
|
-
|
|
9188
|
-
|
|
9189
|
-
|
|
9190
|
-
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
|
|
9194
|
-
|
|
9195
|
-
|
|
9196
|
-
|
|
9197
|
-
|
|
9198
|
-
|
|
9199
|
-
|
|
9200
|
-
|
|
9201
|
-
|
|
9202
|
-
|
|
9203
|
-
|
|
9204
|
-
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
|
|
9210
|
-
|
|
9211
|
-
|
|
9212
|
-
|
|
9213
|
-
|
|
9214
|
-
|
|
9215
|
-
|
|
9216
|
-
|
|
9217
|
-
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
|
|
9221
|
-
|
|
9222
|
-
|
|
9223
|
-
|
|
9224
|
-
|
|
9225
|
-
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
|
|
9229
|
-
|
|
9230
|
-
|
|
9231
|
-
|
|
9232
|
-
|
|
9233
|
-
|
|
9234
|
-
|
|
9235
|
-
|
|
9236
|
-
|
|
9237
|
-
|
|
9238
|
-
|
|
9239
|
-
|
|
9240
|
-
|
|
9241
|
-
|
|
9242
|
-
|
|
9243
|
-
|
|
9244
|
-
|
|
9245
|
-
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
|
|
9249
|
-
|
|
9250
|
-
|
|
9251
|
-
|
|
9252
|
-
|
|
9253
|
-
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9258
|
-
|
|
9259
|
-
|
|
9260
|
-
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
|
|
9264
|
-
|
|
9265
|
-
|
|
9266
|
-
|
|
9267
|
-
|
|
9268
|
-
|
|
9269
|
-
|
|
9270
|
-
|
|
9271
|
-
|
|
9272
|
-
|
|
9273
|
-
|
|
9274
|
-
|
|
9275
|
-
|
|
9276
|
-
|
|
9277
|
-
|
|
9278
|
-
|
|
9279
|
-
|
|
9280
|
-
|
|
9281
|
-
|
|
9282
|
-
|
|
9283
|
-
|
|
9284
|
-
|
|
9285
|
-
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9289
|
-
|
|
9290
|
-
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
|
|
9300
|
-
|
|
9301
|
-
}
|
|
9302
|
-
|
|
9303
|
-
|
|
9304
|
-
|
|
9305
|
-
|
|
9306
|
-
|
|
9307
|
-
|
|
9308
|
-
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
|
|
9313
|
-
|
|
9314
|
-
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
|
-
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
|
|
9321
|
-
|
|
9322
|
-
|
|
9323
|
-
|
|
9324
|
-
|
|
9325
|
-
|
|
9326
|
-
|
|
9327
|
-
|
|
9328
|
-
|
|
9329
|
-
|
|
9330
|
-
|
|
9331
|
-
|
|
9332
|
-
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9355
|
-
|
|
9356
|
-
|
|
9357
|
-
|
|
9358
|
-
|
|
9359
|
-
|
|
9360
|
-
|
|
9361
|
-
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
8813
|
+
}],
|
|
8814
|
+
design: {
|
|
8815
|
+
sectionSurface: "hero-image",
|
|
8816
|
+
contentFrame: plainFrame,
|
|
8817
|
+
itemSurface: "none",
|
|
8818
|
+
sectionHeight: "immersive",
|
|
8819
|
+
heroComposition: "center",
|
|
8820
|
+
heroTypographyScale: "poster",
|
|
8821
|
+
imageSurfaceTreatment: {
|
|
8822
|
+
kind: "brand-scrim",
|
|
8823
|
+
token: "primary",
|
|
8824
|
+
intensity: "strong"
|
|
8825
|
+
}
|
|
8826
|
+
}
|
|
8827
|
+
}), defineBlockAppearancePreset({
|
|
8828
|
+
id: "hero-brand-scrim",
|
|
8829
|
+
target: "hero",
|
|
8830
|
+
label: "Brand scrim image hero",
|
|
8831
|
+
blockKinds: ["block.hero"],
|
|
8832
|
+
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
8833
|
+
optionGroups: brandScrimOptionGroups,
|
|
8834
|
+
layoutPatches: microBannerLayoutPatches,
|
|
8835
|
+
design: {
|
|
8836
|
+
sectionSurface: "hero-image",
|
|
8837
|
+
contentFrame: plainFrame,
|
|
8838
|
+
itemSurface: "none",
|
|
8839
|
+
sectionHeight: "immersive",
|
|
8840
|
+
heroComposition: "center",
|
|
8841
|
+
heroTypographyScale: "display",
|
|
8842
|
+
imageSurfaceTreatment: {
|
|
8843
|
+
kind: "brand-scrim",
|
|
8844
|
+
token: "primary"
|
|
8845
|
+
}
|
|
8846
|
+
}
|
|
8847
|
+
}), defineBlockAppearancePreset({
|
|
8848
|
+
id: "hero-brand-scrim-fixed-frame",
|
|
8849
|
+
target: "hero",
|
|
8850
|
+
label: "Fixed-frame brand scrim hero",
|
|
8851
|
+
blockKinds: ["block.hero"],
|
|
8852
|
+
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
8853
|
+
optionGroups: brandScrimOptionGroups,
|
|
8854
|
+
layoutPatches: microBannerLayoutPatches,
|
|
8855
|
+
design: {
|
|
8856
|
+
sectionSurface: "hero-image",
|
|
8857
|
+
contentFrame: plainFrame,
|
|
8858
|
+
itemSurface: "none",
|
|
8859
|
+
sectionHeight: "immersive",
|
|
8860
|
+
heroComposition: "center",
|
|
8861
|
+
heroTypographyScale: "display",
|
|
8862
|
+
imageSurfaceTreatment: {
|
|
8863
|
+
kind: "brand-scrim",
|
|
8864
|
+
token: "primary"
|
|
8865
|
+
},
|
|
8866
|
+
imageSurfaceMotion: "fixed-frame",
|
|
8867
|
+
eyebrowTreatment: "accent-pill-bounce"
|
|
8868
|
+
}
|
|
8869
|
+
}), defineBlockAppearancePreset({
|
|
8870
|
+
id: "hero-brand-depth-expressive",
|
|
8871
|
+
target: "hero",
|
|
8872
|
+
label: "Expressive brand-depth hero",
|
|
8873
|
+
blockKinds: ["block.hero"],
|
|
8874
|
+
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
8875
|
+
design: {
|
|
8876
|
+
sectionSurface: "brand-depth-band",
|
|
8877
|
+
contentFrame: plainFrame,
|
|
8878
|
+
itemSurface: "none",
|
|
8879
|
+
heroComposition: "center",
|
|
8880
|
+
heroTypographyScale: "editorial",
|
|
8881
|
+
eyebrowTreatment: "accent-pill-bounce"
|
|
8882
|
+
}
|
|
8883
|
+
}), defineBlockAppearancePreset({
|
|
8884
|
+
id: "hero-contained-intro",
|
|
8885
|
+
target: "hero",
|
|
8886
|
+
label: "Contained intro hero",
|
|
8887
|
+
blockKinds: ["block.hero"],
|
|
8888
|
+
design: {
|
|
8889
|
+
sectionSurface: "muted-band",
|
|
8890
|
+
contentFrame: panelFrame("inset"),
|
|
8891
|
+
itemSurface: "none",
|
|
8892
|
+
heroComposition: "center",
|
|
8893
|
+
heroTypographyScale: "editorial"
|
|
8894
|
+
}
|
|
8895
|
+
}), defineBlockAppearancePreset({
|
|
8896
|
+
id: "hero-split-editorial",
|
|
8897
|
+
target: "hero",
|
|
8898
|
+
label: "Editorial split hero",
|
|
8899
|
+
blockKinds: ["block.hero"],
|
|
8900
|
+
constraints: { layoutFamilies: ["split"] },
|
|
8901
|
+
design: {
|
|
8902
|
+
sectionSurface: "base",
|
|
8903
|
+
contentFrame: plainFrame,
|
|
8904
|
+
itemSurface: "none",
|
|
8905
|
+
heroTypographyScale: "editorial"
|
|
8906
|
+
}
|
|
8907
|
+
}), defineBlockAppearancePreset({
|
|
8908
|
+
id: "hero-split-brand",
|
|
8909
|
+
target: "hero",
|
|
8910
|
+
label: "Brand split hero",
|
|
8911
|
+
blockKinds: ["block.hero"],
|
|
8912
|
+
constraints: { layoutFamilies: ["split"] },
|
|
8913
|
+
design: {
|
|
8914
|
+
sectionSurface: "brand-depth-band",
|
|
8915
|
+
contentFrame: plainFrame,
|
|
8916
|
+
itemSurface: "none",
|
|
8917
|
+
heroTypographyScale: "display",
|
|
8918
|
+
eyebrowTreatment: "accent-pill-bounce"
|
|
8919
|
+
}
|
|
8920
|
+
}), defineBlockAppearancePreset({
|
|
8921
|
+
id: "hero-split-soft-panel",
|
|
8922
|
+
target: "hero",
|
|
8923
|
+
label: "Soft panel split hero",
|
|
8924
|
+
blockKinds: ["block.hero"],
|
|
8925
|
+
constraints: { layoutFamilies: ["split"] },
|
|
8926
|
+
design: {
|
|
8927
|
+
sectionSurface: "muted-band",
|
|
8928
|
+
contentFrame: panelFrame("raised"),
|
|
8929
|
+
itemSurface: "none",
|
|
8930
|
+
heroTypographyScale: "editorial"
|
|
8931
|
+
}
|
|
8932
|
+
}), defineBlockAppearancePreset({
|
|
8933
|
+
id: "hero-split-accent",
|
|
8934
|
+
target: "hero",
|
|
8935
|
+
label: "Accent split hero",
|
|
8936
|
+
blockKinds: ["block.hero"],
|
|
8937
|
+
constraints: { layoutFamilies: ["split"] },
|
|
8938
|
+
design: {
|
|
8939
|
+
sectionSurface: "accent-band",
|
|
8940
|
+
contentFrame: panelFrame("raised"),
|
|
8941
|
+
itemSurface: "none",
|
|
8942
|
+
heroTypographyScale: "display"
|
|
8943
|
+
}
|
|
8944
|
+
}), defineBlockAppearancePreset({
|
|
8945
|
+
id: "intro-editorial-statement",
|
|
8946
|
+
target: "intro",
|
|
8947
|
+
label: "Editorial intro statement",
|
|
8948
|
+
blockKinds: ["block.intro"],
|
|
8949
|
+
constraints: { layoutVariantKeys: ["centered-copy", "statement-copy"] },
|
|
8950
|
+
design: {
|
|
8951
|
+
sectionSurface: "base",
|
|
8952
|
+
contentFrame: plainFrame,
|
|
8953
|
+
itemSurface: "none",
|
|
8954
|
+
composition: {
|
|
8955
|
+
kind: "intro",
|
|
8956
|
+
treatment: "editorial-statement"
|
|
8957
|
+
}
|
|
8958
|
+
}
|
|
8959
|
+
}), defineBlockAppearancePreset({
|
|
8960
|
+
id: "intro-portrait-bio",
|
|
8961
|
+
target: "intro",
|
|
8962
|
+
label: "Portrait and bio",
|
|
8963
|
+
blockKinds: ["block.intro"],
|
|
8964
|
+
constraints: { layoutVariantKeys: ["media-copy"] },
|
|
8965
|
+
design: {
|
|
8966
|
+
sectionSurface: "base",
|
|
8967
|
+
contentFrame: plainFrame,
|
|
8968
|
+
itemSurface: "none",
|
|
8969
|
+
composition: {
|
|
8970
|
+
kind: "intro",
|
|
8971
|
+
treatment: "portrait-bio"
|
|
8972
|
+
}
|
|
8973
|
+
}
|
|
8974
|
+
}), defineBlockAppearancePreset({
|
|
8975
|
+
id: "offerings-preview-default-cards",
|
|
8976
|
+
target: "offerings",
|
|
8977
|
+
label: "Default offering cards",
|
|
8978
|
+
blockKinds: ["block.offerings-preview"],
|
|
8979
|
+
design: {
|
|
8980
|
+
sectionSurface: "base",
|
|
8981
|
+
contentFrame: plainFrame,
|
|
8982
|
+
itemSurface: "default"
|
|
8983
|
+
}
|
|
8984
|
+
}), defineBlockAppearancePreset({
|
|
8985
|
+
id: "offerings-preview-secondary-cards",
|
|
8986
|
+
target: "offerings",
|
|
8987
|
+
label: "Secondary offering cards",
|
|
8988
|
+
blockKinds: ["block.offerings-preview"],
|
|
8989
|
+
design: {
|
|
8990
|
+
sectionSurface: "muted-band",
|
|
8991
|
+
contentFrame: plainFrame,
|
|
8992
|
+
itemSurface: "inset"
|
|
8993
|
+
}
|
|
8994
|
+
}), defineBlockAppearancePreset({
|
|
8995
|
+
id: "offerings-preview-non-carded",
|
|
8996
|
+
target: "offerings",
|
|
8997
|
+
label: "Non-carded offerings",
|
|
8998
|
+
blockKinds: ["block.offerings-preview"],
|
|
8999
|
+
design: {
|
|
9000
|
+
sectionSurface: "muted-band",
|
|
9001
|
+
contentFrame: plainFrame,
|
|
9002
|
+
itemSurface: "editorial"
|
|
9003
|
+
}
|
|
9004
|
+
}), defineBlockAppearancePreset({
|
|
9005
|
+
id: "offerings-preview-paired-feature-cards",
|
|
9006
|
+
target: "offerings",
|
|
9007
|
+
label: "Paired feature cards",
|
|
9008
|
+
blockKinds: ["block.offerings-preview"],
|
|
9009
|
+
constraints: { layoutVariantKeys: ["cards"] },
|
|
9010
|
+
design: {
|
|
9011
|
+
sectionSurface: "base",
|
|
9012
|
+
contentFrame: plainFrame,
|
|
9013
|
+
itemSurface: "none"
|
|
9014
|
+
}
|
|
9015
|
+
}), defineBlockAppearancePreset({
|
|
9016
|
+
id: "offerings-preview-open-editorial-columns",
|
|
9017
|
+
target: "offerings",
|
|
9018
|
+
label: "Open editorial columns",
|
|
9019
|
+
blockKinds: ["block.offerings-preview"],
|
|
9020
|
+
constraints: { layoutVariantKeys: ["cards"] },
|
|
9021
|
+
design: {
|
|
9022
|
+
sectionSurface: "base",
|
|
9023
|
+
contentFrame: plainFrame,
|
|
9024
|
+
itemSurface: "none"
|
|
9025
|
+
}
|
|
9026
|
+
}), defineBlockAppearancePreset({
|
|
9027
|
+
id: "offerings-preview-joined-programme-panel",
|
|
9028
|
+
target: "offerings",
|
|
9029
|
+
label: "Joined programme panel",
|
|
9030
|
+
blockKinds: ["block.offerings-preview"],
|
|
9031
|
+
constraints: { layoutVariantKeys: ["cards"] },
|
|
9032
|
+
design: {
|
|
9033
|
+
sectionSurface: "base",
|
|
9034
|
+
contentFrame: plainFrame,
|
|
9035
|
+
itemSurface: "none"
|
|
9036
|
+
}
|
|
9037
|
+
}), defineBlockAppearancePreset({
|
|
9038
|
+
id: "feature-cards-raised-rule",
|
|
9039
|
+
target: "feature-cards",
|
|
9040
|
+
label: "Raised cards with rule",
|
|
9041
|
+
blockKinds: ["block.feature-cards"],
|
|
9042
|
+
design: {
|
|
9043
|
+
sectionSurface: "base",
|
|
9044
|
+
contentFrame: plainFrame,
|
|
9045
|
+
itemSurface: "raised"
|
|
9046
|
+
}
|
|
9047
|
+
}), defineBlockAppearancePreset({
|
|
9048
|
+
id: "feature-cards-bold-colors",
|
|
9049
|
+
target: "feature-cards",
|
|
9050
|
+
label: "Bold colour-blocked cards",
|
|
9051
|
+
blockKinds: ["block.feature-cards"],
|
|
9052
|
+
design: {
|
|
9053
|
+
sectionSurface: "base",
|
|
9054
|
+
contentFrame: plainFrame,
|
|
9055
|
+
itemSurface: "color-blocked"
|
|
9056
|
+
}
|
|
9057
|
+
}), defineBlockAppearancePreset({
|
|
9058
|
+
id: "feature-cards-editorial-columns",
|
|
9059
|
+
target: "feature-cards",
|
|
9060
|
+
label: "Editorial open columns",
|
|
9061
|
+
blockKinds: ["block.feature-cards"],
|
|
9062
|
+
design: {
|
|
9063
|
+
sectionSurface: "base",
|
|
9064
|
+
contentFrame: plainFrame,
|
|
9065
|
+
itemSurface: "editorial"
|
|
9066
|
+
}
|
|
9067
|
+
}), defineBlockAppearancePreset({
|
|
9068
|
+
id: "feature-cards-asymmetric-emphasis",
|
|
9069
|
+
target: "feature-cards",
|
|
9070
|
+
label: "Asymmetric emphasis pair",
|
|
9071
|
+
blockKinds: ["block.feature-cards"],
|
|
9072
|
+
constraints: { layoutFamilies: ["grid"] },
|
|
9073
|
+
design: {
|
|
9074
|
+
sectionSurface: "base",
|
|
9075
|
+
contentFrame: plainFrame,
|
|
9076
|
+
itemSurface: "none",
|
|
9077
|
+
composition: {
|
|
9078
|
+
kind: "feature-cards",
|
|
9079
|
+
treatment: "asymmetric-emphasis"
|
|
9080
|
+
}
|
|
9081
|
+
}
|
|
9082
|
+
}), defineBlockAppearancePreset({
|
|
9083
|
+
id: "feature-cards-framed-programme",
|
|
9084
|
+
target: "feature-cards",
|
|
9085
|
+
label: "Framed programme cards",
|
|
9086
|
+
blockKinds: ["block.feature-cards"],
|
|
9087
|
+
constraints: { layoutFamilies: ["grid"] },
|
|
9088
|
+
design: {
|
|
9089
|
+
sectionSurface: "brand-depth-band",
|
|
9090
|
+
contentFrame: plainFrame,
|
|
9091
|
+
itemSurface: "inset",
|
|
9092
|
+
composition: {
|
|
9093
|
+
kind: "feature-cards",
|
|
9094
|
+
treatment: "framed-programme"
|
|
9095
|
+
}
|
|
9096
|
+
}
|
|
9097
|
+
}), defineBlockAppearancePreset({
|
|
9098
|
+
id: "feature-cards-soft-panels",
|
|
9099
|
+
target: "feature-cards",
|
|
9100
|
+
label: "Soft tinted panels",
|
|
9101
|
+
blockKinds: ["block.feature-cards"],
|
|
9102
|
+
design: {
|
|
9103
|
+
sectionSurface: "base",
|
|
9104
|
+
contentFrame: plainFrame,
|
|
9105
|
+
itemSurface: "inset"
|
|
9106
|
+
}
|
|
9107
|
+
}), defineBlockAppearancePreset({
|
|
9108
|
+
id: "feature-cards-editorial-diptych",
|
|
9109
|
+
target: "feature-cards",
|
|
9110
|
+
label: "Editorial diptych",
|
|
9111
|
+
blockKinds: ["block.feature-cards"],
|
|
9112
|
+
constraints: { layoutVariantKeys: ["editorial-diptych"] },
|
|
9113
|
+
design: {
|
|
9114
|
+
sectionSurface: "base",
|
|
9115
|
+
contentFrame: plainFrame,
|
|
9116
|
+
itemSurface: "flat"
|
|
9117
|
+
}
|
|
9118
|
+
}), defineBlockAppearancePreset({
|
|
9119
|
+
id: "feature-cards-editorial-pathways",
|
|
9120
|
+
target: "feature-cards",
|
|
9121
|
+
label: "Editorial pathways",
|
|
9122
|
+
blockKinds: ["block.feature-cards"],
|
|
9123
|
+
constraints: { layoutVariantKeys: ["editorial-pathways"] },
|
|
9124
|
+
design: {
|
|
9125
|
+
sectionSurface: "base",
|
|
9126
|
+
contentFrame: plainFrame,
|
|
9127
|
+
itemSurface: "flat"
|
|
9128
|
+
}
|
|
9129
|
+
}), defineBlockAppearancePreset({
|
|
9130
|
+
id: "feature-cards-photo-tiles",
|
|
9131
|
+
target: "feature-cards",
|
|
9132
|
+
label: "Photo tiles",
|
|
9133
|
+
blockKinds: ["block.feature-cards"],
|
|
9134
|
+
design: {
|
|
9135
|
+
sectionSurface: "base",
|
|
9136
|
+
contentFrame: plainFrame,
|
|
9137
|
+
itemSurface: "raised"
|
|
9138
|
+
}
|
|
9139
|
+
}), defineBlockAppearancePreset({
|
|
9140
|
+
id: "events-lined-panel",
|
|
9141
|
+
target: "events",
|
|
9142
|
+
label: "Raised event panel",
|
|
9143
|
+
blockKinds: ["block.event-calendar", "block.event-listing"],
|
|
9144
|
+
design: {
|
|
9145
|
+
sectionSurface: "base",
|
|
9146
|
+
contentFrame: panelFrame("raised"),
|
|
9147
|
+
itemSurface: "none"
|
|
9148
|
+
}
|
|
9149
|
+
}), defineBlockAppearancePreset({
|
|
9150
|
+
id: "events-ruled-register",
|
|
9151
|
+
target: "events",
|
|
9152
|
+
label: "Ruled event register",
|
|
9153
|
+
blockKinds: ["block.event-calendar", "block.event-listing"],
|
|
9154
|
+
design: {
|
|
9155
|
+
sectionSurface: "brand-depth-band",
|
|
9156
|
+
contentFrame: plainFrame,
|
|
9157
|
+
itemSurface: "none",
|
|
9158
|
+
eventListTreatment: "ruled-register"
|
|
9159
|
+
}
|
|
9160
|
+
}), defineBlockAppearancePreset({
|
|
9161
|
+
id: "events-editorial-register",
|
|
9162
|
+
target: "events",
|
|
9163
|
+
label: "Editorial event register",
|
|
9164
|
+
blockKinds: ["block.event-calendar", "block.event-listing"],
|
|
9165
|
+
design: {
|
|
9166
|
+
sectionSurface: "base",
|
|
9167
|
+
contentFrame: plainFrame,
|
|
9168
|
+
itemSurface: "none",
|
|
9169
|
+
eventListTreatment: "editorial-register"
|
|
9170
|
+
}
|
|
9171
|
+
}), defineBlockAppearancePreset({
|
|
9172
|
+
id: "events-dense-index",
|
|
9173
|
+
target: "events",
|
|
9174
|
+
label: "Dense event index",
|
|
9175
|
+
blockKinds: ["block.event-calendar", "block.event-listing"],
|
|
9176
|
+
design: {
|
|
9177
|
+
sectionSurface: "accent-band",
|
|
9178
|
+
contentFrame: plainFrame,
|
|
9179
|
+
itemSurface: "none",
|
|
9180
|
+
eventListTreatment: "dense-index"
|
|
9181
|
+
}
|
|
9182
|
+
}), defineBlockAppearancePreset({
|
|
9183
|
+
id: "schedule-details-brand-depth",
|
|
9184
|
+
target: "events",
|
|
9185
|
+
label: "Brand-depth schedule details",
|
|
9186
|
+
blockKinds: ["block.event-details", "block.course-details"],
|
|
9187
|
+
design: {
|
|
9188
|
+
sectionSurface: "brand-depth-band",
|
|
9189
|
+
contentFrame: plainFrame,
|
|
9190
|
+
itemSurface: "none",
|
|
9191
|
+
tileTreatment: "brand-depth"
|
|
9192
|
+
}
|
|
9193
|
+
}), defineBlockAppearancePreset({
|
|
9194
|
+
id: "media-text-flush-feature",
|
|
9195
|
+
target: "media-text",
|
|
9196
|
+
label: "Flush media feature",
|
|
9197
|
+
blockKinds: ["block.media-text"],
|
|
9198
|
+
design: {
|
|
9199
|
+
sectionSurface: "muted-band",
|
|
9200
|
+
contentFrame: flushPanelFrame({ bleed: "start" }),
|
|
9201
|
+
itemSurface: "none"
|
|
9202
|
+
}
|
|
9203
|
+
}), defineBlockAppearancePreset({
|
|
9204
|
+
id: "testimonials-simple-cards",
|
|
9205
|
+
target: "testimonials",
|
|
9206
|
+
label: "Simple testimonial cards",
|
|
9207
|
+
blockKinds: ["block.testimonials"],
|
|
9208
|
+
design: {
|
|
9209
|
+
sectionSurface: "base",
|
|
9210
|
+
contentFrame: plainFrame,
|
|
9211
|
+
itemSurface: "default"
|
|
9212
|
+
}
|
|
9213
|
+
}), defineBlockAppearancePreset({
|
|
9214
|
+
id: "testimonials-raised-panel",
|
|
9215
|
+
target: "testimonials",
|
|
9216
|
+
label: "Raised testimonial panel",
|
|
9217
|
+
blockKinds: ["block.testimonials"],
|
|
9218
|
+
design: {
|
|
9219
|
+
sectionSurface: "muted-band",
|
|
9220
|
+
contentFrame: panelFrame("raised"),
|
|
9221
|
+
itemSurface: "raised"
|
|
9222
|
+
}
|
|
9223
|
+
}), defineBlockAppearancePreset({
|
|
9224
|
+
id: "testimonials-accent-panel",
|
|
9225
|
+
target: "testimonials",
|
|
9226
|
+
label: "Accent testimonial panel",
|
|
9227
|
+
blockKinds: ["block.testimonials"],
|
|
9228
|
+
design: {
|
|
9229
|
+
sectionSurface: "accent-band",
|
|
9230
|
+
contentFrame: panelFrame("raised"),
|
|
9231
|
+
itemSurface: "raised"
|
|
9232
|
+
}
|
|
9233
|
+
}), defineBlockAppearancePreset({
|
|
9234
|
+
id: "testimonials-default-cards",
|
|
9235
|
+
target: "testimonials",
|
|
9236
|
+
label: "Default cards",
|
|
9237
|
+
blockKinds: ["block.testimonials"],
|
|
9238
|
+
design: {
|
|
9239
|
+
sectionSurface: "base",
|
|
9240
|
+
contentFrame: plainFrame,
|
|
9241
|
+
itemSurface: "none",
|
|
9242
|
+
testimonialCardTreatment: "default"
|
|
9243
|
+
}
|
|
9244
|
+
}), defineBlockAppearancePreset({
|
|
9245
|
+
id: "testimonials-statement-cards",
|
|
9246
|
+
target: "testimonials",
|
|
9247
|
+
label: "Statement cards",
|
|
9248
|
+
blockKinds: ["block.testimonials"],
|
|
9249
|
+
design: {
|
|
9250
|
+
sectionSurface: "accent-band",
|
|
9251
|
+
contentFrame: plainFrame,
|
|
9252
|
+
itemSurface: "raised",
|
|
9253
|
+
testimonialCardTreatment: "statement"
|
|
9254
|
+
}
|
|
9255
|
+
}), defineBlockAppearancePreset({
|
|
9256
|
+
id: "testimonials-brand-statement-cards",
|
|
9257
|
+
target: "testimonials",
|
|
9258
|
+
label: "Brand statement cards",
|
|
9259
|
+
blockKinds: ["block.testimonials"],
|
|
9260
|
+
design: {
|
|
9261
|
+
sectionSurface: "brand-depth-band",
|
|
9262
|
+
contentFrame: plainFrame,
|
|
9263
|
+
itemSurface: "raised",
|
|
9264
|
+
testimonialCardTreatment: "statement"
|
|
9265
|
+
}
|
|
9266
|
+
}), defineBlockAppearancePreset({
|
|
9267
|
+
id: "testimonials-non-carded",
|
|
9268
|
+
target: "testimonials",
|
|
9269
|
+
label: "Non-carded",
|
|
9270
|
+
blockKinds: ["block.testimonials"],
|
|
9271
|
+
design: {
|
|
9272
|
+
sectionSurface: "muted-band",
|
|
9273
|
+
contentFrame: plainFrame,
|
|
9274
|
+
itemSurface: "none",
|
|
9275
|
+
testimonialCardTreatment: "non-carded"
|
|
9276
|
+
}
|
|
9277
|
+
}), defineBlockAppearancePreset({
|
|
9278
|
+
id: "testimonials-evergreen-lead",
|
|
9279
|
+
target: "testimonials",
|
|
9280
|
+
label: "Evergreen lead",
|
|
9281
|
+
blockKinds: ["block.testimonials"],
|
|
9282
|
+
constraints: { layoutVariantKeys: ["featured-editorial"] },
|
|
9283
|
+
design: {
|
|
9284
|
+
sectionSurface: "base",
|
|
9285
|
+
contentFrame: plainFrame,
|
|
9286
|
+
itemSurface: "none"
|
|
9287
|
+
}
|
|
9288
|
+
}), defineBlockAppearancePreset({
|
|
9289
|
+
id: "testimonials-room-and-response",
|
|
9290
|
+
target: "testimonials",
|
|
9291
|
+
label: "Room and response",
|
|
9292
|
+
blockKinds: ["block.testimonials"],
|
|
9293
|
+
constraints: { layoutVariantKeys: ["featured-editorial"] },
|
|
9294
|
+
design: {
|
|
9295
|
+
sectionSurface: "base",
|
|
9296
|
+
contentFrame: plainFrame,
|
|
9297
|
+
itemSurface: "none"
|
|
9298
|
+
}
|
|
9299
|
+
}), defineBlockAppearancePreset({
|
|
9300
|
+
id: "testimonials-open-floor",
|
|
9301
|
+
target: "testimonials",
|
|
9302
|
+
label: "Open floor",
|
|
9303
|
+
blockKinds: ["block.testimonials"],
|
|
9304
|
+
constraints: { layoutVariantKeys: ["featured-editorial"] },
|
|
9305
|
+
design: {
|
|
9306
|
+
sectionSurface: "base",
|
|
9307
|
+
contentFrame: plainFrame,
|
|
9308
|
+
itemSurface: "none"
|
|
9309
|
+
}
|
|
9310
|
+
}), defineBlockAppearancePreset({
|
|
9311
|
+
id: "faq-base-accordion",
|
|
9312
|
+
target: "faq",
|
|
9313
|
+
label: "Base accordion FAQ",
|
|
9314
|
+
blockKinds: ["block.faq"],
|
|
9315
|
+
design: {
|
|
9316
|
+
sectionSurface: "base",
|
|
9317
|
+
contentFrame: plainFrame,
|
|
9318
|
+
itemSurface: "default"
|
|
9319
|
+
}
|
|
9320
|
+
}), defineBlockAppearancePreset({
|
|
9321
|
+
id: "faq-contained-help",
|
|
9322
|
+
target: "faq",
|
|
9323
|
+
label: "Contained help panel",
|
|
9324
|
+
blockKinds: ["block.faq"],
|
|
9325
|
+
design: {
|
|
9326
|
+
sectionSurface: "muted-band",
|
|
9327
|
+
contentFrame: panelFrame("inset"),
|
|
9328
|
+
itemSurface: "default"
|
|
9329
|
+
}
|
|
9330
|
+
}), defineBlockAppearancePreset({
|
|
9331
|
+
id: "contact-form-panel",
|
|
9332
|
+
target: "contact-form",
|
|
9333
|
+
label: "Raised form panel",
|
|
9334
|
+
blockKinds: ["block.form"],
|
|
9335
|
+
design: {
|
|
9336
|
+
sectionSurface: "muted-band",
|
|
9337
|
+
contentFrame: panelFrame("raised"),
|
|
9338
|
+
itemSurface: "none"
|
|
9339
|
+
}
|
|
9340
|
+
}), defineBlockAppearancePreset({
|
|
9341
|
+
id: "cta-accent-band",
|
|
9342
|
+
target: "cta",
|
|
9343
|
+
label: "Accent CTA band",
|
|
9344
|
+
blockKinds: ["block.cta-full"],
|
|
9345
|
+
design: {
|
|
9346
|
+
sectionSurface: "accent-band",
|
|
9347
|
+
contentFrame: plainFrame,
|
|
9348
|
+
itemSurface: "none",
|
|
9349
|
+
eyebrowTreatment: "accent"
|
|
9350
|
+
}
|
|
9351
|
+
});
|
|
9365
9352
|
//#endregion
|
|
9366
9353
|
//#region ../theme-core/src/site-styles/headerCtaVariants.ts
|
|
9367
9354
|
function hasButtonVariant(theme, variantId) {
|
|
@@ -9442,6 +9429,27 @@ function uniqueStrings(values) {
|
|
|
9442
9429
|
return Array.from(new Set(values));
|
|
9443
9430
|
}
|
|
9444
9431
|
//#endregion
|
|
9432
|
+
//#region ../theme-core/src/site-styles/headerInteractionPalette.ts
|
|
9433
|
+
const clearSplitInteractionPalette = defineLookOptionGroup({
|
|
9434
|
+
id: "interaction-palette",
|
|
9435
|
+
label: "Hover colour",
|
|
9436
|
+
defaultOptionId: "accent",
|
|
9437
|
+
options: [
|
|
9438
|
+
{
|
|
9439
|
+
id: "accent",
|
|
9440
|
+
label: "Accent"
|
|
9441
|
+
},
|
|
9442
|
+
{
|
|
9443
|
+
id: "primary",
|
|
9444
|
+
label: "Primary"
|
|
9445
|
+
},
|
|
9446
|
+
{
|
|
9447
|
+
id: "secondary",
|
|
9448
|
+
label: "Secondary"
|
|
9449
|
+
}
|
|
9450
|
+
]
|
|
9451
|
+
});
|
|
9452
|
+
//#endregion
|
|
9445
9453
|
//#region ../theme-core/src/site-styles/headerLooks.ts
|
|
9446
9454
|
function asHeaderLookId(value) {
|
|
9447
9455
|
return value;
|
|
@@ -9575,7 +9583,7 @@ const overlayLogoAccommodations = [
|
|
|
9575
9583
|
* optional nested styling fields that would otherwise leak from another Look.
|
|
9576
9584
|
*/
|
|
9577
9585
|
function baseHeader(theme) {
|
|
9578
|
-
const { navLinkStyle: _navLinkStyle, navFontRole: _navFontRole, navTypography: _navTypography, navTextSize: _navTextSize, dropdownStyle: _dropdownStyle, ctaVariant: _ctaVariant, navContainer: _navContainer, container: _container, shadow: _shadow, logo: _logo, logoText: _logoText, border: _border, ...header } = theme.header;
|
|
9586
|
+
const { navLinkStyle: _navLinkStyle, navFontRole: _navFontRole, navTypography: _navTypography, navTextSize: _navTextSize, interactionPalette: _interactionPalette, dropdownStyle: _dropdownStyle, ctaVariant: _ctaVariant, navContainer: _navContainer, container: _container, shadow: _shadow, logo: _logo, logoText: _logoText, border: _border, ...header } = theme.header;
|
|
9579
9587
|
return {
|
|
9580
9588
|
...header,
|
|
9581
9589
|
navContainer: {
|
|
@@ -9590,7 +9598,6 @@ const headerLayoutCatalog = defineExactCatalog()([
|
|
|
9590
9598
|
id: asHeaderLayoutId("classic"),
|
|
9591
9599
|
label: "Classic",
|
|
9592
9600
|
description: "Logo and navigation in one practical horizontal row.",
|
|
9593
|
-
structure: "inline-classic",
|
|
9594
9601
|
variant: "classic",
|
|
9595
9602
|
defaultPositioning: "sticky",
|
|
9596
9603
|
shrinkOnScroll: false
|
|
@@ -9599,7 +9606,6 @@ const headerLayoutCatalog = defineExactCatalog()([
|
|
|
9599
9606
|
id: asHeaderLayoutId("centered"),
|
|
9600
9607
|
label: "Centered",
|
|
9601
9608
|
description: "Logo centered above a balanced navigation row.",
|
|
9602
|
-
structure: "centered-stack",
|
|
9603
9609
|
variant: "centered",
|
|
9604
9610
|
defaultPositioning: "static",
|
|
9605
9611
|
shrinkOnScroll: false,
|
|
@@ -9615,7 +9621,6 @@ const headerLayoutCatalog = defineExactCatalog()([
|
|
|
9615
9621
|
id: asHeaderLayoutId("floating"),
|
|
9616
9622
|
label: "Floating",
|
|
9617
9623
|
description: "Detached header chrome that sits over the opening section.",
|
|
9618
|
-
structure: "floating-shell",
|
|
9619
9624
|
variant: "floating",
|
|
9620
9625
|
defaultPositioning: "sticky",
|
|
9621
9626
|
shrinkOnScroll: true,
|
|
@@ -9777,10 +9782,13 @@ const headerStyleCatalog = defineExactCatalog()([
|
|
|
9777
9782
|
label: "Clear Split",
|
|
9778
9783
|
description: "Floating logo with transparent navigation and no shared shell.",
|
|
9779
9784
|
supportedLayoutIds: supportedLayouts(["floating"]),
|
|
9780
|
-
navInteraction: "
|
|
9785
|
+
navInteraction: "pill-background",
|
|
9781
9786
|
surface: "floating",
|
|
9782
|
-
defaultDepth: "
|
|
9787
|
+
defaultDepth: "line",
|
|
9783
9788
|
navTypography: "plain",
|
|
9789
|
+
openingForegroundTarget: "all",
|
|
9790
|
+
scrollTreatment: "contrast-glass",
|
|
9791
|
+
interactionPalette: clearSplitInteractionPalette,
|
|
9784
9792
|
moods: ["editorial", "calm"]
|
|
9785
9793
|
},
|
|
9786
9794
|
{
|
|
@@ -9803,6 +9811,7 @@ const headerStyleCatalog = defineExactCatalog()([
|
|
|
9803
9811
|
surface: "floating",
|
|
9804
9812
|
defaultDepth: "shadow",
|
|
9805
9813
|
navTypography: "quiet-caps",
|
|
9814
|
+
openingForegroundTarget: "brand-only",
|
|
9806
9815
|
moods: ["expressive"]
|
|
9807
9816
|
},
|
|
9808
9817
|
{
|
|
@@ -9814,6 +9823,7 @@ const headerStyleCatalog = defineExactCatalog()([
|
|
|
9814
9823
|
surface: "floating",
|
|
9815
9824
|
defaultDepth: "shadow",
|
|
9816
9825
|
navTypography: "heading",
|
|
9826
|
+
openingForegroundTarget: "brand-only",
|
|
9817
9827
|
moods: ["calm", "editorial"]
|
|
9818
9828
|
}
|
|
9819
9829
|
]);
|
|
@@ -10315,13 +10325,6 @@ const headerLookCatalog = defineExactCatalog()([
|
|
|
10315
10325
|
{
|
|
10316
10326
|
id: asHeaderLookId("clean-base"),
|
|
10317
10327
|
label: "Clean base",
|
|
10318
|
-
visualTreatment: "solid-neutral",
|
|
10319
|
-
layoutBehavior: "sticky",
|
|
10320
|
-
configuration: {
|
|
10321
|
-
structure: "inline-classic",
|
|
10322
|
-
treatment: "solid-neutral",
|
|
10323
|
-
behavior: "sticky"
|
|
10324
|
-
},
|
|
10325
10328
|
openingRequirement: "none",
|
|
10326
10329
|
logoAccommodations: inlineClassicLogoAccommodations,
|
|
10327
10330
|
compile: cleanBaseHeader
|
|
@@ -10329,13 +10332,6 @@ const headerLookCatalog = defineExactCatalog()([
|
|
|
10329
10332
|
{
|
|
10330
10333
|
id: asHeaderLookId("classic-centered-nav"),
|
|
10331
10334
|
label: "Centered nav",
|
|
10332
|
-
visualTreatment: "solid-neutral",
|
|
10333
|
-
layoutBehavior: "sticky",
|
|
10334
|
-
configuration: {
|
|
10335
|
-
structure: "inline-classic",
|
|
10336
|
-
treatment: "solid-neutral",
|
|
10337
|
-
behavior: "sticky"
|
|
10338
|
-
},
|
|
10339
10335
|
openingRequirement: "none",
|
|
10340
10336
|
maxRecommendedNavItems: 6,
|
|
10341
10337
|
logoAccommodations: inlineClassicLogoAccommodations,
|
|
@@ -10344,13 +10340,6 @@ const headerLookCatalog = defineExactCatalog()([
|
|
|
10344
10340
|
{
|
|
10345
10341
|
id: asHeaderLookId("brand-solid"),
|
|
10346
10342
|
label: "Brand solid",
|
|
10347
|
-
visualTreatment: "solid-brand",
|
|
10348
|
-
layoutBehavior: "sticky-shrink",
|
|
10349
|
-
configuration: {
|
|
10350
|
-
structure: "inline-classic",
|
|
10351
|
-
treatment: "solid-brand",
|
|
10352
|
-
behavior: "sticky-shrink"
|
|
10353
|
-
},
|
|
10354
10343
|
openingRequirement: "none",
|
|
10355
10344
|
logoAccommodations: inlineClassicLogoAccommodations,
|
|
10356
10345
|
compile: solidBrandHeader
|
|
@@ -10358,13 +10347,6 @@ const headerLookCatalog = defineExactCatalog()([
|
|
|
10358
10347
|
{
|
|
10359
10348
|
id: asHeaderLookId("serif-line"),
|
|
10360
10349
|
label: "Serif line",
|
|
10361
|
-
visualTreatment: "light-serif",
|
|
10362
|
-
layoutBehavior: "sticky",
|
|
10363
|
-
configuration: {
|
|
10364
|
-
structure: "centered-stack",
|
|
10365
|
-
treatment: "light-serif",
|
|
10366
|
-
behavior: "sticky"
|
|
10367
|
-
},
|
|
10368
10350
|
openingRequirement: "none",
|
|
10369
10351
|
maxRecommendedNavItems: 6,
|
|
10370
10352
|
logoAccommodations: centeredLogoAccommodations,
|
|
@@ -10373,13 +10355,6 @@ const headerLookCatalog = defineExactCatalog()([
|
|
|
10373
10355
|
{
|
|
10374
10356
|
id: asHeaderLookId("centered-calm"),
|
|
10375
10357
|
label: "Centered calm",
|
|
10376
|
-
visualTreatment: "light-serif",
|
|
10377
|
-
layoutBehavior: "normal-flow",
|
|
10378
|
-
configuration: {
|
|
10379
|
-
structure: "centered-stack",
|
|
10380
|
-
treatment: "light-serif",
|
|
10381
|
-
behavior: "normal-flow"
|
|
10382
|
-
},
|
|
10383
10358
|
openingRequirement: "none",
|
|
10384
10359
|
maxRecommendedNavItems: 5,
|
|
10385
10360
|
logoAccommodations: centeredLogoAccommodations,
|
|
@@ -10388,13 +10363,6 @@ const headerLookCatalog = defineExactCatalog()([
|
|
|
10388
10363
|
{
|
|
10389
10364
|
id: asHeaderLookId("practical-utility"),
|
|
10390
10365
|
label: "Practical utility",
|
|
10391
|
-
visualTreatment: "solid-neutral",
|
|
10392
|
-
layoutBehavior: "sticky-shrink",
|
|
10393
|
-
configuration: {
|
|
10394
|
-
structure: "inline-classic",
|
|
10395
|
-
treatment: "solid-neutral",
|
|
10396
|
-
behavior: "sticky-shrink"
|
|
10397
|
-
},
|
|
10398
10366
|
openingRequirement: "none",
|
|
10399
10367
|
requiresProminentCta: true,
|
|
10400
10368
|
logoAccommodations: inlineClassicLogoAccommodations,
|
|
@@ -10403,13 +10371,6 @@ const headerLookCatalog = defineExactCatalog()([
|
|
|
10403
10371
|
{
|
|
10404
10372
|
id: asHeaderLookId("minimal-transparent"),
|
|
10405
10373
|
label: "Minimal transparent",
|
|
10406
|
-
visualTreatment: "minimal-transparent",
|
|
10407
|
-
layoutBehavior: "normal-flow",
|
|
10408
|
-
configuration: {
|
|
10409
|
-
structure: "inline-classic",
|
|
10410
|
-
treatment: "minimal-transparent",
|
|
10411
|
-
behavior: "normal-flow"
|
|
10412
|
-
},
|
|
10413
10374
|
openingRequirement: "reserved-space-ok",
|
|
10414
10375
|
logoAccommodations: inlineClassicLogoAccommodations,
|
|
10415
10376
|
compile: minimalTransparentHeader
|
|
@@ -10417,13 +10378,6 @@ const headerLookCatalog = defineExactCatalog()([
|
|
|
10417
10378
|
{
|
|
10418
10379
|
id: asHeaderLookId("transparent-overlay"),
|
|
10419
10380
|
label: "Transparent overlay",
|
|
10420
|
-
visualTreatment: "transparent-overlay",
|
|
10421
|
-
layoutBehavior: "fixed-overlay",
|
|
10422
|
-
configuration: {
|
|
10423
|
-
structure: "inline-classic",
|
|
10424
|
-
treatment: "transparent-overlay",
|
|
10425
|
-
behavior: "fixed-overlay"
|
|
10426
|
-
},
|
|
10427
10381
|
openingRequirement: "requires-image-hero-with-contrast-overlay",
|
|
10428
10382
|
maxRecommendedNavItems: 5,
|
|
10429
10383
|
logoAccommodations: overlayLogoAccommodations,
|
|
@@ -10432,24 +10386,13 @@ const headerLookCatalog = defineExactCatalog()([
|
|
|
10432
10386
|
{
|
|
10433
10387
|
id: asHeaderLookId("floating-glass"),
|
|
10434
10388
|
label: "Floating glass",
|
|
10435
|
-
visualTreatment: "floating-glass",
|
|
10436
|
-
layoutBehavior: "fixed-floating",
|
|
10437
|
-
configuration: {
|
|
10438
|
-
structure: "floating-shell",
|
|
10439
|
-
treatment: "floating-glass",
|
|
10440
|
-
behavior: "fixed-floating"
|
|
10441
|
-
},
|
|
10442
10389
|
openingRequirement: "requires-image-hero-with-contrast-overlay",
|
|
10443
10390
|
maxRecommendedNavItems: 5,
|
|
10444
10391
|
logoAccommodations: overlayLogoAccommodations,
|
|
10445
10392
|
compile: floatingGlassHeader
|
|
10446
10393
|
}
|
|
10447
10394
|
]);
|
|
10448
|
-
new Set(headerLookCatalog.map((look) => headerConfigurationKey(look.configuration)));
|
|
10449
10395
|
new Map(headerLookCatalog.map((look) => [look.id, look]));
|
|
10450
|
-
function headerConfigurationKey(configuration) {
|
|
10451
|
-
return `${configuration.structure}:${configuration.treatment}:${configuration.behavior}`;
|
|
10452
|
-
}
|
|
10453
10396
|
//#endregion
|
|
10454
10397
|
//#region ../theme-core/src/site-styles/sectionTransitions.ts
|
|
10455
10398
|
function boundaryRuntimeMetrics(family, size, heightExpression) {
|
|
@@ -14058,28 +14001,6 @@ z$1.object({
|
|
|
14058
14001
|
spacing: z$1.enum(themeTokenRecipeOptions.spacing),
|
|
14059
14002
|
motion: z$1.enum(themeTokenRecipeOptions.motion)
|
|
14060
14003
|
});
|
|
14061
|
-
const BREAKPOINT_LG = 1024;
|
|
14062
|
-
const BREAKPOINT_XL = 1280;
|
|
14063
|
-
const BREAKPOINT_LG_DOWN = BREAKPOINT_LG - 1;
|
|
14064
|
-
function mqUp(px) {
|
|
14065
|
-
return `(min-width: ${px}px)`;
|
|
14066
|
-
}
|
|
14067
|
-
function mqDown(px) {
|
|
14068
|
-
return `(max-width: ${px}px)`;
|
|
14069
|
-
}
|
|
14070
|
-
function mqBetween(minPx, maxPx) {
|
|
14071
|
-
return `${mqUp(minPx)} and ${mqDown(maxPx)}`;
|
|
14072
|
-
}
|
|
14073
|
-
mqUp(640);
|
|
14074
|
-
mqUp(768);
|
|
14075
|
-
mqUp(BREAKPOINT_LG);
|
|
14076
|
-
mqUp(BREAKPOINT_XL);
|
|
14077
|
-
mqDown(639);
|
|
14078
|
-
mqDown(767);
|
|
14079
|
-
mqDown(BREAKPOINT_LG_DOWN);
|
|
14080
|
-
mqBetween(640, BREAKPOINT_LG_DOWN);
|
|
14081
|
-
mqDown(640);
|
|
14082
|
-
mqDown(768);
|
|
14083
14004
|
//#endregion
|
|
14084
14005
|
//#region ../theme-core/src/siteChromeOverlayClearance.ts
|
|
14085
14006
|
const SITE_CHROME_VISIBLE_HEADER_ATTR = "data-site-chrome-visible-header";
|
|
@@ -18172,15 +18093,6 @@ const heroLayoutControlsFragment = defineFragment({
|
|
|
18172
18093
|
*/
|
|
18173
18094
|
const BLOCK_BUTTON_ROLES = PUBLIC_BUTTON_ROLES;
|
|
18174
18095
|
const blockButtonRoleSchema = z$1.enum(BLOCK_BUTTON_ROLES);
|
|
18175
|
-
/**
|
|
18176
|
-
* Temporary rollout boundary for persisted content written before issue #1220.
|
|
18177
|
-
* Authoring remains strict through `blockButtonRoleSchema`; this parser exists
|
|
18178
|
-
* only until the post-deploy role rewrite has been audited in production.
|
|
18179
|
-
*/
|
|
18180
|
-
function canonicalizePersistedBlockButtonRole(value) {
|
|
18181
|
-
return value === "link" || value === "tertiary" ? "ghost" : value;
|
|
18182
|
-
}
|
|
18183
|
-
const persistedBlockButtonRoleSchema = z$1.preprocess((value) => typeof value === "string" ? canonicalizePersistedBlockButtonRole(value) : value, blockButtonRoleSchema);
|
|
18184
18096
|
const BLOCK_BUTTON_ROLE_LABELS = {
|
|
18185
18097
|
primary: "Primary",
|
|
18186
18098
|
secondary: "Secondary",
|
|
@@ -25422,6 +25334,12 @@ const mediaBaseSchema = z.object({
|
|
|
25422
25334
|
poster: mediaPosterSchema.optional(),
|
|
25423
25335
|
transform: transformSchema.optional()
|
|
25424
25336
|
});
|
|
25337
|
+
/**
|
|
25338
|
+
* Canonical identifier carried by media values that are safe to persist.
|
|
25339
|
+
* Parsing trims boundary input so downstream writers cannot retain whitespace-only
|
|
25340
|
+
* identifiers or independently disagree about normalization.
|
|
25341
|
+
*/
|
|
25342
|
+
const mediaIdentifierSchema = z.string().trim().min(1).brand();
|
|
25425
25343
|
const imageMediaSchema = mediaBaseSchema.extend({ type: z.literal("image") });
|
|
25426
25344
|
const videoMediaSchema = mediaBaseSchema.extend({ type: z.literal("video") });
|
|
25427
25345
|
const audioMediaSchema = mediaBaseSchema.extend({ type: z.literal("audio") });
|
|
@@ -25436,6 +25354,15 @@ const mediaSchema = z.discriminatedUnion("type", [
|
|
|
25436
25354
|
spreadsheetMediaSchema,
|
|
25437
25355
|
archiveMediaSchema
|
|
25438
25356
|
]);
|
|
25357
|
+
const persistableMediaBaseSchema = mediaBaseSchema.extend({ identifier: mediaIdentifierSchema });
|
|
25358
|
+
z.discriminatedUnion("type", [
|
|
25359
|
+
persistableMediaBaseSchema.extend({ type: z.literal("image") }),
|
|
25360
|
+
persistableMediaBaseSchema.extend({ type: z.literal("video") }),
|
|
25361
|
+
persistableMediaBaseSchema.extend({ type: z.literal("audio") }),
|
|
25362
|
+
persistableMediaBaseSchema.extend({ type: z.literal("document") }),
|
|
25363
|
+
persistableMediaBaseSchema.extend({ type: z.literal("spreadsheet") }),
|
|
25364
|
+
persistableMediaBaseSchema.extend({ type: z.literal("archive") })
|
|
25365
|
+
]);
|
|
25439
25366
|
//#endregion
|
|
25440
25367
|
//#region ../blocks/src/system/manifest/richTextSchema.ts
|
|
25441
25368
|
/**
|
|
@@ -26549,7 +26476,7 @@ function isEventCalendarListLayout(value) {
|
|
|
26549
26476
|
//#region ../blocks/src/system/runtime/nodes/shared/contract-schemas.ts
|
|
26550
26477
|
const previewStageSchema = z$1.enum(["preview", "published"]);
|
|
26551
26478
|
const registrationButtonVariantSchema = blockButtonRoleSchema;
|
|
26552
|
-
const eventButtonVariantSchema =
|
|
26479
|
+
const eventButtonVariantSchema = blockButtonRoleSchema;
|
|
26553
26480
|
const eventLayoutSchema = z$1.enum(eventCalendarListLayoutValues);
|
|
26554
26481
|
const eventCalendarDisplayModeSchema = z$1.enum(eventCalendarDisplayModeValues);
|
|
26555
26482
|
const eventCalendarDefaultViewSchema = z$1.enum(eventCalendarDefaultViewValues);
|