@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
package/dist/server/routing.mjs
CHANGED
|
@@ -4090,7 +4090,7 @@ function canonicalPaletteHashInput(colors, mode) {
|
|
|
4090
4090
|
return `${mode}|${paletteColorFingerprint(colors)}`;
|
|
4091
4091
|
}
|
|
4092
4092
|
/**
|
|
4093
|
-
*
|
|
4093
|
+
* Stable curated-catalogue identity. Do not reorder roles: the order comes
|
|
4094
4094
|
* from PALETTE_TOKEN_NAMES through canonicalPaletteHashInput.
|
|
4095
4095
|
*/
|
|
4096
4096
|
function paletteValueKey(colors, mode) {
|
|
@@ -5649,11 +5649,9 @@ var init_types$13 = __esmMin((() => {
|
|
|
5649
5649
|
"secondary",
|
|
5650
5650
|
"outline",
|
|
5651
5651
|
"ghost",
|
|
5652
|
-
"link",
|
|
5653
|
-
"tertiary",
|
|
5654
5652
|
"accent"
|
|
5655
5653
|
];
|
|
5656
|
-
buttonVariantIdSchema = z$1.string().min(1).max(50).regex(/^[a-z0-9-]+$/, "Button variant IDs may contain lowercase letters, numbers, and hyphens only");
|
|
5654
|
+
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" });
|
|
5657
5655
|
opaqueButtonColourTokenSchema = themeColorTokenSchema.refine((value) => parseOpaqueButtonColourToken(value) !== null, "Button colour tokens must be opaque").transform((value) => {
|
|
5658
5656
|
const token = parseOpaqueButtonColourToken(value);
|
|
5659
5657
|
if (token === null) throw new Error("Invariant: opaque button token passed its schema");
|
|
@@ -6049,8 +6047,66 @@ var init_classNames = __esmMin((() => {
|
|
|
6049
6047
|
init_types$13();
|
|
6050
6048
|
}));
|
|
6051
6049
|
//#endregion
|
|
6050
|
+
//#region ../theme-core/src/buttons/effects/presets/background.ts
|
|
6051
|
+
function shadeBackgroundEffect(config) {
|
|
6052
|
+
return {
|
|
6053
|
+
id: config.id,
|
|
6054
|
+
name: config.name,
|
|
6055
|
+
description: config.description,
|
|
6056
|
+
category: "background",
|
|
6057
|
+
pseudoElement: "none",
|
|
6058
|
+
applicableTo: ["button"],
|
|
6059
|
+
customizableOption: {
|
|
6060
|
+
name: "amount",
|
|
6061
|
+
type: "select",
|
|
6062
|
+
label: config.label,
|
|
6063
|
+
default: 100,
|
|
6064
|
+
options: [
|
|
6065
|
+
0,
|
|
6066
|
+
100,
|
|
6067
|
+
200,
|
|
6068
|
+
300,
|
|
6069
|
+
400,
|
|
6070
|
+
500,
|
|
6071
|
+
600,
|
|
6072
|
+
700,
|
|
6073
|
+
800,
|
|
6074
|
+
900
|
|
6075
|
+
]
|
|
6076
|
+
},
|
|
6077
|
+
isApplicable: (buttonConfig) => buttonConfig.background.type === "solid",
|
|
6078
|
+
generateCSS: ({ themeId, variantId, options, tokens, buttonConfig }) => {
|
|
6079
|
+
if (buttonConfig.background.type !== "solid") return "";
|
|
6080
|
+
const amount = (options.amount || 100) * config.shadeDirection;
|
|
6081
|
+
const baseToken = buttonConfig.background.colorToken ?? "primary-500";
|
|
6082
|
+
return `
|
|
6083
|
+
:where([data-theme-scope="${themeId}"]) .${variantId}:hover {
|
|
6084
|
+
background-color: ${tokens.getColor(tokens.adjustShade(baseToken, amount))};
|
|
6085
|
+
}
|
|
6086
|
+
`;
|
|
6087
|
+
}
|
|
6088
|
+
};
|
|
6089
|
+
}
|
|
6090
|
+
var init_background$3 = __esmMin((() => {
|
|
6091
|
+
shadeBackgroundEffect({
|
|
6092
|
+
id: "darken-background",
|
|
6093
|
+
name: "Darken on Hover",
|
|
6094
|
+
description: "Darkens the background color on hover",
|
|
6095
|
+
label: "Darken Amount (shade step)",
|
|
6096
|
+
shadeDirection: 1
|
|
6097
|
+
});
|
|
6098
|
+
shadeBackgroundEffect({
|
|
6099
|
+
id: "lighten-background",
|
|
6100
|
+
name: "Lighten on Hover",
|
|
6101
|
+
description: "Lightens the background color on hover",
|
|
6102
|
+
label: "Lighten Amount (shade step)",
|
|
6103
|
+
shadeDirection: -1
|
|
6104
|
+
});
|
|
6105
|
+
}));
|
|
6106
|
+
//#endregion
|
|
6052
6107
|
//#region ../theme-core/src/buttons/effects/registry.ts
|
|
6053
6108
|
var init_registry$8 = __esmMin((() => {
|
|
6109
|
+
init_background$3();
|
|
6054
6110
|
init_effectClassification();
|
|
6055
6111
|
}));
|
|
6056
6112
|
//#endregion
|
|
@@ -8881,6 +8937,83 @@ var init_tokenOrColor = __esmMin((() => {
|
|
|
8881
8937
|
]);
|
|
8882
8938
|
}));
|
|
8883
8939
|
//#endregion
|
|
8940
|
+
//#region ../theme-core/src/responsive/breakpoints.ts
|
|
8941
|
+
function mqUp(px) {
|
|
8942
|
+
return `(min-width: ${px}px)`;
|
|
8943
|
+
}
|
|
8944
|
+
function mqDown(px) {
|
|
8945
|
+
return `(max-width: ${px}px)`;
|
|
8946
|
+
}
|
|
8947
|
+
function mqBetween(minPx, maxPx) {
|
|
8948
|
+
return `${mqUp(minPx)} and ${mqDown(maxPx)}`;
|
|
8949
|
+
}
|
|
8950
|
+
var BREAKPOINT_LG, BREAKPOINT_XL, BREAKPOINT_LG_DOWN;
|
|
8951
|
+
var init_breakpoints = __esmMin((() => {
|
|
8952
|
+
BREAKPOINT_LG = 1024;
|
|
8953
|
+
BREAKPOINT_XL = 1280;
|
|
8954
|
+
BREAKPOINT_LG_DOWN = BREAKPOINT_LG - 1;
|
|
8955
|
+
mqUp(640);
|
|
8956
|
+
mqUp(768);
|
|
8957
|
+
mqUp(BREAKPOINT_LG);
|
|
8958
|
+
mqUp(BREAKPOINT_XL);
|
|
8959
|
+
mqDown(639);
|
|
8960
|
+
mqDown(767);
|
|
8961
|
+
mqDown(BREAKPOINT_LG_DOWN);
|
|
8962
|
+
mqBetween(640, BREAKPOINT_LG_DOWN);
|
|
8963
|
+
mqDown(640);
|
|
8964
|
+
mqDown(768);
|
|
8965
|
+
}));
|
|
8966
|
+
//#endregion
|
|
8967
|
+
//#region ../theme-core/src/header/paintTargets.ts
|
|
8968
|
+
var init_paintTargets = __esmMin((() => {
|
|
8969
|
+
init_breakpoints();
|
|
8970
|
+
}));
|
|
8971
|
+
//#endregion
|
|
8972
|
+
//#region ../theme-core/src/header/scrollTreatment.ts
|
|
8973
|
+
var headerScrollTreatmentSchema;
|
|
8974
|
+
var init_scrollTreatment = __esmMin((() => {
|
|
8975
|
+
init_paintTargets();
|
|
8976
|
+
headerScrollTreatmentSchema = z$1.discriminatedUnion("kind", [z$1.object({
|
|
8977
|
+
kind: z$1.literal("contrast-glass"),
|
|
8978
|
+
backgroundTone: z$1.enum(["light", "dark"])
|
|
8979
|
+
})]).optional();
|
|
8980
|
+
}));
|
|
8981
|
+
//#endregion
|
|
8982
|
+
//#region ../theme-core/src/header/containerSchema.ts
|
|
8983
|
+
var headerContainerSchema;
|
|
8984
|
+
var init_containerSchema = __esmMin((() => {
|
|
8985
|
+
headerContainerSchema = z$1.object({
|
|
8986
|
+
rounded: z$1.enum([
|
|
8987
|
+
"none",
|
|
8988
|
+
"sm",
|
|
8989
|
+
"md",
|
|
8990
|
+
"lg",
|
|
8991
|
+
"xl",
|
|
8992
|
+
"2xl"
|
|
8993
|
+
]).default("xl"),
|
|
8994
|
+
border: z$1.boolean().default(true),
|
|
8995
|
+
shadow: z$1.boolean().default(true),
|
|
8996
|
+
padding: z$1.enum([
|
|
8997
|
+
"sm",
|
|
8998
|
+
"md",
|
|
8999
|
+
"lg"
|
|
9000
|
+
]).default("md"),
|
|
9001
|
+
tint: z$1.string().nullable().optional(),
|
|
9002
|
+
opacity: z$1.number().min(0).max(1).default(.12)
|
|
9003
|
+
}).optional();
|
|
9004
|
+
}));
|
|
9005
|
+
//#endregion
|
|
9006
|
+
//#region ../theme-core/src/header/interactionPalette.ts
|
|
9007
|
+
var headerInteractionPaletteValues, headerInteractionPaletteSchema;
|
|
9008
|
+
var init_interactionPalette = __esmMin((() => {
|
|
9009
|
+
headerInteractionPaletteValues = [
|
|
9010
|
+
"primary",
|
|
9011
|
+
"secondary",
|
|
9012
|
+
"accent"
|
|
9013
|
+
];
|
|
9014
|
+
headerInteractionPaletteSchema = z$1.enum(headerInteractionPaletteValues);
|
|
9015
|
+
}));
|
|
9016
|
+
//#endregion
|
|
8884
9017
|
//#region ../theme-core/src/schema.ts
|
|
8885
9018
|
/**
|
|
8886
9019
|
* Normalises the legacy `navTypography` font-role alias into the canonical
|
|
@@ -8896,7 +9029,7 @@ function normaliseHeaderNavFontRole(header) {
|
|
|
8896
9029
|
navFontRole: navTypography
|
|
8897
9030
|
} : rest;
|
|
8898
9031
|
}
|
|
8899
|
-
var axesSchema, typographyStyleSchema, bodyTypographyStyleSchema, headingSizeSchema, headingTypographyOverridesSchema, headingTypographyStyleSchema, proseLinkUnderlineStyleSchema, proseLinkUnderlineThicknessSchema, proseLinkUnderlineOffsetSchema, proseLinkStyleSchema, semanticSpacingSchema, boxRoundedSchema, boxBackgroundOverlaySchema, boxBackgroundSchema, noHeadingDecorationSchema, visibleHeadingDecorationSchema, headingDecorationSchema, headingDecorationOverrideSchema, accordionIconTreatmentSchema, sectionStylesOverrideSchema, containerStylesOverrideSchema, cardBorderOverrideSchema, cardStylesOverrideSchema, blockStyleOverridesSchema, blockThemeOverrideSchema, typographyScaleSchema, eyebrowTypographyStyleSchema, typographySchema, spaceSchema, corners, shadow, border, motion, inputStyle, headerVariant, headerPositioning, headerNavStyle, navFontWeight, headerMaxWidth, headerBarFrame,
|
|
9032
|
+
var axesSchema, typographyStyleSchema, bodyTypographyStyleSchema, headingSizeSchema, headingTypographyOverridesSchema, headingTypographyStyleSchema, proseLinkUnderlineStyleSchema, proseLinkUnderlineThicknessSchema, proseLinkUnderlineOffsetSchema, proseLinkStyleSchema, semanticSpacingSchema, boxRoundedSchema, boxBackgroundOverlaySchema, boxBackgroundSchema, noHeadingDecorationSchema, visibleHeadingDecorationSchema, headingDecorationSchema, headingDecorationOverrideSchema, accordionIconTreatmentSchema, sectionStylesOverrideSchema, containerStylesOverrideSchema, cardBorderOverrideSchema, cardStylesOverrideSchema, blockStyleOverridesSchema, blockThemeOverrideSchema, typographyScaleSchema, eyebrowTypographyStyleSchema, typographySchema, spaceSchema, corners, shadow, border, motion, inputStyle, headerVariant, headerPositioning, headerNavStyle, navFontWeight, headerMaxWidth, headerBarFrame, headerBorderSchema, logoStyleSchema, headerLogoTextSchema, navEffectsSchema, dropdownStyleSchema, headerCtaGapSchema, headerCtaTreatmentSchema, navContainerSchema, headerBackgroundSchema, headerSchema, footerVariant, footerMaxWidth, footerMode, footerNavLayoutMode, footerNavLayoutAlign, footerSpacing, footerLogoPlacement, footerLogoSize, footerLogoMaxHeight, footerBottomTextLinkStyleSchema, footerBottomBarSchema, footerNavLayoutSchema, footerLogoSchema, footerSchema, containerPaddingPresetSchema, layoutSchema, heroTypographySizeSchema, heroTypographyLineHeightSchema, heroResponsiveTypographySchema, heroTypographySchema, heroSchema, bodyTextIntroTypographySizeSchema, bodyTextSchema, gradientsSchema, testimonialQuoteTreatmentSchema, themeSchema;
|
|
8900
9033
|
var init_schema$2 = __esmMin((() => {
|
|
8901
9034
|
init_media$3();
|
|
8902
9035
|
init_schema$3();
|
|
@@ -8914,6 +9047,9 @@ var init_schema$2 = __esmMin((() => {
|
|
|
8914
9047
|
init_rawStyleFields();
|
|
8915
9048
|
init_themeColorTokens();
|
|
8916
9049
|
init_tokenOrColor();
|
|
9050
|
+
init_scrollTreatment();
|
|
9051
|
+
init_containerSchema();
|
|
9052
|
+
init_interactionPalette();
|
|
8917
9053
|
axesSchema = z$1.object({
|
|
8918
9054
|
tone: z$1.enum([
|
|
8919
9055
|
"minimal",
|
|
@@ -9321,25 +9457,6 @@ var init_schema$2 = __esmMin((() => {
|
|
|
9321
9457
|
]);
|
|
9322
9458
|
headerMaxWidth = z$1.enum(["container", "full"]);
|
|
9323
9459
|
headerBarFrame = z$1.enum(["full-bleed", "inset-shell"]);
|
|
9324
|
-
headerContainerSchema = z$1.object({
|
|
9325
|
-
rounded: z$1.enum([
|
|
9326
|
-
"none",
|
|
9327
|
-
"sm",
|
|
9328
|
-
"md",
|
|
9329
|
-
"lg",
|
|
9330
|
-
"xl",
|
|
9331
|
-
"2xl"
|
|
9332
|
-
]).default("xl"),
|
|
9333
|
-
border: z$1.boolean().default(true),
|
|
9334
|
-
shadow: z$1.boolean().default(true),
|
|
9335
|
-
padding: z$1.enum([
|
|
9336
|
-
"sm",
|
|
9337
|
-
"md",
|
|
9338
|
-
"lg"
|
|
9339
|
-
]).default("md"),
|
|
9340
|
-
tint: z$1.string().nullable().optional(),
|
|
9341
|
-
opacity: z$1.number().min(0).max(1).default(.12)
|
|
9342
|
-
}).optional();
|
|
9343
9460
|
headerBorderSchema = componentBorderSchema.extend({ position: z$1.enum([
|
|
9344
9461
|
"bottom",
|
|
9345
9462
|
"top",
|
|
@@ -9462,6 +9579,7 @@ var init_schema$2 = __esmMin((() => {
|
|
|
9462
9579
|
shrinkOnScroll: z$1.boolean(),
|
|
9463
9580
|
maxWidth: headerMaxWidth,
|
|
9464
9581
|
barFrame: headerBarFrame.optional(),
|
|
9582
|
+
scrollTreatment: headerScrollTreatmentSchema,
|
|
9465
9583
|
logoOverride: mediaSchema$1.nullable().optional(),
|
|
9466
9584
|
background: headerBackgroundSchema.default({
|
|
9467
9585
|
type: "color",
|
|
@@ -9474,6 +9592,7 @@ var init_schema$2 = __esmMin((() => {
|
|
|
9474
9592
|
navFontRole: z$1.enum(["body", "heading"]).optional(),
|
|
9475
9593
|
navTypography: z$1.enum(["body", "heading"]).optional(),
|
|
9476
9594
|
navTextSize: navLinkStyleSchema.shape.textSize,
|
|
9595
|
+
interactionPalette: headerInteractionPaletteSchema.optional(),
|
|
9477
9596
|
navPlacement: z$1.enum(["end", "center"]).optional(),
|
|
9478
9597
|
container: headerContainerSchema,
|
|
9479
9598
|
border: headerBorderSchema,
|
|
@@ -9750,781 +9869,679 @@ var init_schema$2 = __esmMin((() => {
|
|
|
9750
9869
|
//#region ../theme-core/src/site-styles/accessibleSurfaces.ts
|
|
9751
9870
|
var init_accessibleSurfaces = __esmMin((() => {}));
|
|
9752
9871
|
//#endregion
|
|
9872
|
+
//#region ../theme-core/src/site-styles/lookOptionGroups.ts
|
|
9873
|
+
function defineLookOptionGroup(group) {
|
|
9874
|
+
defaultOption(group);
|
|
9875
|
+
return group;
|
|
9876
|
+
}
|
|
9877
|
+
function defaultOption(group) {
|
|
9878
|
+
const option = group.options.find((candidate) => candidate.id === group.defaultOptionId);
|
|
9879
|
+
if (option) return option;
|
|
9880
|
+
throw new Error(`Look option group "${group.id}" defaults to missing option "${group.defaultOptionId}".`);
|
|
9881
|
+
}
|
|
9882
|
+
var init_lookOptionGroups = __esmMin((() => {}));
|
|
9883
|
+
//#endregion
|
|
9753
9884
|
//#region ../theme-core/src/site-styles/appearancePresetResolution.ts
|
|
9754
9885
|
function assertValidOptionGroups(preset) {
|
|
9755
9886
|
preset.optionGroups?.forEach((group) => {
|
|
9756
|
-
|
|
9887
|
+
defineLookOptionGroup(group);
|
|
9757
9888
|
});
|
|
9758
9889
|
}
|
|
9759
9890
|
function defineBlockAppearancePreset(preset) {
|
|
9760
9891
|
assertValidOptionGroups(preset);
|
|
9761
9892
|
return preset;
|
|
9762
9893
|
}
|
|
9763
|
-
var init_appearancePresetResolution = __esmMin((() => {
|
|
9764
|
-
|
|
9765
|
-
|
|
9766
|
-
var blockAppearancePresets;
|
|
9894
|
+
var init_appearancePresetResolution = __esmMin((() => {
|
|
9895
|
+
init_lookOptionGroups();
|
|
9896
|
+
})), brandScrimOptionGroups, microBannerLayoutPatches;
|
|
9767
9897
|
var init_blockAppearancePresets = __esmMin((() => {
|
|
9768
9898
|
init_appearancePresetResolution();
|
|
9769
9899
|
init_types$7();
|
|
9770
|
-
|
|
9771
|
-
|
|
9772
|
-
|
|
9773
|
-
|
|
9774
|
-
|
|
9775
|
-
|
|
9776
|
-
|
|
9777
|
-
|
|
9778
|
-
|
|
9779
|
-
|
|
9780
|
-
|
|
9781
|
-
|
|
9782
|
-
|
|
9783
|
-
|
|
9784
|
-
}
|
|
9785
|
-
|
|
9786
|
-
|
|
9787
|
-
|
|
9788
|
-
|
|
9789
|
-
|
|
9790
|
-
|
|
9791
|
-
|
|
9792
|
-
|
|
9900
|
+
brandScrimOptionGroups = [{
|
|
9901
|
+
id: "image-surface-treatment",
|
|
9902
|
+
label: "Treatment",
|
|
9903
|
+
defaultOptionId: "brand-scrim-primary",
|
|
9904
|
+
options: [{
|
|
9905
|
+
id: "brand-scrim-primary",
|
|
9906
|
+
label: "Brand scrim",
|
|
9907
|
+
designPatch: { imageSurfaceTreatment: {
|
|
9908
|
+
kind: "brand-scrim",
|
|
9909
|
+
token: "primary"
|
|
9910
|
+
} }
|
|
9911
|
+
}, {
|
|
9912
|
+
id: "neutral-scrim",
|
|
9913
|
+
label: "Neutral scrim",
|
|
9914
|
+
designPatch: { imageSurfaceTreatment: { kind: "neutral-scrim" } }
|
|
9915
|
+
}]
|
|
9916
|
+
}];
|
|
9917
|
+
microBannerLayoutPatches = [{
|
|
9918
|
+
constraints: { layoutVariantKeys: ["micro"] },
|
|
9919
|
+
designPatch: { sectionHeight: "banner" }
|
|
9920
|
+
}];
|
|
9921
|
+
defineBlockAppearancePreset({
|
|
9922
|
+
id: "hero-immersive-image",
|
|
9923
|
+
target: "hero",
|
|
9924
|
+
label: "Immersive image hero",
|
|
9925
|
+
blockKinds: ["block.hero"],
|
|
9926
|
+
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
9927
|
+
layoutPatches: [{
|
|
9928
|
+
constraints: { layoutVariantKeys: ["micro"] },
|
|
9929
|
+
designPatch: {
|
|
9930
|
+
sectionHeight: "banner",
|
|
9931
|
+
heroTypographyScale: "display"
|
|
9793
9932
|
}
|
|
9794
|
-
}
|
|
9795
|
-
|
|
9796
|
-
|
|
9797
|
-
|
|
9798
|
-
|
|
9799
|
-
|
|
9800
|
-
|
|
9801
|
-
|
|
9802
|
-
|
|
9803
|
-
|
|
9804
|
-
|
|
9805
|
-
|
|
9806
|
-
|
|
9807
|
-
|
|
9808
|
-
|
|
9809
|
-
|
|
9810
|
-
|
|
9811
|
-
|
|
9812
|
-
|
|
9813
|
-
|
|
9814
|
-
|
|
9815
|
-
|
|
9816
|
-
|
|
9817
|
-
|
|
9818
|
-
token: "primary",
|
|
9819
|
-
intensity: "balanced"
|
|
9820
|
-
} }
|
|
9821
|
-
}]
|
|
9822
|
-
}],
|
|
9823
|
-
layoutPatches: [{
|
|
9824
|
-
constraints: { layoutVariantKeys: ["micro"] },
|
|
9825
|
-
designPatch: {
|
|
9826
|
-
sectionHeight: "banner",
|
|
9827
|
-
heroTypographyScale: "editorial"
|
|
9828
|
-
}
|
|
9829
|
-
}],
|
|
9830
|
-
design: {
|
|
9831
|
-
sectionSurface: "hero-image",
|
|
9832
|
-
contentFrame: panelFrame("raised"),
|
|
9833
|
-
itemSurface: "none",
|
|
9834
|
-
sectionHeight: "immersive",
|
|
9835
|
-
heroComposition: "bottom-left",
|
|
9836
|
-
heroTypographyScale: "display",
|
|
9837
|
-
imageSurfaceTreatment: {
|
|
9933
|
+
}],
|
|
9934
|
+
design: {
|
|
9935
|
+
sectionSurface: "hero-image",
|
|
9936
|
+
contentFrame: plainFrame,
|
|
9937
|
+
itemSurface: "none",
|
|
9938
|
+
sectionHeight: "hero",
|
|
9939
|
+
heroComposition: "center",
|
|
9940
|
+
heroTypographyScale: "display",
|
|
9941
|
+
imageSurfaceTreatment: { kind: "neutral-wash" }
|
|
9942
|
+
}
|
|
9943
|
+
}), defineBlockAppearancePreset({
|
|
9944
|
+
id: "hero-bottom-left-panel",
|
|
9945
|
+
target: "hero",
|
|
9946
|
+
label: "Bottom-left panel hero",
|
|
9947
|
+
blockKinds: ["block.hero"],
|
|
9948
|
+
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
9949
|
+
optionGroups: [{
|
|
9950
|
+
id: "image-surface-treatment",
|
|
9951
|
+
label: "Treatment",
|
|
9952
|
+
defaultOptionId: "neutral-scrim",
|
|
9953
|
+
options: [{
|
|
9954
|
+
id: "neutral-scrim",
|
|
9955
|
+
label: "Neutral scrim",
|
|
9956
|
+
designPatch: { imageSurfaceTreatment: {
|
|
9838
9957
|
kind: "neutral-scrim",
|
|
9839
9958
|
intensity: "balanced"
|
|
9840
|
-
}
|
|
9841
|
-
}
|
|
9842
|
-
|
|
9843
|
-
|
|
9844
|
-
|
|
9845
|
-
id: "hero-poster-image",
|
|
9846
|
-
target: "hero",
|
|
9847
|
-
label: "Poster image hero",
|
|
9848
|
-
blockKinds: ["block.hero"],
|
|
9849
|
-
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
9850
|
-
layoutPatches: [{
|
|
9851
|
-
constraints: { layoutVariantKeys: ["micro"] },
|
|
9852
|
-
designPatch: {
|
|
9853
|
-
sectionHeight: "banner",
|
|
9854
|
-
heroTypographyScale: "display"
|
|
9855
|
-
}
|
|
9856
|
-
}],
|
|
9857
|
-
design: {
|
|
9858
|
-
sectionSurface: "hero-image",
|
|
9859
|
-
contentFrame: plainFrame,
|
|
9860
|
-
itemSurface: "none",
|
|
9861
|
-
sectionHeight: "immersive",
|
|
9862
|
-
heroComposition: "center",
|
|
9863
|
-
heroTypographyScale: "poster",
|
|
9864
|
-
imageSurfaceTreatment: {
|
|
9959
|
+
} }
|
|
9960
|
+
}, {
|
|
9961
|
+
id: "brand-scrim-primary",
|
|
9962
|
+
label: "Brand scrim",
|
|
9963
|
+
designPatch: { imageSurfaceTreatment: {
|
|
9865
9964
|
kind: "brand-scrim",
|
|
9866
9965
|
token: "primary",
|
|
9867
|
-
intensity: "
|
|
9868
|
-
}
|
|
9869
|
-
}
|
|
9870
|
-
}
|
|
9871
|
-
|
|
9872
|
-
|
|
9873
|
-
|
|
9874
|
-
|
|
9875
|
-
label: "Brand scrim image hero",
|
|
9876
|
-
blockKinds: ["block.hero"],
|
|
9877
|
-
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
9878
|
-
optionGroups: [{
|
|
9879
|
-
id: "image-surface-treatment",
|
|
9880
|
-
label: "Treatment",
|
|
9881
|
-
selectedOptionId: "brand-scrim-primary",
|
|
9882
|
-
options: [{
|
|
9883
|
-
id: "brand-scrim-primary",
|
|
9884
|
-
label: "Brand scrim",
|
|
9885
|
-
designPatch: { imageSurfaceTreatment: {
|
|
9886
|
-
kind: "brand-scrim",
|
|
9887
|
-
token: "primary"
|
|
9888
|
-
} }
|
|
9889
|
-
}, {
|
|
9890
|
-
id: "neutral-scrim",
|
|
9891
|
-
label: "Neutral scrim",
|
|
9892
|
-
designPatch: { imageSurfaceTreatment: { kind: "neutral-scrim" } }
|
|
9893
|
-
}]
|
|
9894
|
-
}],
|
|
9895
|
-
layoutPatches: [{
|
|
9896
|
-
constraints: { layoutVariantKeys: ["micro"] },
|
|
9897
|
-
designPatch: { sectionHeight: "banner" }
|
|
9898
|
-
}],
|
|
9899
|
-
design: {
|
|
9900
|
-
sectionSurface: "hero-image",
|
|
9901
|
-
contentFrame: plainFrame,
|
|
9902
|
-
itemSurface: "none",
|
|
9903
|
-
sectionHeight: "immersive",
|
|
9904
|
-
heroComposition: "center",
|
|
9905
|
-
heroTypographyScale: "display",
|
|
9906
|
-
imageSurfaceTreatment: {
|
|
9907
|
-
kind: "brand-scrim",
|
|
9908
|
-
token: "primary"
|
|
9909
|
-
}
|
|
9910
|
-
}
|
|
9911
|
-
}),
|
|
9912
|
-
defineBlockAppearancePreset({
|
|
9913
|
-
kind: "block-design",
|
|
9914
|
-
id: "hero-brand-scrim-fixed-frame",
|
|
9915
|
-
target: "hero",
|
|
9916
|
-
label: "Fixed-frame brand scrim hero",
|
|
9917
|
-
blockKinds: ["block.hero"],
|
|
9918
|
-
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
9919
|
-
optionGroups: [{
|
|
9920
|
-
id: "image-surface-treatment",
|
|
9921
|
-
label: "Treatment",
|
|
9922
|
-
selectedOptionId: "brand-scrim-primary",
|
|
9923
|
-
options: [{
|
|
9924
|
-
id: "brand-scrim-primary",
|
|
9925
|
-
label: "Brand scrim",
|
|
9926
|
-
designPatch: { imageSurfaceTreatment: {
|
|
9927
|
-
kind: "brand-scrim",
|
|
9928
|
-
token: "primary"
|
|
9929
|
-
} }
|
|
9930
|
-
}, {
|
|
9931
|
-
id: "neutral-scrim",
|
|
9932
|
-
label: "Neutral scrim",
|
|
9933
|
-
designPatch: { imageSurfaceTreatment: { kind: "neutral-scrim" } }
|
|
9934
|
-
}]
|
|
9935
|
-
}],
|
|
9936
|
-
layoutPatches: [{
|
|
9937
|
-
constraints: { layoutVariantKeys: ["micro"] },
|
|
9938
|
-
designPatch: { sectionHeight: "banner" }
|
|
9939
|
-
}],
|
|
9940
|
-
design: {
|
|
9941
|
-
sectionSurface: "hero-image",
|
|
9942
|
-
contentFrame: plainFrame,
|
|
9943
|
-
itemSurface: "none",
|
|
9944
|
-
sectionHeight: "immersive",
|
|
9945
|
-
heroComposition: "center",
|
|
9946
|
-
heroTypographyScale: "display",
|
|
9947
|
-
imageSurfaceTreatment: {
|
|
9948
|
-
kind: "brand-scrim",
|
|
9949
|
-
token: "primary"
|
|
9950
|
-
},
|
|
9951
|
-
imageSurfaceMotion: "fixed-frame",
|
|
9952
|
-
eyebrowTreatment: "accent-pill-bounce"
|
|
9953
|
-
}
|
|
9954
|
-
}),
|
|
9955
|
-
defineBlockAppearancePreset({
|
|
9956
|
-
kind: "block-design",
|
|
9957
|
-
id: "hero-brand-depth-expressive",
|
|
9958
|
-
target: "hero",
|
|
9959
|
-
label: "Expressive brand-depth hero",
|
|
9960
|
-
blockKinds: ["block.hero"],
|
|
9961
|
-
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
9962
|
-
design: {
|
|
9963
|
-
sectionSurface: "brand-depth-band",
|
|
9964
|
-
contentFrame: plainFrame,
|
|
9965
|
-
itemSurface: "none",
|
|
9966
|
-
heroComposition: "center",
|
|
9967
|
-
heroTypographyScale: "editorial",
|
|
9968
|
-
eyebrowTreatment: "accent-pill-bounce"
|
|
9969
|
-
}
|
|
9970
|
-
}),
|
|
9971
|
-
defineBlockAppearancePreset({
|
|
9972
|
-
kind: "block-design",
|
|
9973
|
-
id: "hero-contained-intro",
|
|
9974
|
-
target: "hero",
|
|
9975
|
-
label: "Contained intro hero",
|
|
9976
|
-
blockKinds: ["block.hero"],
|
|
9977
|
-
design: {
|
|
9978
|
-
sectionSurface: "muted-band",
|
|
9979
|
-
contentFrame: panelFrame("inset"),
|
|
9980
|
-
itemSurface: "none",
|
|
9981
|
-
heroComposition: "center",
|
|
9982
|
-
heroTypographyScale: "editorial"
|
|
9983
|
-
}
|
|
9984
|
-
}),
|
|
9985
|
-
defineBlockAppearancePreset({
|
|
9986
|
-
kind: "block-design",
|
|
9987
|
-
id: "hero-split-editorial",
|
|
9988
|
-
target: "hero",
|
|
9989
|
-
label: "Editorial split hero",
|
|
9990
|
-
blockKinds: ["block.hero"],
|
|
9991
|
-
constraints: { layoutFamilies: ["split"] },
|
|
9992
|
-
design: {
|
|
9993
|
-
sectionSurface: "base",
|
|
9994
|
-
contentFrame: plainFrame,
|
|
9995
|
-
itemSurface: "none",
|
|
9996
|
-
heroTypographyScale: "editorial"
|
|
9997
|
-
}
|
|
9998
|
-
}),
|
|
9999
|
-
defineBlockAppearancePreset({
|
|
10000
|
-
kind: "block-design",
|
|
10001
|
-
id: "hero-split-brand",
|
|
10002
|
-
target: "hero",
|
|
10003
|
-
label: "Brand split hero",
|
|
10004
|
-
blockKinds: ["block.hero"],
|
|
10005
|
-
constraints: { layoutFamilies: ["split"] },
|
|
10006
|
-
design: {
|
|
10007
|
-
sectionSurface: "brand-depth-band",
|
|
10008
|
-
contentFrame: plainFrame,
|
|
10009
|
-
itemSurface: "none",
|
|
10010
|
-
heroTypographyScale: "display",
|
|
10011
|
-
eyebrowTreatment: "accent-pill-bounce"
|
|
10012
|
-
}
|
|
10013
|
-
}),
|
|
10014
|
-
defineBlockAppearancePreset({
|
|
10015
|
-
kind: "block-design",
|
|
10016
|
-
id: "hero-split-soft-panel",
|
|
10017
|
-
target: "hero",
|
|
10018
|
-
label: "Soft panel split hero",
|
|
10019
|
-
blockKinds: ["block.hero"],
|
|
10020
|
-
constraints: { layoutFamilies: ["split"] },
|
|
10021
|
-
design: {
|
|
10022
|
-
sectionSurface: "muted-band",
|
|
10023
|
-
contentFrame: panelFrame("raised"),
|
|
10024
|
-
itemSurface: "none",
|
|
9966
|
+
intensity: "balanced"
|
|
9967
|
+
} }
|
|
9968
|
+
}]
|
|
9969
|
+
}],
|
|
9970
|
+
layoutPatches: [{
|
|
9971
|
+
constraints: { layoutVariantKeys: ["micro"] },
|
|
9972
|
+
designPatch: {
|
|
9973
|
+
sectionHeight: "banner",
|
|
10025
9974
|
heroTypographyScale: "editorial"
|
|
10026
9975
|
}
|
|
10027
|
-
}
|
|
10028
|
-
|
|
10029
|
-
|
|
10030
|
-
|
|
10031
|
-
|
|
10032
|
-
|
|
10033
|
-
|
|
10034
|
-
|
|
10035
|
-
|
|
10036
|
-
|
|
10037
|
-
|
|
10038
|
-
|
|
9976
|
+
}],
|
|
9977
|
+
design: {
|
|
9978
|
+
sectionSurface: "hero-image",
|
|
9979
|
+
contentFrame: panelFrame("raised"),
|
|
9980
|
+
itemSurface: "none",
|
|
9981
|
+
sectionHeight: "immersive",
|
|
9982
|
+
heroComposition: "bottom-left",
|
|
9983
|
+
heroTypographyScale: "display",
|
|
9984
|
+
imageSurfaceTreatment: {
|
|
9985
|
+
kind: "neutral-scrim",
|
|
9986
|
+
intensity: "balanced"
|
|
9987
|
+
}
|
|
9988
|
+
}
|
|
9989
|
+
}), defineBlockAppearancePreset({
|
|
9990
|
+
id: "hero-poster-image",
|
|
9991
|
+
target: "hero",
|
|
9992
|
+
label: "Poster image hero",
|
|
9993
|
+
blockKinds: ["block.hero"],
|
|
9994
|
+
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
9995
|
+
layoutPatches: [{
|
|
9996
|
+
constraints: { layoutVariantKeys: ["micro"] },
|
|
9997
|
+
designPatch: {
|
|
9998
|
+
sectionHeight: "banner",
|
|
10039
9999
|
heroTypographyScale: "display"
|
|
10040
10000
|
}
|
|
10041
|
-
}
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
|
|
10056
|
-
|
|
10057
|
-
|
|
10058
|
-
|
|
10059
|
-
|
|
10060
|
-
|
|
10061
|
-
|
|
10062
|
-
|
|
10063
|
-
|
|
10064
|
-
|
|
10065
|
-
|
|
10066
|
-
|
|
10067
|
-
|
|
10068
|
-
|
|
10069
|
-
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
|
|
10073
|
-
|
|
10074
|
-
|
|
10075
|
-
|
|
10076
|
-
|
|
10077
|
-
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
|
|
10093
|
-
|
|
10094
|
-
|
|
10095
|
-
|
|
10096
|
-
|
|
10097
|
-
|
|
10098
|
-
|
|
10099
|
-
|
|
10100
|
-
|
|
10101
|
-
|
|
10102
|
-
|
|
10103
|
-
|
|
10104
|
-
|
|
10105
|
-
|
|
10106
|
-
|
|
10107
|
-
|
|
10108
|
-
|
|
10109
|
-
|
|
10110
|
-
|
|
10111
|
-
|
|
10112
|
-
|
|
10113
|
-
|
|
10114
|
-
|
|
10115
|
-
|
|
10116
|
-
|
|
10117
|
-
|
|
10118
|
-
|
|
10119
|
-
|
|
10120
|
-
|
|
10121
|
-
|
|
10122
|
-
|
|
10123
|
-
|
|
10124
|
-
|
|
10125
|
-
|
|
10126
|
-
|
|
10127
|
-
|
|
10128
|
-
|
|
10129
|
-
|
|
10130
|
-
|
|
10131
|
-
|
|
10132
|
-
|
|
10133
|
-
|
|
10134
|
-
|
|
10135
|
-
|
|
10136
|
-
|
|
10137
|
-
|
|
10138
|
-
|
|
10139
|
-
|
|
10140
|
-
|
|
10141
|
-
|
|
10142
|
-
|
|
10143
|
-
|
|
10144
|
-
|
|
10145
|
-
|
|
10146
|
-
|
|
10147
|
-
|
|
10148
|
-
|
|
10149
|
-
|
|
10150
|
-
|
|
10151
|
-
|
|
10152
|
-
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
|
|
10161
|
-
|
|
10162
|
-
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
|
|
10170
|
-
|
|
10171
|
-
|
|
10172
|
-
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10176
|
-
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
|
|
10180
|
-
|
|
10181
|
-
|
|
10182
|
-
|
|
10183
|
-
|
|
10184
|
-
|
|
10185
|
-
}
|
|
10186
|
-
}
|
|
10187
|
-
|
|
10188
|
-
|
|
10189
|
-
|
|
10190
|
-
|
|
10191
|
-
|
|
10192
|
-
|
|
10193
|
-
|
|
10194
|
-
|
|
10195
|
-
|
|
10196
|
-
|
|
10197
|
-
|
|
10198
|
-
|
|
10199
|
-
|
|
10200
|
-
|
|
10201
|
-
|
|
10202
|
-
|
|
10203
|
-
|
|
10204
|
-
|
|
10205
|
-
|
|
10206
|
-
|
|
10207
|
-
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
|
|
10211
|
-
|
|
10212
|
-
|
|
10213
|
-
|
|
10214
|
-
|
|
10215
|
-
|
|
10216
|
-
|
|
10217
|
-
|
|
10218
|
-
|
|
10219
|
-
|
|
10220
|
-
|
|
10221
|
-
|
|
10222
|
-
|
|
10223
|
-
|
|
10224
|
-
|
|
10225
|
-
|
|
10226
|
-
|
|
10227
|
-
|
|
10228
|
-
|
|
10229
|
-
|
|
10230
|
-
|
|
10231
|
-
|
|
10232
|
-
|
|
10233
|
-
|
|
10234
|
-
|
|
10235
|
-
|
|
10236
|
-
|
|
10237
|
-
|
|
10238
|
-
|
|
10239
|
-
|
|
10240
|
-
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10244
|
-
|
|
10245
|
-
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
10252
|
-
|
|
10253
|
-
|
|
10254
|
-
|
|
10255
|
-
|
|
10256
|
-
|
|
10257
|
-
|
|
10258
|
-
|
|
10259
|
-
|
|
10260
|
-
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
|
|
10277
|
-
|
|
10278
|
-
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
|
|
10290
|
-
|
|
10291
|
-
|
|
10292
|
-
|
|
10293
|
-
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
|
|
10299
|
-
|
|
10300
|
-
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
|
|
10309
|
-
|
|
10310
|
-
|
|
10311
|
-
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
10329
|
-
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
|
|
10334
|
-
}
|
|
10335
|
-
|
|
10336
|
-
|
|
10337
|
-
|
|
10338
|
-
|
|
10339
|
-
|
|
10340
|
-
|
|
10341
|
-
|
|
10342
|
-
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10350
|
-
|
|
10351
|
-
|
|
10352
|
-
|
|
10353
|
-
|
|
10354
|
-
|
|
10355
|
-
|
|
10356
|
-
|
|
10357
|
-
|
|
10358
|
-
|
|
10359
|
-
|
|
10360
|
-
|
|
10361
|
-
|
|
10362
|
-
|
|
10363
|
-
|
|
10364
|
-
|
|
10365
|
-
|
|
10366
|
-
|
|
10367
|
-
|
|
10368
|
-
|
|
10369
|
-
|
|
10370
|
-
|
|
10371
|
-
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
|
|
10375
|
-
|
|
10376
|
-
|
|
10377
|
-
|
|
10378
|
-
|
|
10379
|
-
|
|
10380
|
-
|
|
10381
|
-
|
|
10382
|
-
|
|
10383
|
-
|
|
10384
|
-
|
|
10385
|
-
|
|
10386
|
-
|
|
10387
|
-
|
|
10388
|
-
|
|
10389
|
-
|
|
10390
|
-
|
|
10391
|
-
|
|
10392
|
-
|
|
10393
|
-
|
|
10394
|
-
|
|
10395
|
-
|
|
10396
|
-
|
|
10397
|
-
|
|
10398
|
-
|
|
10399
|
-
|
|
10400
|
-
|
|
10401
|
-
|
|
10402
|
-
|
|
10403
|
-
|
|
10404
|
-
|
|
10405
|
-
|
|
10406
|
-
|
|
10407
|
-
|
|
10408
|
-
|
|
10409
|
-
|
|
10410
|
-
|
|
10411
|
-
|
|
10412
|
-
|
|
10413
|
-
|
|
10414
|
-
|
|
10415
|
-
|
|
10416
|
-
|
|
10417
|
-
|
|
10418
|
-
|
|
10419
|
-
|
|
10420
|
-
|
|
10421
|
-
|
|
10422
|
-
|
|
10423
|
-
|
|
10424
|
-
|
|
10425
|
-
|
|
10426
|
-
|
|
10427
|
-
|
|
10428
|
-
|
|
10429
|
-
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
|
|
10433
|
-
|
|
10434
|
-
|
|
10435
|
-
|
|
10436
|
-
|
|
10437
|
-
|
|
10438
|
-
|
|
10439
|
-
|
|
10440
|
-
|
|
10441
|
-
|
|
10442
|
-
|
|
10443
|
-
|
|
10444
|
-
|
|
10445
|
-
|
|
10446
|
-
|
|
10447
|
-
|
|
10448
|
-
|
|
10449
|
-
|
|
10450
|
-
|
|
10451
|
-
|
|
10452
|
-
|
|
10453
|
-
|
|
10454
|
-
|
|
10455
|
-
|
|
10456
|
-
|
|
10457
|
-
|
|
10458
|
-
|
|
10459
|
-
|
|
10460
|
-
}
|
|
10461
|
-
|
|
10462
|
-
|
|
10463
|
-
|
|
10464
|
-
|
|
10465
|
-
|
|
10466
|
-
|
|
10467
|
-
|
|
10468
|
-
|
|
10469
|
-
|
|
10470
|
-
|
|
10471
|
-
|
|
10472
|
-
|
|
10473
|
-
|
|
10474
|
-
|
|
10475
|
-
|
|
10476
|
-
|
|
10477
|
-
|
|
10478
|
-
|
|
10479
|
-
|
|
10480
|
-
|
|
10481
|
-
|
|
10482
|
-
|
|
10483
|
-
|
|
10484
|
-
|
|
10485
|
-
|
|
10486
|
-
|
|
10487
|
-
|
|
10488
|
-
|
|
10489
|
-
|
|
10490
|
-
|
|
10491
|
-
|
|
10492
|
-
|
|
10493
|
-
|
|
10494
|
-
|
|
10495
|
-
|
|
10496
|
-
|
|
10497
|
-
|
|
10498
|
-
|
|
10499
|
-
|
|
10500
|
-
|
|
10501
|
-
|
|
10502
|
-
|
|
10503
|
-
|
|
10504
|
-
|
|
10505
|
-
|
|
10506
|
-
|
|
10507
|
-
|
|
10508
|
-
|
|
10509
|
-
|
|
10510
|
-
|
|
10511
|
-
|
|
10512
|
-
|
|
10513
|
-
|
|
10514
|
-
|
|
10515
|
-
|
|
10516
|
-
|
|
10517
|
-
|
|
10518
|
-
|
|
10519
|
-
|
|
10520
|
-
|
|
10521
|
-
|
|
10522
|
-
|
|
10523
|
-
|
|
10524
|
-
|
|
10001
|
+
}],
|
|
10002
|
+
design: {
|
|
10003
|
+
sectionSurface: "hero-image",
|
|
10004
|
+
contentFrame: plainFrame,
|
|
10005
|
+
itemSurface: "none",
|
|
10006
|
+
sectionHeight: "immersive",
|
|
10007
|
+
heroComposition: "center",
|
|
10008
|
+
heroTypographyScale: "poster",
|
|
10009
|
+
imageSurfaceTreatment: {
|
|
10010
|
+
kind: "brand-scrim",
|
|
10011
|
+
token: "primary",
|
|
10012
|
+
intensity: "strong"
|
|
10013
|
+
}
|
|
10014
|
+
}
|
|
10015
|
+
}), defineBlockAppearancePreset({
|
|
10016
|
+
id: "hero-brand-scrim",
|
|
10017
|
+
target: "hero",
|
|
10018
|
+
label: "Brand scrim image hero",
|
|
10019
|
+
blockKinds: ["block.hero"],
|
|
10020
|
+
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
10021
|
+
optionGroups: brandScrimOptionGroups,
|
|
10022
|
+
layoutPatches: microBannerLayoutPatches,
|
|
10023
|
+
design: {
|
|
10024
|
+
sectionSurface: "hero-image",
|
|
10025
|
+
contentFrame: plainFrame,
|
|
10026
|
+
itemSurface: "none",
|
|
10027
|
+
sectionHeight: "immersive",
|
|
10028
|
+
heroComposition: "center",
|
|
10029
|
+
heroTypographyScale: "display",
|
|
10030
|
+
imageSurfaceTreatment: {
|
|
10031
|
+
kind: "brand-scrim",
|
|
10032
|
+
token: "primary"
|
|
10033
|
+
}
|
|
10034
|
+
}
|
|
10035
|
+
}), defineBlockAppearancePreset({
|
|
10036
|
+
id: "hero-brand-scrim-fixed-frame",
|
|
10037
|
+
target: "hero",
|
|
10038
|
+
label: "Fixed-frame brand scrim hero",
|
|
10039
|
+
blockKinds: ["block.hero"],
|
|
10040
|
+
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
10041
|
+
optionGroups: brandScrimOptionGroups,
|
|
10042
|
+
layoutPatches: microBannerLayoutPatches,
|
|
10043
|
+
design: {
|
|
10044
|
+
sectionSurface: "hero-image",
|
|
10045
|
+
contentFrame: plainFrame,
|
|
10046
|
+
itemSurface: "none",
|
|
10047
|
+
sectionHeight: "immersive",
|
|
10048
|
+
heroComposition: "center",
|
|
10049
|
+
heroTypographyScale: "display",
|
|
10050
|
+
imageSurfaceTreatment: {
|
|
10051
|
+
kind: "brand-scrim",
|
|
10052
|
+
token: "primary"
|
|
10053
|
+
},
|
|
10054
|
+
imageSurfaceMotion: "fixed-frame",
|
|
10055
|
+
eyebrowTreatment: "accent-pill-bounce"
|
|
10056
|
+
}
|
|
10057
|
+
}), defineBlockAppearancePreset({
|
|
10058
|
+
id: "hero-brand-depth-expressive",
|
|
10059
|
+
target: "hero",
|
|
10060
|
+
label: "Expressive brand-depth hero",
|
|
10061
|
+
blockKinds: ["block.hero"],
|
|
10062
|
+
constraints: { layoutFamilies: ["centered", "compact"] },
|
|
10063
|
+
design: {
|
|
10064
|
+
sectionSurface: "brand-depth-band",
|
|
10065
|
+
contentFrame: plainFrame,
|
|
10066
|
+
itemSurface: "none",
|
|
10067
|
+
heroComposition: "center",
|
|
10068
|
+
heroTypographyScale: "editorial",
|
|
10069
|
+
eyebrowTreatment: "accent-pill-bounce"
|
|
10070
|
+
}
|
|
10071
|
+
}), defineBlockAppearancePreset({
|
|
10072
|
+
id: "hero-contained-intro",
|
|
10073
|
+
target: "hero",
|
|
10074
|
+
label: "Contained intro hero",
|
|
10075
|
+
blockKinds: ["block.hero"],
|
|
10076
|
+
design: {
|
|
10077
|
+
sectionSurface: "muted-band",
|
|
10078
|
+
contentFrame: panelFrame("inset"),
|
|
10079
|
+
itemSurface: "none",
|
|
10080
|
+
heroComposition: "center",
|
|
10081
|
+
heroTypographyScale: "editorial"
|
|
10082
|
+
}
|
|
10083
|
+
}), defineBlockAppearancePreset({
|
|
10084
|
+
id: "hero-split-editorial",
|
|
10085
|
+
target: "hero",
|
|
10086
|
+
label: "Editorial split hero",
|
|
10087
|
+
blockKinds: ["block.hero"],
|
|
10088
|
+
constraints: { layoutFamilies: ["split"] },
|
|
10089
|
+
design: {
|
|
10090
|
+
sectionSurface: "base",
|
|
10091
|
+
contentFrame: plainFrame,
|
|
10092
|
+
itemSurface: "none",
|
|
10093
|
+
heroTypographyScale: "editorial"
|
|
10094
|
+
}
|
|
10095
|
+
}), defineBlockAppearancePreset({
|
|
10096
|
+
id: "hero-split-brand",
|
|
10097
|
+
target: "hero",
|
|
10098
|
+
label: "Brand split hero",
|
|
10099
|
+
blockKinds: ["block.hero"],
|
|
10100
|
+
constraints: { layoutFamilies: ["split"] },
|
|
10101
|
+
design: {
|
|
10102
|
+
sectionSurface: "brand-depth-band",
|
|
10103
|
+
contentFrame: plainFrame,
|
|
10104
|
+
itemSurface: "none",
|
|
10105
|
+
heroTypographyScale: "display",
|
|
10106
|
+
eyebrowTreatment: "accent-pill-bounce"
|
|
10107
|
+
}
|
|
10108
|
+
}), defineBlockAppearancePreset({
|
|
10109
|
+
id: "hero-split-soft-panel",
|
|
10110
|
+
target: "hero",
|
|
10111
|
+
label: "Soft panel split hero",
|
|
10112
|
+
blockKinds: ["block.hero"],
|
|
10113
|
+
constraints: { layoutFamilies: ["split"] },
|
|
10114
|
+
design: {
|
|
10115
|
+
sectionSurface: "muted-band",
|
|
10116
|
+
contentFrame: panelFrame("raised"),
|
|
10117
|
+
itemSurface: "none",
|
|
10118
|
+
heroTypographyScale: "editorial"
|
|
10119
|
+
}
|
|
10120
|
+
}), defineBlockAppearancePreset({
|
|
10121
|
+
id: "hero-split-accent",
|
|
10122
|
+
target: "hero",
|
|
10123
|
+
label: "Accent split hero",
|
|
10124
|
+
blockKinds: ["block.hero"],
|
|
10125
|
+
constraints: { layoutFamilies: ["split"] },
|
|
10126
|
+
design: {
|
|
10127
|
+
sectionSurface: "accent-band",
|
|
10128
|
+
contentFrame: panelFrame("raised"),
|
|
10129
|
+
itemSurface: "none",
|
|
10130
|
+
heroTypographyScale: "display"
|
|
10131
|
+
}
|
|
10132
|
+
}), defineBlockAppearancePreset({
|
|
10133
|
+
id: "intro-editorial-statement",
|
|
10134
|
+
target: "intro",
|
|
10135
|
+
label: "Editorial intro statement",
|
|
10136
|
+
blockKinds: ["block.intro"],
|
|
10137
|
+
constraints: { layoutVariantKeys: ["centered-copy", "statement-copy"] },
|
|
10138
|
+
design: {
|
|
10139
|
+
sectionSurface: "base",
|
|
10140
|
+
contentFrame: plainFrame,
|
|
10141
|
+
itemSurface: "none",
|
|
10142
|
+
composition: {
|
|
10143
|
+
kind: "intro",
|
|
10144
|
+
treatment: "editorial-statement"
|
|
10145
|
+
}
|
|
10146
|
+
}
|
|
10147
|
+
}), defineBlockAppearancePreset({
|
|
10148
|
+
id: "intro-portrait-bio",
|
|
10149
|
+
target: "intro",
|
|
10150
|
+
label: "Portrait and bio",
|
|
10151
|
+
blockKinds: ["block.intro"],
|
|
10152
|
+
constraints: { layoutVariantKeys: ["media-copy"] },
|
|
10153
|
+
design: {
|
|
10154
|
+
sectionSurface: "base",
|
|
10155
|
+
contentFrame: plainFrame,
|
|
10156
|
+
itemSurface: "none",
|
|
10157
|
+
composition: {
|
|
10158
|
+
kind: "intro",
|
|
10159
|
+
treatment: "portrait-bio"
|
|
10160
|
+
}
|
|
10161
|
+
}
|
|
10162
|
+
}), defineBlockAppearancePreset({
|
|
10163
|
+
id: "offerings-preview-default-cards",
|
|
10164
|
+
target: "offerings",
|
|
10165
|
+
label: "Default offering cards",
|
|
10166
|
+
blockKinds: ["block.offerings-preview"],
|
|
10167
|
+
design: {
|
|
10168
|
+
sectionSurface: "base",
|
|
10169
|
+
contentFrame: plainFrame,
|
|
10170
|
+
itemSurface: "default"
|
|
10171
|
+
}
|
|
10172
|
+
}), defineBlockAppearancePreset({
|
|
10173
|
+
id: "offerings-preview-secondary-cards",
|
|
10174
|
+
target: "offerings",
|
|
10175
|
+
label: "Secondary offering cards",
|
|
10176
|
+
blockKinds: ["block.offerings-preview"],
|
|
10177
|
+
design: {
|
|
10178
|
+
sectionSurface: "muted-band",
|
|
10179
|
+
contentFrame: plainFrame,
|
|
10180
|
+
itemSurface: "inset"
|
|
10181
|
+
}
|
|
10182
|
+
}), defineBlockAppearancePreset({
|
|
10183
|
+
id: "offerings-preview-non-carded",
|
|
10184
|
+
target: "offerings",
|
|
10185
|
+
label: "Non-carded offerings",
|
|
10186
|
+
blockKinds: ["block.offerings-preview"],
|
|
10187
|
+
design: {
|
|
10188
|
+
sectionSurface: "muted-band",
|
|
10189
|
+
contentFrame: plainFrame,
|
|
10190
|
+
itemSurface: "editorial"
|
|
10191
|
+
}
|
|
10192
|
+
}), defineBlockAppearancePreset({
|
|
10193
|
+
id: "offerings-preview-paired-feature-cards",
|
|
10194
|
+
target: "offerings",
|
|
10195
|
+
label: "Paired feature cards",
|
|
10196
|
+
blockKinds: ["block.offerings-preview"],
|
|
10197
|
+
constraints: { layoutVariantKeys: ["cards"] },
|
|
10198
|
+
design: {
|
|
10199
|
+
sectionSurface: "base",
|
|
10200
|
+
contentFrame: plainFrame,
|
|
10201
|
+
itemSurface: "none"
|
|
10202
|
+
}
|
|
10203
|
+
}), defineBlockAppearancePreset({
|
|
10204
|
+
id: "offerings-preview-open-editorial-columns",
|
|
10205
|
+
target: "offerings",
|
|
10206
|
+
label: "Open editorial columns",
|
|
10207
|
+
blockKinds: ["block.offerings-preview"],
|
|
10208
|
+
constraints: { layoutVariantKeys: ["cards"] },
|
|
10209
|
+
design: {
|
|
10210
|
+
sectionSurface: "base",
|
|
10211
|
+
contentFrame: plainFrame,
|
|
10212
|
+
itemSurface: "none"
|
|
10213
|
+
}
|
|
10214
|
+
}), defineBlockAppearancePreset({
|
|
10215
|
+
id: "offerings-preview-joined-programme-panel",
|
|
10216
|
+
target: "offerings",
|
|
10217
|
+
label: "Joined programme panel",
|
|
10218
|
+
blockKinds: ["block.offerings-preview"],
|
|
10219
|
+
constraints: { layoutVariantKeys: ["cards"] },
|
|
10220
|
+
design: {
|
|
10221
|
+
sectionSurface: "base",
|
|
10222
|
+
contentFrame: plainFrame,
|
|
10223
|
+
itemSurface: "none"
|
|
10224
|
+
}
|
|
10225
|
+
}), defineBlockAppearancePreset({
|
|
10226
|
+
id: "feature-cards-raised-rule",
|
|
10227
|
+
target: "feature-cards",
|
|
10228
|
+
label: "Raised cards with rule",
|
|
10229
|
+
blockKinds: ["block.feature-cards"],
|
|
10230
|
+
design: {
|
|
10231
|
+
sectionSurface: "base",
|
|
10232
|
+
contentFrame: plainFrame,
|
|
10233
|
+
itemSurface: "raised"
|
|
10234
|
+
}
|
|
10235
|
+
}), defineBlockAppearancePreset({
|
|
10236
|
+
id: "feature-cards-bold-colors",
|
|
10237
|
+
target: "feature-cards",
|
|
10238
|
+
label: "Bold colour-blocked cards",
|
|
10239
|
+
blockKinds: ["block.feature-cards"],
|
|
10240
|
+
design: {
|
|
10241
|
+
sectionSurface: "base",
|
|
10242
|
+
contentFrame: plainFrame,
|
|
10243
|
+
itemSurface: "color-blocked"
|
|
10244
|
+
}
|
|
10245
|
+
}), defineBlockAppearancePreset({
|
|
10246
|
+
id: "feature-cards-editorial-columns",
|
|
10247
|
+
target: "feature-cards",
|
|
10248
|
+
label: "Editorial open columns",
|
|
10249
|
+
blockKinds: ["block.feature-cards"],
|
|
10250
|
+
design: {
|
|
10251
|
+
sectionSurface: "base",
|
|
10252
|
+
contentFrame: plainFrame,
|
|
10253
|
+
itemSurface: "editorial"
|
|
10254
|
+
}
|
|
10255
|
+
}), defineBlockAppearancePreset({
|
|
10256
|
+
id: "feature-cards-asymmetric-emphasis",
|
|
10257
|
+
target: "feature-cards",
|
|
10258
|
+
label: "Asymmetric emphasis pair",
|
|
10259
|
+
blockKinds: ["block.feature-cards"],
|
|
10260
|
+
constraints: { layoutFamilies: ["grid"] },
|
|
10261
|
+
design: {
|
|
10262
|
+
sectionSurface: "base",
|
|
10263
|
+
contentFrame: plainFrame,
|
|
10264
|
+
itemSurface: "none",
|
|
10265
|
+
composition: {
|
|
10266
|
+
kind: "feature-cards",
|
|
10267
|
+
treatment: "asymmetric-emphasis"
|
|
10268
|
+
}
|
|
10269
|
+
}
|
|
10270
|
+
}), defineBlockAppearancePreset({
|
|
10271
|
+
id: "feature-cards-framed-programme",
|
|
10272
|
+
target: "feature-cards",
|
|
10273
|
+
label: "Framed programme cards",
|
|
10274
|
+
blockKinds: ["block.feature-cards"],
|
|
10275
|
+
constraints: { layoutFamilies: ["grid"] },
|
|
10276
|
+
design: {
|
|
10277
|
+
sectionSurface: "brand-depth-band",
|
|
10278
|
+
contentFrame: plainFrame,
|
|
10279
|
+
itemSurface: "inset",
|
|
10280
|
+
composition: {
|
|
10281
|
+
kind: "feature-cards",
|
|
10282
|
+
treatment: "framed-programme"
|
|
10283
|
+
}
|
|
10284
|
+
}
|
|
10285
|
+
}), defineBlockAppearancePreset({
|
|
10286
|
+
id: "feature-cards-soft-panels",
|
|
10287
|
+
target: "feature-cards",
|
|
10288
|
+
label: "Soft tinted panels",
|
|
10289
|
+
blockKinds: ["block.feature-cards"],
|
|
10290
|
+
design: {
|
|
10291
|
+
sectionSurface: "base",
|
|
10292
|
+
contentFrame: plainFrame,
|
|
10293
|
+
itemSurface: "inset"
|
|
10294
|
+
}
|
|
10295
|
+
}), defineBlockAppearancePreset({
|
|
10296
|
+
id: "feature-cards-editorial-diptych",
|
|
10297
|
+
target: "feature-cards",
|
|
10298
|
+
label: "Editorial diptych",
|
|
10299
|
+
blockKinds: ["block.feature-cards"],
|
|
10300
|
+
constraints: { layoutVariantKeys: ["editorial-diptych"] },
|
|
10301
|
+
design: {
|
|
10302
|
+
sectionSurface: "base",
|
|
10303
|
+
contentFrame: plainFrame,
|
|
10304
|
+
itemSurface: "flat"
|
|
10305
|
+
}
|
|
10306
|
+
}), defineBlockAppearancePreset({
|
|
10307
|
+
id: "feature-cards-editorial-pathways",
|
|
10308
|
+
target: "feature-cards",
|
|
10309
|
+
label: "Editorial pathways",
|
|
10310
|
+
blockKinds: ["block.feature-cards"],
|
|
10311
|
+
constraints: { layoutVariantKeys: ["editorial-pathways"] },
|
|
10312
|
+
design: {
|
|
10313
|
+
sectionSurface: "base",
|
|
10314
|
+
contentFrame: plainFrame,
|
|
10315
|
+
itemSurface: "flat"
|
|
10316
|
+
}
|
|
10317
|
+
}), defineBlockAppearancePreset({
|
|
10318
|
+
id: "feature-cards-photo-tiles",
|
|
10319
|
+
target: "feature-cards",
|
|
10320
|
+
label: "Photo tiles",
|
|
10321
|
+
blockKinds: ["block.feature-cards"],
|
|
10322
|
+
design: {
|
|
10323
|
+
sectionSurface: "base",
|
|
10324
|
+
contentFrame: plainFrame,
|
|
10325
|
+
itemSurface: "raised"
|
|
10326
|
+
}
|
|
10327
|
+
}), defineBlockAppearancePreset({
|
|
10328
|
+
id: "events-lined-panel",
|
|
10329
|
+
target: "events",
|
|
10330
|
+
label: "Raised event panel",
|
|
10331
|
+
blockKinds: ["block.event-calendar", "block.event-listing"],
|
|
10332
|
+
design: {
|
|
10333
|
+
sectionSurface: "base",
|
|
10334
|
+
contentFrame: panelFrame("raised"),
|
|
10335
|
+
itemSurface: "none"
|
|
10336
|
+
}
|
|
10337
|
+
}), defineBlockAppearancePreset({
|
|
10338
|
+
id: "events-ruled-register",
|
|
10339
|
+
target: "events",
|
|
10340
|
+
label: "Ruled event register",
|
|
10341
|
+
blockKinds: ["block.event-calendar", "block.event-listing"],
|
|
10342
|
+
design: {
|
|
10343
|
+
sectionSurface: "brand-depth-band",
|
|
10344
|
+
contentFrame: plainFrame,
|
|
10345
|
+
itemSurface: "none",
|
|
10346
|
+
eventListTreatment: "ruled-register"
|
|
10347
|
+
}
|
|
10348
|
+
}), defineBlockAppearancePreset({
|
|
10349
|
+
id: "events-editorial-register",
|
|
10350
|
+
target: "events",
|
|
10351
|
+
label: "Editorial event register",
|
|
10352
|
+
blockKinds: ["block.event-calendar", "block.event-listing"],
|
|
10353
|
+
design: {
|
|
10354
|
+
sectionSurface: "base",
|
|
10355
|
+
contentFrame: plainFrame,
|
|
10356
|
+
itemSurface: "none",
|
|
10357
|
+
eventListTreatment: "editorial-register"
|
|
10358
|
+
}
|
|
10359
|
+
}), defineBlockAppearancePreset({
|
|
10360
|
+
id: "events-dense-index",
|
|
10361
|
+
target: "events",
|
|
10362
|
+
label: "Dense event index",
|
|
10363
|
+
blockKinds: ["block.event-calendar", "block.event-listing"],
|
|
10364
|
+
design: {
|
|
10365
|
+
sectionSurface: "accent-band",
|
|
10366
|
+
contentFrame: plainFrame,
|
|
10367
|
+
itemSurface: "none",
|
|
10368
|
+
eventListTreatment: "dense-index"
|
|
10369
|
+
}
|
|
10370
|
+
}), defineBlockAppearancePreset({
|
|
10371
|
+
id: "schedule-details-brand-depth",
|
|
10372
|
+
target: "events",
|
|
10373
|
+
label: "Brand-depth schedule details",
|
|
10374
|
+
blockKinds: ["block.event-details", "block.course-details"],
|
|
10375
|
+
design: {
|
|
10376
|
+
sectionSurface: "brand-depth-band",
|
|
10377
|
+
contentFrame: plainFrame,
|
|
10378
|
+
itemSurface: "none",
|
|
10379
|
+
tileTreatment: "brand-depth"
|
|
10380
|
+
}
|
|
10381
|
+
}), defineBlockAppearancePreset({
|
|
10382
|
+
id: "media-text-flush-feature",
|
|
10383
|
+
target: "media-text",
|
|
10384
|
+
label: "Flush media feature",
|
|
10385
|
+
blockKinds: ["block.media-text"],
|
|
10386
|
+
design: {
|
|
10387
|
+
sectionSurface: "muted-band",
|
|
10388
|
+
contentFrame: flushPanelFrame({ bleed: "start" }),
|
|
10389
|
+
itemSurface: "none"
|
|
10390
|
+
}
|
|
10391
|
+
}), defineBlockAppearancePreset({
|
|
10392
|
+
id: "testimonials-simple-cards",
|
|
10393
|
+
target: "testimonials",
|
|
10394
|
+
label: "Simple testimonial cards",
|
|
10395
|
+
blockKinds: ["block.testimonials"],
|
|
10396
|
+
design: {
|
|
10397
|
+
sectionSurface: "base",
|
|
10398
|
+
contentFrame: plainFrame,
|
|
10399
|
+
itemSurface: "default"
|
|
10400
|
+
}
|
|
10401
|
+
}), defineBlockAppearancePreset({
|
|
10402
|
+
id: "testimonials-raised-panel",
|
|
10403
|
+
target: "testimonials",
|
|
10404
|
+
label: "Raised testimonial panel",
|
|
10405
|
+
blockKinds: ["block.testimonials"],
|
|
10406
|
+
design: {
|
|
10407
|
+
sectionSurface: "muted-band",
|
|
10408
|
+
contentFrame: panelFrame("raised"),
|
|
10409
|
+
itemSurface: "raised"
|
|
10410
|
+
}
|
|
10411
|
+
}), defineBlockAppearancePreset({
|
|
10412
|
+
id: "testimonials-accent-panel",
|
|
10413
|
+
target: "testimonials",
|
|
10414
|
+
label: "Accent testimonial panel",
|
|
10415
|
+
blockKinds: ["block.testimonials"],
|
|
10416
|
+
design: {
|
|
10417
|
+
sectionSurface: "accent-band",
|
|
10418
|
+
contentFrame: panelFrame("raised"),
|
|
10419
|
+
itemSurface: "raised"
|
|
10420
|
+
}
|
|
10421
|
+
}), defineBlockAppearancePreset({
|
|
10422
|
+
id: "testimonials-default-cards",
|
|
10423
|
+
target: "testimonials",
|
|
10424
|
+
label: "Default cards",
|
|
10425
|
+
blockKinds: ["block.testimonials"],
|
|
10426
|
+
design: {
|
|
10427
|
+
sectionSurface: "base",
|
|
10428
|
+
contentFrame: plainFrame,
|
|
10429
|
+
itemSurface: "none",
|
|
10430
|
+
testimonialCardTreatment: "default"
|
|
10431
|
+
}
|
|
10432
|
+
}), defineBlockAppearancePreset({
|
|
10433
|
+
id: "testimonials-statement-cards",
|
|
10434
|
+
target: "testimonials",
|
|
10435
|
+
label: "Statement cards",
|
|
10436
|
+
blockKinds: ["block.testimonials"],
|
|
10437
|
+
design: {
|
|
10438
|
+
sectionSurface: "accent-band",
|
|
10439
|
+
contentFrame: plainFrame,
|
|
10440
|
+
itemSurface: "raised",
|
|
10441
|
+
testimonialCardTreatment: "statement"
|
|
10442
|
+
}
|
|
10443
|
+
}), defineBlockAppearancePreset({
|
|
10444
|
+
id: "testimonials-brand-statement-cards",
|
|
10445
|
+
target: "testimonials",
|
|
10446
|
+
label: "Brand statement cards",
|
|
10447
|
+
blockKinds: ["block.testimonials"],
|
|
10448
|
+
design: {
|
|
10449
|
+
sectionSurface: "brand-depth-band",
|
|
10450
|
+
contentFrame: plainFrame,
|
|
10451
|
+
itemSurface: "raised",
|
|
10452
|
+
testimonialCardTreatment: "statement"
|
|
10453
|
+
}
|
|
10454
|
+
}), defineBlockAppearancePreset({
|
|
10455
|
+
id: "testimonials-non-carded",
|
|
10456
|
+
target: "testimonials",
|
|
10457
|
+
label: "Non-carded",
|
|
10458
|
+
blockKinds: ["block.testimonials"],
|
|
10459
|
+
design: {
|
|
10460
|
+
sectionSurface: "muted-band",
|
|
10461
|
+
contentFrame: plainFrame,
|
|
10462
|
+
itemSurface: "none",
|
|
10463
|
+
testimonialCardTreatment: "non-carded"
|
|
10464
|
+
}
|
|
10465
|
+
}), defineBlockAppearancePreset({
|
|
10466
|
+
id: "testimonials-evergreen-lead",
|
|
10467
|
+
target: "testimonials",
|
|
10468
|
+
label: "Evergreen lead",
|
|
10469
|
+
blockKinds: ["block.testimonials"],
|
|
10470
|
+
constraints: { layoutVariantKeys: ["featured-editorial"] },
|
|
10471
|
+
design: {
|
|
10472
|
+
sectionSurface: "base",
|
|
10473
|
+
contentFrame: plainFrame,
|
|
10474
|
+
itemSurface: "none"
|
|
10475
|
+
}
|
|
10476
|
+
}), defineBlockAppearancePreset({
|
|
10477
|
+
id: "testimonials-room-and-response",
|
|
10478
|
+
target: "testimonials",
|
|
10479
|
+
label: "Room and response",
|
|
10480
|
+
blockKinds: ["block.testimonials"],
|
|
10481
|
+
constraints: { layoutVariantKeys: ["featured-editorial"] },
|
|
10482
|
+
design: {
|
|
10483
|
+
sectionSurface: "base",
|
|
10484
|
+
contentFrame: plainFrame,
|
|
10485
|
+
itemSurface: "none"
|
|
10486
|
+
}
|
|
10487
|
+
}), defineBlockAppearancePreset({
|
|
10488
|
+
id: "testimonials-open-floor",
|
|
10489
|
+
target: "testimonials",
|
|
10490
|
+
label: "Open floor",
|
|
10491
|
+
blockKinds: ["block.testimonials"],
|
|
10492
|
+
constraints: { layoutVariantKeys: ["featured-editorial"] },
|
|
10493
|
+
design: {
|
|
10494
|
+
sectionSurface: "base",
|
|
10495
|
+
contentFrame: plainFrame,
|
|
10496
|
+
itemSurface: "none"
|
|
10497
|
+
}
|
|
10498
|
+
}), defineBlockAppearancePreset({
|
|
10499
|
+
id: "faq-base-accordion",
|
|
10500
|
+
target: "faq",
|
|
10501
|
+
label: "Base accordion FAQ",
|
|
10502
|
+
blockKinds: ["block.faq"],
|
|
10503
|
+
design: {
|
|
10504
|
+
sectionSurface: "base",
|
|
10505
|
+
contentFrame: plainFrame,
|
|
10506
|
+
itemSurface: "default"
|
|
10507
|
+
}
|
|
10508
|
+
}), defineBlockAppearancePreset({
|
|
10509
|
+
id: "faq-contained-help",
|
|
10510
|
+
target: "faq",
|
|
10511
|
+
label: "Contained help panel",
|
|
10512
|
+
blockKinds: ["block.faq"],
|
|
10513
|
+
design: {
|
|
10514
|
+
sectionSurface: "muted-band",
|
|
10515
|
+
contentFrame: panelFrame("inset"),
|
|
10516
|
+
itemSurface: "default"
|
|
10517
|
+
}
|
|
10518
|
+
}), defineBlockAppearancePreset({
|
|
10519
|
+
id: "contact-form-panel",
|
|
10520
|
+
target: "contact-form",
|
|
10521
|
+
label: "Raised form panel",
|
|
10522
|
+
blockKinds: ["block.form"],
|
|
10523
|
+
design: {
|
|
10524
|
+
sectionSurface: "muted-band",
|
|
10525
|
+
contentFrame: panelFrame("raised"),
|
|
10526
|
+
itemSurface: "none"
|
|
10527
|
+
}
|
|
10528
|
+
}), defineBlockAppearancePreset({
|
|
10529
|
+
id: "cta-accent-band",
|
|
10530
|
+
target: "cta",
|
|
10531
|
+
label: "Accent CTA band",
|
|
10532
|
+
blockKinds: ["block.cta-full"],
|
|
10533
|
+
design: {
|
|
10534
|
+
sectionSurface: "accent-band",
|
|
10535
|
+
contentFrame: plainFrame,
|
|
10536
|
+
itemSurface: "none",
|
|
10537
|
+
eyebrowTreatment: "accent"
|
|
10538
|
+
}
|
|
10539
|
+
});
|
|
10540
|
+
}));
|
|
10541
|
+
//#endregion
|
|
10542
|
+
//#region ../theme-core/src/site-styles/appearancePresetCatalog.ts
|
|
10525
10543
|
var init_appearancePresetCatalog = __esmMin((() => {
|
|
10526
10544
|
init_blockAppearancePresets();
|
|
10527
|
-
[...blockAppearancePresets];
|
|
10528
10545
|
}));
|
|
10529
10546
|
//#endregion
|
|
10530
10547
|
//#region ../theme-core/src/site-styles/appearancePresetTypes.ts
|
|
@@ -10743,6 +10760,37 @@ var init_backgroundAppearance = __esmMin((() => {
|
|
|
10743
10760
|
//#region ../theme-core/src/site-styles/compositionBudget.ts
|
|
10744
10761
|
var init_compositionBudget = __esmMin((() => {}));
|
|
10745
10762
|
//#endregion
|
|
10763
|
+
//#region ../theme-core/src/site-styles/headerInteractionPalette.ts
|
|
10764
|
+
var clearSplitInteractionPalette;
|
|
10765
|
+
var init_headerInteractionPalette = __esmMin((() => {
|
|
10766
|
+
init_interactionPalette();
|
|
10767
|
+
init_lookOptionGroups();
|
|
10768
|
+
clearSplitInteractionPalette = defineLookOptionGroup({
|
|
10769
|
+
id: "interaction-palette",
|
|
10770
|
+
label: "Hover colour",
|
|
10771
|
+
defaultOptionId: "accent",
|
|
10772
|
+
options: [
|
|
10773
|
+
{
|
|
10774
|
+
id: "accent",
|
|
10775
|
+
label: "Accent"
|
|
10776
|
+
},
|
|
10777
|
+
{
|
|
10778
|
+
id: "primary",
|
|
10779
|
+
label: "Primary"
|
|
10780
|
+
},
|
|
10781
|
+
{
|
|
10782
|
+
id: "secondary",
|
|
10783
|
+
label: "Secondary"
|
|
10784
|
+
}
|
|
10785
|
+
]
|
|
10786
|
+
});
|
|
10787
|
+
}));
|
|
10788
|
+
//#endregion
|
|
10789
|
+
//#region ../theme-core/src/site-styles/headerOpeningForeground.ts
|
|
10790
|
+
var init_headerOpeningForeground = __esmMin((() => {
|
|
10791
|
+
init_tokens();
|
|
10792
|
+
}));
|
|
10793
|
+
//#endregion
|
|
10746
10794
|
//#region ../theme-core/src/site-styles/customizableSurfaces.ts
|
|
10747
10795
|
var init_customizableSurfaces = __esmMin((() => {}));
|
|
10748
10796
|
//#endregion
|
|
@@ -10761,7 +10809,7 @@ function asHeaderStyleId(value) {
|
|
|
10761
10809
|
* optional nested styling fields that would otherwise leak from another Look.
|
|
10762
10810
|
*/
|
|
10763
10811
|
function baseHeader(theme) {
|
|
10764
|
-
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;
|
|
10812
|
+
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;
|
|
10765
10813
|
return {
|
|
10766
10814
|
...header,
|
|
10767
10815
|
navContainer: {
|
|
@@ -11120,12 +11168,11 @@ function floatingGlassHeader(theme) {
|
|
|
11120
11168
|
}
|
|
11121
11169
|
};
|
|
11122
11170
|
}
|
|
11123
|
-
function headerConfigurationKey(configuration) {
|
|
11124
|
-
return `${configuration.structure}:${configuration.treatment}:${configuration.behavior}`;
|
|
11125
|
-
}
|
|
11126
11171
|
var titleOnlyLogoAccommodation, inlineWordmarkLogoAccommodation, inlineMarkWithTitleLogoAccommodation, logoPlateAccommodation, centeredBadgeAccommodation, popoutBadgeAccommodation, centeredMastheadAccommodation, unbackedOverlayLogoAccommodation, inlineClassicLogoAccommodations, centeredLogoAccommodations, overlayLogoAccommodations, headerLayoutCatalog, headerStyleCatalog, headerStylesById, headerStyleCompatibilityOrder, legacyHeaderLookAliases, legacyHeaderLookAliasesById, headerLookCatalog;
|
|
11127
11172
|
var init_headerLooks = __esmMin((() => {
|
|
11128
11173
|
init_headerCtaVariants();
|
|
11174
|
+
init_headerInteractionPalette();
|
|
11175
|
+
init_headerOpeningForeground();
|
|
11129
11176
|
init_logoBranding();
|
|
11130
11177
|
init_types$7();
|
|
11131
11178
|
titleOnlyLogoAccommodation = {
|
|
@@ -11251,7 +11298,6 @@ var init_headerLooks = __esmMin((() => {
|
|
|
11251
11298
|
id: asHeaderLayoutId("classic"),
|
|
11252
11299
|
label: "Classic",
|
|
11253
11300
|
description: "Logo and navigation in one practical horizontal row.",
|
|
11254
|
-
structure: "inline-classic",
|
|
11255
11301
|
variant: "classic",
|
|
11256
11302
|
defaultPositioning: "sticky",
|
|
11257
11303
|
shrinkOnScroll: false
|
|
@@ -11260,7 +11306,6 @@ var init_headerLooks = __esmMin((() => {
|
|
|
11260
11306
|
id: asHeaderLayoutId("centered"),
|
|
11261
11307
|
label: "Centered",
|
|
11262
11308
|
description: "Logo centered above a balanced navigation row.",
|
|
11263
|
-
structure: "centered-stack",
|
|
11264
11309
|
variant: "centered",
|
|
11265
11310
|
defaultPositioning: "static",
|
|
11266
11311
|
shrinkOnScroll: false,
|
|
@@ -11276,7 +11321,6 @@ var init_headerLooks = __esmMin((() => {
|
|
|
11276
11321
|
id: asHeaderLayoutId("floating"),
|
|
11277
11322
|
label: "Floating",
|
|
11278
11323
|
description: "Detached header chrome that sits over the opening section.",
|
|
11279
|
-
structure: "floating-shell",
|
|
11280
11324
|
variant: "floating",
|
|
11281
11325
|
defaultPositioning: "sticky",
|
|
11282
11326
|
shrinkOnScroll: true,
|
|
@@ -11435,10 +11479,13 @@ var init_headerLooks = __esmMin((() => {
|
|
|
11435
11479
|
label: "Clear Split",
|
|
11436
11480
|
description: "Floating logo with transparent navigation and no shared shell.",
|
|
11437
11481
|
supportedLayoutIds: supportedLayouts(["floating"]),
|
|
11438
|
-
navInteraction: "
|
|
11482
|
+
navInteraction: "pill-background",
|
|
11439
11483
|
surface: "floating",
|
|
11440
|
-
defaultDepth: "
|
|
11484
|
+
defaultDepth: "line",
|
|
11441
11485
|
navTypography: "plain",
|
|
11486
|
+
openingForegroundTarget: "all",
|
|
11487
|
+
scrollTreatment: "contrast-glass",
|
|
11488
|
+
interactionPalette: clearSplitInteractionPalette,
|
|
11442
11489
|
moods: ["editorial", "calm"]
|
|
11443
11490
|
},
|
|
11444
11491
|
{
|
|
@@ -11461,6 +11508,7 @@ var init_headerLooks = __esmMin((() => {
|
|
|
11461
11508
|
surface: "floating",
|
|
11462
11509
|
defaultDepth: "shadow",
|
|
11463
11510
|
navTypography: "quiet-caps",
|
|
11511
|
+
openingForegroundTarget: "brand-only",
|
|
11464
11512
|
moods: ["expressive"]
|
|
11465
11513
|
},
|
|
11466
11514
|
{
|
|
@@ -11472,6 +11520,7 @@ var init_headerLooks = __esmMin((() => {
|
|
|
11472
11520
|
surface: "floating",
|
|
11473
11521
|
defaultDepth: "shadow",
|
|
11474
11522
|
navTypography: "heading",
|
|
11523
|
+
openingForegroundTarget: "brand-only",
|
|
11475
11524
|
moods: ["calm", "editorial"]
|
|
11476
11525
|
}
|
|
11477
11526
|
]);
|
|
@@ -11627,13 +11676,6 @@ var init_headerLooks = __esmMin((() => {
|
|
|
11627
11676
|
{
|
|
11628
11677
|
id: asHeaderLookId("clean-base"),
|
|
11629
11678
|
label: "Clean base",
|
|
11630
|
-
visualTreatment: "solid-neutral",
|
|
11631
|
-
layoutBehavior: "sticky",
|
|
11632
|
-
configuration: {
|
|
11633
|
-
structure: "inline-classic",
|
|
11634
|
-
treatment: "solid-neutral",
|
|
11635
|
-
behavior: "sticky"
|
|
11636
|
-
},
|
|
11637
11679
|
openingRequirement: "none",
|
|
11638
11680
|
logoAccommodations: inlineClassicLogoAccommodations,
|
|
11639
11681
|
compile: cleanBaseHeader
|
|
@@ -11641,13 +11683,6 @@ var init_headerLooks = __esmMin((() => {
|
|
|
11641
11683
|
{
|
|
11642
11684
|
id: asHeaderLookId("classic-centered-nav"),
|
|
11643
11685
|
label: "Centered nav",
|
|
11644
|
-
visualTreatment: "solid-neutral",
|
|
11645
|
-
layoutBehavior: "sticky",
|
|
11646
|
-
configuration: {
|
|
11647
|
-
structure: "inline-classic",
|
|
11648
|
-
treatment: "solid-neutral",
|
|
11649
|
-
behavior: "sticky"
|
|
11650
|
-
},
|
|
11651
11686
|
openingRequirement: "none",
|
|
11652
11687
|
maxRecommendedNavItems: 6,
|
|
11653
11688
|
logoAccommodations: inlineClassicLogoAccommodations,
|
|
@@ -11656,13 +11691,6 @@ var init_headerLooks = __esmMin((() => {
|
|
|
11656
11691
|
{
|
|
11657
11692
|
id: asHeaderLookId("brand-solid"),
|
|
11658
11693
|
label: "Brand solid",
|
|
11659
|
-
visualTreatment: "solid-brand",
|
|
11660
|
-
layoutBehavior: "sticky-shrink",
|
|
11661
|
-
configuration: {
|
|
11662
|
-
structure: "inline-classic",
|
|
11663
|
-
treatment: "solid-brand",
|
|
11664
|
-
behavior: "sticky-shrink"
|
|
11665
|
-
},
|
|
11666
11694
|
openingRequirement: "none",
|
|
11667
11695
|
logoAccommodations: inlineClassicLogoAccommodations,
|
|
11668
11696
|
compile: solidBrandHeader
|
|
@@ -11670,13 +11698,6 @@ var init_headerLooks = __esmMin((() => {
|
|
|
11670
11698
|
{
|
|
11671
11699
|
id: asHeaderLookId("serif-line"),
|
|
11672
11700
|
label: "Serif line",
|
|
11673
|
-
visualTreatment: "light-serif",
|
|
11674
|
-
layoutBehavior: "sticky",
|
|
11675
|
-
configuration: {
|
|
11676
|
-
structure: "centered-stack",
|
|
11677
|
-
treatment: "light-serif",
|
|
11678
|
-
behavior: "sticky"
|
|
11679
|
-
},
|
|
11680
11701
|
openingRequirement: "none",
|
|
11681
11702
|
maxRecommendedNavItems: 6,
|
|
11682
11703
|
logoAccommodations: centeredLogoAccommodations,
|
|
@@ -11685,13 +11706,6 @@ var init_headerLooks = __esmMin((() => {
|
|
|
11685
11706
|
{
|
|
11686
11707
|
id: asHeaderLookId("centered-calm"),
|
|
11687
11708
|
label: "Centered calm",
|
|
11688
|
-
visualTreatment: "light-serif",
|
|
11689
|
-
layoutBehavior: "normal-flow",
|
|
11690
|
-
configuration: {
|
|
11691
|
-
structure: "centered-stack",
|
|
11692
|
-
treatment: "light-serif",
|
|
11693
|
-
behavior: "normal-flow"
|
|
11694
|
-
},
|
|
11695
11709
|
openingRequirement: "none",
|
|
11696
11710
|
maxRecommendedNavItems: 5,
|
|
11697
11711
|
logoAccommodations: centeredLogoAccommodations,
|
|
@@ -11700,13 +11714,6 @@ var init_headerLooks = __esmMin((() => {
|
|
|
11700
11714
|
{
|
|
11701
11715
|
id: asHeaderLookId("practical-utility"),
|
|
11702
11716
|
label: "Practical utility",
|
|
11703
|
-
visualTreatment: "solid-neutral",
|
|
11704
|
-
layoutBehavior: "sticky-shrink",
|
|
11705
|
-
configuration: {
|
|
11706
|
-
structure: "inline-classic",
|
|
11707
|
-
treatment: "solid-neutral",
|
|
11708
|
-
behavior: "sticky-shrink"
|
|
11709
|
-
},
|
|
11710
11717
|
openingRequirement: "none",
|
|
11711
11718
|
requiresProminentCta: true,
|
|
11712
11719
|
logoAccommodations: inlineClassicLogoAccommodations,
|
|
@@ -11715,13 +11722,6 @@ var init_headerLooks = __esmMin((() => {
|
|
|
11715
11722
|
{
|
|
11716
11723
|
id: asHeaderLookId("minimal-transparent"),
|
|
11717
11724
|
label: "Minimal transparent",
|
|
11718
|
-
visualTreatment: "minimal-transparent",
|
|
11719
|
-
layoutBehavior: "normal-flow",
|
|
11720
|
-
configuration: {
|
|
11721
|
-
structure: "inline-classic",
|
|
11722
|
-
treatment: "minimal-transparent",
|
|
11723
|
-
behavior: "normal-flow"
|
|
11724
|
-
},
|
|
11725
11725
|
openingRequirement: "reserved-space-ok",
|
|
11726
11726
|
logoAccommodations: inlineClassicLogoAccommodations,
|
|
11727
11727
|
compile: minimalTransparentHeader
|
|
@@ -11729,13 +11729,6 @@ var init_headerLooks = __esmMin((() => {
|
|
|
11729
11729
|
{
|
|
11730
11730
|
id: asHeaderLookId("transparent-overlay"),
|
|
11731
11731
|
label: "Transparent overlay",
|
|
11732
|
-
visualTreatment: "transparent-overlay",
|
|
11733
|
-
layoutBehavior: "fixed-overlay",
|
|
11734
|
-
configuration: {
|
|
11735
|
-
structure: "inline-classic",
|
|
11736
|
-
treatment: "transparent-overlay",
|
|
11737
|
-
behavior: "fixed-overlay"
|
|
11738
|
-
},
|
|
11739
11732
|
openingRequirement: "requires-image-hero-with-contrast-overlay",
|
|
11740
11733
|
maxRecommendedNavItems: 5,
|
|
11741
11734
|
logoAccommodations: overlayLogoAccommodations,
|
|
@@ -11744,20 +11737,12 @@ var init_headerLooks = __esmMin((() => {
|
|
|
11744
11737
|
{
|
|
11745
11738
|
id: asHeaderLookId("floating-glass"),
|
|
11746
11739
|
label: "Floating glass",
|
|
11747
|
-
visualTreatment: "floating-glass",
|
|
11748
|
-
layoutBehavior: "fixed-floating",
|
|
11749
|
-
configuration: {
|
|
11750
|
-
structure: "floating-shell",
|
|
11751
|
-
treatment: "floating-glass",
|
|
11752
|
-
behavior: "fixed-floating"
|
|
11753
|
-
},
|
|
11754
11740
|
openingRequirement: "requires-image-hero-with-contrast-overlay",
|
|
11755
11741
|
maxRecommendedNavItems: 5,
|
|
11756
11742
|
logoAccommodations: overlayLogoAccommodations,
|
|
11757
11743
|
compile: floatingGlassHeader
|
|
11758
11744
|
}
|
|
11759
11745
|
]);
|
|
11760
|
-
new Set(headerLookCatalog.map((look) => headerConfigurationKey(look.configuration)));
|
|
11761
11746
|
new Map(headerLookCatalog.map((look) => [look.id, look]));
|
|
11762
11747
|
}));
|
|
11763
11748
|
//#endregion
|
|
@@ -15272,6 +15257,7 @@ var init_records = __esmMin((() => {}));
|
|
|
15272
15257
|
//#region ../theme-core/src/site-styles/headerOpeningSection.ts
|
|
15273
15258
|
var init_headerOpeningSection = __esmMin((() => {
|
|
15274
15259
|
init_headerLooks();
|
|
15260
|
+
init_tokens();
|
|
15275
15261
|
}));
|
|
15276
15262
|
//#endregion
|
|
15277
15263
|
//#region ../theme-core/src/site-styles/generatedDesignPipeline.ts
|
|
@@ -15492,8 +15478,11 @@ var init_site_styles = __esmMin((() => {
|
|
|
15492
15478
|
init_generatedSchemas();
|
|
15493
15479
|
init_generatedDesignPipeline();
|
|
15494
15480
|
init_headerLooks();
|
|
15481
|
+
init_headerInteractionPalette();
|
|
15482
|
+
init_headerOpeningForeground();
|
|
15495
15483
|
init_headerOpeningSection();
|
|
15496
15484
|
init_lookResolution();
|
|
15485
|
+
init_lookOptionGroups();
|
|
15497
15486
|
init_logoBranding();
|
|
15498
15487
|
init_pageDesignAuthority();
|
|
15499
15488
|
init_pageDesignEditorErrors();
|
|
@@ -15548,6 +15537,17 @@ var init_generateInputCss = __esmMin((() => {
|
|
|
15548
15537
|
var init_generateNavLinkCSS = __esmMin((() => {
|
|
15549
15538
|
init_types$8();
|
|
15550
15539
|
init_generateEffectsCSS();
|
|
15540
|
+
})), NAV_DROPDOWN_SHIFT_PROPERTY, NAV_DROPDOWN_MAX_WIDTH_CSS;
|
|
15541
|
+
var init_navDropdownSizing = __esmMin((() => {
|
|
15542
|
+
NAV_DROPDOWN_SHIFT_PROPERTY = "--nav-dropdown-shift-x";
|
|
15543
|
+
NAV_DROPDOWN_MAX_WIDTH_CSS = `min(22rem, calc(100vw - 2rem))`;
|
|
15544
|
+
`${NAV_DROPDOWN_MAX_WIDTH_CSS}`, `${NAV_DROPDOWN_SHIFT_PROPERTY}`;
|
|
15545
|
+
}));
|
|
15546
|
+
//#endregion
|
|
15547
|
+
//#region ../theme-core/src/header/surfaceRules.ts
|
|
15548
|
+
var init_surfaceRules = __esmMin((() => {
|
|
15549
|
+
init_shared$5();
|
|
15550
|
+
init_colorStyles();
|
|
15551
15551
|
})), NAV_LINK_PRESETS;
|
|
15552
15552
|
var init_presets$1 = __esmMin((() => {
|
|
15553
15553
|
NAV_LINK_PRESETS = {
|
|
@@ -15700,45 +15700,21 @@ var init_presets$1 = __esmMin((() => {
|
|
|
15700
15700
|
Object.keys(NAV_LINK_PRESETS);
|
|
15701
15701
|
}));
|
|
15702
15702
|
//#endregion
|
|
15703
|
-
//#region ../theme-core/src/
|
|
15704
|
-
|
|
15705
|
-
|
|
15706
|
-
}
|
|
15707
|
-
function mqDown(px) {
|
|
15708
|
-
return `(max-width: ${px}px)`;
|
|
15709
|
-
}
|
|
15710
|
-
function mqBetween(minPx, maxPx) {
|
|
15711
|
-
return `${mqUp(minPx)} and ${mqDown(maxPx)}`;
|
|
15712
|
-
}
|
|
15713
|
-
var BREAKPOINT_LG, BREAKPOINT_XL, BREAKPOINT_LG_DOWN;
|
|
15714
|
-
var init_breakpoints = __esmMin((() => {
|
|
15715
|
-
BREAKPOINT_LG = 1024;
|
|
15716
|
-
BREAKPOINT_XL = 1280;
|
|
15717
|
-
BREAKPOINT_LG_DOWN = BREAKPOINT_LG - 1;
|
|
15718
|
-
mqUp(640);
|
|
15719
|
-
mqUp(768);
|
|
15720
|
-
mqUp(BREAKPOINT_LG);
|
|
15721
|
-
mqUp(BREAKPOINT_XL);
|
|
15722
|
-
mqDown(639);
|
|
15723
|
-
mqDown(767);
|
|
15724
|
-
mqDown(BREAKPOINT_LG_DOWN);
|
|
15725
|
-
mqBetween(640, BREAKPOINT_LG_DOWN);
|
|
15726
|
-
mqDown(640);
|
|
15727
|
-
mqDown(768);
|
|
15728
|
-
})), NAV_DROPDOWN_SHIFT_PROPERTY, NAV_DROPDOWN_MAX_WIDTH_CSS;
|
|
15729
|
-
var init_navDropdownSizing = __esmMin((() => {
|
|
15730
|
-
NAV_DROPDOWN_SHIFT_PROPERTY = "--nav-dropdown-shift-x";
|
|
15731
|
-
NAV_DROPDOWN_MAX_WIDTH_CSS = `min(22rem, calc(100vw - 2rem))`;
|
|
15732
|
-
`${NAV_DROPDOWN_MAX_WIDTH_CSS}`, `${NAV_DROPDOWN_SHIFT_PROPERTY}`;
|
|
15703
|
+
//#region ../theme-core/src/header/legacyNavLinkStyle.ts
|
|
15704
|
+
var init_legacyNavLinkStyle = __esmMin((() => {
|
|
15705
|
+
init_presets$1();
|
|
15733
15706
|
}));
|
|
15734
15707
|
//#endregion
|
|
15735
15708
|
//#region ../theme-core/src/header/generateHeaderCss.ts
|
|
15736
15709
|
var init_generateHeaderCss = __esmMin((() => {
|
|
15737
15710
|
init_generateNavLinkCSS();
|
|
15738
|
-
init_presets$1();
|
|
15739
15711
|
init_shared$5();
|
|
15740
15712
|
init_breakpoints();
|
|
15741
15713
|
init_navDropdownSizing();
|
|
15714
|
+
init_scrollTreatment();
|
|
15715
|
+
init_paintTargets();
|
|
15716
|
+
init_surfaceRules();
|
|
15717
|
+
init_legacyNavLinkStyle();
|
|
15742
15718
|
}));
|
|
15743
15719
|
//#endregion
|
|
15744
15720
|
//#region ../theme-core/src/header/index.ts
|
|
@@ -20995,23 +20971,14 @@ var init_heroLayoutControls = __esmMin((() => {
|
|
|
20995
20971
|
}));
|
|
20996
20972
|
//#endregion
|
|
20997
20973
|
//#region ../blocks/src/system/constants/buttonRoles.ts
|
|
20998
|
-
/**
|
|
20999
|
-
* Temporary rollout boundary for persisted content written before issue #1220.
|
|
21000
|
-
* Authoring remains strict through `blockButtonRoleSchema`; this parser exists
|
|
21001
|
-
* only until the post-deploy role rewrite has been audited in production.
|
|
21002
|
-
*/
|
|
21003
|
-
function canonicalizePersistedBlockButtonRole(value) {
|
|
21004
|
-
return value === "link" || value === "tertiary" ? "ghost" : value;
|
|
21005
|
-
}
|
|
21006
20974
|
function isBlockButtonRole(value) {
|
|
21007
20975
|
return blockButtonRoleSchema.safeParse(value).success;
|
|
21008
20976
|
}
|
|
21009
|
-
var BLOCK_BUTTON_ROLES, blockButtonRoleSchema,
|
|
20977
|
+
var BLOCK_BUTTON_ROLES, blockButtonRoleSchema, BLOCK_BUTTON_ROLE_LABELS, BLOCK_BUTTON_ROLE_OPTIONS;
|
|
21010
20978
|
var init_buttonRoles = __esmMin((() => {
|
|
21011
20979
|
init_buttons();
|
|
21012
20980
|
BLOCK_BUTTON_ROLES = PUBLIC_BUTTON_ROLES;
|
|
21013
20981
|
blockButtonRoleSchema = z$1.enum(BLOCK_BUTTON_ROLES);
|
|
21014
|
-
persistedBlockButtonRoleSchema = z$1.preprocess((value) => typeof value === "string" ? canonicalizePersistedBlockButtonRole(value) : value, blockButtonRoleSchema);
|
|
21015
20982
|
BLOCK_BUTTON_ROLE_LABELS = {
|
|
21016
20983
|
primary: "Primary",
|
|
21017
20984
|
secondary: "Secondary",
|
|
@@ -29612,10 +29579,7 @@ var init_weekly_slot_availability = __esmMin((() => {
|
|
|
29612
29579
|
}));
|
|
29613
29580
|
//#endregion
|
|
29614
29581
|
//#region ../blocks/src/system/blocks/events/shared/types.ts
|
|
29615
|
-
var init_types$3 = __esmMin((() => {}));
|
|
29616
|
-
//#endregion
|
|
29617
|
-
//#region ../blocks/src/lib/media.ts
|
|
29618
|
-
var PUBLIC_DOWNLOAD_MEDIA_TYPES, hotspotSchema, rotationSchema, rectSchema, aspectCropSchema, transformSchema, mediaPosterSchema, mediaBaseSchema, imageMediaSchema, videoMediaSchema, audioMediaSchema, documentMediaSchema, spreadsheetMediaSchema, archiveMediaSchema, mediaSchema;
|
|
29582
|
+
var init_types$3 = __esmMin((() => {})), PUBLIC_DOWNLOAD_MEDIA_TYPES, hotspotSchema, rotationSchema, rectSchema, aspectCropSchema, transformSchema, mediaPosterSchema, mediaBaseSchema, mediaIdentifierSchema, imageMediaSchema, videoMediaSchema, audioMediaSchema, documentMediaSchema, spreadsheetMediaSchema, archiveMediaSchema, mediaSchema, persistableMediaBaseSchema;
|
|
29619
29583
|
var init_media$1 = __esmMin((() => {
|
|
29620
29584
|
PUBLIC_DOWNLOAD_MEDIA_TYPES = [
|
|
29621
29585
|
"document",
|
|
@@ -29681,6 +29645,7 @@ var init_media$1 = __esmMin((() => {
|
|
|
29681
29645
|
poster: mediaPosterSchema.optional(),
|
|
29682
29646
|
transform: transformSchema.optional()
|
|
29683
29647
|
});
|
|
29648
|
+
mediaIdentifierSchema = z.string().trim().min(1).brand();
|
|
29684
29649
|
imageMediaSchema = mediaBaseSchema.extend({ type: z.literal("image") });
|
|
29685
29650
|
videoMediaSchema = mediaBaseSchema.extend({ type: z.literal("video") });
|
|
29686
29651
|
audioMediaSchema = mediaBaseSchema.extend({ type: z.literal("audio") });
|
|
@@ -29695,6 +29660,15 @@ var init_media$1 = __esmMin((() => {
|
|
|
29695
29660
|
spreadsheetMediaSchema,
|
|
29696
29661
|
archiveMediaSchema
|
|
29697
29662
|
]);
|
|
29663
|
+
persistableMediaBaseSchema = mediaBaseSchema.extend({ identifier: mediaIdentifierSchema });
|
|
29664
|
+
z.discriminatedUnion("type", [
|
|
29665
|
+
persistableMediaBaseSchema.extend({ type: z.literal("image") }),
|
|
29666
|
+
persistableMediaBaseSchema.extend({ type: z.literal("video") }),
|
|
29667
|
+
persistableMediaBaseSchema.extend({ type: z.literal("audio") }),
|
|
29668
|
+
persistableMediaBaseSchema.extend({ type: z.literal("document") }),
|
|
29669
|
+
persistableMediaBaseSchema.extend({ type: z.literal("spreadsheet") }),
|
|
29670
|
+
persistableMediaBaseSchema.extend({ type: z.literal("archive") })
|
|
29671
|
+
]);
|
|
29698
29672
|
}));
|
|
29699
29673
|
//#endregion
|
|
29700
29674
|
//#region ../blocks/src/system/manifest/richTextSchema.ts
|
|
@@ -30793,7 +30767,7 @@ var init_contract_schemas = __esmMin((() => {
|
|
|
30793
30767
|
init_buttonRoles();
|
|
30794
30768
|
previewStageSchema = z$1.enum(["preview", "published"]);
|
|
30795
30769
|
registrationButtonVariantSchema = blockButtonRoleSchema;
|
|
30796
|
-
eventButtonVariantSchema =
|
|
30770
|
+
eventButtonVariantSchema = blockButtonRoleSchema;
|
|
30797
30771
|
eventLayoutSchema = z$1.enum(eventCalendarListLayoutValues);
|
|
30798
30772
|
eventCalendarDisplayModeSchema = z$1.enum(eventCalendarDisplayModeValues);
|
|
30799
30773
|
eventCalendarDefaultViewSchema = z$1.enum(eventCalendarDefaultViewValues);
|