@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.
Files changed (126) hide show
  1. package/dist/{PreviewEditorSidebar-DcYJxTgc.mjs → PreviewEditorSidebar-BXtfF7tp.mjs} +58 -38
  2. package/dist/{PreviewEditorUI-Ctt1yTJr.mjs → PreviewEditorUI-Dou73Q0K.mjs} +2 -2
  3. package/dist/{SdkPreviewModeRuntime-CvW1vdQ4.mjs → SdkPreviewModeRuntime-B0HPXr-l.mjs} +119 -41
  4. package/dist/{SiteChromeCustomizeContext-C87qlKWw.mjs → SiteChromeCustomizeContext-DZiDBAYu.mjs} +9961 -9583
  5. package/dist/_dts/ai/src/contracts/proposals.d.ts +198 -0
  6. package/dist/_dts/api/src/contentRuntime.d.ts +1 -5
  7. package/dist/_dts/block-form/src/backend/store-backend.d.ts +2 -1
  8. package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +1 -0
  9. package/dist/_dts/blocks/src/index.d.ts +3 -2
  10. package/dist/_dts/blocks/src/lib/media.d.ts +267 -0
  11. package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +0 -13
  12. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +4 -4
  13. package/dist/_dts/blocks/src/system/runtime/nodes/mergeResolveImageUrlContexts.d.ts +7 -0
  14. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
  15. package/dist/_dts/content-editor/src/ui/blockValidationManifestRegistry.d.ts +17 -0
  16. package/dist/_dts/content-editor/src/ui/blockValidationView.d.ts +1 -1
  17. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +4 -0
  18. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +143 -155
  19. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +4 -0
  20. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockValidationManifests.d.ts +26 -0
  21. package/dist/_dts/editor-blocks/src/widgets/rich-text/imageInsert.d.ts +3 -3
  22. package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -2
  23. package/dist/_dts/media-editor/src/context.d.ts +1 -2
  24. package/dist/_dts/media-editor/src/index.d.ts +3 -1
  25. package/dist/_dts/media-editor/src/mediaSelection.d.ts +32 -0
  26. package/dist/_dts/media-editor/src/types.d.ts +3 -1
  27. package/dist/_dts/media-editor/src/useMediaSelection.d.ts +26 -0
  28. package/dist/_dts/preview-next/src/client/index.d.ts +2 -0
  29. package/dist/_dts/preview-next/src/client/preview/HeaderMenuControls.d.ts +12 -0
  30. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +12 -1
  31. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +7 -1
  32. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -49
  33. package/dist/_dts/preview-next/src/client/preview/headerInteractionPaletteSurfaceState.d.ts +8 -0
  34. package/dist/_dts/preview-next/src/client/preview/previewThemeRoles.d.ts +15 -0
  35. package/dist/_dts/preview-next/src/client/preview/siteChromeCustomizeTypes.d.ts +54 -0
  36. package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +13 -3
  37. package/dist/_dts/preview-next/src/client/preview/siteChromeNavQuickControlHistory.d.ts +3 -0
  38. package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +6 -3
  39. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -2
  40. package/dist/_dts/sdk/src/version.d.ts +1 -1
  41. package/dist/_dts/theme-core/src/buttons/effects/presets/background.d.ts +1 -1
  42. package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +0 -18
  43. package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -3
  44. package/dist/_dts/theme-core/src/header/containerSchema.d.ts +20 -0
  45. package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +1 -1
  46. package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +14 -0
  47. package/dist/_dts/theme-core/src/header/legacyNavLinkStyle.d.ts +3 -0
  48. package/dist/_dts/theme-core/src/header/paintTargets.d.ts +25 -0
  49. package/dist/_dts/theme-core/src/header/scrollTreatment.d.ts +11 -0
  50. package/dist/_dts/theme-core/src/header/surfaceRules.d.ts +9 -0
  51. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +15 -0
  52. package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
  53. package/dist/_dts/theme-core/src/schema.d.ts +67 -19
  54. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +3 -51
  55. package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +4 -11
  56. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +3 -51
  57. package/dist/_dts/theme-core/src/site-styles/headerInteractionPalette.d.ts +32 -0
  58. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +19 -106
  59. package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +22 -0
  60. package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +2 -0
  61. package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +4 -0
  62. package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
  63. package/dist/_dts/theme-core/src/site-styles/lookOptionGroups.d.ts +24 -0
  64. package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +1 -2
  65. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +4 -22
  66. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorOptions.d.ts +21 -0
  67. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
  68. package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +4 -1
  69. package/dist/cli/index.mjs +973 -1081
  70. package/dist/client/{DiscountCodeDisclosure-DS0AuFWW.mjs → DiscountCodeDisclosure-BDFRp8Y7.mjs} +1 -1
  71. package/dist/client/{EventCombined.client-DtMxLr7q.mjs → EventCombined.client-DJgF1_lf.mjs} +2 -2
  72. package/dist/client/{EventListing.client-BdLSRNg1.mjs → EventListing.client-CnWGNjOr.mjs} +2 -2
  73. package/dist/client/{LeafletStaticMap-BrpC6vsT.mjs → LeafletStaticMap-BISs9Bl7.mjs} +1 -1
  74. package/dist/client/{MagicLinkForm-Bt3IuLMy.mjs → MagicLinkForm-b5E_HoG9.mjs} +1 -1
  75. package/dist/client/{StepIndicator-CBYPFVoy.mjs → StepIndicator-D8gVYkK-.mjs} +2 -2
  76. package/dist/client/{accordion-BqqwPJWM.mjs → accordion-DFDajgDz.mjs} +1 -1
  77. package/dist/client/{bookingForm-SneP3yxC.mjs → bookingForm-Bdqj9-52.mjs} +5 -5
  78. package/dist/client/bookings.mjs +126 -23
  79. package/dist/client/{carousel-BTIR9L3I.mjs → carousel-Cvqf-kN8.mjs} +1 -1
  80. package/dist/client/{cart-bqiqd8SX.mjs → cart-CuH2TJXP.mjs} +3 -3
  81. package/dist/client/{checkout-WbTFV5v4.mjs → checkout-CMNPpejZ.mjs} +3 -3
  82. package/dist/client/client.mjs +1227 -1209
  83. package/dist/client/{courseRegistration-BcemLAdN.mjs → courseRegistration-DTEYWL6Z.mjs} +6 -6
  84. package/dist/client/{eventCalendar-CsxIw0V_.mjs → eventCalendar-BW-XoxZ0.mjs} +4 -4
  85. package/dist/client/{eventCombined-B6XMoHfa.mjs → eventCombined-Bpn7s0y9.mjs} +2 -2
  86. package/dist/client/{eventDetails-BJaoPPfo.mjs → eventDetails-D2uUSTMH.mjs} +3 -3
  87. package/dist/client/{eventListing-DgwdYHRT.mjs → eventListing-CVr1c094.mjs} +2 -2
  88. package/dist/client/{eventRegistration-C0O3folu.mjs → eventRegistration-Dv4AvkMw.mjs} +6 -6
  89. package/dist/client/{form-Bk9txGFt.mjs → form-DxdKf9fs.mjs} +1 -1
  90. package/dist/client/{headerSection-yIBt0yTv.mjs → headerSection-BaXI5Sro.mjs} +2 -2
  91. package/dist/client/hooks.mjs +801 -874
  92. package/dist/client/{locationMap-C-3KIpv-.mjs → locationMap-BEtW2fKz.mjs} +2 -2
  93. package/dist/client/{newsletterForm-CzB8g8h2.mjs → newsletterForm-BKKs0S4R.mjs} +1 -1
  94. package/dist/client/{pricing-C1QeDes_.mjs → pricing-ClkqcElA.mjs} +1 -1
  95. package/dist/client/{productDetail-w7SBp5uc.mjs → productDetail-H-ru8dyy.mjs} +3 -3
  96. package/dist/client/{productList-D0tGKHGf.mjs → productList-Buyi5c0C.mjs} +3 -3
  97. package/dist/client/{propsDecoder-Bcin2DB3.mjs → propsDecoder-BF7i6Ijg.mjs} +127 -55
  98. package/dist/client/rendering/client.mjs +928 -916
  99. package/dist/client/rendering/islands.mjs +18 -18
  100. package/dist/client/rendering.mjs +1130 -1114
  101. package/dist/client/{scrollToBlock-h-o_STf_.mjs → scrollToBlock-D_7t8yWb.mjs} +1 -1
  102. package/dist/client/{shop-BGzmL8O_.mjs → shop-CF7SZQNX.mjs} +5 -5
  103. package/dist/client/{shop-commerce-lX8QxjX-.mjs → shop-commerce-DA7_Rq5p.mjs} +4 -4
  104. package/dist/client/{shop-commerce-store-CEurARtu.mjs → shop-commerce-store-BmLqW7Gh.mjs} +1 -1
  105. package/dist/client/{shopShared-DXxH8xxw.mjs → shopShared-WL-E1znM.mjs} +2 -2
  106. package/dist/client/{useEventFilters-B591g9vd.mjs → useEventFilters-rc8VLeLV.mjs} +2 -2
  107. package/dist/client/{usePolling-BvnChV4m.mjs → usePolling-1ncrfd4S.mjs} +2 -2
  108. package/dist/preview-next/client/runtime.mjs +3 -3
  109. package/dist/{sdk-runtime-M__i3Jce.mjs → sdk-runtime-BnrCCFJq.mjs} +1 -1
  110. package/dist/{separator-VSlnI9bc.mjs → separator-CFvBx2yl.mjs} +1 -1
  111. package/dist/server/components.mjs +1302 -1350
  112. package/dist/server/config-validation.mjs +801 -874
  113. package/dist/server/config.mjs +801 -874
  114. package/dist/server/data.mjs +801 -874
  115. package/dist/server/index.mjs +1 -1
  116. package/dist/server/next.mjs +1303 -1351
  117. package/dist/server/page-converter.mjs +801 -874
  118. package/dist/server/prebuild.mjs +1 -1
  119. package/dist/server/rendering/server.mjs +1296 -1344
  120. package/dist/server/rendering.mjs +1302 -1350
  121. package/dist/server/routing.mjs +869 -895
  122. package/dist/server/server.mjs +802 -875
  123. package/dist/server/theme-bridge.mjs +151 -118
  124. package/dist/server/theme.mjs +111 -23
  125. package/package.json +1 -1
  126. package/dist/_dts/editor-blocks/src/widgets/rich-text/ensureRichTextImageAssetIdentifier.d.ts +0 -8
@@ -4090,7 +4090,7 @@ function canonicalPaletteHashInput(colors, mode) {
4090
4090
  return `${mode}|${paletteColorFingerprint(colors)}`;
4091
4091
  }
4092
4092
  /**
4093
- * The shared TypeScript/SQL protocol. Do not reorder roles: the order comes
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, headerContainerSchema, 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;
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
- if (!group.options.find((option) => option.id === group.selectedOptionId)) throw new Error(`Appearance preset "${preset.id}" option group "${group.id}" selects missing option "${group.selectedOptionId}".`);
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
- //#endregion
9765
- //#region ../theme-core/src/site-styles/blockAppearancePresets.ts
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
- blockAppearancePresets = [
9771
- defineBlockAppearancePreset({
9772
- kind: "block-design",
9773
- id: "hero-immersive-image",
9774
- target: "hero",
9775
- label: "Immersive image hero",
9776
- blockKinds: ["block.hero"],
9777
- constraints: { layoutFamilies: ["centered", "compact"] },
9778
- layoutPatches: [{
9779
- constraints: { layoutVariantKeys: ["micro"] },
9780
- designPatch: {
9781
- sectionHeight: "banner",
9782
- heroTypographyScale: "display"
9783
- }
9784
- }],
9785
- design: {
9786
- sectionSurface: "hero-image",
9787
- contentFrame: plainFrame,
9788
- itemSurface: "none",
9789
- sectionHeight: "hero",
9790
- heroComposition: "center",
9791
- heroTypographyScale: "display",
9792
- imageSurfaceTreatment: { kind: "neutral-wash" }
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
- defineBlockAppearancePreset({
9796
- kind: "block-design",
9797
- id: "hero-bottom-left-panel",
9798
- target: "hero",
9799
- label: "Bottom-left panel hero",
9800
- blockKinds: ["block.hero"],
9801
- constraints: { layoutFamilies: ["centered", "compact"] },
9802
- optionGroups: [{
9803
- id: "image-surface-treatment",
9804
- label: "Treatment",
9805
- selectedOptionId: "neutral-scrim",
9806
- options: [{
9807
- id: "neutral-scrim",
9808
- label: "Neutral scrim",
9809
- designPatch: { imageSurfaceTreatment: {
9810
- kind: "neutral-scrim",
9811
- intensity: "balanced"
9812
- } }
9813
- }, {
9814
- id: "brand-scrim-primary",
9815
- label: "Brand scrim",
9816
- designPatch: { imageSurfaceTreatment: {
9817
- kind: "brand-scrim",
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
- defineBlockAppearancePreset({
9844
- kind: "block-design",
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: "strong"
9868
- }
9869
- }
9870
- }),
9871
- defineBlockAppearancePreset({
9872
- kind: "block-design",
9873
- id: "hero-brand-scrim",
9874
- target: "hero",
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
- defineBlockAppearancePreset({
10029
- kind: "block-design",
10030
- id: "hero-split-accent",
10031
- target: "hero",
10032
- label: "Accent split hero",
10033
- blockKinds: ["block.hero"],
10034
- constraints: { layoutFamilies: ["split"] },
10035
- design: {
10036
- sectionSurface: "accent-band",
10037
- contentFrame: panelFrame("raised"),
10038
- itemSurface: "none",
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
- defineBlockAppearancePreset({
10043
- kind: "block-design",
10044
- id: "intro-editorial-statement",
10045
- target: "intro",
10046
- label: "Editorial intro statement",
10047
- blockKinds: ["block.intro"],
10048
- constraints: { layoutVariantKeys: ["centered-copy", "statement-copy"] },
10049
- design: {
10050
- sectionSurface: "base",
10051
- contentFrame: plainFrame,
10052
- itemSurface: "none",
10053
- composition: {
10054
- kind: "intro",
10055
- treatment: "editorial-statement"
10056
- }
10057
- }
10058
- }),
10059
- defineBlockAppearancePreset({
10060
- kind: "block-design",
10061
- id: "intro-portrait-bio",
10062
- target: "intro",
10063
- label: "Portrait and bio",
10064
- blockKinds: ["block.intro"],
10065
- constraints: { layoutVariantKeys: ["media-copy"] },
10066
- design: {
10067
- sectionSurface: "base",
10068
- contentFrame: plainFrame,
10069
- itemSurface: "none",
10070
- composition: {
10071
- kind: "intro",
10072
- treatment: "portrait-bio"
10073
- }
10074
- }
10075
- }),
10076
- defineBlockAppearancePreset({
10077
- kind: "block-design",
10078
- id: "offerings-preview-default-cards",
10079
- target: "offerings",
10080
- label: "Default offering cards",
10081
- blockKinds: ["block.offerings-preview"],
10082
- design: {
10083
- sectionSurface: "base",
10084
- contentFrame: plainFrame,
10085
- itemSurface: "default"
10086
- }
10087
- }),
10088
- defineBlockAppearancePreset({
10089
- kind: "block-design",
10090
- id: "offerings-preview-secondary-cards",
10091
- target: "offerings",
10092
- label: "Secondary offering cards",
10093
- blockKinds: ["block.offerings-preview"],
10094
- design: {
10095
- sectionSurface: "muted-band",
10096
- contentFrame: plainFrame,
10097
- itemSurface: "inset"
10098
- }
10099
- }),
10100
- defineBlockAppearancePreset({
10101
- kind: "block-design",
10102
- id: "offerings-preview-non-carded",
10103
- target: "offerings",
10104
- label: "Non-carded offerings",
10105
- blockKinds: ["block.offerings-preview"],
10106
- design: {
10107
- sectionSurface: "muted-band",
10108
- contentFrame: plainFrame,
10109
- itemSurface: "editorial"
10110
- }
10111
- }),
10112
- defineBlockAppearancePreset({
10113
- kind: "block-design",
10114
- id: "offerings-preview-paired-feature-cards",
10115
- target: "offerings",
10116
- label: "Paired feature cards",
10117
- blockKinds: ["block.offerings-preview"],
10118
- constraints: { layoutVariantKeys: ["cards"] },
10119
- design: {
10120
- sectionSurface: "base",
10121
- contentFrame: plainFrame,
10122
- itemSurface: "none"
10123
- }
10124
- }),
10125
- defineBlockAppearancePreset({
10126
- kind: "block-design",
10127
- id: "offerings-preview-open-editorial-columns",
10128
- target: "offerings",
10129
- label: "Open editorial columns",
10130
- blockKinds: ["block.offerings-preview"],
10131
- constraints: { layoutVariantKeys: ["cards"] },
10132
- design: {
10133
- sectionSurface: "base",
10134
- contentFrame: plainFrame,
10135
- itemSurface: "none"
10136
- }
10137
- }),
10138
- defineBlockAppearancePreset({
10139
- kind: "block-design",
10140
- id: "offerings-preview-joined-programme-panel",
10141
- target: "offerings",
10142
- label: "Joined programme panel",
10143
- blockKinds: ["block.offerings-preview"],
10144
- constraints: { layoutVariantKeys: ["cards"] },
10145
- design: {
10146
- sectionSurface: "base",
10147
- contentFrame: plainFrame,
10148
- itemSurface: "none"
10149
- }
10150
- }),
10151
- defineBlockAppearancePreset({
10152
- kind: "block-design",
10153
- id: "feature-cards-raised-rule",
10154
- target: "feature-cards",
10155
- label: "Raised cards with rule",
10156
- blockKinds: ["block.feature-cards"],
10157
- design: {
10158
- sectionSurface: "base",
10159
- contentFrame: plainFrame,
10160
- itemSurface: "raised"
10161
- }
10162
- }),
10163
- defineBlockAppearancePreset({
10164
- kind: "block-design",
10165
- id: "feature-cards-bold-colors",
10166
- target: "feature-cards",
10167
- label: "Bold colour-blocked cards",
10168
- blockKinds: ["block.feature-cards"],
10169
- design: {
10170
- sectionSurface: "base",
10171
- contentFrame: plainFrame,
10172
- itemSurface: "color-blocked"
10173
- }
10174
- }),
10175
- defineBlockAppearancePreset({
10176
- kind: "block-design",
10177
- id: "feature-cards-editorial-columns",
10178
- target: "feature-cards",
10179
- label: "Editorial open columns",
10180
- blockKinds: ["block.feature-cards"],
10181
- design: {
10182
- sectionSurface: "base",
10183
- contentFrame: plainFrame,
10184
- itemSurface: "editorial"
10185
- }
10186
- }),
10187
- defineBlockAppearancePreset({
10188
- kind: "block-design",
10189
- id: "feature-cards-asymmetric-emphasis",
10190
- target: "feature-cards",
10191
- label: "Asymmetric emphasis pair",
10192
- blockKinds: ["block.feature-cards"],
10193
- constraints: { layoutFamilies: ["grid"] },
10194
- design: {
10195
- sectionSurface: "base",
10196
- contentFrame: plainFrame,
10197
- itemSurface: "none",
10198
- composition: {
10199
- kind: "feature-cards",
10200
- treatment: "asymmetric-emphasis"
10201
- }
10202
- }
10203
- }),
10204
- defineBlockAppearancePreset({
10205
- kind: "block-design",
10206
- id: "feature-cards-framed-programme",
10207
- target: "feature-cards",
10208
- label: "Framed programme cards",
10209
- blockKinds: ["block.feature-cards"],
10210
- constraints: { layoutFamilies: ["grid"] },
10211
- design: {
10212
- sectionSurface: "brand-depth-band",
10213
- contentFrame: plainFrame,
10214
- itemSurface: "inset",
10215
- composition: {
10216
- kind: "feature-cards",
10217
- treatment: "framed-programme"
10218
- }
10219
- }
10220
- }),
10221
- defineBlockAppearancePreset({
10222
- kind: "block-design",
10223
- id: "feature-cards-soft-panels",
10224
- target: "feature-cards",
10225
- label: "Soft tinted panels",
10226
- blockKinds: ["block.feature-cards"],
10227
- design: {
10228
- sectionSurface: "base",
10229
- contentFrame: plainFrame,
10230
- itemSurface: "inset"
10231
- }
10232
- }),
10233
- defineBlockAppearancePreset({
10234
- kind: "block-design",
10235
- id: "feature-cards-editorial-diptych",
10236
- target: "feature-cards",
10237
- label: "Editorial diptych",
10238
- blockKinds: ["block.feature-cards"],
10239
- constraints: { layoutVariantKeys: ["editorial-diptych"] },
10240
- design: {
10241
- sectionSurface: "base",
10242
- contentFrame: plainFrame,
10243
- itemSurface: "flat"
10244
- }
10245
- }),
10246
- defineBlockAppearancePreset({
10247
- kind: "block-design",
10248
- id: "feature-cards-editorial-pathways",
10249
- target: "feature-cards",
10250
- label: "Editorial pathways",
10251
- blockKinds: ["block.feature-cards"],
10252
- constraints: { layoutVariantKeys: ["editorial-pathways"] },
10253
- design: {
10254
- sectionSurface: "base",
10255
- contentFrame: plainFrame,
10256
- itemSurface: "flat"
10257
- }
10258
- }),
10259
- defineBlockAppearancePreset({
10260
- kind: "block-design",
10261
- id: "feature-cards-photo-tiles",
10262
- target: "feature-cards",
10263
- label: "Photo tiles",
10264
- blockKinds: ["block.feature-cards"],
10265
- design: {
10266
- sectionSurface: "base",
10267
- contentFrame: plainFrame,
10268
- itemSurface: "raised"
10269
- }
10270
- }),
10271
- defineBlockAppearancePreset({
10272
- kind: "block-design",
10273
- id: "events-lined-panel",
10274
- target: "events",
10275
- label: "Raised event panel",
10276
- blockKinds: ["block.event-calendar", "block.event-listing"],
10277
- design: {
10278
- sectionSurface: "base",
10279
- contentFrame: panelFrame("raised"),
10280
- itemSurface: "none"
10281
- }
10282
- }),
10283
- defineBlockAppearancePreset({
10284
- kind: "block-design",
10285
- id: "events-ruled-register",
10286
- target: "events",
10287
- label: "Ruled event register",
10288
- blockKinds: ["block.event-calendar", "block.event-listing"],
10289
- design: {
10290
- sectionSurface: "brand-depth-band",
10291
- contentFrame: plainFrame,
10292
- itemSurface: "none",
10293
- eventListTreatment: "ruled-register"
10294
- }
10295
- }),
10296
- defineBlockAppearancePreset({
10297
- kind: "block-design",
10298
- id: "events-editorial-register",
10299
- target: "events",
10300
- label: "Editorial event register",
10301
- blockKinds: ["block.event-calendar", "block.event-listing"],
10302
- design: {
10303
- sectionSurface: "base",
10304
- contentFrame: plainFrame,
10305
- itemSurface: "none",
10306
- eventListTreatment: "editorial-register"
10307
- }
10308
- }),
10309
- defineBlockAppearancePreset({
10310
- kind: "block-design",
10311
- id: "events-dense-index",
10312
- target: "events",
10313
- label: "Dense event index",
10314
- blockKinds: ["block.event-calendar", "block.event-listing"],
10315
- design: {
10316
- sectionSurface: "accent-band",
10317
- contentFrame: plainFrame,
10318
- itemSurface: "none",
10319
- eventListTreatment: "dense-index"
10320
- }
10321
- }),
10322
- defineBlockAppearancePreset({
10323
- kind: "block-design",
10324
- id: "schedule-details-brand-depth",
10325
- target: "events",
10326
- label: "Brand-depth schedule details",
10327
- blockKinds: ["block.event-details", "block.course-details"],
10328
- design: {
10329
- sectionSurface: "brand-depth-band",
10330
- contentFrame: plainFrame,
10331
- itemSurface: "none",
10332
- tileTreatment: "brand-depth"
10333
- }
10334
- }),
10335
- defineBlockAppearancePreset({
10336
- kind: "block-design",
10337
- id: "media-text-flush-feature",
10338
- target: "media-text",
10339
- label: "Flush media feature",
10340
- blockKinds: ["block.media-text"],
10341
- design: {
10342
- sectionSurface: "muted-band",
10343
- contentFrame: flushPanelFrame({ bleed: "start" }),
10344
- itemSurface: "none"
10345
- }
10346
- }),
10347
- defineBlockAppearancePreset({
10348
- kind: "block-design",
10349
- id: "testimonials-simple-cards",
10350
- target: "testimonials",
10351
- label: "Simple testimonial cards",
10352
- blockKinds: ["block.testimonials"],
10353
- design: {
10354
- sectionSurface: "base",
10355
- contentFrame: plainFrame,
10356
- itemSurface: "default"
10357
- }
10358
- }),
10359
- defineBlockAppearancePreset({
10360
- kind: "block-design",
10361
- id: "testimonials-raised-panel",
10362
- target: "testimonials",
10363
- label: "Raised testimonial panel",
10364
- blockKinds: ["block.testimonials"],
10365
- design: {
10366
- sectionSurface: "muted-band",
10367
- contentFrame: panelFrame("raised"),
10368
- itemSurface: "raised"
10369
- }
10370
- }),
10371
- defineBlockAppearancePreset({
10372
- kind: "block-design",
10373
- id: "testimonials-accent-panel",
10374
- target: "testimonials",
10375
- label: "Accent testimonial panel",
10376
- blockKinds: ["block.testimonials"],
10377
- design: {
10378
- sectionSurface: "accent-band",
10379
- contentFrame: panelFrame("raised"),
10380
- itemSurface: "raised"
10381
- }
10382
- }),
10383
- defineBlockAppearancePreset({
10384
- kind: "block-design",
10385
- id: "testimonials-default-cards",
10386
- target: "testimonials",
10387
- label: "Default cards",
10388
- blockKinds: ["block.testimonials"],
10389
- design: {
10390
- sectionSurface: "base",
10391
- contentFrame: plainFrame,
10392
- itemSurface: "none",
10393
- testimonialCardTreatment: "default"
10394
- }
10395
- }),
10396
- defineBlockAppearancePreset({
10397
- kind: "block-design",
10398
- id: "testimonials-statement-cards",
10399
- target: "testimonials",
10400
- label: "Statement cards",
10401
- blockKinds: ["block.testimonials"],
10402
- design: {
10403
- sectionSurface: "accent-band",
10404
- contentFrame: plainFrame,
10405
- itemSurface: "raised",
10406
- testimonialCardTreatment: "statement"
10407
- }
10408
- }),
10409
- defineBlockAppearancePreset({
10410
- kind: "block-design",
10411
- id: "testimonials-brand-statement-cards",
10412
- target: "testimonials",
10413
- label: "Brand statement cards",
10414
- blockKinds: ["block.testimonials"],
10415
- design: {
10416
- sectionSurface: "brand-depth-band",
10417
- contentFrame: plainFrame,
10418
- itemSurface: "raised",
10419
- testimonialCardTreatment: "statement"
10420
- }
10421
- }),
10422
- defineBlockAppearancePreset({
10423
- kind: "block-design",
10424
- id: "testimonials-non-carded",
10425
- target: "testimonials",
10426
- label: "Non-carded",
10427
- blockKinds: ["block.testimonials"],
10428
- design: {
10429
- sectionSurface: "muted-band",
10430
- contentFrame: plainFrame,
10431
- itemSurface: "none",
10432
- testimonialCardTreatment: "non-carded"
10433
- }
10434
- }),
10435
- defineBlockAppearancePreset({
10436
- kind: "block-design",
10437
- id: "testimonials-evergreen-lead",
10438
- target: "testimonials",
10439
- label: "Evergreen lead",
10440
- blockKinds: ["block.testimonials"],
10441
- constraints: { layoutVariantKeys: ["featured-editorial"] },
10442
- design: {
10443
- sectionSurface: "base",
10444
- contentFrame: plainFrame,
10445
- itemSurface: "none"
10446
- }
10447
- }),
10448
- defineBlockAppearancePreset({
10449
- kind: "block-design",
10450
- id: "testimonials-room-and-response",
10451
- target: "testimonials",
10452
- label: "Room and response",
10453
- blockKinds: ["block.testimonials"],
10454
- constraints: { layoutVariantKeys: ["featured-editorial"] },
10455
- design: {
10456
- sectionSurface: "base",
10457
- contentFrame: plainFrame,
10458
- itemSurface: "none"
10459
- }
10460
- }),
10461
- defineBlockAppearancePreset({
10462
- kind: "block-design",
10463
- id: "testimonials-open-floor",
10464
- target: "testimonials",
10465
- label: "Open floor",
10466
- blockKinds: ["block.testimonials"],
10467
- constraints: { layoutVariantKeys: ["featured-editorial"] },
10468
- design: {
10469
- sectionSurface: "base",
10470
- contentFrame: plainFrame,
10471
- itemSurface: "none"
10472
- }
10473
- }),
10474
- defineBlockAppearancePreset({
10475
- kind: "block-design",
10476
- id: "faq-base-accordion",
10477
- target: "faq",
10478
- label: "Base accordion FAQ",
10479
- blockKinds: ["block.faq"],
10480
- design: {
10481
- sectionSurface: "base",
10482
- contentFrame: plainFrame,
10483
- itemSurface: "default"
10484
- }
10485
- }),
10486
- defineBlockAppearancePreset({
10487
- kind: "block-design",
10488
- id: "faq-contained-help",
10489
- target: "faq",
10490
- label: "Contained help panel",
10491
- blockKinds: ["block.faq"],
10492
- design: {
10493
- sectionSurface: "muted-band",
10494
- contentFrame: panelFrame("inset"),
10495
- itemSurface: "default"
10496
- }
10497
- }),
10498
- defineBlockAppearancePreset({
10499
- kind: "block-design",
10500
- id: "contact-form-panel",
10501
- target: "contact-form",
10502
- label: "Raised form panel",
10503
- blockKinds: ["block.form"],
10504
- design: {
10505
- sectionSurface: "muted-band",
10506
- contentFrame: panelFrame("raised"),
10507
- itemSurface: "none"
10508
- }
10509
- }),
10510
- defineBlockAppearancePreset({
10511
- kind: "block-design",
10512
- id: "cta-accent-band",
10513
- target: "cta",
10514
- label: "Accent CTA band",
10515
- blockKinds: ["block.cta-full"],
10516
- design: {
10517
- sectionSurface: "accent-band",
10518
- contentFrame: plainFrame,
10519
- itemSurface: "none",
10520
- eyebrowTreatment: "accent"
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: "color-change",
11482
+ navInteraction: "pill-background",
11439
11483
  surface: "floating",
11440
- defaultDepth: "none",
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/responsive/breakpoints.ts
15704
- function mqUp(px) {
15705
- return `(min-width: ${px}px)`;
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, persistedBlockButtonRoleSchema, BLOCK_BUTTON_ROLE_LABELS, BLOCK_BUTTON_ROLE_OPTIONS;
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 = persistedBlockButtonRoleSchema;
30770
+ eventButtonVariantSchema = blockButtonRoleSchema;
30797
30771
  eventLayoutSchema = z$1.enum(eventCalendarListLayoutValues);
30798
30772
  eventCalendarDisplayModeSchema = z$1.enum(eventCalendarDisplayModeValues);
30799
30773
  eventCalendarDefaultViewSchema = z$1.enum(eventCalendarDefaultViewValues);