@riverbankcms/sdk 0.161.0 → 0.162.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 (187) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-Bx4kLiTA.d.ts → BlocksIslandsHydrator-PZUoA872.d.ts} +1 -1
  2. package/dist/_dts/{Page-Dm7_P13o.d.ts → Page-CdQS6C7i.d.ts} +8 -8
  3. package/dist/_dts/{SdkPreviewMode-D7HdWWwF.d.ts → SdkPreviewMode-CNGO-5f1.d.ts} +58 -91
  4. package/dist/_dts/{client-Ep0jI9eE.d.ts → client-DGa53rjL.d.ts} +11 -3
  5. package/dist/_dts/{content-types-BgAzCrBc.d.ts → content-types-K9R7P-KF.d.ts} +2 -2
  6. package/dist/_dts/{contracts-DUiOnj9e.d.ts → contracts-CyBaPaIq.d.ts} +13 -4
  7. package/dist/_dts/{footerPageOutline-B-uXamTG.d.ts → footerPageOutline-B6jmKmon.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-BDkZYEcS.d.ts → generatePageMetadata-iemoR3AN.d.ts} +2 -2
  9. package/dist/_dts/{index-ylivB7Jj.d.ts → index-8CN0Nd-Z.d.ts} +2 -2
  10. package/dist/_dts/{index-CSsfq6KG.d.ts → index-BtnsA14K.d.ts} +9 -5
  11. package/dist/_dts/{index-BVkP8f70.d.ts → index-C39F9KaB.d.ts} +13 -2
  12. package/dist/_dts/{index-KPrWM0KF.d.ts → index-DEu85xBt.d.ts} +1 -1
  13. package/dist/_dts/{schema-BHu0PYWl.d.ts → index-DI2yaSPY.d.ts} +4099 -3343
  14. package/dist/_dts/{types-BR1Yboa9.d.ts → index-Dbd0Sn0G.d.ts} +3300 -1691
  15. package/dist/_dts/{index-CF6Cjs7b.d.ts → index-Du1IRglc.d.ts} +2 -2
  16. package/dist/_dts/{index-D_8uz4OP.d.ts → index-Jlcq6w69.d.ts} +3 -3
  17. package/dist/_dts/{index-DvKQA6AZ.d.ts → index-Wm62sXf2.d.ts} +4 -4
  18. package/dist/_dts/{loadContent-DTjKOO-T.d.ts → loadContent-BPfAAZDW.d.ts} +10 -7
  19. package/dist/_dts/{resolvePageContent-C1vA5c5w.d.ts → resolvePageContent-DWbrtKf8.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +6 -6
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/index.d.ts +8 -8
  27. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  28. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  29. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  30. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  31. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  32. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  34. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  35. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  36. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  37. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  38. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  39. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  40. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  42. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  43. package/dist/_dts/sdk/src/server.d.ts +5 -5
  44. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  45. package/dist/_dts/{types-ZGUiHpDE.d.ts → types-CVv2H4AT.d.ts} +7 -7
  46. package/dist/_dts/{types-D02ngcUH.d.ts → types-CfNG5koF.d.ts} +2 -2
  47. package/dist/_dts/{types-CJXTCF_F.d.ts → types-ClZ-BQL_.d.ts} +3 -3
  48. package/dist/_dts/{validation-BaV565gb.d.ts → validation-BJ6Lf_Dr.d.ts} +4 -4
  49. package/dist/client/{BlocksIslandsHydrator-DTExCJsb.mjs → BlocksIslandsHydrator-COqlgWYU.mjs} +20 -19
  50. package/dist/client/{BookingMailingListNote-BDpxmn1p.mjs → BookingMailingListNote-CFYPDEHH.mjs} +1 -1
  51. package/dist/client/{CalendarNavigationChevron-PeCiL82X.mjs → CalendarNavigationChevron-COBVxgHb.mjs} +6 -6
  52. package/dist/client/{CheckboxChoice-DWexRLf6.mjs → CheckboxChoice-C7X9dJ8A.mjs} +1 -1
  53. package/dist/client/{DemoBookingPortalAccess-3zmIqakW.mjs → DemoBookingPortalAccess-CvT0E9AR.mjs} +26 -10
  54. package/dist/client/{DemoPortalSignInLink-GHi-8BW5.mjs → DemoPortalSignInLink-EBOBN5dT.mjs} +1 -1
  55. package/dist/client/{EventCalendar.client-BxQLY5cX.mjs → EventCalendar.client-U6pKcntV.mjs} +16 -17
  56. package/dist/client/{EventCombined.client-B5bmQ03b.mjs → EventCombined.client-CNzwEHws.mjs} +8 -8
  57. package/dist/client/{EventEmbeddedCheckoutStep-CgMZ9TeU.mjs → EventEmbeddedCheckoutStep-B9yAWV_k.mjs} +1 -1
  58. package/dist/client/{EventItem-BEx-qiDE.mjs → EventItem-M5rpaHxi.mjs} +4 -4
  59. package/dist/client/{EventListWeekNavigation-CyH5tA6Y.mjs → EventListWeekNavigation-D4ieBLDY.mjs} +1 -1
  60. package/dist/client/{EventListing.client-D3uySdGP.mjs → EventListing.client-B8F40Rmn.mjs} +3 -3
  61. package/dist/client/{EventListing.view-9RFrBejr.mjs → EventListing.view-k4lhuCn5.mjs} +14 -21
  62. package/dist/client/{EventRegistrationPayment-CG2tQx8K.mjs → EventRegistrationPayment-C3g8_Hqb.mjs} +10 -10
  63. package/dist/client/LocationMapActions-CAjt7qVo.mjs +62 -0
  64. package/dist/client/{LocationMapActions-Wsr83Q7q.mjs → MapDrawingSvg-_aIK2ojv.mjs} +2 -70
  65. package/dist/client/{Page-Bf2nPACI.mjs → Page-DJBIQBOw.mjs} +1762 -254
  66. package/dist/client/{StepIndicator-CZweb1vs.mjs → StepIndicator-CFacB1z6.mjs} +2 -2
  67. package/dist/client/{TabBarFragment-Bkgz67gt.mjs → TabBarFragment-BLsfQskO.mjs} +1 -1
  68. package/dist/client/{ThemedButton-CnyL3s1A.mjs → ThemedButton-BWsDgjMC.mjs} +1 -1
  69. package/dist/client/{accordion-TcimLLRQ.mjs → accordion-CtO2XF7M.mjs} +1 -1
  70. package/dist/client/{booking-form.client-q-RpJ4aF.mjs → booking-form.client-RICCQ0h2.mjs} +137 -60
  71. package/dist/client/{bookingForm-DjGfk3Wj.mjs → bookingForm-SvjLPx8i.mjs} +4 -4
  72. package/dist/client/bookings.mjs +5 -5
  73. package/dist/client/{carousel-CGAk6j0m.mjs → carousel-BR-zCD3O.mjs} +2 -2
  74. package/dist/client/{carousel.client-ArlGmYWV.mjs → carousel.client-CEWtoZd3.mjs} +1 -1
  75. package/dist/client/{cart-D_h3rAZ2.mjs → cart-C6YpKbZZ.mjs} +3 -3
  76. package/dist/client/{cart.client-DHOxZbJ7.mjs → cart.client-dC938WrX.mjs} +1 -1
  77. package/dist/client/{checkout-tC-3CzuM.mjs → checkout-Dy9RlREI.mjs} +3 -3
  78. package/dist/client/{checkout.client-DsBb2Pkm.mjs → checkout.client-CefG0d2F.mjs} +1 -1
  79. package/dist/client/client.mjs +34 -69
  80. package/dist/client/{context-9ZfMb6GA.mjs → context-BFwxgZpB.mjs} +28 -1
  81. package/dist/client/{cta-D-ZqL7-e.mjs → cta-DtA42Xio.mjs} +1 -1
  82. package/dist/client/{dateFormatting-BCwLqYpW.mjs → dateFormatting-yP1B7F0O.mjs} +39 -2
  83. package/dist/client/{demoPortalMagicLink-BxkSS9fx.mjs → demoPortalMagicLink-WOiT5Ryi.mjs} +1 -1
  84. package/dist/client/{enhanceHeaderSection-xg6to91E.mjs → enhanceHeaderSection-Dh8c_Lq-.mjs} +3 -3
  85. package/dist/client/{event-details.client-C670TgRd.mjs → event-details.client-BFgsLqTj.mjs} +2 -1
  86. package/dist/client/{event-registration.client-C6GApWTB.mjs → event-registration.client-BaXZ1-Ky.mjs} +13 -13
  87. package/dist/client/{eventCalendar-CWc0dg9i.mjs → eventCalendar-COLwF80U.mjs} +4 -4
  88. package/dist/client/{eventCombined-D4DbOrvQ.mjs → eventCombined-D3Ltwu03.mjs} +4 -4
  89. package/dist/client/{eventDetails-C2DfmbC0.mjs → eventDetails-CBrkimXu.mjs} +2 -2
  90. package/dist/client/{eventListing-C_yXmHyz.mjs → eventListing-CedKVA1S.mjs} +4 -4
  91. package/dist/client/{eventRegistration-DJuaCB-O.mjs → eventRegistration-DkQQfR1b.mjs} +4 -4
  92. package/dist/client/{form-QZhtdFHA.mjs → form-XFy9uXSJ.mjs} +3 -3
  93. package/dist/client/{form.client-CgvPACwG.mjs → form.client-B0iancFK.mjs} +4 -4
  94. package/dist/client/{form.parts-2uI0-5N-.mjs → form.parts-DMbolu9Y.mjs} +3 -3
  95. package/dist/client/{formatDate-Danr0Nk4.mjs → formatDate-Jm5MQOCA.mjs} +1 -1
  96. package/dist/client/gifting/client.mjs +3 -3
  97. package/dist/client/{headerSection-DJdlLdvZ.mjs → headerSection-WjlECjtV.mjs} +2 -2
  98. package/dist/client/{mediaAssets-BvjcAZpS.mjs → mediaAssets-BkoW_PEn.mjs} +1 -1
  99. package/dist/client/mediaContext-CNzWmoA4.mjs +136 -0
  100. package/dist/client/{newsletter-form.client-Cbepz2KU.mjs → newsletter-form.client-D-XwJTjN.mjs} +5 -5
  101. package/dist/client/{newsletter-form.parts-DN8oMCQ0.mjs → newsletter-form.parts-H92f30y0.mjs} +2 -2
  102. package/dist/client/{newsletterForm-wjLtW-wq.mjs → newsletterForm-DMuxzu6I.mjs} +3 -3
  103. package/dist/client/{noop-B7H6gCbj.mjs → noop-B3RNPVrt.mjs} +19 -3
  104. package/dist/client/portal/client.mjs +1116 -85
  105. package/dist/client/{product-detail.client-CYTR165c.mjs → product-detail.client-B3HuuykE.mjs} +1 -1
  106. package/dist/client/{product-list.client-B4vTvag8.mjs → product-list.client-CzsDrHQO.mjs} +1 -1
  107. package/dist/client/{productDetail-k8LEMSWn.mjs → productDetail-CbBUVWgd.mjs} +3 -3
  108. package/dist/client/{productList-DEo8Bqoe.mjs → productList-vqOKH2mh.mjs} +3 -3
  109. package/dist/client/{propsDecoder-G0j0HXBO.mjs → propsDecoder-CkSUep5a.mjs} +4 -3
  110. package/dist/client/{registry.server-BTmSXE3D.mjs → registry.server-cZ24QwtW.mjs} +272 -68
  111. package/dist/client/rendering/client.mjs +27 -26
  112. package/dist/client/rendering/islands.mjs +1 -1
  113. package/dist/client/rendering.mjs +10 -7
  114. package/dist/client/{richText-coerce-B19taoH6.mjs → richText-coerce-DDcCKvBJ.mjs} +1 -1
  115. package/dist/client/{routeIslandApiConfig-Chu5BHra.mjs → routeIslandApiConfig-DYBioANh.mjs} +1 -1
  116. package/dist/client/{schema-C-m8XHuW.mjs → schema-DNHLlze-.mjs} +4575 -4311
  117. package/dist/client/{shop-RGWa43H7.mjs → shop-CF0dhnfH.mjs} +3 -3
  118. package/dist/client/{shop-commerce-TJYCBO_H.mjs → shop-commerce-DQznNBEo.mjs} +11 -11
  119. package/dist/client/{shop-commerce-store-CjCcUB_o.mjs → shop-commerce-store-Ba8zPlIg.mjs} +1 -1
  120. package/dist/client/{shop.client-tsKfZw1W.mjs → shop.client-DqfYoqWH.mjs} +12 -12
  121. package/dist/client/{shop.interactive-CVqLAU53.mjs → shop.interactive-CreQ0I7i.mjs} +38 -31
  122. package/dist/client/{shopShared-C3lHMz_R.mjs → shopShared-D-yh-P7g.mjs} +2 -2
  123. package/dist/client/{mediaContext-jPeJ2PmJ.mjs → site-styles-B9HgmY07.mjs} +1329 -511
  124. package/dist/client/{timetableModel-V2ifvGGy.mjs → timetableModel-DCdVErTJ.mjs} +10 -9
  125. package/dist/client/{useAvailableSlots-D1X69-pN.mjs → useAvailableSlots-Cvgdp2DH.mjs} +8 -11
  126. package/dist/client/{useBookingNowIso-Ch30jino.mjs → useBookingNowIso-DrTnGNzD.mjs} +1 -1
  127. package/dist/client/{useDiscountApply-Bwzr1RjV.mjs → useDiscountApply-CULjnXGl.mjs} +2 -2
  128. package/dist/client/{useDiscountCodeUi-BimJbFC7.mjs → useDiscountCodeUi-Gn_m7e0o.mjs} +1 -1
  129. package/dist/client/{useEventPagination-CLAS0upd.mjs → useEventPagination-CsysCF22.mjs} +6 -6
  130. package/dist/client/{view-Dj_FZHmg.mjs → view-BpBjo9Te.mjs} +64 -55
  131. package/dist/client/{view-BUh4LnLS.mjs → view-DMyTchi7.mjs} +4 -4
  132. package/dist/client/{wizardSteps-BkZc-hKH.mjs → wizardSteps-BO2OmMO9.mjs} +59 -53
  133. package/dist/preview-next/before-render.mjs +3 -3
  134. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CwerMfzn.mjs → EventEmbeddedCheckoutStep-DLsSmZbO.mjs} +1 -1
  135. package/dist/preview-next/client/{PreviewEditorSidebar-Dvq-RW9-.mjs → PreviewEditorSidebar-ChrW9VEo.mjs} +164 -1042
  136. package/dist/preview-next/client/{PreviewEditorUI-BdFjS39R.mjs → PreviewEditorUI-VaHvYtrA.mjs} +9 -190
  137. package/dist/preview-next/client/{SdkPreviewModeRuntime-CjkGh1IG.mjs → SdkPreviewModeRuntime-Bz7jR6nl.mjs} +1 -1
  138. package/dist/preview-next/client/{SdkPreviewModeRuntime-BEfHln1E.mjs → SdkPreviewModeRuntime-DWwktlWs.mjs} +220 -130
  139. package/dist/preview-next/client/{ThemedButton-b14Bv03E.mjs → ThemedButton-CHKOWXxl.mjs} +608 -333
  140. package/dist/preview-next/client/{SiteChromeCustomizeContext-CDbxk_qZ.mjs → previewAuthStore-C0VUwEHz.mjs} +158752 -162808
  141. package/dist/preview-next/client/{previewChromeSurface-Dd1_mNIg.mjs → previewChromeSurface-Dhyx2YrS.mjs} +1 -1
  142. package/dist/preview-next/client/runtime.mjs +3 -3
  143. package/dist/preview-next/client/{sdk-runtime-B-CXyGVb.mjs → sdk-runtime-C2GWOCyj.mjs} +1 -1
  144. package/dist/preview-next/client/siteStyleAccess-DHyzUpv4.mjs +12833 -0
  145. package/dist/preview-next/client/{spinner-CGxS8Ns-.mjs → spinner-BeR2S8oG.mjs} +1 -1
  146. package/dist/preview-next/keepAlive.mjs +2 -2
  147. package/dist/preview-next/middleware.mjs +1 -1
  148. package/dist/preview-next/{refresh-contract-CvmNqZ1Q.mjs → refresh-contract-uQ6BXgLJ.mjs} +5 -0
  149. package/dist/preview-next/{route-contract-hLg-yjQN.mjs → route-contract-CkrFDMrl.mjs} +394 -200
  150. package/dist/server/{Block.shared-CeTd2saO.mjs → Block.shared-DxvNGDig.mjs} +4 -4
  151. package/dist/server/{bindings-C5YpKuKt.mjs → bindings-BuhKvYkE.mjs} +2 -2
  152. package/dist/server/{client-Cv26lZQ4.mjs → client-BobW6DOz.mjs} +34 -69
  153. package/dist/server/config-validation.mjs +1 -1
  154. package/dist/server/config.mjs +2 -2
  155. package/dist/server/{effectiveNavLinkStyle-CGvGr3yD.mjs → effectiveNavLinkStyle-B-MKSt0p.mjs} +1127 -144
  156. package/dist/server/index.mjs +3 -3
  157. package/dist/server/{loadContent-C8a0b-cC.mjs → loadContent-CCG_3mbY.mjs} +7 -4
  158. package/dist/server/loadPage-Bk9HDh9K.mjs +2 -0
  159. package/dist/server/{loadPage-BW7dklu3.mjs → loadPage-jntGoMrf.mjs} +2 -2
  160. package/dist/server/next.mjs +9 -9
  161. package/dist/server/{overrideResolution-tIuqmJB3.mjs → overrideResolution-BBOlgn4Z.mjs} +1 -1
  162. package/dist/server/{overrides-D1fiPOKF.mjs → overrides-DByQwIyW.mjs} +264 -168
  163. package/dist/server/page-converter.mjs +1 -1
  164. package/dist/server/{prebuild--fO0E2tr.mjs → prebuild-DrwcTk2t.mjs} +1 -1
  165. package/dist/server/prebuild.mjs +1 -1
  166. package/dist/server/{prefetchBlockData-CqJnokWJ.mjs → prefetchBlockData-LfgxSJYE.mjs} +31 -10
  167. package/dist/server/{publicProducts-CvvZ4JIe.mjs → publicProducts-8A3T5v4M.mjs} +647 -166
  168. package/dist/server/{registry-BVfCqaCq.mjs → registry-Digv02oV.mjs} +308 -36
  169. package/dist/server/rendering/server.mjs +4 -4
  170. package/dist/server/rendering.mjs +8 -8
  171. package/dist/server/{resolveBlockData-DPNvhXEz.mjs → resolveBlockData-C23t8-77.mjs} +1 -1
  172. package/dist/server/routing.mjs +1 -1
  173. package/dist/server/{schema-CD4peO7m.mjs → schema-BiqpDRwB.mjs} +2813 -2549
  174. package/dist/server/server.mjs +3 -3
  175. package/dist/server/{site-styles-H-EvTJiW.mjs → site-styles-DrkprQPL.mjs} +81 -113
  176. package/dist/server/{siteChromeOverlayClearance-DNC2k1U0.mjs → siteChromeOverlayClearance-BmKKkkbh.mjs} +2 -2
  177. package/dist/server/{src-ILxc6pid.mjs → src-08GY1njw.mjs} +902 -44
  178. package/dist/server/theme-bridge.mjs +1 -1
  179. package/dist/server/theme.mjs +1 -1
  180. package/dist/server/{themeAdmission-BNHIXiUj.mjs → themeAdmission-CSd_Vusz.mjs} +36 -29
  181. package/dist/server/{validation-B1ieVemg.mjs → validation-DdUTkBOZ.mjs} +2 -2
  182. package/dist/server/{version-BQK44wFg.mjs → version-DdIOqIDe.mjs} +1 -1
  183. package/dist/styles/index.css +872 -41
  184. package/package.json +1 -1
  185. package/dist/_dts/index-BQDBQvdu.d.ts +0 -13
  186. package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +0 -5812
  187. package/dist/server/loadPage--DXBwI8V.mjs +0 -2
@@ -1,4 +1,4 @@
1
- import { $ as NAV_LINK_TEXT_SIZE_MAP, $t as noHeadingDecoration, At as asAppearancePresetId, Bt as asPageFlowPresetId, Dt as cardRoleValues, Ft as asDesignBoundaryId, G as buttonStyleSelectionSchema, Hn as surfaceForegroundInputFromResolved, Ht as assertNever, J as generateInteractiveChildInheritanceCSS, K as generateEffectsCSS, Kn as expandPalette, Nt as asBoundaryOptionId, Pt as asDesignBlockId, Q as NAV_LINK_PADDING_X_MAP, Qt as makeBoundaryId, Rt as asDesignSystemTemplateId, V as headerInteractionQuietPalette, Vt as asSiteStyleId, W as defaultButtonStyleSelectionFor, Wn as surfaceForegroundValue, Wt as defineExactCatalog, X as NAV_LINK_LETTER_SPACING_MAP, Y as NAV_LINK_BORDER_RADIUS_MAP, Yt as flushPanelFrame, Z as NAV_LINK_PADDING_MAP, ar as paletteValueKey, ct as siteChromeBackgroundOverrideOwner, er as featuresFromHex, et as navLinkHoverColorCandidate, gn as TokenResolver, hn as planForegroundHover, ir as paletteModeSchema, lr as unsafeAsOpaqueButtonColourToken, nn as plainFrame, nr as hexColorSchema, nt as navLinkOwnsUnderline, or as paletteValueKeySchema, q as generateBaseInteractiveCSS, rn as requireNonEmptyReadonlyArray, rr as paletteColorsSchema, rt as navEffectPolicy, sr as requirePaletteColorsFromEntries, tn as panelFrame, tt as navLinkOwnsHoverForeground, un as resolveSurface, ur as parseThemeColorToken, ut as themeV2RuntimeStyleFieldNames, xn as rgbColorValue, zt as asLayoutVariantKey } from "./schema-CD4peO7m.mjs";
1
+ import { $ as defaultButtonStyleSelectionFor, $t as makeBoundaryId, At as arrangementModes, Bt as asPageFlowPresetId, Ft as asDesignBlockId, Gn as surfaceForegroundValue, Ht as assertNever, It as asDesignBoundaryId, K as cardRoleValues, Pt as asBoundaryOptionId, Qt as isArrangementMode, Rt as asDesignSystemTemplateId, Sn as rgbColorValue, Un as surfaceForegroundInputFromResolved, Vt as asSiteStyleId, Wt as defineExactCatalog, X as headerInteractionQuietPalette, Yt as flushPanelFrame, _n as TokenResolver, _t as siteChromeBackgroundOverrideOwner, ar as paletteModeSchema, at as NAV_LINK_LETTER_SPACING_MAP, cr as requirePaletteColorsFromEntries, ct as NAV_LINK_TEXT_SIZE_MAP, dn as resolveSurface, dr as parseThemeColorToken, dt as navLinkOwnsUnderline, en as noHeadingDecoration, et as buttonStyleSelectionSchema, ft as navEffectPolicy, gn as planForegroundHover, in as requireNonEmptyReadonlyArray, ir as paletteColorsSchema, it as NAV_LINK_BORDER_RADIUS_MAP, jt as asAppearancePresetId, lt as navLinkHoverColorCandidate, nn as panelFrame, nt as generateBaseInteractiveCSS, or as paletteValueKey, ot as NAV_LINK_PADDING_MAP, qn as expandPalette, rn as plainFrame, rr as hexColorSchema, rt as generateInteractiveChildInheritanceCSS, sr as paletteValueKeySchema, st as NAV_LINK_PADDING_X_MAP, tr as featuresFromHex, tt as generateEffectsCSS, ur as unsafeAsOpaqueButtonColourToken, ut as navLinkOwnsHoverForeground, yt as themeV2RuntimeStyleFieldNames, zt as asLayoutVariantKey } from "./schema-BiqpDRwB.mjs";
2
2
  import { z } from "zod";
3
3
  //#region ../theme-core/src/site-styles/appearancePresetTypes.ts
4
4
  /** Block supply is capability, never a second Look catalogue. */
@@ -76,7 +76,7 @@ function isArrangementAppearancePreset(preset) {
76
76
  return preset.structure.kind === "arrangement";
77
77
  }
78
78
  function lookModes(look) {
79
- return Object.keys(look.structure.byMode).map((mode) => mode === "default" ? null : mode);
79
+ return Object.keys(look.structure.byMode).map((mode) => isArrangementMode(mode) ? mode : null);
80
80
  }
81
81
  function cardListKnobDefaults(block, arrangement, knobs, defaults) {
82
82
  if (!cardListKnobBlocks.some((kind) => kind === `block.${block}`)) return {};
@@ -291,10 +291,11 @@ const id$1 = asAppearancePresetId;
291
291
  const appearancePresets = [
292
292
  defineBlockAppearancePreset({
293
293
  structure: {
294
- kind: "legacy",
294
+ kind: "recipe",
295
295
  constraints: { layoutFamilies: ["centered", "compact"] }
296
296
  },
297
297
  id: "hero-immersive-image",
298
+ carry: { kind: "by-layout" },
298
299
  target: "hero",
299
300
  label: "Photo behind centred text",
300
301
  blockKinds: ["block.hero"],
@@ -316,10 +317,11 @@ const appearancePresets = [
316
317
  }),
317
318
  defineBlockAppearancePreset({
318
319
  structure: {
319
- kind: "legacy",
320
+ kind: "recipe",
320
321
  constraints: { layoutFamilies: ["centered", "compact"] }
321
322
  },
322
323
  id: "hero-bottom-left-panel",
324
+ carry: { kind: "by-layout" },
323
325
  target: "hero",
324
326
  label: "Text panel, bottom left of photo",
325
327
  blockKinds: ["block.hero"],
@@ -365,10 +367,11 @@ const appearancePresets = [
365
367
  }),
366
368
  defineBlockAppearancePreset({
367
369
  structure: {
368
- kind: "legacy",
370
+ kind: "recipe",
369
371
  constraints: { layoutFamilies: ["centered", "compact"] }
370
372
  },
371
373
  id: "hero-poster-image",
374
+ carry: { kind: "by-layout" },
372
375
  target: "hero",
373
376
  label: "Strong brand tint, big title",
374
377
  blockKinds: ["block.hero"],
@@ -394,10 +397,11 @@ const appearancePresets = [
394
397
  }),
395
398
  defineBlockAppearancePreset({
396
399
  structure: {
397
- kind: "legacy",
400
+ kind: "recipe",
398
401
  constraints: { layoutFamilies: ["centered", "compact"] }
399
402
  },
400
403
  id: "hero-brand-scrim",
404
+ carry: { kind: "by-layout" },
401
405
  target: "hero",
402
406
  label: "Photo with a brand tint",
403
407
  blockKinds: ["block.hero"],
@@ -417,10 +421,11 @@ const appearancePresets = [
417
421
  }),
418
422
  defineBlockAppearancePreset({
419
423
  structure: {
420
- kind: "legacy",
424
+ kind: "recipe",
421
425
  constraints: { layoutFamilies: ["centered", "compact"] }
422
426
  },
423
427
  id: "hero-brand-scrim-fixed-frame",
428
+ carry: { kind: "by-layout" },
424
429
  target: "hero",
425
430
  label: "Fixed photo with a brand tint",
426
431
  blockKinds: ["block.hero"],
@@ -442,10 +447,14 @@ const appearancePresets = [
442
447
  }),
443
448
  defineBlockAppearancePreset({
444
449
  structure: {
445
- kind: "legacy",
450
+ kind: "recipe",
446
451
  constraints: { layoutFamilies: ["centered", "compact"] }
447
452
  },
448
453
  id: "hero-brand-depth-expressive",
454
+ carry: {
455
+ kind: "look",
456
+ look: "hero-page-head"
457
+ },
449
458
  target: "hero",
450
459
  label: "Brand colour, no photo",
451
460
  blockKinds: ["block.hero"],
@@ -458,8 +467,22 @@ const appearancePresets = [
458
467
  }
459
468
  }),
460
469
  defineBlockAppearancePreset({
461
- structure: { kind: "legacy" },
470
+ structure: { kind: "recipe" },
462
471
  id: "hero-contained-intro",
472
+ carry: {
473
+ kind: "look",
474
+ look: "hero-page-head",
475
+ layouts: {
476
+ split: {
477
+ kind: "look",
478
+ look: "hero-photo-beside-text"
479
+ },
480
+ splitReverse: {
481
+ kind: "look",
482
+ look: "hero-photo-beside-text"
483
+ }
484
+ }
485
+ },
463
486
  target: "hero",
464
487
  label: "Text in a panel on a soft band",
465
488
  blockKinds: ["block.hero"],
@@ -472,10 +495,14 @@ const appearancePresets = [
472
495
  }),
473
496
  defineBlockAppearancePreset({
474
497
  structure: {
475
- kind: "legacy",
498
+ kind: "recipe",
476
499
  constraints: { layoutFamilies: ["split"] }
477
500
  },
478
501
  id: "hero-split-editorial",
502
+ carry: {
503
+ kind: "look",
504
+ look: "hero-photo-beside-text"
505
+ },
479
506
  target: "hero",
480
507
  label: "Split on the page background",
481
508
  blockKinds: ["block.hero"],
@@ -487,10 +514,14 @@ const appearancePresets = [
487
514
  }),
488
515
  defineBlockAppearancePreset({
489
516
  structure: {
490
- kind: "legacy",
517
+ kind: "recipe",
491
518
  constraints: { layoutFamilies: ["split"] }
492
519
  },
493
520
  id: "hero-split-brand",
521
+ carry: {
522
+ kind: "look",
523
+ look: "hero-photo-beside-text"
524
+ },
494
525
  target: "hero",
495
526
  label: "Split on brand colour",
496
527
  blockKinds: ["block.hero"],
@@ -503,10 +534,14 @@ const appearancePresets = [
503
534
  }),
504
535
  defineBlockAppearancePreset({
505
536
  structure: {
506
- kind: "legacy",
537
+ kind: "recipe",
507
538
  constraints: { layoutFamilies: ["split"] }
508
539
  },
509
540
  id: "hero-split-soft-panel",
541
+ carry: {
542
+ kind: "look",
543
+ look: "hero-photo-beside-text"
544
+ },
510
545
  target: "hero",
511
546
  label: "Split, panel on a soft band",
512
547
  blockKinds: ["block.hero"],
@@ -518,10 +553,14 @@ const appearancePresets = [
518
553
  }),
519
554
  defineBlockAppearancePreset({
520
555
  structure: {
521
- kind: "legacy",
556
+ kind: "recipe",
522
557
  constraints: { layoutFamilies: ["split"] }
523
558
  },
524
559
  id: "hero-split-accent",
560
+ carry: {
561
+ kind: "look",
562
+ look: "hero-photo-beside-text"
563
+ },
525
564
  target: "hero",
526
565
  label: "Split, panel on accent colour",
527
566
  blockKinds: ["block.hero"],
@@ -533,7 +572,7 @@ const appearancePresets = [
533
572
  }),
534
573
  defineBlockAppearancePreset({
535
574
  structure: {
536
- kind: "legacy",
575
+ kind: "recipe",
537
576
  composition: {
538
577
  kind: "intro",
539
578
  treatment: "editorial-statement"
@@ -541,6 +580,7 @@ const appearancePresets = [
541
580
  constraints: { layoutVariantKeys: ["centered-copy", "statement-copy"] }
542
581
  },
543
582
  id: "intro-editorial-statement",
583
+ carry: { kind: "by-layout" },
544
584
  target: "intro",
545
585
  label: "Large statement",
546
586
  blockKinds: ["block.intro"],
@@ -551,7 +591,7 @@ const appearancePresets = [
551
591
  }),
552
592
  defineBlockAppearancePreset({
553
593
  structure: {
554
- kind: "legacy",
594
+ kind: "recipe",
555
595
  composition: {
556
596
  kind: "intro",
557
597
  treatment: "portrait-bio"
@@ -559,6 +599,10 @@ const appearancePresets = [
559
599
  constraints: { layoutVariantKeys: ["media-copy"] }
560
600
  },
561
601
  id: "intro-portrait-bio",
602
+ carry: {
603
+ kind: "look",
604
+ look: "intro-photo-beside-text"
605
+ },
562
606
  target: "intro",
563
607
  label: "Portrait and bio",
564
608
  blockKinds: ["block.intro"],
@@ -568,8 +612,12 @@ const appearancePresets = [
568
612
  }
569
613
  }),
570
614
  defineBlockAppearancePreset({
571
- structure: { kind: "legacy" },
615
+ structure: { kind: "recipe" },
572
616
  id: "offerings-preview-default-cards",
617
+ carry: {
618
+ kind: "look",
619
+ look: "feature-cards-cards"
620
+ },
573
621
  target: "offerings",
574
622
  label: "Cards",
575
623
  blockKinds: ["block.offerings-preview"],
@@ -580,8 +628,12 @@ const appearancePresets = [
580
628
  }
581
629
  }),
582
630
  defineBlockAppearancePreset({
583
- structure: { kind: "legacy" },
631
+ structure: { kind: "recipe" },
584
632
  id: "offerings-preview-secondary-cards",
633
+ carry: {
634
+ kind: "look",
635
+ look: "feature-cards-cards"
636
+ },
585
637
  target: "offerings",
586
638
  label: "Cards on a soft band",
587
639
  blockKinds: ["block.offerings-preview"],
@@ -592,8 +644,12 @@ const appearancePresets = [
592
644
  }
593
645
  }),
594
646
  defineBlockAppearancePreset({
595
- structure: { kind: "legacy" },
647
+ structure: { kind: "recipe" },
596
648
  id: "offerings-preview-non-carded",
649
+ carry: {
650
+ kind: "look",
651
+ look: "feature-cards-open-columns"
652
+ },
597
653
  target: "offerings",
598
654
  label: "No cards",
599
655
  blockKinds: ["block.offerings-preview"],
@@ -605,7 +661,7 @@ const appearancePresets = [
605
661
  }),
606
662
  defineBlockAppearancePreset({
607
663
  structure: {
608
- kind: "legacy",
664
+ kind: "recipe",
609
665
  composition: {
610
666
  kind: "offerings-preview",
611
667
  treatment: "paired-feature-cards"
@@ -613,6 +669,10 @@ const appearancePresets = [
613
669
  constraints: { layoutVariantKeys: ["cards"] }
614
670
  },
615
671
  id: "offerings-preview-paired-feature-cards",
672
+ carry: {
673
+ kind: "look",
674
+ look: "feature-cards-lead-support"
675
+ },
616
676
  target: "offerings",
617
677
  label: "One large card, one smaller",
618
678
  blockKinds: ["block.offerings-preview"],
@@ -624,7 +684,7 @@ const appearancePresets = [
624
684
  }),
625
685
  defineBlockAppearancePreset({
626
686
  structure: {
627
- kind: "legacy",
687
+ kind: "recipe",
628
688
  composition: {
629
689
  kind: "offerings-preview",
630
690
  treatment: "open-editorial-columns"
@@ -632,6 +692,10 @@ const appearancePresets = [
632
692
  constraints: { layoutVariantKeys: ["cards"] }
633
693
  },
634
694
  id: "offerings-preview-open-editorial-columns",
695
+ carry: {
696
+ kind: "look",
697
+ look: "feature-cards-open-columns"
698
+ },
635
699
  target: "offerings",
636
700
  label: "Open columns",
637
701
  blockKinds: ["block.offerings-preview"],
@@ -643,7 +707,7 @@ const appearancePresets = [
643
707
  }),
644
708
  defineBlockAppearancePreset({
645
709
  structure: {
646
- kind: "legacy",
710
+ kind: "recipe",
647
711
  composition: {
648
712
  kind: "offerings-preview",
649
713
  treatment: "joined-programme-panel"
@@ -651,6 +715,10 @@ const appearancePresets = [
651
715
  constraints: { layoutVariantKeys: ["cards"] }
652
716
  },
653
717
  id: "offerings-preview-joined-programme-panel",
718
+ carry: {
719
+ kind: "look",
720
+ look: "feature-cards-index"
721
+ },
654
722
  target: "offerings",
655
723
  label: "Rows joined in one panel",
656
724
  blockKinds: ["block.offerings-preview"],
@@ -661,8 +729,12 @@ const appearancePresets = [
661
729
  }
662
730
  }),
663
731
  defineBlockAppearancePreset({
664
- structure: { kind: "legacy" },
732
+ structure: { kind: "recipe" },
665
733
  id: "feature-cards-raised-rule",
734
+ carry: {
735
+ kind: "look",
736
+ look: "feature-cards-cards"
737
+ },
666
738
  target: "feature-cards",
667
739
  label: "Raised cards with a line",
668
740
  blockKinds: ["block.feature-cards"],
@@ -673,8 +745,12 @@ const appearancePresets = [
673
745
  }
674
746
  }),
675
747
  defineBlockAppearancePreset({
676
- structure: { kind: "legacy" },
748
+ structure: { kind: "recipe" },
677
749
  id: "feature-cards-bold-colors",
750
+ carry: {
751
+ kind: "look",
752
+ look: "feature-cards-cards"
753
+ },
678
754
  target: "feature-cards",
679
755
  label: "Colour-filled cards",
680
756
  blockKinds: ["block.feature-cards"],
@@ -685,8 +761,12 @@ const appearancePresets = [
685
761
  }
686
762
  }),
687
763
  defineBlockAppearancePreset({
688
- structure: { kind: "legacy" },
764
+ structure: { kind: "recipe" },
689
765
  id: "feature-cards-editorial-columns",
766
+ carry: {
767
+ kind: "look",
768
+ look: "card-list-accent-edged-cards"
769
+ },
690
770
  target: "feature-cards",
691
771
  label: "Open columns on a soft band",
692
772
  blockKinds: ["block.feature-cards"],
@@ -698,7 +778,7 @@ const appearancePresets = [
698
778
  }),
699
779
  defineBlockAppearancePreset({
700
780
  structure: {
701
- kind: "legacy",
781
+ kind: "recipe",
702
782
  composition: {
703
783
  kind: "feature-cards",
704
784
  treatment: "asymmetric-emphasis"
@@ -706,6 +786,10 @@ const appearancePresets = [
706
786
  constraints: { layoutFamilies: ["grid"] }
707
787
  },
708
788
  id: "feature-cards-asymmetric-emphasis",
789
+ carry: {
790
+ kind: "no-equivalent",
791
+ because: "No shared Look lays cards out in uneven pairs."
792
+ },
709
793
  target: "feature-cards",
710
794
  label: "Cards in uneven pairs",
711
795
  blockKinds: ["block.feature-cards"],
@@ -716,7 +800,7 @@ const appearancePresets = [
716
800
  }),
717
801
  defineBlockAppearancePreset({
718
802
  structure: {
719
- kind: "legacy",
803
+ kind: "recipe",
720
804
  composition: {
721
805
  kind: "feature-cards",
722
806
  treatment: "framed-programme"
@@ -724,6 +808,10 @@ const appearancePresets = [
724
808
  constraints: { layoutFamilies: ["grid"] }
725
809
  },
726
810
  id: "feature-cards-framed-programme",
811
+ carry: {
812
+ kind: "look",
813
+ look: "feature-cards-cards"
814
+ },
727
815
  target: "feature-cards",
728
816
  label: "Close-set cards on brand colour",
729
817
  blockKinds: ["block.feature-cards"],
@@ -735,10 +823,14 @@ const appearancePresets = [
735
823
  }),
736
824
  defineBlockAppearancePreset({
737
825
  structure: {
738
- kind: "legacy",
826
+ kind: "recipe",
739
827
  constraints: { layoutVariantKeys: ["editorial-diptych"] }
740
828
  },
741
829
  id: "feature-cards-editorial-diptych",
830
+ carry: {
831
+ kind: "look",
832
+ look: "feature-cards-cards"
833
+ },
742
834
  target: "feature-cards",
743
835
  label: "Two large cards side by side",
744
836
  blockKinds: ["block.feature-cards"],
@@ -749,8 +841,9 @@ const appearancePresets = [
749
841
  }
750
842
  }),
751
843
  defineBlockAppearancePreset({
752
- structure: { kind: "legacy" },
844
+ structure: { kind: "recipe" },
753
845
  id: "events-lined-panel",
846
+ carry: { kind: "by-layout" },
754
847
  target: "events",
755
848
  label: "Cards on a panel",
756
849
  blockKinds: ["block.event-calendar", "block.event-listing"],
@@ -760,8 +853,12 @@ const appearancePresets = [
760
853
  }
761
854
  }),
762
855
  defineBlockAppearancePreset({
763
- structure: { kind: "legacy" },
856
+ structure: { kind: "recipe" },
764
857
  id: "events-ruled-register",
858
+ carry: {
859
+ kind: "look",
860
+ look: "event-calendar-ruled-rows"
861
+ },
765
862
  target: "events",
766
863
  label: "Ruled list",
767
864
  blockKinds: ["block.event-calendar", "block.event-listing"],
@@ -772,8 +869,12 @@ const appearancePresets = [
772
869
  }
773
870
  }),
774
871
  defineBlockAppearancePreset({
775
- structure: { kind: "legacy" },
872
+ structure: { kind: "recipe" },
776
873
  id: "events-editorial-register",
874
+ carry: {
875
+ kind: "look",
876
+ look: "event-calendar-ruled-rows"
877
+ },
777
878
  target: "events",
778
879
  label: "Editorial list",
779
880
  blockKinds: ["block.event-calendar", "block.event-listing"],
@@ -784,8 +885,12 @@ const appearancePresets = [
784
885
  }
785
886
  }),
786
887
  defineBlockAppearancePreset({
787
- structure: { kind: "legacy" },
888
+ structure: { kind: "recipe" },
788
889
  id: "events-dense-index",
890
+ carry: {
891
+ kind: "look",
892
+ look: "event-calendar-ruled-rows"
893
+ },
789
894
  target: "events",
790
895
  label: "Compact list",
791
896
  blockKinds: ["block.event-calendar", "block.event-listing"],
@@ -796,8 +901,12 @@ const appearancePresets = [
796
901
  }
797
902
  }),
798
903
  defineBlockAppearancePreset({
799
- structure: { kind: "legacy" },
904
+ structure: { kind: "recipe" },
800
905
  id: "schedule-details-brand-depth",
906
+ carry: {
907
+ kind: "look",
908
+ look: "event-details-panel"
909
+ },
801
910
  target: "events",
802
911
  label: "Details on brand colour",
803
912
  blockKinds: ["block.event-details"],
@@ -808,8 +917,12 @@ const appearancePresets = [
808
917
  }
809
918
  }),
810
919
  defineBlockAppearancePreset({
811
- structure: { kind: "legacy" },
920
+ structure: { kind: "recipe" },
812
921
  id: "media-text-flush-feature",
922
+ carry: {
923
+ kind: "look",
924
+ look: "media-text-photo-beside-text"
925
+ },
813
926
  target: "media-text",
814
927
  label: "Photo to the edge, on a soft band",
815
928
  blockKinds: ["block.media-text"],
@@ -819,8 +932,9 @@ const appearancePresets = [
819
932
  }
820
933
  }),
821
934
  defineBlockAppearancePreset({
822
- structure: { kind: "legacy" },
935
+ structure: { kind: "recipe" },
823
936
  id: "testimonials-simple-cards",
937
+ carry: { kind: "by-layout" },
824
938
  target: "testimonials",
825
939
  label: "Quote cards",
826
940
  blockKinds: ["block.testimonials"],
@@ -831,8 +945,9 @@ const appearancePresets = [
831
945
  }
832
946
  }),
833
947
  defineBlockAppearancePreset({
834
- structure: { kind: "legacy" },
948
+ structure: { kind: "recipe" },
835
949
  id: "testimonials-raised-panel",
950
+ carry: { kind: "by-layout" },
836
951
  target: "testimonials",
837
952
  label: "Quotes on a panel",
838
953
  blockKinds: ["block.testimonials"],
@@ -843,8 +958,9 @@ const appearancePresets = [
843
958
  }
844
959
  }),
845
960
  defineBlockAppearancePreset({
846
- structure: { kind: "legacy" },
961
+ structure: { kind: "recipe" },
847
962
  id: "testimonials-accent-panel",
963
+ carry: { kind: "by-layout" },
848
964
  target: "testimonials",
849
965
  label: "Quotes on an accent panel",
850
966
  blockKinds: ["block.testimonials"],
@@ -855,8 +971,9 @@ const appearancePresets = [
855
971
  }
856
972
  }),
857
973
  defineBlockAppearancePreset({
858
- structure: { kind: "legacy" },
974
+ structure: { kind: "recipe" },
859
975
  id: "testimonials-statement-cards",
976
+ carry: { kind: "by-layout" },
860
977
  target: "testimonials",
861
978
  label: "Cards on accent colour",
862
979
  blockKinds: ["block.testimonials"],
@@ -867,8 +984,9 @@ const appearancePresets = [
867
984
  }
868
985
  }),
869
986
  defineBlockAppearancePreset({
870
- structure: { kind: "legacy" },
987
+ structure: { kind: "recipe" },
871
988
  id: "testimonials-brand-statement-cards",
989
+ carry: { kind: "by-layout" },
872
990
  target: "testimonials",
873
991
  label: "Cards on brand colour",
874
992
  blockKinds: ["block.testimonials"],
@@ -880,13 +998,21 @@ const appearancePresets = [
880
998
  }),
881
999
  defineBlockAppearancePreset({
882
1000
  structure: {
883
- kind: "legacy",
1001
+ kind: "recipe",
884
1002
  composition: {
885
1003
  kind: "testimonials",
886
1004
  treatment: "open-editorial"
887
1005
  }
888
1006
  },
889
1007
  id: "testimonials-non-carded",
1008
+ carry: {
1009
+ kind: "by-layout",
1010
+ layouts: { grid: {
1011
+ kind: "look",
1012
+ look: "testimonials-quote-columns",
1013
+ knobs: { quoteCount: "all" }
1014
+ } }
1015
+ },
890
1016
  target: "testimonials",
891
1017
  label: "No cards",
892
1018
  blockKinds: ["block.testimonials"],
@@ -897,7 +1023,7 @@ const appearancePresets = [
897
1023
  }),
898
1024
  defineBlockAppearancePreset({
899
1025
  structure: {
900
- kind: "legacy",
1026
+ kind: "recipe",
901
1027
  composition: {
902
1028
  kind: "testimonials",
903
1029
  treatment: "evergreen-lead"
@@ -905,6 +1031,10 @@ const appearancePresets = [
905
1031
  constraints: { layoutVariantKeys: ["featured-editorial"] }
906
1032
  },
907
1033
  id: "testimonials-evergreen-lead",
1034
+ carry: {
1035
+ kind: "look",
1036
+ look: "testimonials-lead-quote"
1037
+ },
908
1038
  target: "testimonials",
909
1039
  label: "Lead quote, others in two columns",
910
1040
  blockKinds: ["block.testimonials"],
@@ -915,7 +1045,7 @@ const appearancePresets = [
915
1045
  }),
916
1046
  defineBlockAppearancePreset({
917
1047
  structure: {
918
- kind: "legacy",
1048
+ kind: "recipe",
919
1049
  composition: {
920
1050
  kind: "testimonials",
921
1051
  treatment: "room-and-response"
@@ -923,6 +1053,10 @@ const appearancePresets = [
923
1053
  constraints: { layoutVariantKeys: ["featured-editorial"] }
924
1054
  },
925
1055
  id: "testimonials-room-and-response",
1056
+ carry: {
1057
+ kind: "look",
1058
+ look: "testimonials-lead-quote"
1059
+ },
926
1060
  target: "testimonials",
927
1061
  label: "Tall lead quote, others beside",
928
1062
  blockKinds: ["block.testimonials"],
@@ -933,7 +1067,7 @@ const appearancePresets = [
933
1067
  }),
934
1068
  defineBlockAppearancePreset({
935
1069
  structure: {
936
- kind: "legacy",
1070
+ kind: "recipe",
937
1071
  composition: {
938
1072
  kind: "testimonials",
939
1073
  treatment: "open-floor"
@@ -941,6 +1075,10 @@ const appearancePresets = [
941
1075
  constraints: { layoutVariantKeys: ["featured-editorial"] }
942
1076
  },
943
1077
  id: "testimonials-open-floor",
1078
+ carry: {
1079
+ kind: "look",
1080
+ look: "testimonials-lead-quote"
1081
+ },
944
1082
  target: "testimonials",
945
1083
  label: "Title beside, lead quote on top",
946
1084
  blockKinds: ["block.testimonials"],
@@ -950,8 +1088,9 @@ const appearancePresets = [
950
1088
  }
951
1089
  }),
952
1090
  defineBlockAppearancePreset({
953
- structure: { kind: "legacy" },
1091
+ structure: { kind: "recipe" },
954
1092
  id: "faq-base-accordion",
1093
+ carry: { kind: "by-layout" },
955
1094
  target: "faq",
956
1095
  label: "Plain list of questions",
957
1096
  blockKinds: ["block.faq"],
@@ -962,8 +1101,9 @@ const appearancePresets = [
962
1101
  }
963
1102
  }),
964
1103
  defineBlockAppearancePreset({
965
- structure: { kind: "legacy" },
1104
+ structure: { kind: "recipe" },
966
1105
  id: "faq-contained-help",
1106
+ carry: { kind: "by-layout" },
967
1107
  target: "faq",
968
1108
  label: "Questions in a panel",
969
1109
  blockKinds: ["block.faq"],
@@ -974,8 +1114,9 @@ const appearancePresets = [
974
1114
  }
975
1115
  }),
976
1116
  defineBlockAppearancePreset({
977
- structure: { kind: "legacy" },
1117
+ structure: { kind: "recipe" },
978
1118
  id: "contact-form-panel",
1119
+ carry: { kind: "by-layout" },
979
1120
  target: "contact-form",
980
1121
  label: "Form on a panel",
981
1122
  blockKinds: ["block.form"],
@@ -985,8 +1126,12 @@ const appearancePresets = [
985
1126
  }
986
1127
  }),
987
1128
  defineBlockAppearancePreset({
988
- structure: { kind: "legacy" },
1129
+ structure: { kind: "recipe" },
989
1130
  id: "booking-brand-band",
1131
+ carry: {
1132
+ kind: "no-equivalent",
1133
+ because: "Appointment booking has no shared Looks."
1134
+ },
990
1135
  target: "contact-form",
991
1136
  label: "Booking form on brand colour",
992
1137
  blockKinds: ["block.appointment-booking"],
@@ -996,8 +1141,12 @@ const appearancePresets = [
996
1141
  }
997
1142
  }),
998
1143
  defineBlockAppearancePreset({
999
- structure: { kind: "legacy" },
1144
+ structure: { kind: "recipe" },
1000
1145
  id: "cta-accent-band",
1146
+ carry: {
1147
+ kind: "look",
1148
+ look: "cta-centred"
1149
+ },
1001
1150
  target: "cta",
1002
1151
  label: "Accent colour band",
1003
1152
  blockKinds: ["block.cta-full"],
@@ -1008,11 +1157,11 @@ const appearancePresets = [
1008
1157
  }
1009
1158
  }),
1010
1159
  defineArrangementLook("body-text-reading-column", "body-text", "Reading column", "prose", []),
1011
- defineArrangementLook("form-beside-introduction-arched-panel", "form", "Introduction beside an arched form", "two-column", [], {
1160
+ defineArrangementLook("form-beside-introduction-arched-panel", "form", "Introduction beside a framed form", "two-column", [], {
1012
1161
  slotRoles: { panel: "card" },
1013
1162
  styleFallback: [id$1("form-below-introduction")]
1014
1163
  }),
1015
- defineArrangementLook("newsletter-signup-in-arch", "newsletter-signup", "Signup in an arch", "arch", [], { styleFallback: [id$1("newsletter-signup-text-beside")] }),
1164
+ defineArrangementLook("newsletter-signup-in-arch", "newsletter-signup", "Signup in a frame", "arch", [], { styleFallback: [id$1("newsletter-signup-text-beside")] }),
1016
1165
  defineArrangementLook("image-gallery-square-tiles", "image-gallery", "Square tiles", "tiles", []),
1017
1166
  defineArrangementLook("image-gallery-arched-captions", "image-gallery", "Arched photos with captions", "tiles", [], { styleFallback: [id$1("image-gallery-square-tiles")] }),
1018
1167
  defineArrangementLook("media-text-circle-beside-text", "media-text", "Circle beside the text", "circle-beside", ["imagePosition"], {
@@ -1035,6 +1184,10 @@ const appearancePresets = [
1035
1184
  slotRoles: { copy: "card" },
1036
1185
  styleFallback: [id$1("hero-photo-beside-text")]
1037
1186
  }),
1187
+ defineArrangementLook("hero-short-photo-banner", "hero", "Short photo banner", "classic", [], {
1188
+ slotRoles: { copy: "card" },
1189
+ styleFallback: [id$1("hero-page-head")]
1190
+ }),
1038
1191
  defineArrangementLook("hero-page-head", "hero", "Title and facts, no photo", "page-head", ["titleSize", "smallCaption"], { styleFallback: [id$1("hero-photo-beside-text")] }),
1039
1192
  defineCardListLook("feature-cards-cards", "Cards", "cards", [
1040
1193
  "media",
@@ -1107,7 +1260,7 @@ const appearancePresets = [
1107
1260
  slotRoles: { date: "highlight" },
1108
1261
  styleFallback: [id$1("event-calendar-ruled-rows")]
1109
1262
  }),
1110
- defineArrangementLook("event-calendar-next-three", "event-calendar", "Next three, compact", "compact", ["showCapacity"], {
1263
+ defineArrangementLook("event-calendar-next-three", "event-calendar", "Compact rows", "compact", ["showCapacity"], {
1111
1264
  itemRoles: { container: "card" },
1112
1265
  styleFallback: [id$1("event-calendar-ruled-rows")]
1113
1266
  }),
@@ -1691,16 +1844,10 @@ const sectionTransitionFamilies = [{
1691
1844
  label: family.label,
1692
1845
  variants: requireNonEmptyReadonlyArray(transitionCatalogueEntries.filter((entry) => entry.family === family.id).map(transitionVariantForEntry), `Transition family ${family.id} has no catalogue entries.`)
1693
1846
  }))];
1694
- const boundaryOptionById = new Map(boundaryOptions.map((option) => [option.id, option]));
1847
+ new Map(boundaryOptions.map((option) => [option.id, option]));
1695
1848
  new Map(boundaryOptions.map((option) => [stableTreatmentKey(option.treatment), option]));
1696
1849
  new Map(sectionTransitionFamilies.flatMap((family) => family.variants.map((variant) => [variant.boundaryOption.id, variant])));
1697
1850
  new Map(sectionTransitionFamilies.map((family) => [family.id, family]));
1698
- function boundaryTreatmentForBoundaryOptionId(boundaryOptionId) {
1699
- return boundaryOptionById.get(boundaryOptionId)?.treatment ?? {
1700
- kind: "legacy-unsupported",
1701
- boundaryOptionId
1702
- };
1703
- }
1704
1851
  function stableTreatmentKey(treatment) {
1705
1852
  switch (treatment.kind) {
1706
1853
  case "none": return "none";
@@ -1718,7 +1865,6 @@ function stableTreatmentKey(treatment) {
1718
1865
  treatment.slope,
1719
1866
  treatment.direction
1720
1867
  ].join(":");
1721
- case "legacy-unsupported": return `${treatment.kind}:${treatment.boundaryOptionId}`;
1722
1868
  }
1723
1869
  }
1724
1870
  //#endregion
@@ -1734,7 +1880,7 @@ const pageDesignUserPinnedAppearanceChoiceSchema = z.object({
1734
1880
  kind: z.literal("user-pinned"),
1735
1881
  value: z.string().min(1).transform(asAppearancePresetId)
1736
1882
  }).strict();
1737
- const pageDesignUserPinnedBoundaryChoiceSchema = z.object({
1883
+ z.object({
1738
1884
  kind: z.literal("user-pinned"),
1739
1885
  value: z.string().min(1).transform(asBoundaryOptionId)
1740
1886
  }).strict();
@@ -1786,10 +1932,6 @@ const pageDesignBoundaryTreatmentSchema = z.discriminatedUnion("kind", [
1786
1932
  "steep"
1787
1933
  ]),
1788
1934
  direction: z.enum(["forward", "reverse"])
1789
- }).strict(),
1790
- z.object({
1791
- kind: z.literal("legacy-unsupported"),
1792
- boundaryOptionId: z.string().min(1).transform(asBoundaryOptionId)
1793
1935
  }).strict()
1794
1936
  ]);
1795
1937
  const pageDesignUserPinnedBoundaryTreatmentChoiceSchema = z.object({
@@ -1807,51 +1949,13 @@ const pageDesignBoundaryPinSchema = z.object({
1807
1949
  nextBlockId: z.string().min(1).transform(asDesignBlockId),
1808
1950
  choice: pageDesignUserPinnedBoundaryTreatmentChoiceSchema
1809
1951
  }).strict().superRefine(validateBoundaryPinIdMatchesBlocks);
1810
- const legacyPageDesignBoundaryPinSchema = z.object({
1811
- boundaryId: z.string().min(1).startsWith("boundary:", { error: "DesignBoundaryId must start with \"boundary:\"." }).transform(asDesignBoundaryId),
1812
- previousBlockId: z.string().min(1).transform(asDesignBlockId),
1813
- nextBlockId: z.string().min(1).transform(asDesignBlockId),
1814
- choice: pageDesignUserPinnedBoundaryChoiceSchema
1815
- }).strict().superRefine(validateBoundaryPinIdMatchesBlocks);
1816
- /**
1817
- * Persisted editor intent stores only user-pinned block Looks and boundary choices.
1818
- * Missing pins mean `auto`; block-kind/preset compatibility is enforced by resolution,
1819
- * not by this JSON parse boundary.
1820
- */
1821
- const pageDesignIntentV1Schema = z.object({
1822
- schemaVersion: z.literal(1),
1823
- siteStyleId: z.string().min(1).startsWith("site-style:", { error: "SiteStyleId must start with \"site-style:\"." }).transform(asSiteStyleId),
1824
- pageFlowPresetId: z.string().min(1).transform(asPageFlowPresetId),
1825
- blockLookPins: z.array(pageDesignBlockLookPinSchema),
1826
- boundaryPins: z.array(legacyPageDesignBoundaryPinSchema)
1827
- }).strict().superRefine(validateUniquePageDesignPins);
1828
1952
  const pageDesignDecisionsV2Schema = z.object({
1829
1953
  schemaVersion: z.literal(2),
1830
1954
  pageFlowPresetId: z.string().min(1).transform(asPageFlowPresetId),
1831
1955
  blockLookPins: z.array(pageDesignBlockLookPinSchema),
1832
1956
  boundaryPins: z.array(pageDesignBoundaryPinSchema)
1833
1957
  }).strict().superRefine(validateUniquePageDesignPins);
1834
- const pageDesignIntentV2Schema = pageDesignDecisionsV2Schema.safeExtend({ siteStyleId: z.string().min(1).startsWith("site-style:", { error: "SiteStyleId must start with \"site-style:\"." }).transform(asSiteStyleId) });
1835
- function normalizeLegacyPageDesignIntent(intent) {
1836
- return {
1837
- schemaVersion: 2,
1838
- siteStyleId: intent.siteStyleId,
1839
- pageFlowPresetId: intent.pageFlowPresetId,
1840
- blockLookPins: intent.blockLookPins,
1841
- boundaryPins: intent.boundaryPins.map((pin) => ({
1842
- boundaryId: pin.boundaryId,
1843
- previousBlockId: pin.previousBlockId,
1844
- nextBlockId: pin.nextBlockId,
1845
- choice: userPinnedDesignChoice(boundaryTreatmentForBoundaryOptionId(pin.choice.value))
1846
- }))
1847
- };
1848
- }
1849
- function userPinnedDesignChoice(value) {
1850
- return {
1851
- kind: "user-pinned",
1852
- value
1853
- };
1854
- }
1958
+ pageDesignDecisionsV2Schema.safeExtend({ siteStyleId: z.string().min(1).startsWith("site-style:", { error: "SiteStyleId must start with \"site-style:\"." }).transform(asSiteStyleId) });
1855
1959
  function addDuplicateStringIssues(ctx, input) {
1856
1960
  const seen = /* @__PURE__ */ new Set();
1857
1961
  const duplicates = /* @__PURE__ */ new Set();
@@ -4437,6 +4541,201 @@ const measureNight = defineCuratedPalette({
4437
4541
  }
4438
4542
  ]
4439
4543
  });
4544
+ const loomHearth = defineCuratedPalette({
4545
+ authoringKey: "loom-hearth",
4546
+ name: "Loom — Hearth",
4547
+ description: "Warm paper, espresso ink and a rust patch.",
4548
+ tags: {
4549
+ tone: "classic",
4550
+ energy: "calm",
4551
+ era: "organic"
4552
+ },
4553
+ mode: "light",
4554
+ colors: [
4555
+ {
4556
+ name: "primary",
4557
+ hex: "#a2471f"
4558
+ },
4559
+ {
4560
+ name: "secondary",
4561
+ hex: "#33261d"
4562
+ },
4563
+ {
4564
+ name: "accent",
4565
+ hex: "#7f5f0e"
4566
+ },
4567
+ {
4568
+ name: "success",
4569
+ hex: "#2c7a45"
4570
+ },
4571
+ {
4572
+ name: "warning",
4573
+ hex: "#8a5a00"
4574
+ },
4575
+ {
4576
+ name: "destructive",
4577
+ hex: "#b3261e"
4578
+ },
4579
+ {
4580
+ name: "background",
4581
+ hex: "#faf5ec"
4582
+ },
4583
+ {
4584
+ name: "surface",
4585
+ hex: "#fffdf7"
4586
+ },
4587
+ {
4588
+ name: "surfaceAlt",
4589
+ hex: "#f0e7d5"
4590
+ },
4591
+ {
4592
+ name: "muted",
4593
+ hex: "#61544a"
4594
+ },
4595
+ {
4596
+ name: "text",
4597
+ hex: "#2c211a"
4598
+ },
4599
+ {
4600
+ name: "primaryForeground",
4601
+ hex: "#fff6e8"
4602
+ },
4603
+ {
4604
+ name: "border",
4605
+ hex: "#8a7660"
4606
+ }
4607
+ ]
4608
+ });
4609
+ const loomFlax = defineCuratedPalette({
4610
+ authoringKey: "loom-flax",
4611
+ name: "Loom — Flax",
4612
+ description: "Pale sage, pine ink and a deep green patch.",
4613
+ tags: {
4614
+ tone: "classic",
4615
+ energy: "calm",
4616
+ era: "organic"
4617
+ },
4618
+ mode: "light",
4619
+ colors: [
4620
+ {
4621
+ name: "primary",
4622
+ hex: "#33695a"
4623
+ },
4624
+ {
4625
+ name: "secondary",
4626
+ hex: "#222b26"
4627
+ },
4628
+ {
4629
+ name: "accent",
4630
+ hex: "#a34d22"
4631
+ },
4632
+ {
4633
+ name: "success",
4634
+ hex: "#2c7a45"
4635
+ },
4636
+ {
4637
+ name: "warning",
4638
+ hex: "#7a5200"
4639
+ },
4640
+ {
4641
+ name: "destructive",
4642
+ hex: "#a93226"
4643
+ },
4644
+ {
4645
+ name: "background",
4646
+ hex: "#eef1ea"
4647
+ },
4648
+ {
4649
+ name: "surface",
4650
+ hex: "#f9faf6"
4651
+ },
4652
+ {
4653
+ name: "surfaceAlt",
4654
+ hex: "#dfe4d6"
4655
+ },
4656
+ {
4657
+ name: "muted",
4658
+ hex: "#4c5a51"
4659
+ },
4660
+ {
4661
+ name: "text",
4662
+ hex: "#222c27"
4663
+ },
4664
+ {
4665
+ name: "primaryForeground",
4666
+ hex: "#f2f6ec"
4667
+ },
4668
+ {
4669
+ name: "border",
4670
+ hex: "#68776d"
4671
+ }
4672
+ ]
4673
+ });
4674
+ const loomEmber = defineCuratedPalette({
4675
+ authoringKey: "loom-ember",
4676
+ name: "Loom — Ember",
4677
+ description: "Deep espresso, cream ink and a terracotta patch.",
4678
+ tags: {
4679
+ tone: "classic",
4680
+ energy: "calm",
4681
+ era: "organic"
4682
+ },
4683
+ mode: "dark",
4684
+ colors: [
4685
+ {
4686
+ name: "primary",
4687
+ hex: "#a95224"
4688
+ },
4689
+ {
4690
+ name: "secondary",
4691
+ hex: "#140d0a"
4692
+ },
4693
+ {
4694
+ name: "accent",
4695
+ hex: "#e0a83c"
4696
+ },
4697
+ {
4698
+ name: "success",
4699
+ hex: "#7cc79b"
4700
+ },
4701
+ {
4702
+ name: "warning",
4703
+ hex: "#e3b25c"
4704
+ },
4705
+ {
4706
+ name: "destructive",
4707
+ hex: "#ec8d80"
4708
+ },
4709
+ {
4710
+ name: "background",
4711
+ hex: "#201512"
4712
+ },
4713
+ {
4714
+ name: "surface",
4715
+ hex: "#2b1e19"
4716
+ },
4717
+ {
4718
+ name: "surfaceAlt",
4719
+ hex: "#170f0c"
4720
+ },
4721
+ {
4722
+ name: "muted",
4723
+ hex: "#c9b29a"
4724
+ },
4725
+ {
4726
+ name: "text",
4727
+ hex: "#f4e8d4"
4728
+ },
4729
+ {
4730
+ name: "primaryForeground",
4731
+ hex: "#fff6e8"
4732
+ },
4733
+ {
4734
+ name: "border",
4735
+ hex: "#9a8264"
4736
+ }
4737
+ ]
4738
+ });
4440
4739
  //#endregion
4441
4740
  //#region ../theme-core/src/palette/curated/index.ts
4442
4741
  function admitCuratedPaletteDefinition(definition) {
@@ -4467,6 +4766,18 @@ const curatedPalettes = [
4467
4766
  ];
4468
4767
  /** Style-owned suggestions are readable for compilation, never globally offered. */
4469
4768
  const styleSuggestedPalettes = [
4769
+ {
4770
+ ...admitCuratedPaletteDefinition(loomHearth),
4771
+ ownerStyleId: "site-style:loom"
4772
+ },
4773
+ {
4774
+ ...admitCuratedPaletteDefinition(loomFlax),
4775
+ ownerStyleId: "site-style:loom"
4776
+ },
4777
+ {
4778
+ ...admitCuratedPaletteDefinition(loomEmber),
4779
+ ownerStyleId: "site-style:loom"
4780
+ },
4470
4781
  {
4471
4782
  ...admitCuratedPaletteDefinition(fulcrumDeepGreen),
4472
4783
  ownerStyleId: "site-style:fulcrum"
@@ -5935,6 +6246,52 @@ function defaultTypographyForRecipe(recipe) {
5935
6246
  case "classic-serif": return classicSerifTypography;
5936
6247
  }
5937
6248
  }
6249
+ /** Loom: the working face is Figtree; Fraunces owns display and quote copy. */
6250
+ const loomTypography = {
6251
+ body: {
6252
+ family: "Figtree, system-ui, sans-serif",
6253
+ size: "lg",
6254
+ weight: "regular",
6255
+ lineHeight: "relaxed",
6256
+ letterSpacing: "normal"
6257
+ },
6258
+ smallHeading: {
6259
+ family: "Figtree, system-ui, sans-serif",
6260
+ weight: "semibold"
6261
+ },
6262
+ headings: {
6263
+ default: {
6264
+ family: "Fraunces, Georgia, serif",
6265
+ weight: "semibold",
6266
+ lineHeight: "normal",
6267
+ letterSpacing: "tight",
6268
+ italic: null,
6269
+ case: null
6270
+ },
6271
+ h1: {
6272
+ size: "2xl",
6273
+ weight: "semibold",
6274
+ lineHeight: "tight",
6275
+ letterSpacing: "tight",
6276
+ italic: null
6277
+ },
6278
+ h2: {
6279
+ size: "xl",
6280
+ weight: "semibold",
6281
+ lineHeight: "snug",
6282
+ letterSpacing: "tight",
6283
+ italic: null
6284
+ },
6285
+ h3: {
6286
+ size: "md",
6287
+ weight: "semibold",
6288
+ lineHeight: "snug",
6289
+ letterSpacing: "normal",
6290
+ italic: null
6291
+ }
6292
+ },
6293
+ scale: "spacious"
6294
+ };
5938
6295
  //#endregion
5939
6296
  //#region ../theme-core/src/site-styles/designState.ts
5940
6297
  const designResolutionPolicySchema = z.enum([
@@ -5945,24 +6302,17 @@ const designResolutionPolicySchema = z.enum([
5945
6302
  ]);
5946
6303
  const runtimeStyleFieldNameSchema = z.enum(themeV2RuntimeStyleFieldNames);
5947
6304
  const nonEmptyRuntimeStyleFieldNamesSchema = z.array(runtimeStyleFieldNameSchema).min(1).transform((fields) => [fields[0], ...fields.slice(1)]);
5948
- const styleAuthoritySchema = z.discriminatedUnion("kind", [
5949
- z.object({
5950
- kind: z.literal("theme-v2"),
5951
- source: designResolutionPolicySchema,
5952
- siteStyleId: z.string().min(1).transform(asSiteStyleId),
5953
- templateId: z.string().min(1).transform(asDesignSystemTemplateId),
5954
- templateVersion: z.number().int().nonnegative(),
5955
- resolverVersion: z.number().int().nonnegative()
5956
- }).strict(),
5957
- z.object({
5958
- kind: z.literal("legacy-raw"),
5959
- reason: z.enum(["pre-theme-v2", "manual-runtime-fields"])
5960
- }).strict(),
5961
- z.object({
5962
- kind: z.literal("advanced-detached"),
5963
- reason: z.literal("detached-custom-runtime-fields")
5964
- }).strict()
5965
- ]);
6305
+ const styleAuthoritySchema = z.discriminatedUnion("kind", [z.object({
6306
+ kind: z.literal("theme-v2"),
6307
+ source: designResolutionPolicySchema,
6308
+ siteStyleId: z.string().min(1).transform(asSiteStyleId),
6309
+ templateId: z.string().min(1).transform(asDesignSystemTemplateId),
6310
+ templateVersion: z.number().int().nonnegative(),
6311
+ resolverVersion: z.number().int().nonnegative()
6312
+ }).strict(), z.object({
6313
+ kind: z.literal("advanced-detached"),
6314
+ reason: z.literal("detached-custom-runtime-fields")
6315
+ }).strict()]);
5966
6316
  z.object({
5967
6317
  unit: z.literal("block-runtime-fields"),
5968
6318
  blockId: z.string().min(1).transform(asDesignBlockId),
@@ -6343,8 +6693,39 @@ const curatedSiteStyleIdValues = [
6343
6693
  "site-style:poster",
6344
6694
  "site-style:lantern",
6345
6695
  "site-style:measure",
6346
- "site-style:folio"
6696
+ "site-style:folio",
6697
+ "site-style:loom"
6347
6698
  ];
6699
+ /** Keyed by the offered looks, so adding a look without its hero Look doesn't compile. */
6700
+ const bookingPageNoPhotoHeroLookIds = {
6701
+ "site-style:fulcrum": "hero-photo-beside-text",
6702
+ "site-style:folio": "hero-page-head",
6703
+ "site-style:measure": "hero-page-head",
6704
+ "site-style:grounded-practice": "hero-contained-intro",
6705
+ "site-style:lantern": "hero-framed-title",
6706
+ "site-style:poster": "hero-page-head"
6707
+ };
6708
+ function bookingPageOfferingFor(siteStyleId) {
6709
+ const entry = Object.entries(bookingPageNoPhotoHeroLookIds).find(([id]) => id === siteStyleId);
6710
+ return entry ? { noPhotoHeroLookId: asAppearancePresetId(entry[1]) } : void 0;
6711
+ }
6712
+ function clientStyleMatchesSite(siteSlugs, target) {
6713
+ if (target.audience !== "site-picker" && target.audience !== "local-demo") return false;
6714
+ return target.siteSlug != null && siteSlugs.includes(target.siteSlug);
6715
+ }
6716
+ /** The same eligibility decision governs offering and the apply write boundary. */
6717
+ function siteStyleOfferingDecision(offering, target) {
6718
+ if (target.audience === "lab") return { kind: "offered" };
6719
+ const localDemo = target.audience === "local-demo" && target.environment === "local-development";
6720
+ switch (offering.kind) {
6721
+ case "public": return target.audience === "booking-page" && !offering.bookingPage ? { kind: "audience-mismatch" } : { kind: "offered" };
6722
+ case "lab": return localDemo ? { kind: "offered" } : { kind: "lab" };
6723
+ case "client": return localDemo || clientStyleMatchesSite(offering.siteSlugs, target) ? { kind: "offered" } : { kind: "client-site-mismatch" };
6724
+ }
6725
+ }
6726
+ function offeredSiteStyles(target, catalogue = curatedSiteStyles) {
6727
+ return catalogue.filter((style) => siteStyleOfferingDecision(style.offering, target).kind === "offered");
6728
+ }
6348
6729
  const quietBudget = {
6349
6730
  accentDensity: "low",
6350
6731
  panelDensity: "medium",
@@ -6540,6 +6921,10 @@ function defineHeaderCuration(input) {
6540
6921
  return [toEntry(first), ...remaining.map(toEntry)];
6541
6922
  }
6542
6923
  const headerCurationBySiteStyle = {
6924
+ "site-style:loom": defineHeaderCuration([{
6925
+ layoutId: "classic",
6926
+ styleIds: ["serif-line"]
6927
+ }]),
6543
6928
  "site-style:clarity-zen-blue": defineHeaderCuration([{
6544
6929
  layoutId: "centered",
6545
6930
  styleIds: [
@@ -6701,7 +7086,37 @@ const headerCurationBySiteStyle = {
6701
7086
  styleIds: ["fine-line", "minimal"]
6702
7087
  }])
6703
7088
  };
7089
+ /** Optional authored overrides remain absent when the catalogue did not supply them. */
7090
+ function authoredSiteStyleOverrides(input) {
7091
+ return {
7092
+ ...input.themeOverrides ? { themeOverrides: input.themeOverrides } : {},
7093
+ ...input.designRuntimeRules ? { designRuntimeRules: input.designRuntimeRules } : {},
7094
+ ...input.defaultBlockVariants ? { defaultBlockVariants: input.defaultBlockVariants } : {},
7095
+ ...input.heroTypography ? { heroTypography: input.heroTypography } : {}
7096
+ };
7097
+ }
7098
+ function siteStyleFontDefaults(input) {
7099
+ const typography = input.typography ?? defaultTypographyForRecipe(input.tokenRecipes.typography);
7100
+ return {
7101
+ typography,
7102
+ fontPairings: input.fontPairings ?? [{
7103
+ id: "look-default",
7104
+ heading: typography.headings.default.family,
7105
+ body: typography.body.family
7106
+ }]
7107
+ };
7108
+ }
7109
+ function withBookingPageOffering(offering, bookingPage) {
7110
+ return bookingPage ? {
7111
+ ...offering,
7112
+ bookingPage
7113
+ } : offering;
7114
+ }
6704
7115
  function defineCuratedSiteStyle(input) {
7116
+ const offering = input.offering ?? {
7117
+ kind: "public",
7118
+ generation: { kind: "explicit_only" }
7119
+ };
6705
7120
  const recommendedAppearancePresetIds = (input.recommendedAppearancePresetIds ?? []).map(asAppearancePresetId);
6706
7121
  return {
6707
7122
  id: asSiteStyleId(input.id),
@@ -6709,19 +7124,14 @@ function defineCuratedSiteStyle(input) {
6709
7124
  description: input.description,
6710
7125
  generationBrief: input.generationBrief,
6711
7126
  selectionKeywordRules: input.selectionKeywordRules ?? [],
6712
- offering: input.offering ?? {
6713
- kind: "public",
6714
- generation: { kind: "explicit_only" }
6715
- },
7127
+ offering: offering.kind === "public" ? withBookingPageOffering(offering, bookingPageOfferingFor(input.id)) : offering,
6716
7128
  template: curatedStyleTemplate(input),
6717
7129
  contentTemplateDefaults: input.contentTemplateDefaults,
6718
7130
  headingDecoration: input.headingDecoration ?? noHeadingDecoration,
6719
- ...input.themeOverrides ? { themeOverrides: input.themeOverrides } : {},
6720
- ...input.designRuntimeRules ? { designRuntimeRules: input.designRuntimeRules } : {},
7131
+ ...authoredSiteStyleOverrides(input),
6721
7132
  componentRuntimeRules: input.componentRuntimeRules ?? componentRuntimeRulesForTokenRecipes(input.tokenRecipes),
6722
- ...input.defaultBlockVariants ? { defaultBlockVariants: input.defaultBlockVariants } : {},
6723
7133
  looks: input.looks ?? {
6724
- kind: "legacy",
7134
+ kind: "recipe",
6725
7135
  recommendedAppearancePresetIds
6726
7136
  },
6727
7137
  headerCuration: headerCurationBySiteStyle[input.id],
@@ -6730,8 +7140,7 @@ function defineCuratedSiteStyle(input) {
6730
7140
  recommendedFooterLookIds: (input.recommendedFooterLookIds ?? []).map(asFooterLookId),
6731
7141
  buttonStyleChoices: input.buttonStyleChoices,
6732
7142
  paletteRecommendations: input.paletteRecommendations,
6733
- typography: input.typography ?? defaultTypographyForRecipe(input.tokenRecipes.typography),
6734
- ...input.heroTypography ? { heroTypography: input.heroTypography } : {}
7143
+ ...siteStyleFontDefaults(input)
6735
7144
  };
6736
7145
  }
6737
7146
  function buttonChoice(styleId, note, parameters) {
@@ -6758,7 +7167,449 @@ function paletteRecommendation(authoringKey, note) {
6758
7167
  */
6759
7168
  const id = asAppearancePresetId;
6760
7169
  const quieterOrStandard = { titleSize: ["quiet", "auto"] };
6761
- /** Fulcrum: cards are white sheets, the statement is the brand band, stickers are sheets too. */
7170
+ /** Loom: sheets for cards, a ground-aware statement, and highlights on the section. */
7171
+ const loomRoles = {
7172
+ card: "sheet",
7173
+ statement: {
7174
+ default: "brand",
7175
+ brand: "deep",
7176
+ deep: "inverse"
7177
+ },
7178
+ highlight: "section"
7179
+ };
7180
+ const loomLooks = {
7181
+ kind: "offers",
7182
+ skin: "loom",
7183
+ skinTokens: {
7184
+ radius: "14px",
7185
+ rule: "2px",
7186
+ "mark-length": "30px",
7187
+ "mark-weight": "4px",
7188
+ plate: "10px",
7189
+ gutter: "24px",
7190
+ "copy-gap": "1.25rem",
7191
+ "stack-gap": "2.5rem",
7192
+ "shadow-offset": "3px",
7193
+ wrap: "1140px",
7194
+ margin: "2.5rem"
7195
+ },
7196
+ fontLoading: {
7197
+ extraHeadingFontWeights: [
7198
+ 560,
7199
+ 600,
7200
+ 640
7201
+ ],
7202
+ italicHeadingFontWeights: [400, 480],
7203
+ extraBodyFontWeights: [
7204
+ 400,
7205
+ 600,
7206
+ 700
7207
+ ]
7208
+ },
7209
+ surfaces: {
7210
+ base: {
7211
+ kind: "token",
7212
+ token: "background"
7213
+ },
7214
+ band: {
7215
+ kind: "token",
7216
+ token: "surfaceAlt"
7217
+ },
7218
+ brand: {
7219
+ kind: "token",
7220
+ token: "primary",
7221
+ buttonContext: { primary: unsafeAsOpaqueButtonColourToken("primaryForeground") }
7222
+ },
7223
+ deep: {
7224
+ kind: "token",
7225
+ token: "secondary",
7226
+ buttonContext: { primary: unsafeAsOpaqueButtonColourToken("primaryForeground") }
7227
+ },
7228
+ sheet: {
7229
+ kind: "token",
7230
+ token: "surface",
7231
+ roleOnly: true
7232
+ },
7233
+ inverse: {
7234
+ kind: "token",
7235
+ token: "text",
7236
+ roleOnly: true,
7237
+ buttonContext: { primary: unsafeAsOpaqueButtonColourToken("background") }
7238
+ }
7239
+ },
7240
+ rhythm: {
7241
+ "flow:quiet": [
7242
+ "base",
7243
+ "band",
7244
+ "base",
7245
+ "base",
7246
+ "band",
7247
+ "base"
7248
+ ],
7249
+ "flow:balanced": [
7250
+ "base",
7251
+ "band",
7252
+ "base",
7253
+ "band",
7254
+ "brand",
7255
+ "base"
7256
+ ],
7257
+ "flow:expressive": [
7258
+ "base",
7259
+ "brand",
7260
+ "base",
7261
+ "band",
7262
+ "base",
7263
+ "band"
7264
+ ]
7265
+ },
7266
+ offers: [
7267
+ {
7268
+ id: id("event-details-panel"),
7269
+ treatment: "details-panel",
7270
+ roleMap: loomRoles
7271
+ },
7272
+ {
7273
+ id: id("event-details-header"),
7274
+ treatment: "details-header",
7275
+ roleMap: loomRoles
7276
+ },
7277
+ {
7278
+ id: id("hero-photo-beside-text"),
7279
+ treatment: "hero-framed",
7280
+ roleMap: {
7281
+ ...loomRoles,
7282
+ highlight: "deep"
7283
+ }
7284
+ },
7285
+ {
7286
+ id: id("intro-statement-beside-text"),
7287
+ treatment: "intro-statement",
7288
+ roleMap: loomRoles
7289
+ },
7290
+ {
7291
+ id: id("team-members-tall-portraits"),
7292
+ treatment: "team-tall-portraits",
7293
+ roleMap: loomRoles
7294
+ },
7295
+ {
7296
+ id: id("shop-price-cards-featured"),
7297
+ treatment: "shop-price-cards-featured",
7298
+ roleMap: loomRoles
7299
+ },
7300
+ {
7301
+ id: id("card-list-plates"),
7302
+ treatment: "items-plates",
7303
+ roleMap: loomRoles,
7304
+ removeKnobs: ["showPhotos"],
7305
+ knobValues: { dates: ["next-dates"] },
7306
+ itemRoles: { items: "card" }
7307
+ },
7308
+ {
7309
+ id: id("feature-cards-cards"),
7310
+ treatment: "cards-sewn",
7311
+ roleMap: loomRoles,
7312
+ removeKnobs: ["showPhotos"],
7313
+ knobValues: {
7314
+ cardMarker: ["none"],
7315
+ actionStyle: ["link"]
7316
+ }
7317
+ },
7318
+ {
7319
+ id: id("media-text-photo-beside-text"),
7320
+ treatment: "media-framed",
7321
+ roleMap: loomRoles
7322
+ },
7323
+ {
7324
+ id: id("event-calendar-session-cards"),
7325
+ treatment: "calendar-session-cards",
7326
+ roleMap: loomRoles,
7327
+ removeKnobs: ["showPhotos"]
7328
+ },
7329
+ {
7330
+ id: id("testimonials-lead-quote"),
7331
+ treatment: "quote-lead",
7332
+ roleMap: loomRoles,
7333
+ itemRoles: {
7334
+ items: "card",
7335
+ at: { first: "highlight" }
7336
+ }
7337
+ },
7338
+ {
7339
+ id: id("faq-questions-under-title"),
7340
+ treatment: "faq-under",
7341
+ roleMap: loomRoles
7342
+ },
7343
+ {
7344
+ id: id("cta-centred"),
7345
+ treatment: "cta-centred",
7346
+ roleMap: loomRoles
7347
+ },
7348
+ {
7349
+ id: id("newsletter-signup-text-beside"),
7350
+ treatment: "signup-text-beside",
7351
+ roleMap: loomRoles
7352
+ },
7353
+ {
7354
+ id: id("body-text-reading-column"),
7355
+ treatment: "body-reading",
7356
+ roleMap: loomRoles
7357
+ },
7358
+ {
7359
+ id: id("image-gallery-captions-under"),
7360
+ treatment: "gallery-captions-under",
7361
+ roleMap: loomRoles
7362
+ },
7363
+ {
7364
+ id: id("form-below-introduction"),
7365
+ treatment: "form-below",
7366
+ roleMap: loomRoles
7367
+ },
7368
+ {
7369
+ id: id("location-map-beside-address"),
7370
+ treatment: "map-beside-address",
7371
+ roleMap: loomRoles
7372
+ },
7373
+ {
7374
+ id: id("event-calendar-month-grid"),
7375
+ treatment: "calendar-month-grid",
7376
+ roleMap: loomRoles
7377
+ },
7378
+ {
7379
+ id: id("form-beside-introduction-arched-panel"),
7380
+ treatment: "form-beside",
7381
+ roleMap: loomRoles
7382
+ },
7383
+ {
7384
+ id: id("newsletter-signup-in-arch"),
7385
+ treatment: "signup-frame",
7386
+ roleMap: loomRoles
7387
+ },
7388
+ {
7389
+ id: id("image-gallery-square-tiles"),
7390
+ treatment: "gallery-square-tiles",
7391
+ roleMap: loomRoles
7392
+ },
7393
+ {
7394
+ id: id("media-text-circle-beside-text"),
7395
+ treatment: "media-circle",
7396
+ roleMap: loomRoles
7397
+ },
7398
+ {
7399
+ id: id("hero-headline-row"),
7400
+ treatment: "hero-headline-row",
7401
+ roleMap: {
7402
+ ...loomRoles,
7403
+ highlight: "deep"
7404
+ }
7405
+ },
7406
+ {
7407
+ id: id("hero-copy-over-gallery"),
7408
+ treatment: "hero-copy-over-gallery",
7409
+ roleMap: {
7410
+ ...loomRoles,
7411
+ highlight: "deep"
7412
+ }
7413
+ },
7414
+ {
7415
+ id: id("hero-page-head"),
7416
+ treatment: "hero-page-head",
7417
+ roleMap: {
7418
+ ...loomRoles,
7419
+ highlight: "deep"
7420
+ }
7421
+ },
7422
+ {
7423
+ id: id("card-list-accent-edged-cards"),
7424
+ treatment: "items-accent-edged-cards",
7425
+ roleMap: loomRoles
7426
+ },
7427
+ {
7428
+ id: id("feature-cards-open-columns"),
7429
+ treatment: "cards-open-columns",
7430
+ roleMap: loomRoles
7431
+ },
7432
+ {
7433
+ id: id("feature-cards-lead-support"),
7434
+ treatment: "cards-lead-support",
7435
+ roleMap: loomRoles
7436
+ },
7437
+ {
7438
+ id: id("feature-cards-index"),
7439
+ treatment: "cards-index",
7440
+ roleMap: loomRoles
7441
+ },
7442
+ {
7443
+ id: id("feature-cards-sequence"),
7444
+ treatment: "cards-sequence",
7445
+ roleMap: loomRoles
7446
+ },
7447
+ {
7448
+ id: id("event-calendar-ruled-rows"),
7449
+ treatment: "calendar-ruled-rows",
7450
+ roleMap: loomRoles
7451
+ },
7452
+ {
7453
+ id: id("event-calendar-grouped-by-day"),
7454
+ treatment: "calendar-grouped-by-day",
7455
+ roleMap: loomRoles
7456
+ },
7457
+ {
7458
+ id: id("event-calendar-next-three"),
7459
+ treatment: "calendar-next-three",
7460
+ roleMap: loomRoles
7461
+ },
7462
+ {
7463
+ id: id("events-spotlight"),
7464
+ treatment: "events-spotlight",
7465
+ roleMap: loomRoles
7466
+ },
7467
+ {
7468
+ id: id("events-recurring-week"),
7469
+ treatment: "events-recurring-week",
7470
+ roleMap: loomRoles
7471
+ },
7472
+ {
7473
+ id: id("hero-framed-title"),
7474
+ treatment: "hero-framed-title",
7475
+ roleMap: {
7476
+ ...loomRoles,
7477
+ highlight: "deep"
7478
+ }
7479
+ },
7480
+ {
7481
+ id: id("testimonials-quote-cards"),
7482
+ treatment: "quote-cards",
7483
+ roleMap: loomRoles
7484
+ },
7485
+ {
7486
+ id: id("testimonials-quote-columns"),
7487
+ treatment: "quote-columns",
7488
+ roleMap: loomRoles
7489
+ },
7490
+ {
7491
+ id: id("testimonials-one-quote"),
7492
+ treatment: "quote-single",
7493
+ roleMap: loomRoles
7494
+ },
7495
+ {
7496
+ id: id("testimonials-one-at-a-time"),
7497
+ treatment: "quote-one-at-a-time",
7498
+ roleMap: loomRoles
7499
+ },
7500
+ {
7501
+ id: id("testimonials-scroll-row"),
7502
+ treatment: "quote-scroll-row",
7503
+ roleMap: loomRoles
7504
+ },
7505
+ {
7506
+ id: id("event-calendar-month-day"),
7507
+ treatment: "calendar-month-day",
7508
+ roleMap: loomRoles
7509
+ },
7510
+ {
7511
+ id: id("intro-photo-beside-text"),
7512
+ treatment: "intro-photo-beside-text",
7513
+ roleMap: loomRoles
7514
+ },
7515
+ {
7516
+ id: id("newsletter-signup-one-row"),
7517
+ treatment: "signup-one-row",
7518
+ roleMap: loomRoles
7519
+ },
7520
+ {
7521
+ id: id("card-list-wide-slides"),
7522
+ treatment: "items-wide-slides",
7523
+ roleMap: loomRoles
7524
+ },
7525
+ {
7526
+ id: id("card-list-scroll-row"),
7527
+ treatment: "items-scroll-row",
7528
+ roleMap: loomRoles
7529
+ },
7530
+ {
7531
+ id: id("body-text-title-beside"),
7532
+ treatment: "body-beside",
7533
+ roleMap: loomRoles
7534
+ },
7535
+ {
7536
+ id: id("body-text-large-opening"),
7537
+ treatment: "body-opening",
7538
+ roleMap: loomRoles
7539
+ },
7540
+ {
7541
+ id: id("faq-title-beside-questions"),
7542
+ treatment: "faq-beside",
7543
+ roleMap: loomRoles
7544
+ },
7545
+ {
7546
+ id: id("faq-questions-two-columns"),
7547
+ treatment: "faq-columns",
7548
+ roleMap: loomRoles
7549
+ },
7550
+ {
7551
+ id: id("faq-all-answers-showing"),
7552
+ treatment: "faq-open",
7553
+ roleMap: loomRoles
7554
+ },
7555
+ {
7556
+ id: id("image-gallery-lead-photo"),
7557
+ treatment: "gallery-lead-photo",
7558
+ roleMap: loomRoles
7559
+ },
7560
+ {
7561
+ id: id("cta-title-beside-buttons"),
7562
+ treatment: "cta-title-beside-buttons",
7563
+ roleMap: loomRoles
7564
+ },
7565
+ {
7566
+ id: id("cta-figure-beside-offer"),
7567
+ treatment: "cta-figure-beside-offer",
7568
+ roleMap: loomRoles
7569
+ },
7570
+ {
7571
+ id: id("location-map-above-details"),
7572
+ treatment: "map-above-details",
7573
+ roleMap: loomRoles
7574
+ },
7575
+ {
7576
+ id: id("location-map-address-over-wide-map"),
7577
+ treatment: "map-address-over-wide-map",
7578
+ roleMap: loomRoles
7579
+ },
7580
+ {
7581
+ id: id("location-map-entrance-photo"),
7582
+ treatment: "map-entrance-photo",
7583
+ roleMap: loomRoles
7584
+ },
7585
+ {
7586
+ id: id("team-members-portrait-bio"),
7587
+ treatment: "team-portrait-bio",
7588
+ roleMap: loomRoles
7589
+ },
7590
+ {
7591
+ id: id("team-members-ruled-names"),
7592
+ treatment: "team-ruled-names",
7593
+ roleMap: loomRoles
7594
+ },
7595
+ {
7596
+ id: id("shop-price-cards"),
7597
+ treatment: "shop-price-cards",
7598
+ roleMap: loomRoles
7599
+ },
7600
+ {
7601
+ id: id("shop-ruled-prices"),
7602
+ treatment: "shop-ruled-prices",
7603
+ roleMap: loomRoles
7604
+ },
7605
+ {
7606
+ id: id("card-list-photos-on-top"),
7607
+ treatment: "items-photos-on-top",
7608
+ roleMap: loomRoles
7609
+ }
7610
+ ]
7611
+ };
7612
+ /** Folio: quiet sheets and band-coloured statements. */
6762
7613
  const folioRoles = {
6763
7614
  card: "sheet",
6764
7615
  statement: {
@@ -6851,6 +7702,11 @@ const folioLooks = {
6851
7702
  knobValues: quieterOrStandard,
6852
7703
  roleMap: folioRoles
6853
7704
  },
7705
+ {
7706
+ id: id("hero-short-photo-banner"),
7707
+ treatment: "hero-short-panel",
7708
+ roleMap: folioRoles
7709
+ },
6854
7710
  {
6855
7711
  id: id("hero-page-head"),
6856
7712
  treatment: "hero-ruled",
@@ -7198,6 +8054,11 @@ const fulcrumLooks = {
7198
8054
  knobValues: quieterOrStandard,
7199
8055
  roleMap: fulcrumRoles
7200
8056
  },
8057
+ {
8058
+ id: id("hero-short-photo-banner"),
8059
+ treatment: "short-panel",
8060
+ roleMap: fulcrumRoles
8061
+ },
7201
8062
  {
7202
8063
  id: id("hero-page-head"),
7203
8064
  treatment: "ruled",
@@ -7448,6 +8309,14 @@ const posterRoles = {
7448
8309
  statement: "brand",
7449
8310
  highlight: "pop"
7450
8311
  };
8312
+ /** The classic hero Looks: the copy block is a sheet, and joins a brand ground it would vanish on. */
8313
+ const posterPhotoGroundRoles = {
8314
+ ...posterRoles,
8315
+ card: {
8316
+ default: "sheet",
8317
+ brand: "section"
8318
+ }
8319
+ };
7451
8320
  const posterOffers = [
7452
8321
  {
7453
8322
  id: id("event-details-panel"),
@@ -7477,13 +8346,12 @@ const posterOffers = [
7477
8346
  {
7478
8347
  id: id("hero-photo-behind-text"),
7479
8348
  treatment: "band",
7480
- roleMap: {
7481
- ...posterRoles,
7482
- card: {
7483
- default: "sheet",
7484
- brand: "section"
7485
- }
7486
- }
8349
+ roleMap: posterPhotoGroundRoles
8350
+ },
8351
+ {
8352
+ id: id("hero-short-photo-banner"),
8353
+ treatment: "short-band",
8354
+ roleMap: posterPhotoGroundRoles
7487
8355
  },
7488
8356
  {
7489
8357
  id: id("hero-page-head"),
@@ -7964,6 +8832,11 @@ const lanternLooks = {
7964
8832
  knobValues: quieterOrStandard,
7965
8833
  roleMap: lanternVeilRoles
7966
8834
  },
8835
+ {
8836
+ id: id("hero-short-photo-banner"),
8837
+ treatment: "short-veil",
8838
+ roleMap: lanternVeilRoles
8839
+ },
7967
8840
  {
7968
8841
  id: id("hero-page-head"),
7969
8842
  treatment: "centred",
@@ -9369,6 +10242,103 @@ const curatedSiteStyles = [
9369
10242
  paletteRecommendation("soft-natural-sage"),
9370
10243
  paletteRecommendation("soft-natural-stone")
9371
10244
  ]
10245
+ }),
10246
+ defineCuratedSiteStyle({
10247
+ id: "site-style:loom",
10248
+ name: "Loom",
10249
+ offering: { kind: "lab" },
10250
+ description: "Stitched seams, sewn-label buttons and one strong patch of colour on each page. Warm and handmade, for studios and makers who teach.",
10251
+ generationBrief: "Use warm serif headings, clear working copy, flat grounds and one strong patch of colour. Keep workshop details and booking actions easy to find.",
10252
+ headingDecoration: noHeadingDecoration,
10253
+ tokenRecipes: {
10254
+ palette: "warm-neutral",
10255
+ contrast: "strong",
10256
+ radius: "soft",
10257
+ shadow: "none",
10258
+ typography: "classic-serif",
10259
+ spacing: "airy",
10260
+ motion: "subtle"
10261
+ },
10262
+ compositionBudget: accentLedQuietBudget,
10263
+ typography: loomTypography,
10264
+ heroTypography: groundedSerifHeroTypography,
10265
+ looks: loomLooks,
10266
+ contentTemplateDefaults: { event: "event-header" },
10267
+ themeOverrides: {
10268
+ accordions: editorialDividedAccordionSystem,
10269
+ testimonialQuote: serifDisplayQuote
10270
+ },
10271
+ headerStyleRecipes: { "serif-line": {
10272
+ tone: "neutral",
10273
+ background: {
10274
+ kind: "token",
10275
+ token: "background"
10276
+ },
10277
+ nav: {
10278
+ kind: "underline",
10279
+ hover: "underline",
10280
+ underlineColorToken: "accent"
10281
+ },
10282
+ navWeight: "semibold",
10283
+ navLinkWeight: "semibold",
10284
+ navTypography: "plain",
10285
+ border: "bottom",
10286
+ shadow: { kind: "explicit-none" },
10287
+ frame: { kind: "none" },
10288
+ logo: {
10289
+ fontFamily: "heading",
10290
+ letterSpacing: "normal",
10291
+ gradient: false
10292
+ },
10293
+ cta: { treatment: "primary" }
10294
+ } },
10295
+ footerLookRecipes: { "footer-links-row": {
10296
+ arrangement: "simple",
10297
+ ground: {
10298
+ kind: "style-surface",
10299
+ surface: "deep"
10300
+ },
10301
+ nav: {
10302
+ weight: "regular",
10303
+ colorToken: "primaryForeground",
10304
+ hoverColorToken: "primaryForeground",
10305
+ typography: "body"
10306
+ },
10307
+ legal: {
10308
+ kind: "separate",
10309
+ bar: {
10310
+ fullBleed: false,
10311
+ background: {
10312
+ kind: "style-surface",
10313
+ surface: "deep"
10314
+ },
10315
+ textColor: "primaryForeground",
10316
+ textAlign: "left",
10317
+ paddingY: "compact",
10318
+ paddingX: "none",
10319
+ borderTop: {
10320
+ width: "medium",
10321
+ colorToken: "primaryForeground"
10322
+ }
10323
+ }
10324
+ },
10325
+ brandAlign: "start",
10326
+ brandLogoSize: "md"
10327
+ } },
10328
+ recommendedFooterLookIds: ["footer-links-row"],
10329
+ buttonStyleChoices: [
10330
+ buttonChoice("sewn-label"),
10331
+ buttonChoice("square-outline", void 0, {
10332
+ corners: "soft",
10333
+ lineWeight: "heavy"
10334
+ }),
10335
+ buttonChoice("editorial-link", void 0, { underline: "persistent-mark" })
10336
+ ],
10337
+ paletteRecommendations: [
10338
+ paletteRecommendation("loom-hearth"),
10339
+ paletteRecommendation("loom-flax"),
10340
+ paletteRecommendation("loom-ember")
10341
+ ]
9372
10342
  })
9373
10343
  ];
9374
10344
  const curatedSiteStylesById = new Map(curatedSiteStyles.map((style) => [style.id, style]));
@@ -9402,7 +10372,10 @@ function curatedStyleTemplate(input) {
9402
10372
  };
9403
10373
  }
9404
10374
  curatedSiteStyles.forEach((style) => {
9405
- if (style.looks.kind === "offers") validateLookFallbacks(style.looks);
10375
+ if (style.looks.kind === "offers") {
10376
+ validateLookFallbacks(style.looks);
10377
+ validateCalendarModeOffers(style.looks);
10378
+ }
9406
10379
  (/* @__PURE__ */ new Set([...Object.values(style.footerLookRecipes ?? {}), ...style.recommendedFooterLookIds.map((id) => resolveFooterLookRecipe(style, id))])).forEach((recipe) => validateFooterRecipeSurfaces(style, recipe));
9407
10380
  });
9408
10381
  function withTeamLooks(looks, roleMap) {
@@ -9558,9 +10531,10 @@ function resolveModeArrangement(input) {
9558
10531
  }
9559
10532
  /** Mode is content-owned and independent of the selected Look. */
9560
10533
  function readStoredMode(manifest, content) {
9561
- if (manifest.variantMeaning.kind !== "mode") return null;
10534
+ const meaning = manifest.variantMeaning;
10535
+ if (meaning.kind !== "mode") return null;
9562
10536
  const stored = content.variant;
9563
- return typeof stored === "string" && manifest.keys.includes(stored) ? stored : manifestDefaultArrangement(manifest);
10537
+ return isArrangementMode(stored) && meaning.modes.includes(stored) ? stored : meaning.defaultMode;
9564
10538
  }
9565
10539
  function resolvePublishedLook(input, visited = /* @__PURE__ */ new Set()) {
9566
10540
  if (input.audience === "authoring" || visited.has(input.look.id)) return input.look;
@@ -9583,6 +10557,13 @@ function validateLookFallbacks(style, catalogue = appearancePresets.filter(isArr
9583
10557
  if (style.offers.some((offer) => catalogue.some((candidate) => candidate.id === offer.id && candidate.blockKinds.some((kind) => entry.blockKinds.includes(kind)) && lookModes(candidate).includes(mode))) && !fallbackEndsAtOffer(entry, mode, style, catalogue, /* @__PURE__ */ new Set())) throw new Error(`Invalid Look fallback for ${style.skin}: ${entry.id} (${mode ?? "default"})`);
9584
10558
  }));
9585
10559
  }
10560
+ /** Every admitted calendar mode needs an automatic Look before a style can load. */
10561
+ function validateCalendarModeOffers(style, catalogue = appearancePresets.filter(isArrangementAppearancePreset)) {
10562
+ const calendarLooks = catalogue.filter((look) => look.blockKinds.includes("block.event-calendar"));
10563
+ arrangementModes.forEach((mode) => {
10564
+ if (!calendarLooks.some((look) => lookModes(look).includes(mode) && style.offers.some((offer) => offer.id === look.id))) throw new Error(`Missing automatic calendar Look for ${style.skin}: ${mode}`);
10565
+ });
10566
+ }
9586
10567
  function fallbackEndsAtOffer(entry, mode, style, catalogue, visited) {
9587
10568
  if (visited.has(entry.id) || !lookModes(entry).includes(mode)) return false;
9588
10569
  if (style.offers.some((offer) => offer.id === entry.id)) return true;
@@ -9613,7 +10594,9 @@ const arrangementLookHooks = [
9613
10594
  "data-photo-count",
9614
10595
  "data-slot",
9615
10596
  "data-control",
9616
- "data-placeholder-field"
10597
+ "data-placeholder-field",
10598
+ "data-one-person",
10599
+ "data-team-about"
9617
10600
  ];
9618
10601
  appearancePresets.filter(isArrangementAppearancePreset);
9619
10602
  /** Closed structural hooks shared by block arrangements and bounded skins. */
@@ -9881,4 +10864,4 @@ function authoredTransparentHeaderForegroundInput(header, palette) {
9881
10864
  };
9882
10865
  }
9883
10866
  //#endregion
9884
- export { buildTextContrastShadow as A, resolveEffectiveKnobs as B, compiledRuntimeStyleFieldNames as C, generatedDesignOptionCatalog as D, parseGradientPresetId as E, pageDesignIntentV2Schema as F, cardListKnobBlocks as H, headerRootPaint as I, boundaryRuntimeMetricsForDecorativeTransition as L, normalizeLegacyPageDesignIntent as M, pageDesignDecisionsV2Schema as N, generateFooterCss as O, pageDesignIntentV1Schema as P, anglePolygonCss as R, requireCuratedSiteStyle as S, getGradientPreset as T, cardListFamilyBlocks as V, resolveEffectiveArrangement as _, readOpeningForegroundProjection as a, deriveSiteStyleBlockPolicy as b, headerNavTypographyPreferenceValues as c, arrangementLookHooks as d, arrangementSlotNames as f, readStoredMode as g, arrangementManifestFromVariants as h, transparentHeaderForegroundInput as i, generateNavLinkCSS as j, footerForegroundCandidates as k, mergeHeaderNavTypographyPreference as l, resolveLookSlotSurfaces as m, headerForegroundCandidates as n, defaultHeaderNavPreferences as o, resolveItemSurface as p, headerLeafTextColor as r, headerNavFontSizePreferenceValues as s, effectiveHeaderNavLinkStyle as t, readHeaderNavFontSizePreference as u, resolveModeArrangement as v, gradientToCss as w, curatedSiteStyleIdValues as x, resolvePublishedLook as y, transitionCatalogueEntries as z };
10867
+ export { footerForegroundCandidates as A, cardListKnobBlocks as B, requireCuratedSiteStyle as C, parseGradientPresetId as D, getGradientPreset as E, boundaryRuntimeMetricsForDecorativeTransition as F, anglePolygonCss as I, transitionCatalogueEntries as L, generateNavLinkCSS as M, pageDesignDecisionsV2Schema as N, generatedDesignOptionCatalog as O, headerRootPaint as P, resolveEffectiveKnobs as R, offeredSiteStyles as S, gradientToCss as T, resolveEffectiveArrangement as _, readOpeningForegroundProjection as a, deriveSiteStyleBlockPolicy as b, headerNavTypographyPreferenceValues as c, arrangementLookHooks as d, arrangementSlotNames as f, readStoredMode as g, arrangementManifestFromVariants as h, transparentHeaderForegroundInput as i, buildTextContrastShadow as j, generateFooterCss as k, mergeHeaderNavTypographyPreference as l, resolveLookSlotSurfaces as m, headerForegroundCandidates as n, defaultHeaderNavPreferences as o, resolveItemSurface as p, headerLeafTextColor as r, headerNavFontSizePreferenceValues as s, effectiveHeaderNavLinkStyle as t, readHeaderNavFontSizePreference as u, resolveModeArrangement as v, compiledRuntimeStyleFieldNames as w, curatedSiteStyleIdValues as x, resolvePublishedLook as y, cardListFamilyBlocks as z };