@riverbankcms/sdk 0.164.0 → 0.165.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 (198) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-CubPwupc.d.ts → BlocksIslandsHydrator-CdsSMQEv.d.ts} +1 -1
  2. package/dist/_dts/{Page-CDzsagB2.d.ts → Page-D6gp2Ipb.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-CPRQbRCI.d.ts → SdkPreviewMode-DNXAvnet.d.ts} +83 -71
  4. package/dist/_dts/{client-CbeYTSry.d.ts → client-BkkExozE.d.ts} +1 -1
  5. package/dist/_dts/{content-types--uYRIcIF.d.ts → content-types-CXNAD7ef.d.ts} +2 -2
  6. package/dist/_dts/{contracts-DJQYAOsv.d.ts → contracts-XRXhbLWP.d.ts} +4 -4
  7. package/dist/_dts/{footerPageOutline-CKkhBwgJ.d.ts → footerPageOutline-BP2bJYdY.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata--qd7NCIA.d.ts → generatePageMetadata-DcMtbztV.d.ts} +2 -2
  9. package/dist/_dts/{index-D_pQO-AS.d.ts → index-B4ozSzFP.d.ts} +35642 -35443
  10. package/dist/_dts/{index-DYQFmf--.d.ts → index-BdkHhyf8.d.ts} +1 -1
  11. package/dist/_dts/{index-BZE-1azr.d.ts → index-CQfJhOEA.d.ts} +2 -2
  12. package/dist/_dts/{index-BpEbwDM7.d.ts → index-CRRiddNp.d.ts} +4 -4
  13. package/dist/_dts/{index-CjdIn9-_.d.ts → index-C_3kdrUb.d.ts} +2 -2
  14. package/dist/_dts/{index-JS8WYgD3.d.ts → index-DAPTSmBM.d.ts} +401 -569
  15. package/dist/_dts/{index-DriYVLfT.d.ts → index-DKNEgSOS.d.ts} +2 -2
  16. package/dist/_dts/{index-wegfy7lf.d.ts → index-RXkE3a7M.d.ts} +3 -3
  17. package/dist/_dts/{loadContent-DUi94Qfk.d.ts → loadContent-B9vJMq3s.d.ts} +6 -6
  18. package/dist/_dts/{resolvePageContent-JDE0ry6T.d.ts → resolvePageContent-DIQyYUi-.d.ts} +2 -2
  19. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client.d.ts +6 -6
  22. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  23. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/index.d.ts +8 -8
  26. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  27. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  28. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  29. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  30. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  31. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  33. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  34. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  35. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  36. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  37. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  38. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  39. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  40. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  41. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  42. package/dist/_dts/sdk/src/server.d.ts +5 -5
  43. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  44. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  45. package/dist/_dts/{types-W40f2olO.d.ts → types-BDF73NzM.d.ts} +2 -2
  46. package/dist/_dts/{types-DiciZDrk.d.ts → types-Cl0nP6al.d.ts} +3 -3
  47. package/dist/_dts/{types-DubJnBnI.d.ts → types-mstFvhK4.d.ts} +7 -7
  48. package/dist/_dts/{validation-BF4_zNkR.d.ts → validation-DVWqSvjK.d.ts} +4 -4
  49. package/dist/client/{BlocksIslandsHydrator-64hFxF02.mjs → BlocksIslandsHydrator-CzKpH9Pm.mjs} +20 -20
  50. package/dist/client/{BookingMailingListNote-CSQyFm9J.mjs → BookingMailingListNote-rUqsBN7L.mjs} +1 -1
  51. package/dist/client/{CalendarNavigationChevron-Bvkx8Z7Y.mjs → CalendarNavigationChevron-YGzw2IPB.mjs} +6 -6
  52. package/dist/client/{CheckboxChoice-3PhxDxgR.mjs → CheckboxChoice-DlTC4J2a.mjs} +1 -1
  53. package/dist/client/{DemoBookingPortalAccess-pt2xXBQp.mjs → DemoBookingPortalAccess-D2LyS_Bi.mjs} +5 -5
  54. package/dist/client/{DemoPortalSignInLink-Qw780EfW.mjs → DemoPortalSignInLink-BaFg2Uit.mjs} +1 -1
  55. package/dist/client/{EventCalendar.client-DWoboRW5.mjs → EventCalendar.client-tRrhPscX.mjs} +17 -10
  56. package/dist/client/{EventCombined.client-C98ucpcP.mjs → EventCombined.client-6cfAVtnZ.mjs} +8 -8
  57. package/dist/client/{EventEmbeddedCheckoutStep-DHRlFfkp.mjs → EventEmbeddedCheckoutStep-CDNUpI0S.mjs} +2 -2
  58. package/dist/client/{EventItem-hrSyTApW.mjs → EventItem-dILw2PN_.mjs} +11 -5
  59. package/dist/client/{EventListWeekNavigation-C3t7H13W.mjs → EventListWeekNavigation-ClgLtjNY.mjs} +1 -1
  60. package/dist/client/{EventListing.client-Cp11sBX_.mjs → EventListing.client-BNueAHmU.mjs} +3 -3
  61. package/dist/client/{EventListing.view-Dd5QHIAf.mjs → EventListing.view-DtVbKVkt.mjs} +56 -12
  62. package/dist/client/{EventRegistrationPayment-ByT88VHR.mjs → EventRegistrationPayment-CzkG0NSJ.mjs} +10 -10
  63. package/dist/client/{LocationMapActions-BsepG5Vv.mjs → LocationMapActions-zWQsJhE5.mjs} +2 -2
  64. package/dist/client/{MapDrawingSvg-R4JMT4yd.mjs → MapDrawingSvg-D1AO_o4h.mjs} +1 -1
  65. package/dist/client/{Page-Dub71o3c.mjs → Page-DUr2YhFR.mjs} +1521 -235
  66. package/dist/client/{ProtectedSubmitButton-DGbgGvdh.mjs → ProtectedSubmitButton-2fJqT_NR.mjs} +1 -1
  67. package/dist/client/{SpamProtectionWidget-CRsKTQV-.mjs → SpamProtectionWidget-CCF6YLUX.mjs} +5 -3
  68. package/dist/client/{StepIndicator-Bp7MyutT.mjs → StepIndicator-udNHcpOT.mjs} +2 -2
  69. package/dist/client/{TabBarFragment-C4WJyybx.mjs → TabBarFragment-C_kt-PXh.mjs} +1 -1
  70. package/dist/client/{ThemedButton-BGVwNwE-.mjs → ThemedButton-Cfbo1bfh.mjs} +1 -1
  71. package/dist/client/{accordion-vCG_JC5t.mjs → accordion-3CYNWzTS.mjs} +1 -1
  72. package/dist/client/{altchaProtection-BWchRM3v.mjs → altchaProtection-DjIV9A5n.mjs} +1 -1
  73. package/dist/client/{booking-form.client-CHTbcZJM.mjs → booking-form.client-BSbWgLyx.mjs} +13 -13
  74. package/dist/client/{bookingForm-BxbUbzUr.mjs → bookingForm-2MoFBWSt.mjs} +4 -4
  75. package/dist/client/bookings.mjs +5 -5
  76. package/dist/client/{carousel-FM1mkkL0.mjs → carousel-Cu5mcpO-.mjs} +2 -2
  77. package/dist/client/{carousel.client-ChoLiWwD.mjs → carousel.client-CQLV8_Al.mjs} +1 -1
  78. package/dist/client/{cart-BDFhbh9j.mjs → cart-CDc6x9cR.mjs} +3 -3
  79. package/dist/client/{cart.client-x3HOke6T.mjs → cart.client-BWS2r5Ef.mjs} +1 -1
  80. package/dist/client/{checkout-BibhwnTd.mjs → checkout-CkxPqSwD.mjs} +3 -3
  81. package/dist/client/{checkout.client-CE4jUi0G.mjs → checkout.client-DJfomKQc.mjs} +1 -1
  82. package/dist/client/client.mjs +2 -2
  83. package/dist/client/{context-BNAM7NsW.mjs → context-CBV21-9L.mjs} +1 -1
  84. package/dist/client/{cta-ChiN1Vgg.mjs → cta-Bw-al3cs.mjs} +26 -2
  85. package/dist/client/{dateFormatting-QwBSo0hK.mjs → dateFormatting-CFIUJ4Uf.mjs} +1 -1
  86. package/dist/client/{demoPortalMagicLink-NwKJk6gn.mjs → demoPortalMagicLink-D0veHJyi.mjs} +1 -1
  87. package/dist/client/{enhanceHeaderSection-D4zqEBDl.mjs → enhanceHeaderSection-CEqqq92r.mjs} +3 -3
  88. package/dist/client/{event-details.client-jFyFjOIC.mjs → event-details.client-Bk2kQ7ax.mjs} +1 -1
  89. package/dist/client/{event-registration.client-BK_jVv3R.mjs → event-registration.client-QMqtIywj.mjs} +23 -14
  90. package/dist/client/{eventCalendar-DSkzejQh.mjs → eventCalendar-BTDTMosr.mjs} +4 -4
  91. package/dist/client/{eventCombined-BG-BEaYh.mjs → eventCombined-BC7a709c.mjs} +4 -4
  92. package/dist/client/{eventDetails-BhIwXAKe.mjs → eventDetails-DL08GpUc.mjs} +2 -2
  93. package/dist/client/{eventListing-DQtyO1Xj.mjs → eventListing-BfzuEQp_.mjs} +4 -4
  94. package/dist/client/{eventRegistration-DRTz8X0M.mjs → eventRegistration-Lfyzh1Ab.mjs} +4 -4
  95. package/dist/client/{form-GXqjObPC.mjs → form-L-xZOBUS.mjs} +3 -3
  96. package/dist/client/{form.client-CoKNba2e.mjs → form.client-BtpK3TZW.mjs} +6 -6
  97. package/dist/client/{form.parts-magB_epJ.mjs → form.parts-Djos5Un4.mjs} +3 -3
  98. package/dist/client/{formatDate-BiloOyjS.mjs → formatDate-DGmrm7YB.mjs} +1 -1
  99. package/dist/client/gifting/client.mjs +5 -5
  100. package/dist/client/{headerSection-BMQCPHT3.mjs → headerSection-f16OGkz-.mjs} +2 -2
  101. package/dist/client/{mediaAssets-BX-vWwQc.mjs → mediaAssets-DHAmrVIi.mjs} +1 -1
  102. package/dist/client/{mediaContext-CdqGYlWl.mjs → mediaContext-CwT6ZOm7.mjs} +1 -1
  103. package/dist/client/{newsletter-form.client-8orCez1z.mjs → newsletter-form.client-DpHNZc7k.mjs} +8 -8
  104. package/dist/client/{newsletter-form.parts-D8NgHY_F.mjs → newsletter-form.parts-CLGH20PL.mjs} +2 -2
  105. package/dist/client/{newsletterForm-BhBNsS3n.mjs → newsletterForm-BEU0Ocu9.mjs} +3 -3
  106. package/dist/client/{noop-C2vZse15.mjs → noop-CQU7tiMg.mjs} +8 -4
  107. package/dist/client/portal/client.mjs +13 -13
  108. package/dist/client/{product-detail.client-CQ0k0fbH.mjs → product-detail.client-Be-om1BT.mjs} +1 -1
  109. package/dist/client/{product-list.client-Xlr1P0x9.mjs → product-list.client-DR7hD5Vs.mjs} +1 -1
  110. package/dist/client/{productDetail-BsCao6X4.mjs → productDetail-BD42UOmG.mjs} +3 -3
  111. package/dist/client/{productList-Cc-PmbEe.mjs → productList-CSk8sXCl.mjs} +3 -3
  112. package/dist/client/{propsDecoder-DikkDJ9x.mjs → propsDecoder-C_Y6VYnF.mjs} +3 -3
  113. package/dist/client/{purchase-BMsWpx8y.mjs → purchase-BV5xfaZH.mjs} +1 -1
  114. package/dist/client/{registry.server-BpLZo3bC.mjs → registry.server-CIKtTsCl.mjs} +189 -162
  115. package/dist/client/rendering/client.mjs +27 -27
  116. package/dist/client/rendering/islands.mjs +1 -1
  117. package/dist/client/rendering.mjs +7 -7
  118. package/dist/client/{richText-coerce-WuMYrBm3.mjs → richText-coerce-spWtx86G.mjs} +1 -1
  119. package/dist/client/{routeIslandApiConfig-DNx6b07x.mjs → routeIslandApiConfig-CROHPlYS.mjs} +1 -1
  120. package/dist/client/{schema-DMUkBtIO.mjs → schema-BdSglH2X.mjs} +189 -20
  121. package/dist/client/{shop-DyXtB5TD.mjs → shop-DscvMz86.mjs} +3 -3
  122. package/dist/client/{shop-commerce-xjWH7-Ym.mjs → shop-commerce-CDUohm_2.mjs} +11 -11
  123. package/dist/client/{shop-commerce-store-CbBsS1kD.mjs → shop-commerce-store-B9nw4lRP.mjs} +1 -1
  124. package/dist/client/{shop.client-QOKqQPgK.mjs → shop.client-M3kNsVPi.mjs} +12 -12
  125. package/dist/client/{shop.interactive-BQdm441g.mjs → shop.interactive-BGmkdIAZ.mjs} +251 -24
  126. package/dist/client/{shopShared-CyW6MU48.mjs → shopShared-BdWp6LHa.mjs} +2 -2
  127. package/dist/client/{site-styles-BLHYJ8S7.mjs → site-styles-CWHmlVT5.mjs} +2612 -448
  128. package/dist/client/spam-protection.mjs +2 -2
  129. package/dist/client/{timetableModel-BgdkhRuA.mjs → timetableModel-Dynh5-j4.mjs} +10 -10
  130. package/dist/client/{useAvailableSlots-wmdo6uZ8.mjs → useAvailableSlots-Cw9paRPY.mjs} +3 -3
  131. package/dist/client/{useBookingNowIso-CUExAee1.mjs → useBookingNowIso-C9SF2rC6.mjs} +1 -1
  132. package/dist/client/{useDiscountApply-BRM-OoTN.mjs → useDiscountApply-B-QJfBg0.mjs} +2 -2
  133. package/dist/client/{useDiscountCodeUi-BEIvL31G.mjs → useDiscountCodeUi-Uvum8q9d.mjs} +1 -1
  134. package/dist/client/{useEventPagination-Dk3g64we.mjs → useEventPagination-BfM3xk6j.mjs} +9 -156
  135. package/dist/client/{view-BnaOmrap.mjs → view-DXOuduIr.mjs} +4 -4
  136. package/dist/client/{view-vhKGFfC3.mjs → view-DlkCDfuN.mjs} +45 -32
  137. package/dist/client/{wizardSteps-xqU4q63H.mjs → wizardSteps-DManVJpc.mjs} +49 -39
  138. package/dist/preview-next/before-render.mjs +2 -2
  139. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-43wIAWr4.mjs → EventEmbeddedCheckoutStep-Die6Y25O.mjs} +1 -1
  140. package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-Bp4BHLCL.mjs} +1 -1
  141. package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-Cb0JhM9p.mjs} +2 -2
  142. package/dist/preview-next/client/{PreviewEditorSidebar-C3AQVxQt.mjs → PreviewEditorSidebar-DEP3xD9K.mjs} +3566 -3197
  143. package/dist/preview-next/client/{PreviewEditorUI-C-1zDCR_.mjs → PreviewEditorUI-CxwlLBGw.mjs} +577 -172
  144. package/dist/preview-next/client/{SdkPreviewModeRuntime-C6Rhm2NQ.mjs → SdkPreviewModeRuntime-Cpe-XP8e.mjs} +1 -1
  145. package/dist/preview-next/client/{SdkPreviewModeRuntime-B47yHFL0.mjs → SdkPreviewModeRuntime-QDkMPASV.mjs} +3811 -4882
  146. package/dist/preview-next/client/{siteStyleAccess-BiSyYyyr.mjs → SiteChromeCustomizeButton-1JaoGOKX.mjs} +8506 -13317
  147. package/dist/preview-next/client/{ThemedButton-g7NPrsGp.mjs → ThemedButton-Dc6aJ34Z.mjs} +214 -23
  148. package/dist/preview-next/client/editorStatusDecision-DR4BBKhy.mjs +101 -0
  149. package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CqxuVAyz.mjs} +1 -1
  150. package/dist/preview-next/client/{previewChromeSurface-Cjwxv90x.mjs → previewChromeSurface-yuwnDP3B.mjs} +49 -6
  151. package/dist/preview-next/client/{previewAuthStore-By_zfrS5.mjs → previewSidebarNavigation-AXUj9-qQ.mjs} +205988 -193500
  152. package/dist/preview-next/client/runtime.mjs +3 -3
  153. package/dist/preview-next/client/{sdk-runtime-BG2HYvQj.mjs → sdk-runtime-O-eA9-rV.mjs} +1 -1
  154. package/dist/preview-next/keepAlive.mjs +3 -3
  155. package/dist/preview-next/middleware.mjs +2 -2
  156. package/dist/preview-next/{route-contract-D5tHZEz5.mjs → route-contract-BBAJjFIz.mjs} +11 -8
  157. package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
  158. package/dist/preview-next/session.mjs +1 -1
  159. package/dist/server/{Block.shared-Iy7g11iP.mjs → Block.shared-ClFI3qpX.mjs} +4 -4
  160. package/dist/server/{bindings-BVJGgUT0.mjs → bindings-Bi8EoRZD.mjs} +2 -2
  161. package/dist/server/{client-CiKaE8ms.mjs → client-DfMDbZ41.mjs} +2 -2
  162. package/dist/server/config-validation.mjs +1 -1
  163. package/dist/server/config.mjs +2 -2
  164. package/dist/server/{effectiveNavLinkStyle-EDSdd_oK.mjs → effectiveNavLinkStyle-BHIYPVG1.mjs} +2353 -214
  165. package/dist/server/index.mjs +3 -3
  166. package/dist/server/{loadContent-BuintpdO.mjs → loadContent-dEEhQxL7.mjs} +4 -4
  167. package/dist/server/loadPage-CnVB-aeL.mjs +2 -0
  168. package/dist/server/{loadPage-Dk4wea8M.mjs → loadPage-DBFBad8A.mjs} +2 -2
  169. package/dist/server/next/middleware.mjs +1 -1
  170. package/dist/server/next/revalidate.mjs +1 -1
  171. package/dist/server/next.mjs +11 -11
  172. package/dist/server/{overrideResolution-BDiQWM7D.mjs → overrideResolution-BIJbiXYc.mjs} +1 -1
  173. package/dist/server/{overrides-DVemf-GV.mjs → overrides-DhF87Vsd.mjs} +294 -103
  174. package/dist/server/page-converter.mjs +1 -1
  175. package/dist/server/{prebuild-DubLNgRH.mjs → prebuild-DaemmWQL.mjs} +1 -1
  176. package/dist/server/prebuild.mjs +1 -1
  177. package/dist/server/{prefetchBlockData-Bnbwoe5n.mjs → prefetchBlockData-FwcsT5H2.mjs} +293 -90
  178. package/dist/server/{publicProducts-D3Fc5TKk.mjs → publicProducts-Bz8loTRn.mjs} +13 -10
  179. package/dist/server/{registry-zjd1P2Dl.mjs → registry-Cdvz1OtL.mjs} +499 -374
  180. package/dist/server/rendering/server.mjs +4 -4
  181. package/dist/server/rendering.mjs +8 -8
  182. package/dist/server/{resolveBlockData-CZJ--nH6.mjs → resolveBlockData-CLpAJWWf.mjs} +1 -1
  183. package/dist/server/routing.mjs +1 -1
  184. package/dist/server/{schema-BlTWmTSl.mjs → schema-uSA_x1Zh.mjs} +189 -20
  185. package/dist/server/server.mjs +3 -3
  186. package/dist/server/{site-styles-yHytcXIB.mjs → site-styles-CntHn2KI.mjs} +55 -30
  187. package/dist/server/{siteChromeOverlayClearance-D0uCNZ7E.mjs → siteChromeOverlayClearance-DqP40Ka0.mjs} +2 -2
  188. package/dist/server/{src-cbbK3Bho.mjs → src-DsYPhTbs.mjs} +1009 -25
  189. package/dist/server/theme-bridge.mjs +1 -1
  190. package/dist/server/theme.mjs +1 -1
  191. package/dist/server/{themeAdmission-BdY8lP-K.mjs → themeAdmission-CSknYpxk.mjs} +2 -2
  192. package/dist/server/{validation-CGH-Xs4E.mjs → validation-DYxhLzqQ.mjs} +2 -2
  193. package/dist/server/{version-DoOG6F13.mjs → version-Beu4q-Gv.mjs} +1 -1
  194. package/dist/styles/index.css +914 -10
  195. package/package.json +1 -1
  196. package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
  197. package/dist/preview-next/client/spinner-DnWpeDp2.mjs +0 -67
  198. package/dist/server/loadPage-BwjncpJf.mjs +0 -2
@@ -1,4 +1,4 @@
1
- import { Bt as asDesignSystemTemplateId, Ht as asPageFlowPresetId, It as asBoundaryOptionId, Kt as defineExactCatalog, Lt as asDesignBlockId, Mt as arrangementModes, Nt as asAppearancePresetId, Or as rgbColorValue, Rt as asDesignBoundaryId, Un as unsafeAsOpaqueButtonColourToken, Ut as asSiteStyleId, Vt as asLayoutVariantKey, Wt as assertNever, Xn as expandPalette, Z as headerInteractionQuietPalette, Zt as flushPanelFrame, an as plainFrame, ar as paletteModeSchema, at as NAV_LINK_BORDER_RADIUS_MAP, br as surfaceForegroundValue, cr as requirePaletteColorsFromEntries, ct as NAV_LINK_PADDING_X_MAP, dt as navLinkOwnsHoverForeground, en as isArrangementMode, er as planForegroundHover, et as defaultButtonStyleSelectionFor, fr as featuresFromHex, ft as navLinkOwnsUnderline, in as panelFrame, ir as paletteColorsSchema, it as generateInteractiveChildInheritanceCSS, jr as parseThemeColorToken, kn as resolveSurface, lr as TokenResolver, lt as NAV_LINK_TEXT_SIZE_MAP, nn as noHeadingDecoration, nt as generateEffectsCSS, on as requireNonEmptyReadonlyArray, or as paletteValueKey, ot as NAV_LINK_LETTER_SPACING_MAP, pt as navEffectPolicy, q as cardRoleValues, rr as hexColorSchema, rt as generateBaseInteractiveCSS, sr as paletteValueKeySchema, st as NAV_LINK_PADDING_MAP, tn as makeBoundaryId, tt as buttonStyleSelectionSchema, ut as navLinkHoverColorCandidate, vr as surfaceForegroundInputFromResolved, xt as themeV2RuntimeStyleFieldNames, yt as siteChromeBackgroundOverrideOwner } from "./schema-BlTWmTSl.mjs";
1
+ import { An as resolveSurface, Gt as assertNever, Ht as asLayoutVariantKey, Lt as asBoundaryOptionId, Mr as parseThemeColorToken, Nt as arrangementModes, Pt as asAppearancePresetId, Qt as flushPanelFrame, Rt as asDesignBlockId, St as themeV2RuntimeStyleFieldNames, Ut as asPageFlowPresetId, Vt as asDesignSystemTemplateId, Wn as unsafeAsOpaqueButtonColourToken, Wt as asSiteStyleId, Z as headerInteractionQuietPalette, Zn as expandPalette, an as panelFrame, ar as paletteColorsSchema, at as NAV_LINK_BORDER_RADIUS_MAP, cr as paletteValueKeySchema, ct as NAV_LINK_PADDING_X_MAP, dt as navLinkOwnsHoverForeground, et as defaultButtonStyleSelectionFor, ft as navLinkOwnsUnderline, ir as hexColorSchema, it as generateInteractiveChildInheritanceCSS, kr as rgbColorValue, lr as requirePaletteColorsFromEntries, lt as NAV_LINK_TEXT_SIZE_MAP, nn as makeBoundaryId, nt as generateEffectsCSS, on as plainFrame, or as paletteModeSchema, ot as NAV_LINK_LETTER_SPACING_MAP, pr as featuresFromHex, pt as navEffectPolicy, q as cardRoleValues, qt as defineExactCatalog, rn as noHeadingDecoration, rt as generateBaseInteractiveCSS, sn as requireNonEmptyReadonlyArray, sr as paletteValueKey, st as NAV_LINK_PADDING_MAP, tn as isArrangementMode, tr as planForegroundHover, tt as buttonStyleSelectionSchema, ur as TokenResolver, ut as navLinkHoverColorCandidate, xr as surfaceForegroundValue, yr as surfaceForegroundInputFromResolved, yt as siteChromeBackgroundOverrideOwner, zt as asDesignBoundaryId } from "./schema-uSA_x1Zh.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. */
@@ -63,6 +63,9 @@ const lookKnobBlocks = {
63
63
  showPhotos: cardListKnobBlocks,
64
64
  cardMarker: cardListFamilyBlocks,
65
65
  dates: "block.offerings-preview",
66
+ columns: "block.feature-cards",
67
+ listColumns: "block.event-calendar",
68
+ blackAndWhite: "block.image-gallery",
66
69
  showCapacity: "block.event-calendar",
67
70
  quoteCount: "block.testimonials",
68
71
  archFrame: [
@@ -72,6 +75,11 @@ const lookKnobBlocks = {
72
75
  ],
73
76
  tilt: "block.testimonials"
74
77
  };
78
+ /** Facts about how the owner set the block up, rather than what they filled in. */
79
+ const lookSettingFacts = ["listed-by-week"];
80
+ function isLookSettingFact(fact) {
81
+ return lookSettingFacts.includes(fact);
82
+ }
75
83
  function isArrangementAppearancePreset(preset) {
76
84
  return preset.structure.kind === "arrangement";
77
85
  }
@@ -112,13 +120,15 @@ const arrangementLookTargets = {
112
120
  "cta-full": "cta",
113
121
  "location-map": "location"
114
122
  };
115
- function defineArrangementLook(id, block, name, arrangement, knobs, input = {}) {
123
+ function defineArrangementLook(id, block, name, arrangement, knobs, input) {
116
124
  const mode = block === "event-calendar" ? "list" : null;
125
+ const { thumbnail, ...structure } = input;
117
126
  return {
118
127
  id: asAppearancePresetId(id),
119
128
  blockKinds: [`block.${block}`],
120
129
  label: name,
121
130
  target: arrangementLookTargets[block],
131
+ thumbnail,
122
132
  structure: {
123
133
  kind: "arrangement",
124
134
  byMode: { [mode ?? "default"]: arrangement },
@@ -126,12 +136,13 @@ function defineArrangementLook(id, block, name, arrangement, knobs, input = {})
126
136
  itemRoles: {},
127
137
  whenMissing: [],
128
138
  styleFallback: [],
129
- ...input,
130
- ...cardListKnobDefaults(block, arrangement, knobs, input.knobDefaults)
139
+ photoUse: "none",
140
+ ...structure,
141
+ ...cardListKnobDefaults(block, arrangement, knobs, structure.knobDefaults)
131
142
  }
132
143
  };
133
144
  }
134
- function defineCardListLook(id, name, arrangement, requires, knobs, input = {}) {
145
+ function defineCardListLook(id, name, arrangement, requires, knobs, input) {
135
146
  const base = defineArrangementLook(id, "feature-cards", name, arrangement, knobs, input);
136
147
  return {
137
148
  ...base,
@@ -151,6 +162,119 @@ function defineCardListLook(id, name, arrangement, requires, knobs, input = {})
151
162
  };
152
163
  }
153
164
  //#endregion
165
+ //#region ../theme-core/src/site-styles/lookThumbnail.ts
166
+ /** Short builders, so each Look's drawing reads as one line in the catalogue. */
167
+ const sketch = {
168
+ page: (items, options = {}) => ({
169
+ ground: options.ground ?? "page",
170
+ align: options.align ?? "start",
171
+ items
172
+ }),
173
+ band: (items, options = {}) => ({
174
+ ground: "band",
175
+ align: options.align ?? "start",
176
+ items
177
+ }),
178
+ rule: { kind: "rule" },
179
+ title: (width = .55, size = "medium") => ({
180
+ kind: "title",
181
+ width,
182
+ size
183
+ }),
184
+ text: (lines = 3, width = 1) => ({
185
+ kind: "text",
186
+ lines,
187
+ width
188
+ }),
189
+ photo: (height = "medium", shape = "rect") => ({
190
+ kind: "photo",
191
+ shape,
192
+ height
193
+ }),
194
+ button: {
195
+ kind: "button",
196
+ style: "solid"
197
+ },
198
+ link: {
199
+ kind: "button",
200
+ style: "link"
201
+ },
202
+ field: { kind: "field" },
203
+ quote: (size = "small") => ({
204
+ kind: "quote",
205
+ size
206
+ }),
207
+ map: { kind: "map" },
208
+ calendar: { kind: "calendar" },
209
+ number: { kind: "number" },
210
+ price: { kind: "price" },
211
+ divider: { kind: "divider" },
212
+ row: (...columns) => ({
213
+ kind: "row",
214
+ align: "start",
215
+ columns: columns.map((column) => "items" in column ? column : {
216
+ weight: 1,
217
+ items: column
218
+ })
219
+ }),
220
+ middle: (...columns) => ({
221
+ kind: "row",
222
+ align: "center",
223
+ columns: columns.map((column) => "items" in column ? column : {
224
+ weight: 1,
225
+ items: column
226
+ })
227
+ }),
228
+ weight: (weight, items) => ({
229
+ weight,
230
+ items
231
+ }),
232
+ card: (items) => ({
233
+ kind: "box",
234
+ frame: "card",
235
+ items
236
+ }),
237
+ panel: (items) => ({
238
+ kind: "box",
239
+ frame: "panel",
240
+ items
241
+ }),
242
+ accentCard: (items) => ({
243
+ kind: "box",
244
+ frame: "accent",
245
+ items
246
+ }),
247
+ featured: (items) => ({
248
+ kind: "box",
249
+ frame: "featured",
250
+ items
251
+ }),
252
+ across: (count, item, options = {}) => ({
253
+ kind: "repeat",
254
+ count,
255
+ direction: "row",
256
+ item,
257
+ ruled: false,
258
+ overflow: options.overflow ?? false,
259
+ arrows: options.arrows ?? false
260
+ }),
261
+ down: (count, item, options = {}) => ({
262
+ kind: "repeat",
263
+ count,
264
+ direction: "column",
265
+ item,
266
+ ruled: options.ruled ?? false,
267
+ overflow: false,
268
+ arrows: false
269
+ }),
270
+ over: (photo, items, options = {}) => ({
271
+ kind: "overlay",
272
+ photo,
273
+ items,
274
+ panel: options.panel ?? false
275
+ })
276
+ };
277
+ //#endregion
154
278
  //#region ../theme-core/src/site-styles/lookOptionGroups.ts
155
279
  function defineLookOptionGroup(group) {
156
280
  defaultOption(group);
@@ -1156,35 +1280,93 @@ const appearancePresets = [
1156
1280
  eyebrowTreatment: "accent"
1157
1281
  }
1158
1282
  }),
1159
- defineArrangementLook("body-text-reading-column", "body-text", "Reading column", "prose", []),
1283
+ defineArrangementLook("body-text-reading-column", "body-text", "Reading column", "prose", [], { thumbnail: sketch.page([
1284
+ sketch.rule,
1285
+ sketch.title(.5),
1286
+ sketch.text(4)
1287
+ ], { align: "center" }) }),
1160
1288
  defineArrangementLook("form-beside-introduction-arched-panel", "form", "Introduction beside a framed form", "two-column", [], {
1289
+ thumbnail: sketch.page([sketch.middle([
1290
+ sketch.rule,
1291
+ sketch.title(.8),
1292
+ sketch.text(3)
1293
+ ], [sketch.panel([
1294
+ sketch.field,
1295
+ sketch.field,
1296
+ sketch.button
1297
+ ])])]),
1161
1298
  slotRoles: { panel: "card" },
1162
1299
  styleFallback: [id$1("form-below-introduction")]
1163
1300
  }),
1164
- defineArrangementLook("newsletter-signup-in-arch", "newsletter-signup", "Signup in a frame", "arch", [], { styleFallback: [id$1("newsletter-signup-text-beside")] }),
1165
- defineArrangementLook("image-gallery-square-tiles", "image-gallery", "Square tiles", "tiles", []),
1166
- defineArrangementLook("image-gallery-arched-captions", "image-gallery", "Arched photos with captions", "tiles", [], { styleFallback: [id$1("image-gallery-square-tiles")] }),
1301
+ defineArrangementLook("newsletter-signup-in-arch", "newsletter-signup", "Signup in a frame", "arch", [], {
1302
+ thumbnail: sketch.band([sketch.panel([
1303
+ sketch.title(.6),
1304
+ sketch.text(1, .7),
1305
+ sketch.row(sketch.weight(3, [sketch.field]), sketch.weight(1, [sketch.button]))
1306
+ ])], { align: "center" }),
1307
+ styleFallback: [id$1("newsletter-signup-text-beside")]
1308
+ }),
1309
+ defineArrangementLook("image-gallery-square-tiles", "image-gallery", "Square tiles", "tiles", ["blackAndWhite"], { thumbnail: sketch.page([
1310
+ sketch.title(.4),
1311
+ sketch.across(4, [sketch.photo("short")]),
1312
+ sketch.across(4, [sketch.photo("short")])
1313
+ ]) }),
1314
+ defineArrangementLook("image-gallery-arched-captions", "image-gallery", "Arched photos with captions", "tiles", ["blackAndWhite"], {
1315
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.photo("tall", "arch"), sketch.text(1, .7)])]),
1316
+ styleFallback: [id$1("image-gallery-square-tiles")]
1317
+ }),
1167
1318
  defineArrangementLook("media-text-circle-beside-text", "media-text", "Circle beside the text", "circle-beside", ["imagePosition"], {
1319
+ thumbnail: sketch.page([sketch.middle([sketch.photo("medium", "circle")], [sketch.title(.8), sketch.text(3)])]),
1168
1320
  forcedKnobs: {
1169
1321
  imageShape: "circle",
1170
1322
  aspectRatio: "1/1"
1171
1323
  },
1172
1324
  styleFallback: [id$1("media-text-photo-beside-text")]
1173
1325
  }),
1174
- defineArrangementLook("hero-photo-beside-text", "hero", "Photo beside the text", "split", heroKnobs, { slotRoles: { sticker: "highlight" } }),
1326
+ defineArrangementLook("hero-photo-beside-text", "hero", "Photo beside the text", "split", heroKnobs, {
1327
+ photoUse: "beside",
1328
+ thumbnail: sketch.page([sketch.middle([
1329
+ sketch.rule,
1330
+ sketch.title(.95, "large"),
1331
+ sketch.title(.7, "large"),
1332
+ sketch.text(2),
1333
+ sketch.button
1334
+ ], [sketch.photo("tall")])]),
1335
+ slotRoles: { sticker: "highlight" }
1336
+ }),
1175
1337
  defineArrangementLook("hero-headline-row", "hero", "Big headline, then text and photo", "headline-row", heroKnobs, {
1338
+ photoUse: "beside",
1339
+ thumbnail: sketch.page([sketch.title(.9, "large"), sketch.row([sketch.text(3), sketch.button], [sketch.photo("medium")])]),
1176
1340
  slotRoles: { sticker: "highlight" },
1177
1341
  styleFallback: [id$1("hero-photo-beside-text")]
1178
1342
  }),
1179
1343
  defineArrangementLook("hero-copy-over-gallery", "hero", "Title over a row of photos", "copy-over-gallery", ["titleSize", "stickerLine"], {
1344
+ photoUse: "beside",
1345
+ thumbnail: sketch.page([
1346
+ sketch.title(.6, "large"),
1347
+ sketch.text(1, .5),
1348
+ sketch.across(3, [sketch.photo("short")])
1349
+ ], { align: "center" }),
1180
1350
  slotRoles: { sticker: "highlight" },
1181
1351
  styleFallback: [id$1("hero-photo-beside-text")]
1182
1352
  }),
1183
1353
  defineArrangementLook("hero-photo-behind-text", "hero", "Photo behind the text", "classic", ["titleSize", "smallCaption"], {
1354
+ photoUse: "behind",
1355
+ thumbnail: sketch.page([sketch.over("full", [
1356
+ sketch.title(.7, "large"),
1357
+ sketch.text(2, .7),
1358
+ sketch.button
1359
+ ], { panel: true })]),
1184
1360
  slotRoles: { copy: "card" },
1185
1361
  styleFallback: [id$1("hero-photo-beside-text")]
1186
1362
  }),
1187
1363
  defineArrangementLook("hero-text-over-photo", "hero", "Text over photo", "classic", [], {
1364
+ photoUse: "behind",
1365
+ thumbnail: sketch.page([sketch.over("full", [
1366
+ sketch.title(.6, "large"),
1367
+ sketch.text(2, .6),
1368
+ sketch.button
1369
+ ])]),
1188
1370
  photoTreatment: "text-overlay",
1189
1371
  whenMissing: [{
1190
1372
  fact: "photo",
@@ -1193,22 +1375,45 @@ const appearancePresets = [
1193
1375
  styleFallback: [id$1("hero-photo-behind-text")]
1194
1376
  }),
1195
1377
  defineArrangementLook("hero-short-photo-banner", "hero", "Short photo banner", "classic", [], {
1378
+ photoUse: "behind",
1379
+ thumbnail: sketch.page([sketch.over("banner", [sketch.title(.6)], { panel: true })]),
1196
1380
  slotRoles: { copy: "card" },
1197
1381
  styleFallback: [id$1("hero-page-head")]
1198
1382
  }),
1199
- defineArrangementLook("hero-page-head", "hero", "Title and facts, no photo", "page-head", ["titleSize", "smallCaption"], { styleFallback: [id$1("hero-photo-beside-text")] }),
1383
+ defineArrangementLook("hero-page-head", "hero", "Title and facts, no photo", "page-head", ["titleSize", "smallCaption"], {
1384
+ photoUse: "none",
1385
+ thumbnail: sketch.page([
1386
+ sketch.rule,
1387
+ sketch.title(.6, "large"),
1388
+ sketch.text(1, .5),
1389
+ sketch.row([sketch.text(1, .7)], [sketch.text(1, .7)], [sketch.text(1, .7)])
1390
+ ]),
1391
+ styleFallback: [id$1("hero-photo-beside-text")]
1392
+ }),
1200
1393
  defineCardListLook("feature-cards-cards", "Cards", "cards", [
1201
1394
  "media",
1202
1395
  "title",
1203
1396
  "text",
1204
1397
  "action"
1205
- ], ["showPhotos", "cardMarker"], { itemRoles: { items: "card" } }),
1398
+ ], [
1399
+ "showPhotos",
1400
+ "cardMarker",
1401
+ "columns"
1402
+ ], {
1403
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([sketch.title(.7, "small"), sketch.text(2)])])]),
1404
+ itemRoles: { items: "card" }
1405
+ }),
1206
1406
  defineCardListLook("card-list-accent-edged-cards", "Accent-edged cards", "cards", [
1207
1407
  "media",
1208
1408
  "title",
1209
1409
  "text",
1210
1410
  "action"
1211
- ], ["showPhotos", "cardMarker"], {
1411
+ ], [
1412
+ "showPhotos",
1413
+ "cardMarker",
1414
+ "columns"
1415
+ ], {
1416
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.accentCard([sketch.title(.7, "small"), sketch.text(2)])])]),
1212
1417
  itemRoles: { items: "card" },
1213
1418
  styleFallback: [id$1("feature-cards-cards")]
1214
1419
  }),
@@ -1217,7 +1422,12 @@ const appearancePresets = [
1217
1422
  "title",
1218
1423
  "text",
1219
1424
  "action"
1220
- ], ["showPhotos", "cardMarker"], {
1425
+ ], [
1426
+ "showPhotos",
1427
+ "cardMarker",
1428
+ "columns"
1429
+ ], {
1430
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.title(.7, "small"), sketch.text(3)])]),
1221
1431
  knobDefaults: { actionStyle: "link" },
1222
1432
  styleFallback: [id$1("feature-cards-cards")]
1223
1433
  }),
@@ -1227,6 +1437,11 @@ const appearancePresets = [
1227
1437
  "text",
1228
1438
  "action"
1229
1439
  ], ["showPhotos"], {
1440
+ thumbnail: sketch.page([sketch.row(sketch.weight(4, [sketch.featured([
1441
+ sketch.photo("medium"),
1442
+ sketch.title(.7),
1443
+ sketch.text(2)
1444
+ ])]), sketch.weight(3, [sketch.down(2, [sketch.title(.7, "small"), sketch.text(2)])]))]),
1230
1445
  itemRoles: { at: { first: "statement" } },
1231
1446
  styleFallback: [id$1("feature-cards-cards")]
1232
1447
  }),
@@ -1235,6 +1450,7 @@ const appearancePresets = [
1235
1450
  "text",
1236
1451
  "action"
1237
1452
  ], ["cardMarker"], {
1453
+ thumbnail: sketch.page([sketch.title(.4), sketch.down(3, [sketch.row(sketch.weight(1, [sketch.title(.8, "small")]), sketch.weight(2, [sketch.text(1)]))], { ruled: true })]),
1238
1454
  knobDefaults: { cardMarker: "none" },
1239
1455
  knobValues: { cardMarker: ["numbers", "none"] },
1240
1456
  styleFallback: [id$1("feature-cards-cards")]
@@ -1244,6 +1460,11 @@ const appearancePresets = [
1244
1460
  "text",
1245
1461
  "action"
1246
1462
  ], [], {
1463
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [
1464
+ sketch.number,
1465
+ sketch.title(.7, "small"),
1466
+ sketch.text(2)
1467
+ ])]),
1247
1468
  forcedKnobs: { cardMarker: "numbers" },
1248
1469
  styleFallback: [id$1("feature-cards-cards")]
1249
1470
  }),
@@ -1255,105 +1476,210 @@ const appearancePresets = [
1255
1476
  "schedule",
1256
1477
  "action"
1257
1478
  ], ["showPhotos"], {
1479
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([
1480
+ sketch.photo("short"),
1481
+ sketch.title(.7, "small"),
1482
+ sketch.text(1),
1483
+ sketch.link
1484
+ ])])]),
1258
1485
  knobDefaults: {
1259
1486
  actionStyle: "link",
1260
1487
  cardMarker: "none"
1261
1488
  },
1262
1489
  styleFallback: [id$1("feature-cards-cards")]
1263
1490
  }),
1264
- defineArrangementLook("event-calendar-ruled-rows", "event-calendar", "Ruled rows", "ledger", ["showCapacity"]),
1265
- defineArrangementLook("event-calendar-grouped-by-day", "event-calendar", "Grouped by day", "day-groups", ["showCapacity"], { styleFallback: [id$1("event-calendar-ruled-rows")] }),
1266
- defineArrangementLook("event-calendar-session-cards", "event-calendar", "Session cards", "grid", ["showCapacity", "showPhotos"], {
1491
+ defineArrangementLook("event-calendar-ruled-rows", "event-calendar", "Ruled rows", "ledger", ["showCapacity"], { thumbnail: sketch.band([sketch.title(.4), sketch.panel([sketch.down(3, [sketch.row(sketch.weight(1, [sketch.title(.6, "small")]), sketch.weight(3, [sketch.text(2, .8)]), sketch.weight(1, [sketch.link]))], { ruled: true })])]) }),
1492
+ defineArrangementLook("event-calendar-grouped-by-day", "event-calendar", "Grouped by day", "day-groups", ["showCapacity"], {
1493
+ thumbnail: sketch.band([sketch.title(.4), sketch.down(2, [sketch.title(.2, "small"), sketch.panel([sketch.down(2, [sketch.row(sketch.weight(3, [sketch.text(1)]), sketch.weight(1, [sketch.link]))], { ruled: true })])])]),
1494
+ styleFallback: [id$1("event-calendar-ruled-rows")]
1495
+ }),
1496
+ {
1497
+ ...defineArrangementLook("event-calendar-week-columns", "event-calendar", "The week in columns", "week-columns", [], { thumbnail: sketch.band([sketch.title(.4), sketch.across(5, [sketch.title(.5, "small"), sketch.down(2, [sketch.card([sketch.text(1)])])])]) }),
1498
+ structure: {
1499
+ kind: "arrangement",
1500
+ byMode: { list: "week-columns" },
1501
+ knobs: ["showCapacity"],
1502
+ itemRoles: {},
1503
+ whenMissing: [{
1504
+ fact: "listed-by-week",
1505
+ look: id$1("event-calendar-grouped-by-day")
1506
+ }],
1507
+ styleFallback: [id$1("event-calendar-grouped-by-day")],
1508
+ photoUse: "none"
1509
+ }
1510
+ },
1511
+ defineArrangementLook("event-calendar-session-cards", "event-calendar", "Session cards", "grid", [
1512
+ "showCapacity",
1513
+ "showPhotos",
1514
+ "listColumns"
1515
+ ], {
1516
+ thumbnail: sketch.band([sketch.title(.4), sketch.across(3, [sketch.card([
1517
+ sketch.title(.4, "small"),
1518
+ sketch.title(.8, "small"),
1519
+ sketch.text(1),
1520
+ sketch.button
1521
+ ])])]),
1267
1522
  itemRoles: { items: "card" },
1268
1523
  slotRoles: { date: "highlight" },
1269
1524
  styleFallback: [id$1("event-calendar-ruled-rows")]
1270
1525
  }),
1271
1526
  defineArrangementLook("event-calendar-next-three", "event-calendar", "Compact rows", "compact", ["showCapacity"], {
1527
+ thumbnail: sketch.page([sketch.title(.4), sketch.panel([sketch.down(3, [sketch.row(sketch.weight(3, [sketch.text(1)]), sketch.weight(1, [sketch.link]))], { ruled: true })])]),
1272
1528
  itemRoles: { container: "card" },
1273
1529
  styleFallback: [id$1("event-calendar-ruled-rows")]
1274
1530
  }),
1275
- defineArrangementLook("events-spotlight", "event-calendar", "Event spotlight", "grid", ["showCapacity", "showPhotos"], {
1531
+ defineArrangementLook("events-spotlight", "event-calendar", "Event spotlight", "grid", [
1532
+ "showCapacity",
1533
+ "showPhotos",
1534
+ "listColumns"
1535
+ ], {
1536
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([
1537
+ sketch.photo("short"),
1538
+ sketch.title(.8, "small"),
1539
+ sketch.text(1),
1540
+ sketch.button
1541
+ ])])]),
1276
1542
  itemRoles: { items: "card" },
1277
1543
  slotRoles: { date: "highlight" },
1278
1544
  styleFallback: [id$1("event-calendar-session-cards")]
1279
1545
  }),
1280
1546
  {
1281
- ...defineArrangementLook("events-recurring-week", "event-calendar", "Weekly schedule", "ledger", []),
1547
+ ...defineArrangementLook("events-recurring-week", "event-calendar", "Weekly schedule", "ledger", [], { thumbnail: sketch.page([sketch.title(.4), sketch.across(5, [sketch.title(.6, "small"), sketch.down(2, [sketch.card([sketch.text(1)])])])]) }),
1282
1548
  structure: {
1283
1549
  kind: "arrangement",
1284
1550
  byMode: { week: "ledger" },
1285
1551
  knobs: [],
1286
1552
  itemRoles: {},
1287
1553
  whenMissing: [],
1288
- styleFallback: []
1554
+ styleFallback: [],
1555
+ photoUse: "none"
1289
1556
  }
1290
1557
  },
1291
- defineArrangementLook("hero-framed-title", "hero", "Title framed between two photos", "copy-over-gallery", ["titleSize", "smallCaption"], { styleFallback: [id$1("hero-copy-over-gallery")] }),
1292
- defineArrangementLook("testimonials-lead-quote", "testimonials", "Big quote with others beside", "lead-rest", ["quoteCount"], { knobDescriptions: { quoteCount: "Shows your chosen quotes: the first one large, the rest beside it." } }),
1558
+ defineArrangementLook("hero-framed-title", "hero", "Title framed between two photos", "copy-over-gallery", ["titleSize", "smallCaption"], {
1559
+ photoUse: "beside",
1560
+ thumbnail: sketch.page([sketch.middle([sketch.photo("tall")], [sketch.title(.95, "large"), sketch.title(.7, "large")], [sketch.photo("tall")])]),
1561
+ styleFallback: [id$1("hero-copy-over-gallery")]
1562
+ }),
1563
+ defineArrangementLook("testimonials-lead-quote", "testimonials", "Big quote with others beside", "lead-rest", ["quoteCount"], {
1564
+ thumbnail: sketch.band([sketch.row(sketch.weight(3, [
1565
+ sketch.quote("large"),
1566
+ sketch.title(.95, "small"),
1567
+ sketch.title(.8, "small"),
1568
+ sketch.text(1, .3)
1569
+ ]), sketch.weight(2, [sketch.down(2, [sketch.text(2), sketch.text(1, .3)])]))]),
1570
+ knobDescriptions: { quoteCount: "Shows your chosen quotes: the first one large, the rest beside it." }
1571
+ }),
1293
1572
  defineArrangementLook("testimonials-quote-cards", "testimonials", "Quote cards", "columns", ["quoteCount"], {
1573
+ thumbnail: sketch.band([sketch.title(.4), sketch.across(3, [sketch.card([sketch.quote(), sketch.text(3)])])]),
1294
1574
  knobDescriptions: { quoteCount: "Shows your chosen quotes as cards in a row." },
1295
1575
  itemRoles: { items: "card" },
1296
1576
  styleFallback: [id$1("testimonials-quote-columns")]
1297
1577
  }),
1298
1578
  defineArrangementLook("testimonials-quote-columns", "testimonials", "Quotes in open columns", "columns", ["quoteCount"], {
1579
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.quote(), sketch.text(3)])]),
1299
1580
  knobDescriptions: { quoteCount: "Shows your chosen quotes in columns." },
1300
1581
  styleFallback: [id$1("testimonials-lead-quote")]
1301
1582
  }),
1302
- defineArrangementLook("testimonials-one-quote", "testimonials", "One quote", "single", [], { styleFallback: [id$1("testimonials-lead-quote")] }),
1583
+ defineArrangementLook("testimonials-one-quote", "testimonials", "One quote", "single", [], {
1584
+ thumbnail: sketch.page([
1585
+ sketch.quote("large"),
1586
+ sketch.title(.8, "small"),
1587
+ sketch.title(.7, "small"),
1588
+ sketch.text(1, .3)
1589
+ ], { align: "center" }),
1590
+ styleFallback: [id$1("testimonials-lead-quote")]
1591
+ }),
1303
1592
  defineArrangementLook("testimonials-one-at-a-time", "testimonials", "One at a time, with arrows", "slides", ["quoteCount"], {
1593
+ thumbnail: sketch.band([sketch.across(1, [sketch.card([sketch.quote(), sketch.text(3)])], { arrows: true })]),
1304
1594
  knobDescriptions: { quoteCount: "Shows your chosen quotes, one at a time." },
1305
1595
  styleFallback: [id$1("testimonials-one-quote")]
1306
1596
  }),
1307
1597
  defineArrangementLook("testimonials-scroll-row", "testimonials", "A row of cards you can scroll", "track", ["quoteCount"], {
1598
+ thumbnail: sketch.band([sketch.title(.4), sketch.across(4, [sketch.card([sketch.quote(), sketch.text(2)])], { overflow: true })]),
1308
1599
  knobDescriptions: { quoteCount: "Shows your chosen quotes in a row you can scroll." },
1309
1600
  itemRoles: { items: "card" },
1310
1601
  styleFallback: [id$1("testimonials-quote-cards")]
1311
1602
  }),
1312
1603
  {
1313
- ...defineArrangementLook("event-calendar-month-grid", "event-calendar", "Month grid", "month-grid", []),
1604
+ ...defineArrangementLook("event-calendar-month-grid", "event-calendar", "Month grid", "month-grid", [], { thumbnail: sketch.page([sketch.title(.4), sketch.calendar]) }),
1314
1605
  structure: {
1315
1606
  kind: "arrangement",
1316
1607
  byMode: { calendar: "month-grid" },
1317
1608
  knobs: [],
1318
1609
  itemRoles: {},
1319
1610
  whenMissing: [],
1320
- styleFallback: []
1611
+ styleFallback: [],
1612
+ photoUse: "none"
1321
1613
  }
1322
1614
  },
1323
1615
  {
1324
- ...defineArrangementLook("event-calendar-month-day", "event-calendar", "Calendar beside the day", "month-day", []),
1616
+ ...defineArrangementLook("event-calendar-month-day", "event-calendar", "Calendar beside the day", "month-day", [], { thumbnail: sketch.page([sketch.row(sketch.weight(2, [sketch.calendar]), sketch.weight(1, [sketch.title(.6, "small"), sketch.down(3, [sketch.text(1)], { ruled: true })]))]) }),
1325
1617
  structure: {
1326
1618
  kind: "arrangement",
1327
1619
  byMode: { calendar: "month-day" },
1328
1620
  knobs: [],
1329
1621
  itemRoles: {},
1330
1622
  whenMissing: [],
1331
- styleFallback: [id$1("event-calendar-month-grid")]
1623
+ styleFallback: [id$1("event-calendar-month-grid")],
1624
+ photoUse: "none"
1332
1625
  }
1333
1626
  },
1334
1627
  defineArrangementLook("event-details-header", "event-details", "Event header", "event-header", [], {
1628
+ thumbnail: sketch.page([
1629
+ sketch.rule,
1630
+ sketch.title(.7, "large"),
1631
+ sketch.text(1, .5),
1632
+ sketch.middle([sketch.text(1)], [sketch.text(1)], [sketch.button])
1633
+ ]),
1335
1634
  actionSize: "lg",
1336
1635
  slotRoles: { availability: "highlight" }
1337
1636
  }),
1338
1637
  defineArrangementLook("event-details-panel", "event-details", "Details panel", "details-panel", [], {
1638
+ thumbnail: sketch.page([sketch.row(sketch.weight(2, [sketch.title(.8, "large"), sketch.text(4)]), sketch.weight(1, [sketch.panel([sketch.text(3), sketch.button])]))]),
1339
1639
  slotRoles: { panel: "card" },
1340
1640
  styleFallback: [id$1("event-details-header")]
1341
1641
  }),
1342
- defineArrangementLook("intro-statement-beside-text", "intro", "Big statement beside the text", "statement-copy", [], { styleFallback: [id$1("intro-photo-beside-text")] }),
1343
- defineArrangementLook("intro-photo-beside-text", "intro", "Small photo beside the text", "media-copy", ["imagePosition", "imageShape"], { whenMissing: [{
1344
- fact: "photo",
1345
- look: id$1("intro-statement-beside-text")
1346
- }] }),
1347
- defineArrangementLook("media-text-photo-beside-text", "media-text", "Photo beside the text", "default", ["imagePosition", "imageShape"]),
1642
+ defineArrangementLook("intro-statement-beside-text", "intro", "Big statement beside the text", "statement-copy", [], {
1643
+ thumbnail: sketch.page([sketch.row([sketch.title(.95, "large"), sketch.title(.8, "large")], [sketch.text(5)])]),
1644
+ styleFallback: [id$1("intro-photo-beside-text")]
1645
+ }),
1646
+ defineArrangementLook("intro-photo-beside-text", "intro", "Small photo beside the text", "media-copy", ["imagePosition", "imageShape"], {
1647
+ thumbnail: sketch.page([sketch.middle(sketch.weight(1, [sketch.photo("medium")]), sketch.weight(2, [sketch.title(.7), sketch.text(3)]))]),
1648
+ whenMissing: [{
1649
+ fact: "photo",
1650
+ look: id$1("intro-statement-beside-text")
1651
+ }]
1652
+ }),
1653
+ defineArrangementLook("media-text-photo-beside-text", "media-text", "Photo beside the text", "default", ["imagePosition", "imageShape"], { thumbnail: sketch.page([sketch.middle([sketch.photo("tall")], [
1654
+ sketch.rule,
1655
+ sketch.title(.8),
1656
+ sketch.text(3)
1657
+ ])]) }),
1348
1658
  defineArrangementLook("newsletter-signup-one-row", "newsletter-signup", "Signup in one row", "inline", [], {
1659
+ thumbnail: sketch.band([
1660
+ sketch.title(.6),
1661
+ sketch.text(1, .6),
1662
+ sketch.row(sketch.weight(3, [sketch.field]), sketch.weight(1, [sketch.button]))
1663
+ ]),
1349
1664
  slotRoles: { panel: "card" },
1350
1665
  styleFallback: [id$1("newsletter-signup-text-beside")]
1351
1666
  }),
1352
1667
  defineArrangementLook("newsletter-signup-text-beside", "newsletter-signup", "Text beside the signup", "editorial-split", [], {
1668
+ thumbnail: sketch.band([sketch.middle([sketch.title(.9), sketch.text(2)], [sketch.field, sketch.button])]),
1353
1669
  slotRoles: { panel: "card" },
1354
1670
  styleFallback: [id$1("newsletter-signup-in-arch")]
1355
1671
  }),
1356
1672
  defineArrangementLook("form-below-introduction", "form", "Form below its introduction", "default", [], {
1673
+ thumbnail: sketch.page([
1674
+ sketch.rule,
1675
+ sketch.title(.5),
1676
+ sketch.text(2, .7),
1677
+ sketch.panel([
1678
+ sketch.field,
1679
+ sketch.field,
1680
+ sketch.button
1681
+ ])
1682
+ ]),
1357
1683
  slotRoles: { panel: "card" },
1358
1684
  styleFallback: [id$1("form-beside-introduction-arched-panel")]
1359
1685
  }),
@@ -1363,6 +1689,11 @@ const appearancePresets = [
1363
1689
  "text",
1364
1690
  "action"
1365
1691
  ], ["showPhotos"], {
1692
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(1, [sketch.card([sketch.row([sketch.photo("medium")], [
1693
+ sketch.title(.7, "small"),
1694
+ sketch.text(2),
1695
+ sketch.button
1696
+ ])])], { arrows: true })]),
1366
1697
  itemRoles: { items: "card" },
1367
1698
  slotRoles: { date: "highlight" },
1368
1699
  knobDefaults: {
@@ -1377,6 +1708,11 @@ const appearancePresets = [
1377
1708
  "text",
1378
1709
  "action"
1379
1710
  ], ["showPhotos"], {
1711
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(4, [sketch.card([
1712
+ sketch.photo("short"),
1713
+ sketch.title(.7, "small"),
1714
+ sketch.text(1)
1715
+ ])], { overflow: true })]),
1380
1716
  itemRoles: { items: "card" },
1381
1717
  slotRoles: { date: "highlight" },
1382
1718
  knobDefaults: {
@@ -1385,30 +1721,77 @@ const appearancePresets = [
1385
1721
  },
1386
1722
  styleFallback: [id$1("feature-cards-cards")]
1387
1723
  }),
1388
- defineArrangementLook("body-text-title-beside", "body-text", "Title beside the text", "prose", [], { styleFallback: [id$1("body-text-reading-column")] }),
1389
- defineArrangementLook("body-text-large-opening", "body-text", "Large opening paragraph", "prose", [], { styleFallback: [id$1("body-text-reading-column")] }),
1390
- defineArrangementLook("faq-questions-under-title", "faq", "Questions under the title", "default", []),
1391
- defineArrangementLook("faq-title-beside-questions", "faq", "Title beside the questions", "two-column", [], { styleFallback: [id$1("faq-questions-under-title")] }),
1392
- defineArrangementLook("faq-questions-two-columns", "faq", "Questions in two columns", "question-columns", [], { styleFallback: [id$1("faq-questions-under-title")] }),
1393
- defineArrangementLook("faq-all-answers-showing", "faq", "All answers showing", "open", [], { styleFallback: [id$1("faq-questions-two-columns")] }),
1394
- defineArrangementLook("image-gallery-lead-photo", "image-gallery", "One large photo, then smaller ones", "tiles", [], { styleFallback: [id$1("image-gallery-square-tiles")] }),
1395
- defineArrangementLook("image-gallery-captions-under", "image-gallery", "Photos with captions underneath", "tiles", [], { styleFallback: [id$1("image-gallery-arched-captions"), id$1("image-gallery-square-tiles")] }),
1396
- defineArrangementLook("cta-centred", "cta-full", "Centred, buttons below", "default", []),
1397
- defineArrangementLook("cta-title-beside-buttons", "cta-full", "Title beside the buttons", "default", [], { styleFallback: [id$1("cta-centred")] }),
1724
+ defineArrangementLook("body-text-title-beside", "body-text", "Title beside the text", "prose", [], {
1725
+ thumbnail: sketch.page([sketch.row(sketch.weight(2, [
1726
+ sketch.rule,
1727
+ sketch.title(.9),
1728
+ sketch.title(.6)
1729
+ ]), sketch.weight(3, [sketch.text(5)]))]),
1730
+ styleFallback: [id$1("body-text-reading-column")]
1731
+ }),
1732
+ defineArrangementLook("body-text-large-opening", "body-text", "Large opening paragraph", "prose", [], {
1733
+ thumbnail: sketch.page([
1734
+ sketch.title(.45),
1735
+ sketch.title(.95, "small"),
1736
+ sketch.title(.8, "small"),
1737
+ sketch.text(2)
1738
+ ]),
1739
+ styleFallback: [id$1("body-text-reading-column")]
1740
+ }),
1741
+ defineArrangementLook("faq-questions-under-title", "faq", "Questions under the title", "default", [], { thumbnail: sketch.page([sketch.title(.4), sketch.down(4, [sketch.text(1, .7)], { ruled: true })]) }),
1742
+ defineArrangementLook("faq-title-beside-questions", "faq", "Title beside the questions", "two-column", [], {
1743
+ thumbnail: sketch.page([sketch.row(sketch.weight(1, [sketch.rule, sketch.title(.9)]), sketch.weight(2, [sketch.down(4, [sketch.text(1, .8)], { ruled: true })]))]),
1744
+ styleFallback: [id$1("faq-questions-under-title")]
1745
+ }),
1746
+ defineArrangementLook("faq-questions-two-columns", "faq", "Questions in two columns", "question-columns", [], {
1747
+ thumbnail: sketch.page([sketch.title(.4), sketch.row([sketch.down(3, [sketch.text(1, .8)], { ruled: true })], [sketch.down(3, [sketch.text(1, .8)], { ruled: true })])]),
1748
+ styleFallback: [id$1("faq-questions-under-title")]
1749
+ }),
1750
+ defineArrangementLook("faq-all-answers-showing", "faq", "All answers showing", "open", [], {
1751
+ thumbnail: sketch.page([sketch.title(.4), sketch.down(3, [sketch.title(.5, "small"), sketch.text(2)])]),
1752
+ styleFallback: [id$1("faq-questions-two-columns")]
1753
+ }),
1754
+ defineArrangementLook("image-gallery-lead-photo", "image-gallery", "One large photo, then smaller ones", "tiles", ["blackAndWhite"], {
1755
+ thumbnail: sketch.page([sketch.row(sketch.weight(2, [sketch.photo("tall")]), sketch.weight(1, [sketch.photo("short"), sketch.photo("short")]))]),
1756
+ styleFallback: [id$1("image-gallery-square-tiles")]
1757
+ }),
1758
+ defineArrangementLook("image-gallery-captions-under", "image-gallery", "Photos with captions underneath", "tiles", ["blackAndWhite"], {
1759
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.photo("medium"), sketch.text(1, .8)])]),
1760
+ styleFallback: [id$1("image-gallery-arched-captions"), id$1("image-gallery-square-tiles")]
1761
+ }),
1762
+ defineArrangementLook("cta-centred", "cta-full", "Centred, buttons below", "default", [], { thumbnail: sketch.band([
1763
+ sketch.title(.6),
1764
+ sketch.text(1, .5),
1765
+ sketch.middle([sketch.button], [sketch.link])
1766
+ ], { align: "center" }) }),
1767
+ defineArrangementLook("cta-title-beside-buttons", "cta-full", "Title beside the buttons", "default", [], {
1768
+ thumbnail: sketch.band([sketch.middle(sketch.weight(3, [sketch.title(.9)]), sketch.weight(1, [sketch.button]))]),
1769
+ styleFallback: [id$1("cta-centred")]
1770
+ }),
1398
1771
  defineArrangementLook("cta-figure-beside-offer", "cta-full", "Big figure beside the offer", "figure", [], {
1772
+ thumbnail: sketch.band([sketch.middle(sketch.weight(1, [sketch.title(.8, "large")]), sketch.weight(2, [
1773
+ sketch.title(.7, "small"),
1774
+ sketch.text(2),
1775
+ sketch.button
1776
+ ]))]),
1399
1777
  whenMissing: [{
1400
1778
  fact: "figure",
1401
1779
  look: id$1("cta-centred")
1402
1780
  }],
1403
1781
  styleFallback: [id$1("cta-centred")]
1404
1782
  }),
1405
- defineArrangementLook("location-map-above-details", "location-map", "Map above the details", "default", []),
1406
- defineArrangementLook("location-map-beside-address", "location-map", "Map beside the address", "map-and-details", [], { styleFallback: [id$1("location-map-above-details")] }),
1783
+ defineArrangementLook("location-map-above-details", "location-map", "Map above the details", "default", [], { thumbnail: sketch.page([sketch.map, sketch.row([sketch.text(2)], [sketch.text(2)])]) }),
1784
+ defineArrangementLook("location-map-beside-address", "location-map", "Map beside the address", "map-and-details", [], {
1785
+ thumbnail: sketch.page([sketch.middle(sketch.weight(2, [sketch.map]), sketch.weight(1, [sketch.title(.7, "small"), sketch.text(3)]))]),
1786
+ styleFallback: [id$1("location-map-above-details")]
1787
+ }),
1407
1788
  defineArrangementLook("location-map-address-over-wide-map", "location-map", "Address over a wide map", "map-and-details", [], {
1789
+ thumbnail: sketch.page([sketch.over("map", [sketch.title(.7, "small"), sketch.text(3)], { panel: true })]),
1408
1790
  slotRoles: { panel: "card" },
1409
1791
  styleFallback: [id$1("location-map-beside-address")]
1410
1792
  }),
1411
1793
  defineArrangementLook("location-map-entrance-photo", "location-map", "Entrance photo beside the details", "photo-and-details", [], {
1794
+ thumbnail: sketch.page([sketch.middle([sketch.photo("tall")], [sketch.title(.7, "small"), sketch.text(3)])]),
1412
1795
  whenMissing: [{
1413
1796
  fact: "entrance",
1414
1797
  look: id$1("location-map-beside-address")
@@ -1424,6 +1807,11 @@ const appearancePresets = [
1424
1807
  "chips",
1425
1808
  "action"
1426
1809
  ], ["showPhotos"], {
1810
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(4, [
1811
+ sketch.photo("tall"),
1812
+ sketch.title(.7, "small"),
1813
+ sketch.text(1, .6)
1814
+ ])]),
1427
1815
  knobDefaults: { actionStyle: "link" },
1428
1816
  styleFallback: [id$1("team-members-ruled-names")]
1429
1817
  }),
@@ -1438,6 +1826,7 @@ const appearancePresets = [
1438
1826
  "chips",
1439
1827
  "action"
1440
1828
  ], ["showPhotos"], {
1829
+ thumbnail: sketch.page([sketch.down(2, [sketch.row(sketch.weight(1, [sketch.photo("medium")]), sketch.weight(3, [sketch.title(.5, "small"), sketch.text(2)]))])]),
1441
1830
  teamBiography: "profile",
1442
1831
  knobDefaults: { actionStyle: "link" },
1443
1832
  styleFallback: [id$1("team-members-tall-portraits")]
@@ -1452,6 +1841,7 @@ const appearancePresets = [
1452
1841
  "chips",
1453
1842
  "action"
1454
1843
  ], [], {
1844
+ thumbnail: sketch.page([sketch.title(.4), sketch.down(4, [sketch.row([sketch.title(.7, "small")], [sketch.text(1, .8)])], { ruled: true })]),
1455
1845
  forcedKnobs: {
1456
1846
  showPhotos: "false",
1457
1847
  cardMarker: "none"
@@ -1468,6 +1858,12 @@ const appearancePresets = [
1468
1858
  "price",
1469
1859
  "action"
1470
1860
  ], [], {
1861
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([
1862
+ sketch.title(.6, "small"),
1863
+ sketch.price,
1864
+ sketch.text(2),
1865
+ sketch.button
1866
+ ])])]),
1471
1867
  itemRoles: { items: "card" },
1472
1868
  styleFallback: [id$1("shop-ruled-prices")]
1473
1869
  }),
@@ -1478,6 +1874,22 @@ const appearancePresets = [
1478
1874
  "price",
1479
1875
  "action"
1480
1876
  ], [], {
1877
+ thumbnail: sketch.page([sketch.title(.4), sketch.row([sketch.card([
1878
+ sketch.title(.6, "small"),
1879
+ sketch.price,
1880
+ sketch.text(2),
1881
+ sketch.button
1882
+ ])], [sketch.featured([
1883
+ sketch.title(.6, "small"),
1884
+ sketch.price,
1885
+ sketch.text(2),
1886
+ sketch.button
1887
+ ])], [sketch.card([
1888
+ sketch.title(.6, "small"),
1889
+ sketch.price,
1890
+ sketch.text(2),
1891
+ sketch.button
1892
+ ])])]),
1481
1893
  itemRoles: {
1482
1894
  items: "card",
1483
1895
  featured: "statement"
@@ -1495,6 +1907,7 @@ const appearancePresets = [
1495
1907
  "price",
1496
1908
  "action"
1497
1909
  ], [], {
1910
+ thumbnail: sketch.page([sketch.title(.4), sketch.down(4, [sketch.row(sketch.weight(3, [sketch.title(.6, "small")]), sketch.weight(1, [sketch.price]))], { ruled: true })]),
1498
1911
  forcedKnobs: { cardMarker: "none" },
1499
1912
  knobDefaults: { actionStyle: "link" },
1500
1913
  styleFallback: [id$1("feature-cards-index")]
@@ -1507,6 +1920,11 @@ const appearancePresets = [
1507
1920
  "facts",
1508
1921
  "action"
1509
1922
  ], ["showPhotos"], {
1923
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [
1924
+ sketch.photo("tall"),
1925
+ sketch.title(.7, "small"),
1926
+ sketch.text(1)
1927
+ ])]),
1510
1928
  knobDefaults: {
1511
1929
  actionStyle: "link",
1512
1930
  dates: "summary"
@@ -1876,6 +2294,40 @@ function stableTreatmentKey(treatment) {
1876
2294
  }
1877
2295
  }
1878
2296
  //#endregion
2297
+ //#region ../theme-core/src/site-styles/sectionShape.ts
2298
+ /** The palette tokens whose sections draw as fields: a lookup derived from the declarations. */
2299
+ function fieldGroundTokens(surfaces) {
2300
+ return Object.values(surfaces).flatMap((surface) => surface.kind === "token" && surface.sectionShape === "field" ? [surface.token] : []);
2301
+ }
2302
+ /** The one shape decision for a section, from its resolved ground token. */
2303
+ function sectionShapeForGround(fieldGrounds, groundToken) {
2304
+ return fieldGrounds.includes(groundToken) ? "field" : "edge-to-edge";
2305
+ }
2306
+ /**
2307
+ * A field surface must own its token: a section painted with a token both a
2308
+ * field and an edge-to-edge surface declare could not say which it is.
2309
+ */
2310
+ function validateSectionSurfaces(skin, surfaces) {
2311
+ const fields = fieldGroundTokens(surfaces);
2312
+ Object.entries(surfaces).forEach(([name, surface]) => {
2313
+ if (surface.kind === "token" && surface.sectionShape !== "field" && fields.includes(surface.token)) throw new Error(`Ambiguous section shape for ${skin}: ${name} shares ${surface.token} with a field surface`);
2314
+ });
2315
+ }
2316
+ /** The section hook carrying a field; absent for edge-to-edge sections, so their markup is unchanged. */
2317
+ function sectionShapeHook(shape) {
2318
+ return shape === "field" ? { "data-shape": "field" } : {};
2319
+ }
2320
+ /** Reads the decided shape back from final render content; anything else is edge to edge. */
2321
+ function sectionShapeFromContent(content) {
2322
+ const hooks = content._lookHooks;
2323
+ return typeof hooks === "object" && hooks !== null && "data-shape" in hooks && hooks["data-shape"] === "field" ? "field" : "edge-to-edge";
2324
+ }
2325
+ /** The booking bar paints with a declared token surface; anything else is a catalogue mistake. */
2326
+ function validateBookingBarSurface(skin, bookingBar, surfaces) {
2327
+ if (bookingBar === void 0) return;
2328
+ if (surfaces[bookingBar.surface]?.kind !== "token") throw new Error(`Booking bar for ${skin} needs a declared token surface: ${bookingBar.surface}`);
2329
+ }
2330
+ //#endregion
1879
2331
  //#region ../theme-core/src/header/rootPaint.ts
1880
2332
  /** Detached branding needs protection even when the navigation has its own rail. */
1881
2333
  function headerNeedsPhotoShade(header) {
@@ -2025,7 +2477,8 @@ const bookingPageLookIdValues = [
2025
2477
  "site-style:measure",
2026
2478
  "site-style:grounded-practice",
2027
2479
  "site-style:lantern",
2028
- "site-style:poster"
2480
+ "site-style:poster",
2481
+ "site-style:loom"
2029
2482
  ];
2030
2483
  /** Boundary admission for draft and suggestion inputs. */
2031
2484
  function parseBookingPageLookId(value) {
@@ -2058,6 +2511,10 @@ const bookingLookGroundLimits = {
2058
2511
  "site-style:lantern": {
2059
2512
  lightness: [.12, .34],
2060
2513
  maxChroma: .07
2514
+ },
2515
+ "site-style:loom": {
2516
+ lightness: [.88, 1],
2517
+ maxChroma: .04
2061
2518
  }
2062
2519
  };
2063
2520
  const contrast = (against, ratio = 3) => ({
@@ -2129,7 +2586,12 @@ const lightReading = [
2129
2586
  "muted"
2130
2587
  ];
2131
2588
  /** Fulcrum: a quiet stone page, white sheets, a strong mid-tone on the buttons, a deep plate behind the opening panel. */
2589
+ const fulcrumButtons = {
2590
+ roles: ["primary"],
2591
+ name: "the buttons"
2592
+ };
2132
2593
  const fulcrum = {
2594
+ buttonSlot: fulcrumButtons,
2133
2595
  roles: {
2134
2596
  ...lightGrounds(bookingLookGroundLimits["site-style:fulcrum"], {
2135
2597
  page: .008,
@@ -2180,10 +2642,7 @@ const fulcrum = {
2180
2642
  roles: ["secondary"],
2181
2643
  name: "the plate"
2182
2644
  },
2183
- {
2184
- roles: ["primary"],
2185
- name: "the buttons"
2186
- },
2645
+ fulcrumButtons,
2187
2646
  {
2188
2647
  roles: ["accent"],
2189
2648
  name: "the small marks"
@@ -2218,7 +2677,12 @@ const fulcrum = {
2218
2677
  }]
2219
2678
  };
2220
2679
  /** Folio: warm paper, sheets and a band; buttons and links share the primary (hovering to its 800 shade); small rules and marks. */
2680
+ const folioButtons = {
2681
+ roles: ["primary"],
2682
+ name: "the buttons and links"
2683
+ };
2221
2684
  const folio = {
2685
+ buttonSlot: folioButtons,
2222
2686
  roles: {
2223
2687
  ...lightGrounds(bookingLookGroundLimits["site-style:folio"], {
2224
2688
  page: .012,
@@ -2265,10 +2729,7 @@ const folio = {
2265
2729
  roles: ["muted"],
2266
2730
  name: "the band"
2267
2731
  },
2268
- {
2269
- roles: ["primary"],
2270
- name: "the buttons and links"
2271
- },
2732
+ folioButtons,
2272
2733
  {
2273
2734
  roles: ["accent"],
2274
2735
  name: "the marks"
@@ -2303,7 +2764,12 @@ const folio = {
2303
2764
  }]
2304
2765
  };
2305
2766
  /** Measure: one plain page. Flat buttons that fill with the secondary on hover, and a small square. */
2767
+ const measureButtons = {
2768
+ roles: ["primary"],
2769
+ name: "the buttons"
2770
+ };
2306
2771
  const measure = {
2772
+ buttonSlot: measureButtons,
2307
2773
  roles: {
2308
2774
  ...lightGrounds(bookingLookGroundLimits["site-style:measure"], {
2309
2775
  page: .008,
@@ -2347,10 +2813,7 @@ const measure = {
2347
2813
  ]
2348
2814
  }
2349
2815
  },
2350
- slots: [{
2351
- roles: ["primary"],
2352
- name: "the buttons"
2353
- }, {
2816
+ slots: [measureButtons, {
2354
2817
  roles: ["accent"],
2355
2818
  name: "the small square"
2356
2819
  }],
@@ -2387,7 +2850,12 @@ const measure = {
2387
2850
  }]
2388
2851
  };
2389
2852
  /** Grounded Practice: an inset panel on the muted colour opens the page; links and buttons share the primary. */
2853
+ const groundedButtons = {
2854
+ roles: ["primary"],
2855
+ name: "the buttons and links"
2856
+ };
2390
2857
  const grounded = {
2858
+ buttonSlot: groundedButtons,
2391
2859
  roles: {
2392
2860
  ...lightGrounds(bookingLookGroundLimits["site-style:grounded-practice"], {
2393
2861
  page: .012,
@@ -2431,10 +2899,7 @@ const grounded = {
2431
2899
  slots: [{
2432
2900
  roles: ["muted"],
2433
2901
  name: "the opening panel"
2434
- }, {
2435
- roles: ["primary"],
2436
- name: "the buttons and links"
2437
- }],
2902
+ }, groundedButtons],
2438
2903
  order: [
2439
2904
  ...groundOrder,
2440
2905
  "primary",
@@ -2469,7 +2934,12 @@ const grounded = {
2469
2934
  * and the accent on every ornament and the candle glow.
2470
2935
  */
2471
2936
  const lanternLimits = bookingLookGroundLimits["site-style:lantern"];
2937
+ const lanternButtons = {
2938
+ roles: ["accent", "primary"],
2939
+ name: "the gilt buttons"
2940
+ };
2472
2941
  const lantern = {
2942
+ buttonSlot: lanternButtons,
2473
2943
  roles: {
2474
2944
  background: {
2475
2945
  l: [.14, .22],
@@ -2549,10 +3019,7 @@ const lantern = {
2549
3019
  slots: [{
2550
3020
  roles: ["muted"],
2551
3021
  name: "the band"
2552
- }, {
2553
- roles: ["accent", "primary"],
2554
- name: "the gilt buttons"
2555
- }],
3022
+ }, lanternButtons],
2556
3023
  order: [
2557
3024
  ...groundOrder,
2558
3025
  "accent",
@@ -2591,6 +3058,97 @@ const posterBand = {
2591
3058
  roles: ["muted", "surfaceAlt"],
2592
3059
  name: "a faint tint of it on the band"
2593
3060
  };
3061
+ const posterButtons = {
3062
+ roles: ["accent"],
3063
+ name: "the pop buttons and stickers"
3064
+ };
3065
+ const poster = {
3066
+ buttonSlot: posterButtons,
3067
+ roles: {
3068
+ ...lightGrounds(bookingLookGroundLimits["site-style:poster"], {
3069
+ page: .008,
3070
+ band: .04,
3071
+ bandL: [.92, .96]
3072
+ }),
3073
+ primary: {
3074
+ l: [.3, .62],
3075
+ c: [.08, .25],
3076
+ target: .48,
3077
+ name: "the big block",
3078
+ mention: true,
3079
+ needs: [
3080
+ contrast("surface", 3.6),
3081
+ contrast("background"),
3082
+ label
3083
+ ]
3084
+ },
3085
+ accent: {
3086
+ l: [.62, .95],
3087
+ c: [.08, .25],
3088
+ target: .86,
3089
+ name: "the pop buttons and stickers",
3090
+ mention: true,
3091
+ analogous: true,
3092
+ needs: [
3093
+ contrast("primary"),
3094
+ label,
3095
+ distinct("primary", .15)
3096
+ ]
3097
+ },
3098
+ secondary: {
3099
+ l: [.15, .32],
3100
+ c: [.03, .15],
3101
+ target: .24,
3102
+ name: "the hard shadows",
3103
+ needs: [distinct("primary", .1)]
3104
+ }
3105
+ },
3106
+ slots: [{
3107
+ roles: ["primary"],
3108
+ name: "the big block"
3109
+ }, posterButtons],
3110
+ order: [
3111
+ ...groundOrder,
3112
+ "primary",
3113
+ "accent",
3114
+ "secondary"
3115
+ ],
3116
+ neutrals: {
3117
+ dark: [.2, .04],
3118
+ light: [1, 0]
3119
+ },
3120
+ reading: lightReading,
3121
+ groundLimit: bookingLookGroundLimits["site-style:poster"].maxChroma,
3122
+ contrast: [{
3123
+ label: "the complement on the pop buttons",
3124
+ hue: "complement",
3125
+ second: "accent",
3126
+ lead: "primary",
3127
+ alsoTints: posterBand,
3128
+ l: .82,
3129
+ c: [.12, .15]
3130
+ }, {
3131
+ label: "a warm triadic partner on the pop buttons",
3132
+ hue: "triadic-warm",
3133
+ second: "accent",
3134
+ lead: "primary",
3135
+ alsoTints: posterBand,
3136
+ l: .82,
3137
+ c: [.12, .15]
3138
+ }]
3139
+ };
3140
+ /**
3141
+ * Loom: warm paper, a band on the quieter ground (Loom's band is surfaceAlt,
3142
+ * not muted), white sheets, filled buttons and a tack in the mark colour.
3143
+ * Every seam and sheet edge is stitched in the border colour, so the border
3144
+ * is a visible thread rather than a faint rule. The footer sits on the
3145
+ * secondary.
3146
+ */
3147
+ const loomLimits = bookingLookGroundLimits["site-style:loom"];
3148
+ const loomButtons = {
3149
+ roles: ["primary"],
3150
+ name: "the buttons"
3151
+ };
2594
3152
  /** Keyed by the offered looks, so a booking look without a colour spec doesn't compile. */
2595
3153
  const bookingLookColourSpecs = {
2596
3154
  "site-style:fulcrum": fulcrum,
@@ -2598,81 +3156,120 @@ const bookingLookColourSpecs = {
2598
3156
  "site-style:measure": measure,
2599
3157
  "site-style:grounded-practice": grounded,
2600
3158
  "site-style:lantern": lantern,
2601
- "site-style:poster": {
3159
+ "site-style:poster": poster,
3160
+ "site-style:loom": {
3161
+ buttonSlot: loomButtons,
2602
3162
  roles: {
2603
- ...lightGrounds(bookingLookGroundLimits["site-style:poster"], {
2604
- page: .008,
2605
- band: .04,
2606
- bandL: [.92, .96]
3163
+ ...lightGrounds(loomLimits, {
3164
+ page: .012,
3165
+ band: .03,
3166
+ bandL: [.9, .945]
2607
3167
  }),
3168
+ surfaceAlt: {
3169
+ l: [.9, .945],
3170
+ c: [0, .03],
3171
+ chromaShare: .3,
3172
+ target: .925,
3173
+ name: "the band",
3174
+ needs: [distinct("background", .03)]
3175
+ },
3176
+ muted: {
3177
+ l: [.93, .965],
3178
+ c: [0, .03],
3179
+ chromaShare: .25,
3180
+ target: .948,
3181
+ name: "the quieter panels",
3182
+ needs: [distinct("background", .015)]
3183
+ },
3184
+ border: {
3185
+ l: [.5, .65],
3186
+ c: [0, .05],
3187
+ chromaShare: .35,
3188
+ target: .58,
3189
+ name: "the stitching",
3190
+ needs: [
3191
+ contrast("background"),
3192
+ contrast("surfaceAlt"),
3193
+ contrast("surface")
3194
+ ]
3195
+ },
2608
3196
  primary: {
2609
- l: [.3, .62],
2610
- c: [.08, .25],
3197
+ l: [.3, .56],
3198
+ c: [.03, .15],
2611
3199
  target: .48,
2612
- name: "the big block",
3200
+ name: "the buttons",
2613
3201
  mention: true,
2614
3202
  needs: [
2615
- contrast("surface", 3.6),
2616
3203
  contrast("background"),
3204
+ contrast("surface"),
3205
+ contrast("surfaceAlt"),
2617
3206
  label
2618
3207
  ]
2619
3208
  },
3209
+ secondary: {
3210
+ l: [.18, .34],
3211
+ c: [.01, .08],
3212
+ target: .27,
3213
+ name: "the footer",
3214
+ mention: true,
3215
+ needs: [label, distinct("primary", .08)]
3216
+ },
2620
3217
  accent: {
2621
- l: [.62, .95],
2622
- c: [.08, .25],
2623
- target: .86,
2624
- name: "the pop buttons and stickers",
3218
+ l: [.38, .66],
3219
+ c: [.05, .15],
3220
+ target: .52,
3221
+ name: "the small marks",
2625
3222
  mention: true,
2626
3223
  analogous: true,
2627
3224
  needs: [
2628
- contrast("primary"),
2629
- label,
2630
- distinct("primary", .15)
3225
+ contrast("background"),
3226
+ contrast("surface"),
3227
+ contrast("surfaceAlt"),
3228
+ distinct("primary", .1)
2631
3229
  ]
2632
- },
2633
- secondary: {
2634
- l: [.15, .32],
2635
- c: [.03, .15],
2636
- target: .24,
2637
- name: "the hard shadows",
2638
- needs: [distinct("primary", .1)]
2639
3230
  }
2640
3231
  },
2641
- slots: [{
2642
- roles: ["primary"],
2643
- name: "the big block"
2644
- }, {
2645
- roles: ["accent"],
2646
- name: "the pop buttons and stickers"
2647
- }],
3232
+ slots: [
3233
+ {
3234
+ roles: ["surfaceAlt"],
3235
+ name: "the band"
3236
+ },
3237
+ loomButtons,
3238
+ {
3239
+ roles: ["accent"],
3240
+ name: "the small marks"
3241
+ }
3242
+ ],
2648
3243
  order: [
2649
- ...groundOrder,
3244
+ "background",
3245
+ "surface",
3246
+ "surfaceAlt",
3247
+ "muted",
3248
+ "border",
2650
3249
  "primary",
2651
3250
  "accent",
2652
3251
  "secondary"
2653
3252
  ],
2654
3253
  neutrals: {
2655
- dark: [.2, .04],
2656
- light: [1, 0]
3254
+ dark: [.26, .02],
3255
+ light: [.985, .01]
2657
3256
  },
2658
3257
  reading: lightReading,
2659
- groundLimit: bookingLookGroundLimits["site-style:poster"].maxChroma,
3258
+ groundLimit: loomLimits.maxChroma,
2660
3259
  contrast: [{
2661
- label: "the complement on the pop buttons",
3260
+ label: "the complement on the small marks",
2662
3261
  hue: "complement",
2663
3262
  second: "accent",
2664
3263
  lead: "primary",
2665
- alsoTints: posterBand,
2666
- l: .82,
2667
- c: [.12, .15]
3264
+ l: .52,
3265
+ c: [.08, .13]
2668
3266
  }, {
2669
- label: "a warm triadic partner on the pop buttons",
2670
- hue: "triadic-warm",
2671
- second: "accent",
2672
- lead: "primary",
2673
- alsoTints: posterBand,
2674
- l: .82,
2675
- c: [.12, .15]
3267
+ label: "a warm colour on the buttons",
3268
+ hue: "split-warm",
3269
+ second: "primary",
3270
+ lead: "accent",
3271
+ l: .48,
3272
+ c: [.08, .13]
2676
3273
  }]
2677
3274
  }
2678
3275
  };
@@ -5423,49 +6020,463 @@ const loomEmber = defineCuratedPalette({
5423
6020
  }
5424
6021
  ]
5425
6022
  });
5426
- //#endregion
5427
- //#region ../theme-core/src/palette/curated/index.ts
5428
- function admitCuratedPaletteDefinition(definition) {
5429
- return {
5430
- ...definition,
5431
- valueKey: definition.valueKey
5432
- };
5433
- }
5434
- const curatedPalettes = [
5435
- admitCuratedPaletteDefinition(brandLedCool),
5436
- admitCuratedPaletteDefinition(brandLedWarm),
5437
- admitCuratedPaletteDefinition(brandLedJewel),
5438
- admitCuratedPaletteDefinition(brandLedBurgundyGold),
5439
- admitCuratedPaletteDefinition(brandLedSpruce),
5440
- admitCuratedPaletteDefinition(warmNeutralClay),
5441
- admitCuratedPaletteDefinition(warmNeutralCream),
5442
- admitCuratedPaletteDefinition(warmNeutralSoftEarth),
5443
- admitCuratedPaletteDefinition(warmNeutralForest),
5444
- admitCuratedPaletteDefinition(highContrastInk),
5445
- admitCuratedPaletteDefinition(highContrastCharcoal),
5446
- admitCuratedPaletteDefinition(highContrastMonochrome),
5447
- admitCuratedPaletteDefinition(softNaturalSage),
5448
- admitCuratedPaletteDefinition(softNaturalStone),
5449
- admitCuratedPaletteDefinition(softNaturalWatercolor),
5450
- admitCuratedPaletteDefinition(softNaturalLilac),
5451
- admitCuratedPaletteDefinition(warmDarkEmber),
5452
- admitCuratedPaletteDefinition(warmDarkKirtanGold)
5453
- ];
5454
- /** Style-owned suggestions are readable for compilation, never globally offered. */
5455
- const styleSuggestedPalettes = [
5456
- {
5457
- ...admitCuratedPaletteDefinition(loomHearth),
5458
- ownerStyleId: "site-style:loom"
5459
- },
5460
- {
5461
- ...admitCuratedPaletteDefinition(loomFlax),
5462
- ownerStyleId: "site-style:loom"
6023
+ const poiseButter = defineCuratedPalette({
6024
+ authoringKey: "poise-butter",
6025
+ name: "Poise — Butter",
6026
+ description: "Butter yellow on warm sand, ink text and a forest-green mark.",
6027
+ tags: {
6028
+ tone: "bold",
6029
+ energy: "calm",
6030
+ era: "modern"
5463
6031
  },
5464
- {
5465
- ...admitCuratedPaletteDefinition(loomEmber),
5466
- ownerStyleId: "site-style:loom"
6032
+ mode: "light",
6033
+ colors: [
6034
+ {
6035
+ name: "primary",
6036
+ hex: "#f2d16b"
6037
+ },
6038
+ {
6039
+ name: "secondary",
6040
+ hex: "#8c5a3c"
6041
+ },
6042
+ {
6043
+ name: "accent",
6044
+ hex: "#2e5a43"
6045
+ },
6046
+ {
6047
+ name: "success",
6048
+ hex: "#2f7a4c"
6049
+ },
6050
+ {
6051
+ name: "warning",
6052
+ hex: "#b7791f"
6053
+ },
6054
+ {
6055
+ name: "destructive",
6056
+ hex: "#b3402f"
6057
+ },
6058
+ {
6059
+ name: "background",
6060
+ hex: "#f4eee3"
6061
+ },
6062
+ {
6063
+ name: "surface",
6064
+ hex: "#fbf8f2"
6065
+ },
6066
+ {
6067
+ name: "surfaceAlt",
6068
+ hex: "#eae1d0"
6069
+ },
6070
+ {
6071
+ name: "muted",
6072
+ hex: "#675c4e"
6073
+ },
6074
+ {
6075
+ name: "text",
6076
+ hex: "#1f1b16"
6077
+ },
6078
+ {
6079
+ name: "primaryForeground",
6080
+ hex: "#1f1b16"
6081
+ },
6082
+ {
6083
+ name: "border",
6084
+ hex: "#dcd1be"
6085
+ }
6086
+ ]
6087
+ });
6088
+ const poiseEmber = defineCuratedPalette({
6089
+ authoringKey: "poise-ember",
6090
+ name: "Poise — Ember",
6091
+ description: "Hot tangerine on cool chalk, near-black ink and an electric blue mark.",
6092
+ tags: {
6093
+ tone: "bold",
6094
+ energy: "vibrant",
6095
+ era: "modern"
5467
6096
  },
5468
- {
6097
+ mode: "light",
6098
+ colors: [
6099
+ {
6100
+ name: "primary",
6101
+ hex: "#ff7033"
6102
+ },
6103
+ {
6104
+ name: "secondary",
6105
+ hex: "#23262e"
6106
+ },
6107
+ {
6108
+ name: "accent",
6109
+ hex: "#2d46e0"
6110
+ },
6111
+ {
6112
+ name: "success",
6113
+ hex: "#1e8a55"
6114
+ },
6115
+ {
6116
+ name: "warning",
6117
+ hex: "#c27a12"
6118
+ },
6119
+ {
6120
+ name: "destructive",
6121
+ hex: "#d23b2f"
6122
+ },
6123
+ {
6124
+ name: "background",
6125
+ hex: "#f1f2ee"
6126
+ },
6127
+ {
6128
+ name: "surface",
6129
+ hex: "#ffffff"
6130
+ },
6131
+ {
6132
+ name: "surfaceAlt",
6133
+ hex: "#e2e5e0"
6134
+ },
6135
+ {
6136
+ name: "muted",
6137
+ hex: "#4e535c"
6138
+ },
6139
+ {
6140
+ name: "text",
6141
+ hex: "#14161a"
6142
+ },
6143
+ {
6144
+ name: "primaryForeground",
6145
+ hex: "#14161a"
6146
+ },
6147
+ {
6148
+ name: "border",
6149
+ hex: "#d0d4ce"
6150
+ }
6151
+ ]
6152
+ });
6153
+ const poiseNight = defineCuratedPalette({
6154
+ authoringKey: "poise-night",
6155
+ name: "Poise — Night",
6156
+ description: "Warm near-black with cream ink, and butter yellow kept for the brand panels.",
6157
+ tags: {
6158
+ tone: "bold",
6159
+ energy: "calm",
6160
+ era: "modern"
6161
+ },
6162
+ mode: "dark",
6163
+ colors: [
6164
+ {
6165
+ name: "primary",
6166
+ hex: "#f2d16b"
6167
+ },
6168
+ {
6169
+ name: "secondary",
6170
+ hex: "#c9a27e"
6171
+ },
6172
+ {
6173
+ name: "accent",
6174
+ hex: "#9cc8a8"
6175
+ },
6176
+ {
6177
+ name: "success",
6178
+ hex: "#6fcf97"
6179
+ },
6180
+ {
6181
+ name: "warning",
6182
+ hex: "#f0b45a"
6183
+ },
6184
+ {
6185
+ name: "destructive",
6186
+ hex: "#f07a66"
6187
+ },
6188
+ {
6189
+ name: "background",
6190
+ hex: "#15130f"
6191
+ },
6192
+ {
6193
+ name: "surface",
6194
+ hex: "#1f1c17"
6195
+ },
6196
+ {
6197
+ name: "surfaceAlt",
6198
+ hex: "#29251e"
6199
+ },
6200
+ {
6201
+ name: "muted",
6202
+ hex: "#ada493"
6203
+ },
6204
+ {
6205
+ name: "text",
6206
+ hex: "#f3eee3"
6207
+ },
6208
+ {
6209
+ name: "primaryForeground",
6210
+ hex: "#1a1611"
6211
+ },
6212
+ {
6213
+ name: "border",
6214
+ hex: "#3b352c"
6215
+ }
6216
+ ]
6217
+ });
6218
+ const havenBlush = defineCuratedPalette({
6219
+ authoringKey: "haven-blush",
6220
+ name: "Haven — Blush",
6221
+ description: "Warm oat with a blush pastel, dusky rose for buttons and a sand accent.",
6222
+ tags: {
6223
+ tone: "classic",
6224
+ energy: "calm",
6225
+ era: "organic"
6226
+ },
6227
+ mode: "light",
6228
+ colors: [
6229
+ {
6230
+ name: "primary",
6231
+ hex: "#8a4652"
6232
+ },
6233
+ {
6234
+ name: "secondary",
6235
+ hex: "#f0cdc3"
6236
+ },
6237
+ {
6238
+ name: "accent",
6239
+ hex: "#d7b48c"
6240
+ },
6241
+ {
6242
+ name: "success",
6243
+ hex: "#3f6e4c"
6244
+ },
6245
+ {
6246
+ name: "warning",
6247
+ hex: "#8f5f12"
6248
+ },
6249
+ {
6250
+ name: "destructive",
6251
+ hex: "#a23a3a"
6252
+ },
6253
+ {
6254
+ name: "background",
6255
+ hex: "#f8f2eb"
6256
+ },
6257
+ {
6258
+ name: "surface",
6259
+ hex: "#fffaf5"
6260
+ },
6261
+ {
6262
+ name: "surfaceAlt",
6263
+ hex: "#f5e1d9"
6264
+ },
6265
+ {
6266
+ name: "muted",
6267
+ hex: "#6c5a55"
6268
+ },
6269
+ {
6270
+ name: "text",
6271
+ hex: "#3b2a2b"
6272
+ },
6273
+ {
6274
+ name: "primaryForeground",
6275
+ hex: "#fff8f3"
6276
+ },
6277
+ {
6278
+ name: "border",
6279
+ hex: "#e5d3c8"
6280
+ }
6281
+ ]
6282
+ });
6283
+ const havenSage = defineCuratedPalette({
6284
+ authoringKey: "haven-sage",
6285
+ name: "Haven — Sage",
6286
+ description: "Cool mist greens, a deep sage for buttons and a lavender-blue accent.",
6287
+ tags: {
6288
+ tone: "classic",
6289
+ energy: "calm",
6290
+ era: "organic"
6291
+ },
6292
+ mode: "light",
6293
+ colors: [
6294
+ {
6295
+ name: "primary",
6296
+ hex: "#3e6455"
6297
+ },
6298
+ {
6299
+ name: "secondary",
6300
+ hex: "#c9dccf"
6301
+ },
6302
+ {
6303
+ name: "accent",
6304
+ hex: "#b9c3dc"
6305
+ },
6306
+ {
6307
+ name: "success",
6308
+ hex: "#3b6b47"
6309
+ },
6310
+ {
6311
+ name: "warning",
6312
+ hex: "#855a10"
6313
+ },
6314
+ {
6315
+ name: "destructive",
6316
+ hex: "#9c3838"
6317
+ },
6318
+ {
6319
+ name: "background",
6320
+ hex: "#f0f4f1"
6321
+ },
6322
+ {
6323
+ name: "surface",
6324
+ hex: "#fafcfa"
6325
+ },
6326
+ {
6327
+ name: "surfaceAlt",
6328
+ hex: "#dde9e1"
6329
+ },
6330
+ {
6331
+ name: "muted",
6332
+ hex: "#52625a"
6333
+ },
6334
+ {
6335
+ name: "text",
6336
+ hex: "#20302a"
6337
+ },
6338
+ {
6339
+ name: "primaryForeground",
6340
+ hex: "#f5fbf7"
6341
+ },
6342
+ {
6343
+ name: "border",
6344
+ hex: "#ccdad1"
6345
+ }
6346
+ ]
6347
+ });
6348
+ const havenPlum = defineCuratedPalette({
6349
+ authoringKey: "haven-plum",
6350
+ name: "Haven — Plum",
6351
+ description: "Deep aubergine with soft pink buttons and muted mauve shapes.",
6352
+ tags: {
6353
+ tone: "classic",
6354
+ energy: "calm",
6355
+ era: "organic"
6356
+ },
6357
+ mode: "dark",
6358
+ colors: [
6359
+ {
6360
+ name: "primary",
6361
+ hex: "#ecb9c6"
6362
+ },
6363
+ {
6364
+ name: "secondary",
6365
+ hex: "#573a58"
6366
+ },
6367
+ {
6368
+ name: "accent",
6369
+ hex: "#b88aa8"
6370
+ },
6371
+ {
6372
+ name: "success",
6373
+ hex: "#9fd0ac"
6374
+ },
6375
+ {
6376
+ name: "warning",
6377
+ hex: "#ecc27a"
6378
+ },
6379
+ {
6380
+ name: "destructive",
6381
+ hex: "#f0a1a1"
6382
+ },
6383
+ {
6384
+ name: "background",
6385
+ hex: "#221822"
6386
+ },
6387
+ {
6388
+ name: "surface",
6389
+ hex: "#2c202d"
6390
+ },
6391
+ {
6392
+ name: "surfaceAlt",
6393
+ hex: "#3a2a3b"
6394
+ },
6395
+ {
6396
+ name: "muted",
6397
+ hex: "#c9b5c1"
6398
+ },
6399
+ {
6400
+ name: "text",
6401
+ hex: "#f6eaf0"
6402
+ },
6403
+ {
6404
+ name: "primaryForeground",
6405
+ hex: "#2a1823"
6406
+ },
6407
+ {
6408
+ name: "border",
6409
+ hex: "#4b384c"
6410
+ }
6411
+ ]
6412
+ });
6413
+ //#endregion
6414
+ //#region ../theme-core/src/palette/curated/index.ts
6415
+ function admitCuratedPaletteDefinition(definition) {
6416
+ return {
6417
+ ...definition,
6418
+ valueKey: definition.valueKey
6419
+ };
6420
+ }
6421
+ const curatedPalettes = [
6422
+ admitCuratedPaletteDefinition(brandLedCool),
6423
+ admitCuratedPaletteDefinition(brandLedWarm),
6424
+ admitCuratedPaletteDefinition(brandLedJewel),
6425
+ admitCuratedPaletteDefinition(brandLedBurgundyGold),
6426
+ admitCuratedPaletteDefinition(brandLedSpruce),
6427
+ admitCuratedPaletteDefinition(warmNeutralClay),
6428
+ admitCuratedPaletteDefinition(warmNeutralCream),
6429
+ admitCuratedPaletteDefinition(warmNeutralSoftEarth),
6430
+ admitCuratedPaletteDefinition(warmNeutralForest),
6431
+ admitCuratedPaletteDefinition(highContrastInk),
6432
+ admitCuratedPaletteDefinition(highContrastCharcoal),
6433
+ admitCuratedPaletteDefinition(highContrastMonochrome),
6434
+ admitCuratedPaletteDefinition(softNaturalSage),
6435
+ admitCuratedPaletteDefinition(softNaturalStone),
6436
+ admitCuratedPaletteDefinition(softNaturalWatercolor),
6437
+ admitCuratedPaletteDefinition(softNaturalLilac),
6438
+ admitCuratedPaletteDefinition(warmDarkEmber),
6439
+ admitCuratedPaletteDefinition(warmDarkKirtanGold)
6440
+ ];
6441
+ /** Style-owned suggestions are readable for compilation, never globally offered. */
6442
+ const styleSuggestedPalettes = [
6443
+ {
6444
+ ...admitCuratedPaletteDefinition(loomHearth),
6445
+ ownerStyleId: "site-style:loom"
6446
+ },
6447
+ {
6448
+ ...admitCuratedPaletteDefinition(loomFlax),
6449
+ ownerStyleId: "site-style:loom"
6450
+ },
6451
+ {
6452
+ ...admitCuratedPaletteDefinition(loomEmber),
6453
+ ownerStyleId: "site-style:loom"
6454
+ },
6455
+ {
6456
+ ...admitCuratedPaletteDefinition(poiseButter),
6457
+ ownerStyleId: "site-style:poise"
6458
+ },
6459
+ {
6460
+ ...admitCuratedPaletteDefinition(poiseEmber),
6461
+ ownerStyleId: "site-style:poise"
6462
+ },
6463
+ {
6464
+ ...admitCuratedPaletteDefinition(poiseNight),
6465
+ ownerStyleId: "site-style:poise"
6466
+ },
6467
+ {
6468
+ ...admitCuratedPaletteDefinition(havenBlush),
6469
+ ownerStyleId: "site-style:haven"
6470
+ },
6471
+ {
6472
+ ...admitCuratedPaletteDefinition(havenSage),
6473
+ ownerStyleId: "site-style:haven"
6474
+ },
6475
+ {
6476
+ ...admitCuratedPaletteDefinition(havenPlum),
6477
+ ownerStyleId: "site-style:haven"
6478
+ },
6479
+ {
5469
6480
  ...admitCuratedPaletteDefinition(fulcrumDeepGreen),
5470
6481
  ownerStyleId: "site-style:fulcrum"
5471
6482
  },
@@ -6936,20 +7947,112 @@ function defaultTypographyForRecipe(recipe) {
6936
7947
  /** Loom: the working face is Figtree; Fraunces owns display and quote copy. */
6937
7948
  const loomTypography = {
6938
7949
  body: {
6939
- family: "Figtree, system-ui, sans-serif",
7950
+ family: "Figtree, system-ui, sans-serif",
7951
+ size: "lg",
7952
+ weight: "regular",
7953
+ lineHeight: "relaxed",
7954
+ letterSpacing: "normal"
7955
+ },
7956
+ smallHeading: {
7957
+ family: "Figtree, system-ui, sans-serif",
7958
+ weight: "semibold"
7959
+ },
7960
+ headings: {
7961
+ default: {
7962
+ family: "Fraunces, Georgia, serif",
7963
+ weight: "semibold",
7964
+ lineHeight: "normal",
7965
+ letterSpacing: "tight",
7966
+ italic: null,
7967
+ case: null
7968
+ },
7969
+ h1: {
7970
+ size: "2xl",
7971
+ weight: "semibold",
7972
+ lineHeight: "tight",
7973
+ letterSpacing: "tight",
7974
+ italic: null
7975
+ },
7976
+ h2: {
7977
+ size: "xl",
7978
+ weight: "semibold",
7979
+ lineHeight: "snug",
7980
+ letterSpacing: "tight",
7981
+ italic: null
7982
+ },
7983
+ h3: {
7984
+ size: "md",
7985
+ weight: "semibold",
7986
+ lineHeight: "snug",
7987
+ letterSpacing: "normal",
7988
+ italic: null
7989
+ }
7990
+ },
7991
+ scale: "spacious"
7992
+ };
7993
+ /** Poise: Schibsted Grotesk for headings and numerals (700, with 800 for display); Plus Jakarta Sans to read. */
7994
+ const poiseTypography = {
7995
+ body: {
7996
+ family: "\"Plus Jakarta Sans\", system-ui, sans-serif",
7997
+ size: "lg",
7998
+ weight: "regular",
7999
+ lineHeight: "relaxed",
8000
+ letterSpacing: "normal"
8001
+ },
8002
+ smallHeading: {
8003
+ family: "\"Plus Jakarta Sans\", system-ui, sans-serif",
8004
+ weight: "bold"
8005
+ },
8006
+ headings: {
8007
+ default: {
8008
+ family: "\"Schibsted Grotesk\", \"Helvetica Neue\", Arial, sans-serif",
8009
+ weight: "bold",
8010
+ lineHeight: "normal",
8011
+ letterSpacing: "tight",
8012
+ italic: null,
8013
+ case: null
8014
+ },
8015
+ h1: {
8016
+ size: "2xl",
8017
+ weight: "bold",
8018
+ lineHeight: "tight",
8019
+ letterSpacing: "tight",
8020
+ italic: null
8021
+ },
8022
+ h2: {
8023
+ size: "xl",
8024
+ weight: "bold",
8025
+ lineHeight: "tight",
8026
+ letterSpacing: "tight",
8027
+ italic: null
8028
+ },
8029
+ h3: {
8030
+ size: "md",
8031
+ weight: "bold",
8032
+ lineHeight: "snug",
8033
+ letterSpacing: "tight",
8034
+ italic: null
8035
+ }
8036
+ },
8037
+ scale: "spacious"
8038
+ };
8039
+ /** Haven: Nunito for headings (700, with 750 at the hero step); Nunito Sans to read. */
8040
+ const havenTypography = {
8041
+ body: {
8042
+ family: "\"Nunito Sans\", \"Segoe UI\", system-ui, sans-serif",
6940
8043
  size: "lg",
6941
8044
  weight: "regular",
6942
8045
  lineHeight: "relaxed",
6943
8046
  letterSpacing: "normal"
6944
8047
  },
6945
8048
  smallHeading: {
6946
- family: "Figtree, system-ui, sans-serif",
6947
- weight: "semibold"
8049
+ family: "\"Nunito Sans\", \"Segoe UI\", system-ui, sans-serif",
8050
+ weight: "bold"
6948
8051
  },
6949
8052
  headings: {
6950
8053
  default: {
6951
- family: "Fraunces, Georgia, serif",
6952
- weight: "semibold",
8054
+ family: "Nunito, \"Segoe UI\", system-ui, sans-serif",
8055
+ weight: "bold",
6953
8056
  lineHeight: "normal",
6954
8057
  letterSpacing: "tight",
6955
8058
  italic: null,
@@ -6957,21 +8060,21 @@ const loomTypography = {
6957
8060
  },
6958
8061
  h1: {
6959
8062
  size: "2xl",
6960
- weight: "semibold",
8063
+ weight: "bold",
6961
8064
  lineHeight: "tight",
6962
8065
  letterSpacing: "tight",
6963
8066
  italic: null
6964
8067
  },
6965
8068
  h2: {
6966
8069
  size: "xl",
6967
- weight: "semibold",
6968
- lineHeight: "snug",
8070
+ weight: "bold",
8071
+ lineHeight: "tight",
6969
8072
  letterSpacing: "tight",
6970
8073
  italic: null
6971
8074
  },
6972
8075
  h3: {
6973
8076
  size: "md",
6974
- weight: "semibold",
8077
+ weight: "bold",
6975
8078
  lineHeight: "snug",
6976
8079
  letterSpacing: "normal",
6977
8080
  italic: null
@@ -7380,7 +8483,9 @@ const curatedSiteStyleIdValues = [
7380
8483
  "site-style:lantern",
7381
8484
  "site-style:measure",
7382
8485
  "site-style:folio",
7383
- "site-style:loom"
8486
+ "site-style:loom",
8487
+ "site-style:poise",
8488
+ "site-style:haven"
7384
8489
  ];
7385
8490
  /** Keyed by the offered looks, so adding a look without its hero Look doesn't compile. */
7386
8491
  const bookingPageNoPhotoHeroLookIds = {
@@ -7389,7 +8494,8 @@ const bookingPageNoPhotoHeroLookIds = {
7389
8494
  "site-style:measure": "hero-page-head",
7390
8495
  "site-style:grounded-practice": "hero-contained-intro",
7391
8496
  "site-style:lantern": "hero-framed-title",
7392
- "site-style:poster": "hero-page-head"
8497
+ "site-style:poster": "hero-page-head",
8498
+ "site-style:loom": "hero-page-head"
7393
8499
  };
7394
8500
  function bookingPageOfferingFor(siteStyleId) {
7395
8501
  const lookId = bookingPageLookIdValues.find((id) => id === siteStyleId);
@@ -7614,6 +8720,14 @@ const headerCurationBySiteStyle = {
7614
8720
  layoutId: "classic",
7615
8721
  styleIds: ["serif-line"]
7616
8722
  }]),
8723
+ "site-style:poise": defineHeaderCuration([{
8724
+ layoutId: "classic",
8725
+ styleIds: ["pill-nav"]
8726
+ }]),
8727
+ "site-style:haven": defineHeaderCuration([{
8728
+ layoutId: "classic",
8729
+ styleIds: ["fine-line"]
8730
+ }]),
7617
8731
  "site-style:clarity-zen-blue": defineHeaderCuration([{
7618
8732
  layoutId: "centered",
7619
8733
  styleIds: [
@@ -7996,18 +9110,21 @@ const loomLooks = {
7996
9110
  id: id("card-list-plates"),
7997
9111
  treatment: "items-plates",
7998
9112
  roleMap: loomRoles,
7999
- removeKnobs: ["showPhotos"],
8000
- knobValues: { dates: ["next-dates"] },
9113
+ knobValues: {
9114
+ showPhotos: ["false"],
9115
+ dates: ["next-dates"]
9116
+ },
8001
9117
  itemRoles: { items: "card" }
8002
9118
  },
8003
9119
  {
8004
9120
  id: id("feature-cards-cards"),
8005
9121
  treatment: "cards-sewn",
8006
9122
  roleMap: loomRoles,
8007
- removeKnobs: ["showPhotos"],
8008
9123
  knobValues: {
9124
+ showPhotos: ["false"],
8009
9125
  cardMarker: ["none"],
8010
- actionStyle: ["link"]
9126
+ actionStyle: ["link"],
9127
+ columns: ["3"]
8011
9128
  }
8012
9129
  },
8013
9130
  {
@@ -8019,7 +9136,8 @@ const loomLooks = {
8019
9136
  id: id("event-calendar-session-cards"),
8020
9137
  treatment: "calendar-session-cards",
8021
9138
  roleMap: loomRoles,
8022
- removeKnobs: ["showPhotos"]
9139
+ removeKnobs: ["listColumns"],
9140
+ knobValues: { showPhotos: ["false"] }
8023
9141
  },
8024
9142
  {
8025
9143
  id: id("testimonials-lead-quote"),
@@ -8258,52 +9376,883 @@ const loomLooks = {
8258
9376
  treatment: "cta-title-beside-buttons",
8259
9377
  roleMap: loomRoles
8260
9378
  },
8261
- {
8262
- id: id("cta-figure-beside-offer"),
8263
- treatment: "cta-figure-beside-offer",
8264
- roleMap: loomRoles
9379
+ {
9380
+ id: id("cta-figure-beside-offer"),
9381
+ treatment: "cta-figure-beside-offer",
9382
+ roleMap: loomRoles
9383
+ },
9384
+ {
9385
+ id: id("location-map-above-details"),
9386
+ treatment: "map-above-details",
9387
+ roleMap: loomRoles
9388
+ },
9389
+ {
9390
+ id: id("location-map-address-over-wide-map"),
9391
+ treatment: "map-address-over-wide-map",
9392
+ roleMap: loomRoles
9393
+ },
9394
+ {
9395
+ id: id("location-map-entrance-photo"),
9396
+ treatment: "map-entrance-photo",
9397
+ roleMap: loomRoles
9398
+ },
9399
+ {
9400
+ id: id("team-members-portrait-bio"),
9401
+ treatment: "team-portrait-bio",
9402
+ roleMap: loomRoles
9403
+ },
9404
+ {
9405
+ id: id("team-members-ruled-names"),
9406
+ treatment: "team-ruled-names",
9407
+ roleMap: loomRoles
9408
+ },
9409
+ {
9410
+ id: id("shop-price-cards"),
9411
+ treatment: "shop-price-cards",
9412
+ roleMap: loomRoles
9413
+ },
9414
+ {
9415
+ id: id("shop-ruled-prices"),
9416
+ treatment: "shop-ruled-prices",
9417
+ roleMap: loomRoles
9418
+ },
9419
+ {
9420
+ id: id("card-list-photos-on-top"),
9421
+ treatment: "items-photos-on-top",
9422
+ roleMap: loomRoles
9423
+ }
9424
+ ]
9425
+ };
9426
+ /**
9427
+ * Poise (issue 1659): rounded panels on the page, the brand colour for statements and
9428
+ * highlights. The sheet ground classifies as the band ground, where cards drop back to
9429
+ * the page colour so they still show; on the brand field statements and highlights
9430
+ * swap so they never vanish into it.
9431
+ */
9432
+ const poiseRoles = {
9433
+ card: {
9434
+ default: "sheet",
9435
+ band: "base"
9436
+ },
9437
+ statement: {
9438
+ default: "brand",
9439
+ brand: "inverse"
9440
+ },
9441
+ highlight: {
9442
+ default: "brand",
9443
+ brand: "sheet"
9444
+ }
9445
+ };
9446
+ const poiseOffers = [
9447
+ {
9448
+ id: id("team-members-portrait-bio"),
9449
+ treatment: "team-bio",
9450
+ roleMap: poiseRoles
9451
+ },
9452
+ {
9453
+ id: id("team-members-tall-portraits"),
9454
+ treatment: "team-portraits",
9455
+ roleMap: poiseRoles,
9456
+ itemRoles: { items: "card" }
9457
+ },
9458
+ {
9459
+ id: id("shop-price-cards-featured"),
9460
+ treatment: "prices-featured",
9461
+ roleMap: poiseRoles
9462
+ },
9463
+ {
9464
+ id: id("shop-price-cards"),
9465
+ treatment: "prices",
9466
+ roleMap: poiseRoles
9467
+ },
9468
+ {
9469
+ id: id("shop-ruled-prices"),
9470
+ treatment: "price-rows",
9471
+ roleMap: poiseRoles
9472
+ },
9473
+ {
9474
+ id: id("card-list-plates"),
9475
+ treatment: "plates",
9476
+ roleMap: poiseRoles,
9477
+ itemRoles: { items: "card" }
9478
+ },
9479
+ {
9480
+ id: id("hero-photo-beside-text"),
9481
+ treatment: "hero-split",
9482
+ roleMap: poiseRoles
9483
+ },
9484
+ {
9485
+ id: id("hero-headline-row"),
9486
+ treatment: "hero-headline-row",
9487
+ roleMap: poiseRoles
9488
+ },
9489
+ {
9490
+ id: id("hero-photo-behind-text"),
9491
+ treatment: "hero-behind",
9492
+ roleMap: poiseRoles
9493
+ },
9494
+ {
9495
+ id: id("hero-page-head"),
9496
+ treatment: "hero-page-head",
9497
+ roleMap: poiseRoles
9498
+ },
9499
+ {
9500
+ id: id("hero-copy-over-gallery"),
9501
+ treatment: "hero-gallery",
9502
+ roleMap: poiseRoles
9503
+ },
9504
+ {
9505
+ id: id("intro-photo-beside-text"),
9506
+ treatment: "intro-photo",
9507
+ roleMap: poiseRoles
9508
+ },
9509
+ {
9510
+ id: id("intro-statement-beside-text"),
9511
+ treatment: "intro-statement",
9512
+ roleMap: poiseRoles
9513
+ },
9514
+ {
9515
+ id: id("media-text-photo-beside-text"),
9516
+ treatment: "media-beside",
9517
+ roleMap: poiseRoles
9518
+ },
9519
+ {
9520
+ id: id("media-text-circle-beside-text"),
9521
+ treatment: "media-circle",
9522
+ roleMap: poiseRoles
9523
+ },
9524
+ {
9525
+ id: id("feature-cards-cards"),
9526
+ treatment: "cards",
9527
+ roleMap: poiseRoles
9528
+ },
9529
+ {
9530
+ id: id("feature-cards-lead-support"),
9531
+ treatment: "cards-lead",
9532
+ roleMap: poiseRoles
9533
+ },
9534
+ {
9535
+ id: id("feature-cards-sequence"),
9536
+ treatment: "steps",
9537
+ roleMap: poiseRoles
9538
+ },
9539
+ {
9540
+ id: id("feature-cards-open-columns"),
9541
+ treatment: "open-columns",
9542
+ roleMap: poiseRoles
9543
+ },
9544
+ {
9545
+ id: id("card-list-photos-on-top"),
9546
+ treatment: "photos-on-top",
9547
+ roleMap: poiseRoles
9548
+ },
9549
+ {
9550
+ id: id("card-list-scroll-row"),
9551
+ treatment: "card-row",
9552
+ roleMap: poiseRoles
9553
+ },
9554
+ {
9555
+ id: id("event-calendar-ruled-rows"),
9556
+ treatment: "rows",
9557
+ roleMap: poiseRoles
9558
+ },
9559
+ {
9560
+ id: id("event-calendar-grouped-by-day"),
9561
+ treatment: "day-groups",
9562
+ roleMap: poiseRoles
9563
+ },
9564
+ {
9565
+ id: id("event-calendar-week-columns"),
9566
+ treatment: "week-columns",
9567
+ roleMap: poiseRoles,
9568
+ itemRoles: { container: "card" },
9569
+ slotRoles: { today: "highlight" }
9570
+ },
9571
+ {
9572
+ id: id("event-calendar-session-cards"),
9573
+ treatment: "times-row",
9574
+ roleMap: poiseRoles,
9575
+ removeKnobs: ["showPhotos"]
9576
+ },
9577
+ {
9578
+ id: id("events-spotlight"),
9579
+ treatment: "spotlight",
9580
+ roleMap: poiseRoles
9581
+ },
9582
+ {
9583
+ id: id("events-recurring-week"),
9584
+ treatment: "week-list",
9585
+ roleMap: poiseRoles
9586
+ },
9587
+ {
9588
+ id: id("event-calendar-month-grid"),
9589
+ treatment: "month-grid",
9590
+ roleMap: poiseRoles
9591
+ },
9592
+ {
9593
+ id: id("event-calendar-month-day"),
9594
+ treatment: "month-day",
9595
+ roleMap: poiseRoles
9596
+ },
9597
+ {
9598
+ id: id("event-details-header"),
9599
+ treatment: "event-header",
9600
+ roleMap: poiseRoles,
9601
+ slotRoles: { panel: "card" }
9602
+ },
9603
+ {
9604
+ id: id("event-details-panel"),
9605
+ treatment: "details-panel",
9606
+ roleMap: poiseRoles
9607
+ },
9608
+ {
9609
+ id: id("testimonials-quote-cards"),
9610
+ treatment: "quote-cards",
9611
+ roleMap: poiseRoles
9612
+ },
9613
+ {
9614
+ id: id("testimonials-lead-quote"),
9615
+ treatment: "quote-lead",
9616
+ roleMap: poiseRoles,
9617
+ itemRoles: { items: "card" }
9618
+ },
9619
+ {
9620
+ id: id("testimonials-one-quote"),
9621
+ treatment: "quote-single",
9622
+ roleMap: poiseRoles
9623
+ },
9624
+ {
9625
+ id: id("testimonials-scroll-row"),
9626
+ treatment: "quote-row",
9627
+ roleMap: poiseRoles
9628
+ },
9629
+ {
9630
+ id: id("faq-title-beside-questions"),
9631
+ treatment: "faq-beside",
9632
+ itemRoles: { items: "card" },
9633
+ roleMap: poiseRoles
9634
+ },
9635
+ {
9636
+ id: id("faq-questions-under-title"),
9637
+ treatment: "faq-under",
9638
+ itemRoles: { items: "card" },
9639
+ roleMap: poiseRoles
9640
+ },
9641
+ {
9642
+ id: id("faq-questions-two-columns"),
9643
+ treatment: "faq-columns",
9644
+ itemRoles: { items: "card" },
9645
+ roleMap: poiseRoles
9646
+ },
9647
+ {
9648
+ id: id("faq-all-answers-showing"),
9649
+ treatment: "faq-open",
9650
+ roleMap: poiseRoles
9651
+ },
9652
+ {
9653
+ id: id("cta-centred"),
9654
+ treatment: "cta-left",
9655
+ roleMap: poiseRoles
9656
+ },
9657
+ {
9658
+ id: id("cta-title-beside-buttons"),
9659
+ treatment: "cta-beside",
9660
+ roleMap: poiseRoles
9661
+ },
9662
+ {
9663
+ id: id("cta-figure-beside-offer"),
9664
+ treatment: "cta-figure",
9665
+ roleMap: poiseRoles
9666
+ },
9667
+ {
9668
+ id: id("newsletter-signup-text-beside"),
9669
+ treatment: "signup-beside",
9670
+ roleMap: poiseRoles
9671
+ },
9672
+ {
9673
+ id: id("newsletter-signup-one-row"),
9674
+ treatment: "signup-row",
9675
+ roleMap: poiseRoles
9676
+ },
9677
+ {
9678
+ id: id("newsletter-signup-in-arch"),
9679
+ treatment: "signup-frame",
9680
+ roleMap: poiseRoles
9681
+ },
9682
+ {
9683
+ id: id("form-beside-introduction-arched-panel"),
9684
+ treatment: "form-beside",
9685
+ roleMap: poiseRoles
9686
+ },
9687
+ {
9688
+ id: id("form-below-introduction"),
9689
+ treatment: "form-below",
9690
+ roleMap: poiseRoles
9691
+ },
9692
+ {
9693
+ id: id("body-text-reading-column"),
9694
+ treatment: "body-reading",
9695
+ roleMap: poiseRoles
9696
+ },
9697
+ {
9698
+ id: id("body-text-title-beside"),
9699
+ treatment: "body-beside",
9700
+ roleMap: poiseRoles
9701
+ },
9702
+ {
9703
+ id: id("body-text-large-opening"),
9704
+ treatment: "body-opening",
9705
+ roleMap: poiseRoles
9706
+ },
9707
+ {
9708
+ id: id("image-gallery-lead-photo"),
9709
+ treatment: "gallery-lead",
9710
+ roleMap: poiseRoles
9711
+ },
9712
+ {
9713
+ id: id("image-gallery-square-tiles"),
9714
+ treatment: "gallery-tiles",
9715
+ roleMap: poiseRoles
9716
+ },
9717
+ {
9718
+ id: id("image-gallery-captions-under"),
9719
+ treatment: "gallery-captions",
9720
+ roleMap: poiseRoles
9721
+ },
9722
+ {
9723
+ id: id("location-map-beside-address"),
9724
+ treatment: "map-beside",
9725
+ roleMap: poiseRoles,
9726
+ slotRoles: { panel: "card" }
9727
+ },
9728
+ {
9729
+ id: id("location-map-address-over-wide-map"),
9730
+ treatment: "map-wide",
9731
+ roleMap: poiseRoles
9732
+ },
9733
+ {
9734
+ id: id("location-map-entrance-photo"),
9735
+ treatment: "map-entrance",
9736
+ roleMap: poiseRoles
9737
+ },
9738
+ {
9739
+ id: id("location-map-above-details"),
9740
+ treatment: "map-above",
9741
+ roleMap: poiseRoles
9742
+ }
9743
+ ];
9744
+ const poiseLooks = {
9745
+ kind: "offers",
9746
+ skin: "poise",
9747
+ skinTokens: {
9748
+ radius: "24px",
9749
+ rule: "1.5px",
9750
+ "mark-length": "22px",
9751
+ "mark-weight": "8px",
9752
+ plate: "0",
9753
+ gutter: "28px",
9754
+ "copy-gap": "1.25rem",
9755
+ "stack-gap": "2.5rem",
9756
+ "shadow-offset": "0",
9757
+ rotation: "0deg",
9758
+ margin: "20px"
9759
+ },
9760
+ fontLoading: {
9761
+ extraHeadingFontWeights: [700, 800],
9762
+ extraBodyFontWeights: [
9763
+ 500,
9764
+ 600,
9765
+ 700
9766
+ ]
9767
+ },
9768
+ surfaces: {
9769
+ base: {
9770
+ kind: "token",
9771
+ token: "background"
9772
+ },
9773
+ band: {
9774
+ kind: "token",
9775
+ token: "surfaceAlt"
8265
9776
  },
8266
- {
8267
- id: id("location-map-above-details"),
8268
- treatment: "map-above-details",
8269
- roleMap: loomRoles
9777
+ sheet: {
9778
+ kind: "token",
9779
+ token: "surface"
8270
9780
  },
8271
- {
8272
- id: id("location-map-address-over-wide-map"),
8273
- treatment: "map-address-over-wide-map",
8274
- roleMap: loomRoles
9781
+ brand: {
9782
+ kind: "token",
9783
+ token: "primary",
9784
+ buttonContext: { primary: unsafeAsOpaqueButtonColourToken("primaryForeground") },
9785
+ sectionShape: "field"
8275
9786
  },
8276
- {
8277
- id: id("location-map-entrance-photo"),
8278
- treatment: "map-entrance-photo",
8279
- roleMap: loomRoles
9787
+ inverse: {
9788
+ kind: "token",
9789
+ token: "text",
9790
+ sectionShape: "field"
9791
+ }
9792
+ },
9793
+ rhythm: {
9794
+ "flow:quiet": [
9795
+ "brand",
9796
+ "base",
9797
+ "band",
9798
+ "base"
9799
+ ],
9800
+ "flow:balanced": [
9801
+ "brand",
9802
+ "base",
9803
+ "band",
9804
+ "base",
9805
+ "sheet",
9806
+ "inverse",
9807
+ "base",
9808
+ "brand",
9809
+ "band"
9810
+ ],
9811
+ "flow:expressive": [
9812
+ "brand",
9813
+ "base",
9814
+ "band",
9815
+ "inverse",
9816
+ "base",
9817
+ "sheet",
9818
+ "brand",
9819
+ "band",
9820
+ "inverse"
9821
+ ]
9822
+ },
9823
+ bookingBar: { surface: "inverse" },
9824
+ offers: poiseOffers
9825
+ };
9826
+ /**
9827
+ * Haven (issue 1661): soft grounds and pebbles. The mockup names its grounds base, soft, tint,
9828
+ * wash and brand; in code they are base (background), sheet (surface), band (surfaceAlt),
9829
+ * deep (secondary, the wash) and brand (primary). Cards are surface, and drop back to the
9830
+ * page colour on the surface ground; the featured price is the brand colour, back to surface
9831
+ * on brand; chips, date badges and the sticker take the wash, which shows on every light ground.
9832
+ */
9833
+ const havenRoles = {
9834
+ card: {
9835
+ default: "sheet",
9836
+ band: "base"
9837
+ },
9838
+ statement: {
9839
+ default: "brand",
9840
+ brand: "sheet"
9841
+ },
9842
+ highlight: {
9843
+ default: "deep",
9844
+ brand: "sheet"
9845
+ }
9846
+ };
9847
+ const havenOffers = [
9848
+ {
9849
+ id: id("team-members-portrait-bio"),
9850
+ treatment: "team-bio",
9851
+ roleMap: havenRoles
9852
+ },
9853
+ {
9854
+ id: id("team-members-tall-portraits"),
9855
+ treatment: "team-portraits",
9856
+ roleMap: havenRoles,
9857
+ itemRoles: { items: "card" }
9858
+ },
9859
+ {
9860
+ id: id("team-members-ruled-names"),
9861
+ treatment: "team-names",
9862
+ roleMap: havenRoles,
9863
+ itemRoles: { container: "card" }
9864
+ },
9865
+ {
9866
+ id: id("shop-price-cards-featured"),
9867
+ treatment: "prices-featured",
9868
+ roleMap: havenRoles
9869
+ },
9870
+ {
9871
+ id: id("shop-price-cards"),
9872
+ treatment: "prices",
9873
+ roleMap: havenRoles
9874
+ },
9875
+ {
9876
+ id: id("shop-ruled-prices"),
9877
+ treatment: "price-rows",
9878
+ roleMap: havenRoles,
9879
+ itemRoles: { container: "card" }
9880
+ },
9881
+ {
9882
+ id: id("card-list-plates"),
9883
+ treatment: "plates",
9884
+ roleMap: havenRoles,
9885
+ itemRoles: { items: "card" }
9886
+ },
9887
+ {
9888
+ id: id("hero-photo-beside-text"),
9889
+ treatment: "hero-split",
9890
+ roleMap: havenRoles
9891
+ },
9892
+ {
9893
+ id: id("hero-headline-row"),
9894
+ treatment: "hero-headline-row",
9895
+ roleMap: havenRoles
9896
+ },
9897
+ {
9898
+ id: id("hero-framed-title"),
9899
+ treatment: "hero-framed",
9900
+ roleMap: havenRoles
9901
+ },
9902
+ {
9903
+ id: id("hero-page-head"),
9904
+ treatment: "hero-page-head",
9905
+ roleMap: havenRoles
9906
+ },
9907
+ {
9908
+ id: id("intro-photo-beside-text"),
9909
+ treatment: "intro-photo",
9910
+ roleMap: havenRoles
9911
+ },
9912
+ {
9913
+ id: id("intro-statement-beside-text"),
9914
+ treatment: "intro-statement",
9915
+ roleMap: havenRoles
9916
+ },
9917
+ {
9918
+ id: id("media-text-photo-beside-text"),
9919
+ treatment: "media-beside",
9920
+ roleMap: havenRoles
9921
+ },
9922
+ {
9923
+ id: id("media-text-circle-beside-text"),
9924
+ treatment: "media-circle",
9925
+ roleMap: havenRoles
9926
+ },
9927
+ {
9928
+ id: id("feature-cards-lead-support"),
9929
+ treatment: "cards-lead",
9930
+ roleMap: havenRoles,
9931
+ itemRoles: {
9932
+ items: "card",
9933
+ at: { first: "card" }
9934
+ }
9935
+ },
9936
+ {
9937
+ id: id("feature-cards-cards"),
9938
+ treatment: "cards",
9939
+ roleMap: havenRoles
9940
+ },
9941
+ {
9942
+ id: id("feature-cards-sequence"),
9943
+ treatment: "steps",
9944
+ roleMap: havenRoles
9945
+ },
9946
+ {
9947
+ id: id("feature-cards-index"),
9948
+ treatment: "index",
9949
+ roleMap: havenRoles,
9950
+ itemRoles: { container: "card" }
9951
+ },
9952
+ {
9953
+ id: id("feature-cards-open-columns"),
9954
+ treatment: "open-columns",
9955
+ roleMap: havenRoles
9956
+ },
9957
+ {
9958
+ id: id("card-list-photos-on-top"),
9959
+ treatment: "photos-on-top",
9960
+ roleMap: havenRoles
9961
+ },
9962
+ {
9963
+ id: id("card-list-scroll-row"),
9964
+ treatment: "card-row",
9965
+ roleMap: havenRoles
9966
+ },
9967
+ {
9968
+ id: id("card-list-wide-slides"),
9969
+ treatment: "wide-slides",
9970
+ roleMap: havenRoles
9971
+ },
9972
+ {
9973
+ id: id("event-calendar-ruled-rows"),
9974
+ treatment: "rows",
9975
+ roleMap: havenRoles,
9976
+ itemRoles: { items: "card" },
9977
+ slotRoles: { date: "highlight" }
9978
+ },
9979
+ {
9980
+ id: id("event-calendar-grouped-by-day"),
9981
+ treatment: "day-groups",
9982
+ roleMap: havenRoles
9983
+ },
9984
+ {
9985
+ id: id("event-calendar-week-columns"),
9986
+ treatment: "week-columns",
9987
+ roleMap: havenRoles,
9988
+ itemRoles: { container: "card" },
9989
+ slotRoles: { today: "highlight" }
9990
+ },
9991
+ {
9992
+ id: id("event-calendar-session-cards"),
9993
+ treatment: "session-cards",
9994
+ roleMap: havenRoles
9995
+ },
9996
+ {
9997
+ id: id("event-calendar-next-three"),
9998
+ treatment: "compact",
9999
+ roleMap: havenRoles
10000
+ },
10001
+ {
10002
+ id: id("events-spotlight"),
10003
+ treatment: "spotlight",
10004
+ roleMap: havenRoles
10005
+ },
10006
+ {
10007
+ id: id("events-recurring-week"),
10008
+ treatment: "week-list",
10009
+ roleMap: havenRoles,
10010
+ itemRoles: { items: "card" },
10011
+ slotRoles: { date: "highlight" }
10012
+ },
10013
+ {
10014
+ id: id("event-calendar-month-grid"),
10015
+ treatment: "month-grid",
10016
+ roleMap: havenRoles,
10017
+ itemRoles: { container: "card" }
10018
+ },
10019
+ {
10020
+ id: id("event-calendar-month-day"),
10021
+ treatment: "month-day",
10022
+ roleMap: havenRoles
10023
+ },
10024
+ {
10025
+ id: id("event-details-header"),
10026
+ treatment: "event-header",
10027
+ roleMap: havenRoles,
10028
+ slotRoles: { panel: "card" }
10029
+ },
10030
+ {
10031
+ id: id("event-details-panel"),
10032
+ treatment: "details-panel",
10033
+ roleMap: havenRoles
10034
+ },
10035
+ {
10036
+ id: id("testimonials-lead-quote"),
10037
+ treatment: "quote-lead",
10038
+ roleMap: {
10039
+ ...havenRoles,
10040
+ highlight: "section"
8280
10041
  },
8281
- {
8282
- id: id("team-members-portrait-bio"),
8283
- treatment: "team-portrait-bio",
8284
- roleMap: loomRoles
10042
+ itemRoles: {
10043
+ items: "card",
10044
+ at: { first: "highlight" }
10045
+ }
10046
+ },
10047
+ {
10048
+ id: id("testimonials-quote-cards"),
10049
+ treatment: "quote-cards",
10050
+ roleMap: havenRoles
10051
+ },
10052
+ {
10053
+ id: id("testimonials-quote-columns"),
10054
+ treatment: "quote-columns",
10055
+ roleMap: havenRoles
10056
+ },
10057
+ {
10058
+ id: id("testimonials-one-quote"),
10059
+ treatment: "quote-single",
10060
+ roleMap: havenRoles
10061
+ },
10062
+ {
10063
+ id: id("testimonials-one-at-a-time"),
10064
+ treatment: "quote-slides",
10065
+ roleMap: havenRoles
10066
+ },
10067
+ {
10068
+ id: id("faq-title-beside-questions"),
10069
+ treatment: "faq-beside",
10070
+ itemRoles: { items: "card" },
10071
+ roleMap: havenRoles
10072
+ },
10073
+ {
10074
+ id: id("faq-questions-under-title"),
10075
+ treatment: "faq-under",
10076
+ itemRoles: { items: "card" },
10077
+ roleMap: havenRoles
10078
+ },
10079
+ {
10080
+ id: id("faq-questions-two-columns"),
10081
+ treatment: "faq-columns",
10082
+ itemRoles: { items: "card" },
10083
+ roleMap: havenRoles
10084
+ },
10085
+ {
10086
+ id: id("faq-all-answers-showing"),
10087
+ treatment: "faq-open",
10088
+ roleMap: havenRoles
10089
+ },
10090
+ {
10091
+ id: id("cta-centred"),
10092
+ treatment: "cta-centred",
10093
+ roleMap: havenRoles
10094
+ },
10095
+ {
10096
+ id: id("cta-title-beside-buttons"),
10097
+ treatment: "cta-beside",
10098
+ roleMap: havenRoles
10099
+ },
10100
+ {
10101
+ id: id("cta-figure-beside-offer"),
10102
+ treatment: "cta-figure",
10103
+ roleMap: havenRoles
10104
+ },
10105
+ {
10106
+ id: id("newsletter-signup-text-beside"),
10107
+ treatment: "signup-beside",
10108
+ roleMap: havenRoles
10109
+ },
10110
+ {
10111
+ id: id("newsletter-signup-one-row"),
10112
+ treatment: "signup-row",
10113
+ roleMap: havenRoles
10114
+ },
10115
+ {
10116
+ id: id("newsletter-signup-in-arch"),
10117
+ treatment: "signup-frame",
10118
+ roleMap: havenRoles
10119
+ },
10120
+ {
10121
+ id: id("form-beside-introduction-arched-panel"),
10122
+ treatment: "form-beside",
10123
+ roleMap: havenRoles
10124
+ },
10125
+ {
10126
+ id: id("form-below-introduction"),
10127
+ treatment: "form-below",
10128
+ roleMap: havenRoles
10129
+ },
10130
+ {
10131
+ id: id("body-text-reading-column"),
10132
+ treatment: "body-reading",
10133
+ roleMap: havenRoles
10134
+ },
10135
+ {
10136
+ id: id("body-text-title-beside"),
10137
+ treatment: "body-beside",
10138
+ roleMap: havenRoles
10139
+ },
10140
+ {
10141
+ id: id("body-text-large-opening"),
10142
+ treatment: "body-opening",
10143
+ roleMap: havenRoles
10144
+ },
10145
+ {
10146
+ id: id("image-gallery-captions-under"),
10147
+ treatment: "gallery-captions",
10148
+ roleMap: havenRoles
10149
+ },
10150
+ {
10151
+ id: id("image-gallery-square-tiles"),
10152
+ treatment: "gallery-tiles",
10153
+ roleMap: havenRoles
10154
+ },
10155
+ {
10156
+ id: id("image-gallery-lead-photo"),
10157
+ treatment: "gallery-lead",
10158
+ roleMap: havenRoles
10159
+ },
10160
+ {
10161
+ id: id("location-map-beside-address"),
10162
+ treatment: "map-beside",
10163
+ roleMap: havenRoles,
10164
+ slotRoles: { panel: "card" }
10165
+ },
10166
+ {
10167
+ id: id("location-map-above-details"),
10168
+ treatment: "map-above",
10169
+ roleMap: havenRoles
10170
+ },
10171
+ {
10172
+ id: id("location-map-address-over-wide-map"),
10173
+ treatment: "map-wide",
10174
+ roleMap: havenRoles
10175
+ },
10176
+ {
10177
+ id: id("location-map-entrance-photo"),
10178
+ treatment: "map-entrance",
10179
+ roleMap: havenRoles
10180
+ }
10181
+ ];
10182
+ const havenLooks = {
10183
+ kind: "offers",
10184
+ skin: "haven",
10185
+ skinTokens: {
10186
+ radius: "30px",
10187
+ rule: "1.5px",
10188
+ "mark-length": "14px",
10189
+ "mark-weight": "12px",
10190
+ plate: "1.25rem",
10191
+ gutter: "32px",
10192
+ "copy-gap": "1.25rem",
10193
+ "stack-gap": "3rem",
10194
+ "shadow-offset": "0",
10195
+ rotation: "0deg",
10196
+ wrap: "1200px"
10197
+ },
10198
+ fontLoading: {
10199
+ extraHeadingFontWeights: [750],
10200
+ extraBodyFontWeights: [600, 700]
10201
+ },
10202
+ surfaces: {
10203
+ base: {
10204
+ kind: "token",
10205
+ token: "background"
8285
10206
  },
8286
- {
8287
- id: id("team-members-ruled-names"),
8288
- treatment: "team-ruled-names",
8289
- roleMap: loomRoles
10207
+ sheet: {
10208
+ kind: "token",
10209
+ token: "surface"
8290
10210
  },
8291
- {
8292
- id: id("shop-price-cards"),
8293
- treatment: "shop-price-cards",
8294
- roleMap: loomRoles
10211
+ band: {
10212
+ kind: "token",
10213
+ token: "surfaceAlt"
8295
10214
  },
8296
- {
8297
- id: id("shop-ruled-prices"),
8298
- treatment: "shop-ruled-prices",
8299
- roleMap: loomRoles
10215
+ deep: {
10216
+ kind: "token",
10217
+ token: "secondary",
10218
+ roleOnly: true
8300
10219
  },
8301
- {
8302
- id: id("card-list-photos-on-top"),
8303
- treatment: "items-photos-on-top",
8304
- roleMap: loomRoles
10220
+ brand: {
10221
+ kind: "token",
10222
+ token: "primary",
10223
+ buttonContext: { primary: unsafeAsOpaqueButtonColourToken("primaryForeground") }
8305
10224
  }
8306
- ]
10225
+ },
10226
+ rhythm: {
10227
+ "flow:quiet": [
10228
+ "base",
10229
+ "band",
10230
+ "base",
10231
+ "sheet"
10232
+ ],
10233
+ "flow:balanced": [
10234
+ "base",
10235
+ "band",
10236
+ "base",
10237
+ "sheet",
10238
+ "base",
10239
+ "band",
10240
+ "brand",
10241
+ "sheet"
10242
+ ],
10243
+ "flow:expressive": [
10244
+ "base",
10245
+ "band",
10246
+ "base",
10247
+ "brand",
10248
+ "sheet",
10249
+ "band",
10250
+ "base",
10251
+ "sheet"
10252
+ ]
10253
+ },
10254
+ defaultJoin: noneBoundaryOption.id,
10255
+ offers: havenOffers
8307
10256
  };
8308
10257
  /** Folio: quiet sheets and band-coloured statements. */
8309
10258
  const folioRoles = {
@@ -9229,17 +11178,20 @@ const posterOffers = [
9229
11178
  {
9230
11179
  id: id("image-gallery-square-tiles"),
9231
11180
  treatment: "gallery-tiles",
9232
- roleMap: posterRoles
11181
+ roleMap: posterRoles,
11182
+ removeKnobs: ["blackAndWhite"]
9233
11183
  },
9234
11184
  {
9235
11185
  id: id("image-gallery-lead-photo"),
9236
11186
  treatment: "gallery-lead",
9237
- roleMap: posterRoles
11187
+ roleMap: posterRoles,
11188
+ removeKnobs: ["blackAndWhite"]
9238
11189
  },
9239
11190
  {
9240
11191
  id: id("image-gallery-captions-under"),
9241
11192
  treatment: "gallery-captions",
9242
- roleMap: posterRoles
11193
+ roleMap: posterRoles,
11194
+ removeKnobs: ["blackAndWhite"]
9243
11195
  },
9244
11196
  {
9245
11197
  id: id("cta-centred"),
@@ -9578,6 +11530,7 @@ const lanternLooks = {
9578
11530
  {
9579
11531
  id: id("event-calendar-session-cards"),
9580
11532
  treatment: "tablets",
11533
+ removeKnobs: ["listColumns"],
9581
11534
  surfaceTints: { date: {
9582
11535
  source: "text",
9583
11536
  opacity: 8
@@ -9912,6 +11865,7 @@ const measureLooks = {
9912
11865
  {
9913
11866
  id: id("event-calendar-session-cards"),
9914
11867
  treatment: "big-day",
11868
+ knobValues: { listColumns: ["3"] },
9915
11869
  roleMap: measureRoles
9916
11870
  },
9917
11871
  {
@@ -10948,7 +12902,10 @@ const curatedSiteStyles = [
10948
12902
  defineCuratedSiteStyle({
10949
12903
  id: "site-style:loom",
10950
12904
  name: "Loom",
10951
- offering: { kind: "lab" },
12905
+ offering: {
12906
+ kind: "public",
12907
+ generation: { kind: "explicit_only" }
12908
+ },
10952
12909
  description: "Stitched seams, sewn-label buttons and one strong patch of colour on each page. Warm and handmade, for studios and makers who teach.",
10953
12910
  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.",
10954
12911
  headingDecoration: noHeadingDecoration,
@@ -11042,6 +12999,176 @@ const curatedSiteStyles = [
11042
12999
  paletteRecommendation("loom-flax"),
11043
13000
  paletteRecommendation("loom-ember")
11044
13001
  ]
13002
+ }),
13003
+ defineCuratedSiteStyle({
13004
+ id: "site-style:poise",
13005
+ name: "Poise",
13006
+ offering: {
13007
+ kind: "public",
13008
+ generation: { kind: "explicit_only" }
13009
+ },
13010
+ description: "Strong, plain headlines, rounded colour panels set in from the edge of the page, and pill buttons. For pilates, fitness and movement studios with a busy weekly timetable.",
13011
+ generationBrief: "Use short, direct headlines in plain words, friendly working copy and real times, prices and places left. Keep sentence case throughout, put the timetable and booking actions near the top, and avoid gym slogans and promises about results.",
13012
+ headingDecoration: noHeadingDecoration,
13013
+ tokenRecipes: {
13014
+ palette: "brand-led",
13015
+ contrast: "strong",
13016
+ radius: "rounded",
13017
+ shadow: "none",
13018
+ typography: "clean-sans",
13019
+ spacing: "regular",
13020
+ motion: "subtle"
13021
+ },
13022
+ compositionBudget: balancedBudget,
13023
+ typography: poiseTypography,
13024
+ looks: poiseLooks,
13025
+ contentTemplateDefaults: { event: "event-header" },
13026
+ themeOverrides: {
13027
+ accordions: editorialDividedAccordionSystem,
13028
+ testimonialQuote: accentGlyphQuote
13029
+ },
13030
+ headerStyleRecipes: { "pill-nav": {
13031
+ tone: "neutral",
13032
+ dropdown: neutralHeaderDropdown,
13033
+ background: {
13034
+ kind: "token",
13035
+ token: "background"
13036
+ },
13037
+ nav: {
13038
+ kind: "pill",
13039
+ backing: "capsule",
13040
+ hoverColorToken: "text",
13041
+ hoverAlpha: 8
13042
+ },
13043
+ navWeight: "semibold",
13044
+ navLinkWeight: "semibold",
13045
+ navTypography: "plain",
13046
+ border: "none",
13047
+ shadow: { kind: "absent" },
13048
+ frame: { kind: "none" },
13049
+ logo: {
13050
+ fontFamily: "heading",
13051
+ letterSpacing: "normal",
13052
+ gradient: false
13053
+ },
13054
+ cta: { treatment: "primary" }
13055
+ } },
13056
+ footerLookRecipes: { "footer-links-row": {
13057
+ arrangement: "simple",
13058
+ ground: {
13059
+ kind: "style-surface",
13060
+ surface: "inverse"
13061
+ },
13062
+ nav: {
13063
+ weight: "semibold",
13064
+ colorToken: "background",
13065
+ hoverColorToken: "background",
13066
+ typography: "body"
13067
+ },
13068
+ legal: {
13069
+ kind: "separate",
13070
+ bar: {
13071
+ fullBleed: false,
13072
+ background: {
13073
+ kind: "style-surface",
13074
+ surface: "inverse"
13075
+ },
13076
+ textColor: "background",
13077
+ textAlign: "left",
13078
+ paddingY: "compact",
13079
+ paddingX: "none",
13080
+ borderTop: {
13081
+ width: "thin",
13082
+ colorToken: "background"
13083
+ }
13084
+ }
13085
+ },
13086
+ brandAlign: "start",
13087
+ brandLogoSize: "md"
13088
+ } },
13089
+ recommendedFooterLookIds: ["footer-links-row"],
13090
+ buttonStyleChoices: [
13091
+ buttonChoice("edged-pill"),
13092
+ buttonChoice("soft-pill"),
13093
+ buttonChoice("editorial-link")
13094
+ ],
13095
+ paletteRecommendations: [
13096
+ paletteRecommendation("poise-butter"),
13097
+ paletteRecommendation("poise-ember"),
13098
+ paletteRecommendation("poise-night")
13099
+ ]
13100
+ }),
13101
+ defineCuratedSiteStyle({
13102
+ id: "site-style:haven",
13103
+ name: "Haven",
13104
+ offering: {
13105
+ kind: "public",
13106
+ generation: { kind: "explicit_only" }
13107
+ },
13108
+ description: "Soft colours, rounded cards and photos set on gentle pebble shapes. For massage, therapy and other practices where people might feel a little nervous about booking.",
13109
+ generationBrief: "Use warm, plain words that reassure a nervous first-timer: what happens at a first visit, who they will see, and that they can ask questions. Keep sentence case, give real prices, times and places left, and avoid medical claims and spa cliches.",
13110
+ headingDecoration: noHeadingDecoration,
13111
+ tokenRecipes: {
13112
+ palette: "warm-neutral",
13113
+ contrast: "standard",
13114
+ radius: "rounded",
13115
+ shadow: "none",
13116
+ typography: "friendly-sans",
13117
+ spacing: "airy",
13118
+ motion: "subtle"
13119
+ },
13120
+ compositionBudget: balancedBudget,
13121
+ typography: havenTypography,
13122
+ looks: havenLooks,
13123
+ contentTemplateDefaults: { event: "event-header" },
13124
+ themeOverrides: {
13125
+ accordions: editorialDividedAccordionSystem,
13126
+ testimonialQuote: accentGlyphQuote
13127
+ },
13128
+ footerLookRecipes: { "footer-links-row": {
13129
+ arrangement: "simple",
13130
+ ground: {
13131
+ kind: "style-surface",
13132
+ surface: "band"
13133
+ },
13134
+ nav: {
13135
+ weight: "regular",
13136
+ colorToken: "text",
13137
+ hoverColorToken: "text",
13138
+ typography: "body"
13139
+ },
13140
+ legal: {
13141
+ kind: "separate",
13142
+ bar: {
13143
+ fullBleed: false,
13144
+ background: {
13145
+ kind: "style-surface",
13146
+ surface: "band"
13147
+ },
13148
+ textColor: "text",
13149
+ textAlign: "left",
13150
+ paddingY: "compact",
13151
+ paddingX: "none",
13152
+ borderTop: {
13153
+ width: "thin",
13154
+ colorToken: "border"
13155
+ }
13156
+ }
13157
+ },
13158
+ brandAlign: "start",
13159
+ brandLogoSize: "md"
13160
+ } },
13161
+ recommendedFooterLookIds: ["footer-links-row"],
13162
+ buttonStyleChoices: [
13163
+ buttonChoice("soft-pill"),
13164
+ buttonChoice("pebble"),
13165
+ buttonChoice("editorial-link")
13166
+ ],
13167
+ paletteRecommendations: [
13168
+ paletteRecommendation("haven-blush"),
13169
+ paletteRecommendation("haven-sage"),
13170
+ paletteRecommendation("haven-plum")
13171
+ ]
11045
13172
  })
11046
13173
  ];
11047
13174
  const curatedSiteStylesById = new Map(curatedSiteStyles.map((style) => [style.id, style]));
@@ -11078,6 +13205,8 @@ curatedSiteStyles.forEach((style) => {
11078
13205
  if (style.looks.kind === "offers") {
11079
13206
  validateLookFallbacks(style.looks);
11080
13207
  validateCalendarModeOffers(style.looks);
13208
+ validateSectionSurfaces(style.looks.skin, style.looks.surfaces);
13209
+ validateBookingBarSurface(style.looks.skin, style.looks.bookingBar, style.looks.surfaces);
11081
13210
  }
11082
13211
  (/* @__PURE__ */ new Set([...Object.values(style.footerLookRecipes ?? {}), ...style.recommendedFooterLookIds.map((id) => resolveFooterLookRecipe(style, id))])).forEach((recipe) => validateFooterRecipeSurfaces(style, recipe));
11083
13212
  });
@@ -11239,15 +13368,23 @@ function readStoredMode(manifest, content) {
11239
13368
  const stored = content.variant;
11240
13369
  return isArrangementMode(stored) && meaning.modes.includes(stored) ? stored : meaning.defaultMode;
11241
13370
  }
13371
+ /**
13372
+ * Follows `whenMissing` while a named fact is false. Setting facts apply to
13373
+ * both audiences, so the editor preview matches the page; content facts apply
13374
+ * to visitors only, so owners keep the Look they chose and its prompts.
13375
+ */
11242
13376
  function resolvePublishedLook(input, visited = /* @__PURE__ */ new Set()) {
11243
- if (input.audience === "authoring" || visited.has(input.look.id)) return input.look;
11244
- const fallback = input.look.structure.whenMissing.find((rule) => !input.contentFacts[rule.fact]);
13377
+ if (visited.has(input.look.id)) return input.look;
13378
+ const fallback = input.look.structure.whenMissing.find((rule) => !lookFactHolds(rule.fact, input.facts, input.audience));
11245
13379
  const next = input.catalogue.find((entry) => entry.id === fallback?.look && entry.blockKinds.some((kind) => input.look.blockKinds.includes(kind)));
11246
13380
  return next === void 0 ? input.look : resolvePublishedLook({
11247
13381
  ...input,
11248
13382
  look: next
11249
13383
  }, /* @__PURE__ */ new Set([...visited, input.look.id]));
11250
13384
  }
13385
+ function lookFactHolds(fact, facts, audience) {
13386
+ return isLookSettingFact(fact) ? facts.settings[fact] : audience === "authoring" || facts.content[fact];
13387
+ }
11251
13388
  //#endregion
11252
13389
  //#region ../theme-core/src/site-styles/lookResolution.ts
11253
13390
  function lookDefinitionForId(lookId, catalogue = appearancePresets.filter(isArrangementAppearancePreset)) {
@@ -11299,9 +13436,10 @@ const arrangementLookHooks = [
11299
13436
  "data-control",
11300
13437
  "data-placeholder-field",
11301
13438
  "data-one-person",
11302
- "data-team-about"
13439
+ "data-team-about",
13440
+ "data-shape"
11303
13441
  ];
11304
- appearancePresets.filter(isArrangementAppearancePreset);
13442
+ const arrangementAppearancePresets = appearancePresets.filter(isArrangementAppearancePreset);
11305
13443
  /** Closed structural hooks shared by block arrangements and bounded skins. */
11306
13444
  const arrangementSlotNames = [
11307
13445
  "contact",
@@ -11358,6 +13496,7 @@ const arrangementSlotNames = [
11358
13496
  "group-label",
11359
13497
  "group-day",
11360
13498
  "group-date",
13499
+ "group-empty",
11361
13500
  "date",
11362
13501
  "weekday",
11363
13502
  "day",
@@ -11571,4 +13710,4 @@ function authoredTransparentHeaderForegroundInput(header, palette) {
11571
13710
  };
11572
13711
  }
11573
13712
  //#endregion
11574
- export { generateFooterCss as A, noneBoundaryOption as B, offeredSiteStyles as C, getGradientPreset as D, gradientToCss as E, parseBookingPageLookId as F, resolveEffectiveKnobs as G, spaciousBoundaryOption as H, pageDesignDecisionsV2Schema as I, cardListFamilyBlocks as K, headerNeedsPhotoShade as L, buildTextContrastShadow as M, generateNavLinkCSS as N, parseGradientPresetId as O, bookingPageLookIdValues as P, headerRootPaint as R, curatedSiteStyleIdValues as S, compiledRuntimeStyleFieldNames as T, anglePolygonCss as U, softBoundaryOption as V, transitionCatalogueEntries as W, readStoredMode as _, readOpeningForegroundProjection as a, resolvePublishedLook as b, headerNavFontSizePreferenceValues as c, readHeaderNavFontSizePreference as d, arrangementLookHooks as f, arrangementManifestFromVariants as g, resolveLookSlotSurfaces as h, transparentHeaderForegroundInput as i, footerForegroundCandidates as j, generatedDesignOptionCatalog as k, headerNavTypographyPreferenceValues as l, resolveItemSurface as m, headerForegroundCandidates as n, readOpeningToneProjection as o, arrangementSlotNames as p, cardListKnobBlocks as q, headerLeafTextColor as r, defaultHeaderNavPreferences as s, effectiveHeaderNavLinkStyle as t, mergeHeaderNavTypographyPreference as u, resolveEffectiveArrangement as v, requireCuratedSiteStyle as w, deriveSiteStyleBlockPolicy as x, resolveModeArrangement as y, boundaryRuntimeMetricsForDecorativeTransition as z };
13713
+ export { generatedDesignOptionCatalog as A, sectionShapeForGround as B, curatedSiteStyleIdValues as C, gradientToCss as D, compiledRuntimeStyleFieldNames as E, bookingPageLookIdValues as F, softBoundaryOption as G, sectionShapeHook as H, parseBookingPageLookId as I, transitionCatalogueEntries as J, spaciousBoundaryOption as K, pageDesignDecisionsV2Schema as L, footerForegroundCandidates as M, buildTextContrastShadow as N, getGradientPreset as O, generateNavLinkCSS as P, headerNeedsPhotoShade as R, deriveSiteStyleBlockPolicy as S, requireCuratedSiteStyle as T, boundaryRuntimeMetricsForDecorativeTransition as U, sectionShapeFromContent as V, noneBoundaryOption as W, cardListFamilyBlocks as X, resolveEffectiveKnobs as Y, cardListKnobBlocks as Z, arrangementManifestFromVariants as _, readOpeningForegroundProjection as a, resolveModeArrangement as b, headerNavFontSizePreferenceValues as c, readHeaderNavFontSizePreference as d, arrangementAppearancePresets as f, resolveLookSlotSurfaces as g, resolveItemSurface as h, transparentHeaderForegroundInput as i, generateFooterCss as j, parseGradientPresetId as k, headerNavTypographyPreferenceValues as l, arrangementSlotNames as m, headerForegroundCandidates as n, readOpeningToneProjection as o, arrangementLookHooks as p, anglePolygonCss as q, headerLeafTextColor as r, defaultHeaderNavPreferences as s, effectiveHeaderNavLinkStyle as t, mergeHeaderNavTypographyPreference as u, readStoredMode as v, offeredSiteStyles as w, resolvePublishedLook as x, resolveEffectiveArrangement as y, headerRootPaint as z };