@riverbankcms/sdk 0.163.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 (204) hide show
  1. package/README.md +12 -1
  2. package/dist/_dts/{BlocksIslandsHydrator-DYPGA_qh.d.ts → BlocksIslandsHydrator-CdsSMQEv.d.ts} +1 -1
  3. package/dist/_dts/{Page-zwnvFBPu.d.ts → Page-D6gp2Ipb.d.ts} +15 -12
  4. package/dist/_dts/{SdkPreviewMode-DukuJzGr.d.ts → SdkPreviewMode-DNXAvnet.d.ts} +83 -72
  5. package/dist/_dts/{client-Chh3bnXC.d.ts → client-BkkExozE.d.ts} +13 -41
  6. package/dist/_dts/{content-types-Bbzqw9J2.d.ts → content-types-CXNAD7ef.d.ts} +2 -2
  7. package/dist/_dts/{contracts-GJ1kGBsi.d.ts → contracts-XRXhbLWP.d.ts} +5 -4
  8. package/dist/_dts/{footerPageOutline-BNMKhyvo.d.ts → footerPageOutline-BP2bJYdY.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-Ce0m1P3B.d.ts → generatePageMetadata-DcMtbztV.d.ts} +2 -2
  10. package/dist/_dts/{index-CyQhZuhM.d.ts → index-B4ozSzFP.d.ts} +48377 -47862
  11. package/dist/_dts/{index-DRxgeK8L.d.ts → index-BdkHhyf8.d.ts} +2 -2
  12. package/dist/_dts/{index-CdSNXLOx.d.ts → index-CQfJhOEA.d.ts} +2 -2
  13. package/dist/_dts/{index-C3mJvn27.d.ts → index-CRRiddNp.d.ts} +4 -4
  14. package/dist/_dts/index-CXsnaCGe.d.ts +10 -0
  15. package/dist/_dts/{index-rhMSu0oY.d.ts → index-C_3kdrUb.d.ts} +2 -2
  16. package/dist/_dts/{index-CaL0nKkl.d.ts → index-DAPTSmBM.d.ts} +31097 -31047
  17. package/dist/_dts/{index-FstkyqQB.d.ts → index-DKNEgSOS.d.ts} +2 -2
  18. package/dist/_dts/{index-G2p-HOrK.d.ts → index-RXkE3a7M.d.ts} +3 -3
  19. package/dist/_dts/{loadContent-DiLZoInK.d.ts → loadContent-B9vJMq3s.d.ts} +15 -30
  20. package/dist/_dts/{resolvePageContent-CWUnipv8.d.ts → resolvePageContent-DIQyYUi-.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +3 -4
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/index.d.ts +8 -8
  28. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  29. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  30. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  31. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  32. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  33. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  35. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  36. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  37. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  38. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  39. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  40. package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
  41. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  43. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  44. package/dist/_dts/sdk/src/server.d.ts +5 -5
  45. package/dist/_dts/sdk/src/spam-protection/index.d.ts +32 -52
  46. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  47. package/dist/_dts/{types-BmtrA45p.d.ts → types-BDF73NzM.d.ts} +3 -2
  48. package/dist/_dts/{types-DFOqkClJ.d.ts → types-Cl0nP6al.d.ts} +3 -3
  49. package/dist/_dts/{types-CalL7aKP.d.ts → types-mstFvhK4.d.ts} +7 -7
  50. package/dist/_dts/{validation-G8MRoIhq.d.ts → validation-DVWqSvjK.d.ts} +4 -4
  51. package/dist/client/{BlocksIslandsHydrator-DLCXwe30.mjs → BlocksIslandsHydrator-CzKpH9Pm.mjs} +20 -20
  52. package/dist/client/{BookingMailingListNote-BV5-50F0.mjs → BookingMailingListNote-rUqsBN7L.mjs} +1 -1
  53. package/dist/client/{CalendarNavigationChevron-CVLAHdZG.mjs → CalendarNavigationChevron-YGzw2IPB.mjs} +6 -6
  54. package/dist/client/{CheckboxChoice-Dtgp3OU8.mjs → CheckboxChoice-DlTC4J2a.mjs} +1 -1
  55. package/dist/client/{DemoBookingPortalAccess-B3caCnTT.mjs → DemoBookingPortalAccess-D2LyS_Bi.mjs} +5 -5
  56. package/dist/client/{DemoPortalSignInLink-Ct8JMKW0.mjs → DemoPortalSignInLink-BaFg2Uit.mjs} +1 -1
  57. package/dist/client/{EventCalendar.client-ffa6920T.mjs → EventCalendar.client-tRrhPscX.mjs} +17 -10
  58. package/dist/client/{EventCombined.client-zm0W2G79.mjs → EventCombined.client-6cfAVtnZ.mjs} +8 -8
  59. package/dist/client/{EventEmbeddedCheckoutStep-CPPE2rWS.mjs → EventEmbeddedCheckoutStep-CDNUpI0S.mjs} +2 -1
  60. package/dist/client/{EventItem-CND3mfra.mjs → EventItem-dILw2PN_.mjs} +27 -17
  61. package/dist/client/{EventListWeekNavigation-D8QdxL_f.mjs → EventListWeekNavigation-ClgLtjNY.mjs} +1 -1
  62. package/dist/client/{EventListing.client-CaoRZUI9.mjs → EventListing.client-BNueAHmU.mjs} +3 -3
  63. package/dist/client/{EventListing.view-BfnOmxYD.mjs → EventListing.view-DtVbKVkt.mjs} +56 -12
  64. package/dist/client/{EventRegistrationPayment-Dfu3RSL2.mjs → EventRegistrationPayment-CzkG0NSJ.mjs} +18 -22
  65. package/dist/client/{LocationMapActions-wlyxASdT.mjs → LocationMapActions-zWQsJhE5.mjs} +2 -2
  66. package/dist/client/{MapDrawingSvg-B9oKSitp.mjs → MapDrawingSvg-D1AO_o4h.mjs} +1 -1
  67. package/dist/client/{Page-BEF9HrAy.mjs → Page-DUr2YhFR.mjs} +1949 -418
  68. package/dist/client/ProtectedSubmitButton-2fJqT_NR.mjs +14 -0
  69. package/dist/client/SpamProtectionWidget-CCF6YLUX.mjs +141 -0
  70. package/dist/client/{StepIndicator-Bjx4faaw.mjs → StepIndicator-udNHcpOT.mjs} +2 -2
  71. package/dist/client/{TabBarFragment-Cu7k_VSl.mjs → TabBarFragment-C_kt-PXh.mjs} +1 -1
  72. package/dist/client/{ThemedButton-DclwabI7.mjs → ThemedButton-Cfbo1bfh.mjs} +2 -898
  73. package/dist/client/{accordion-lzM2nSZB.mjs → accordion-3CYNWzTS.mjs} +1 -1
  74. package/dist/client/altchaProtection-DjIV9A5n.mjs +12 -0
  75. package/dist/client/{booking-form.client-Bll4QwBi.mjs → booking-form.client-BSbWgLyx.mjs} +23 -56
  76. package/dist/client/{bookingForm-Cq5fQ-vo.mjs → bookingForm-2MoFBWSt.mjs} +4 -4
  77. package/dist/client/bookings.mjs +23 -32
  78. package/dist/client/{carousel-CxerQwIx.mjs → carousel-Cu5mcpO-.mjs} +2 -2
  79. package/dist/client/{carousel.client-CVUXq8Mb.mjs → carousel.client-CQLV8_Al.mjs} +1 -1
  80. package/dist/client/{cart-X-m0isoI.mjs → cart-CDc6x9cR.mjs} +3 -3
  81. package/dist/client/{cart.client-CJbzWIl0.mjs → cart.client-BWS2r5Ef.mjs} +1 -1
  82. package/dist/client/{checkout-Gd0O_fGH.mjs → checkout-CkxPqSwD.mjs} +3 -3
  83. package/dist/client/{checkout.client-Baee6Jsm.mjs → checkout.client-DJfomKQc.mjs} +1 -1
  84. package/dist/client/client.mjs +216 -109
  85. package/dist/client/{context-Bg0SFWcM.mjs → context-CBV21-9L.mjs} +17 -3
  86. package/dist/client/{cta-HffyM4MA.mjs → cta-Bw-al3cs.mjs} +26 -2
  87. package/dist/client/{dateFormatting-CV45BH5M.mjs → dateFormatting-CFIUJ4Uf.mjs} +1 -1
  88. package/dist/client/{demoPortalMagicLink-CDWheSjI.mjs → demoPortalMagicLink-D0veHJyi.mjs} +1 -1
  89. package/dist/client/{enhanceHeaderSection-BqVDXL0D.mjs → enhanceHeaderSection-CEqqq92r.mjs} +3 -3
  90. package/dist/client/{event-details.client-SFtS9OkF.mjs → event-details.client-Bk2kQ7ax.mjs} +1 -1
  91. package/dist/client/{event-registration.client-CguNVIFY.mjs → event-registration.client-QMqtIywj.mjs} +47 -56
  92. package/dist/client/{eventCalendar-DSGG35jd.mjs → eventCalendar-BTDTMosr.mjs} +4 -4
  93. package/dist/client/{eventCombined-Oe-PiChx.mjs → eventCombined-BC7a709c.mjs} +4 -4
  94. package/dist/client/{eventDetails-BhcTT6P3.mjs → eventDetails-DL08GpUc.mjs} +2 -2
  95. package/dist/client/{eventListing-BS0kBEgI.mjs → eventListing-BfzuEQp_.mjs} +4 -4
  96. package/dist/client/{eventRegistration-B82SHv7j.mjs → eventRegistration-Lfyzh1Ab.mjs} +4 -4
  97. package/dist/client/{form-DAIUrVXb.mjs → form-L-xZOBUS.mjs} +3 -3
  98. package/dist/client/{form.client-BoAkhoh_.mjs → form.client-BtpK3TZW.mjs} +33 -24
  99. package/dist/client/{form.parts-1VnasOK8.mjs → form.parts-Djos5Un4.mjs} +6 -5
  100. package/dist/client/{formatDate-BKil_Psb.mjs → formatDate-DGmrm7YB.mjs} +1 -1
  101. package/dist/client/gifting/client.mjs +5 -4
  102. package/dist/client/{headerSection-CyuHk8Ei.mjs → headerSection-f16OGkz-.mjs} +2 -2
  103. package/dist/client/{mediaAssets-CGJE1Omu.mjs → mediaAssets-DHAmrVIi.mjs} +1 -1
  104. package/dist/client/{mediaContext-DIkX2S-X.mjs → mediaContext-CwT6ZOm7.mjs} +1 -1
  105. package/dist/client/{newsletter-form.client-CCdyHx0B.mjs → newsletter-form.client-DpHNZc7k.mjs} +100 -85
  106. package/dist/client/{newsletter-form.parts-Dl8AjsXW.mjs → newsletter-form.parts-CLGH20PL.mjs} +11 -7
  107. package/dist/client/{newsletterForm-qFWLZJui.mjs → newsletterForm-BEU0Ocu9.mjs} +3 -3
  108. package/dist/client/{noop-4XFGzJpT.mjs → noop-CQU7tiMg.mjs} +8 -4
  109. package/dist/client/portal/client.mjs +13 -12
  110. package/dist/client/{product-detail.client-Tq4S99ce.mjs → product-detail.client-Be-om1BT.mjs} +1 -1
  111. package/dist/client/{product-list.client-CuL5jB1w.mjs → product-list.client-DR7hD5Vs.mjs} +1 -1
  112. package/dist/client/{productDetail-BRqgcotZ.mjs → productDetail-BD42UOmG.mjs} +3 -3
  113. package/dist/client/{productList-EK9Um-oh.mjs → productList-CSk8sXCl.mjs} +3 -3
  114. package/dist/client/{propsDecoder-VD4arFq1.mjs → propsDecoder-C_Y6VYnF.mjs} +3 -3
  115. package/dist/client/protection-C0PoH1lT.mjs +104 -0
  116. package/dist/client/purchase-BV5xfaZH.mjs +894 -0
  117. package/dist/client/{registry.server-qYbsatxH.mjs → registry.server-CIKtTsCl.mjs} +197 -167
  118. package/dist/client/rendering/client.mjs +27 -26
  119. package/dist/client/rendering/islands.mjs +1 -1
  120. package/dist/client/rendering.mjs +11 -7
  121. package/dist/client/{richText-coerce-CW8CFk8v.mjs → richText-coerce-spWtx86G.mjs} +1 -1
  122. package/dist/client/{routeIslandApiConfig-CnZ_1ol2.mjs → routeIslandApiConfig-CROHPlYS.mjs} +1 -1
  123. package/dist/client/{schema-BFwQDvJL.mjs → schema-BdSglH2X.mjs} +2690 -2500
  124. package/dist/client/{shop-CTUaT57E.mjs → shop-DscvMz86.mjs} +3 -3
  125. package/dist/client/{shop-commerce-BWwbsm_-.mjs → shop-commerce-CDUohm_2.mjs} +11 -11
  126. package/dist/client/{shop-commerce-store-15UII0y3.mjs → shop-commerce-store-B9nw4lRP.mjs} +1 -1
  127. package/dist/client/{shop.client-UWgdmJBm.mjs → shop.client-M3kNsVPi.mjs} +12 -12
  128. package/dist/client/{shop.interactive-Cf_kASpd.mjs → shop.interactive-BGmkdIAZ.mjs} +268 -31
  129. package/dist/client/{shopShared-Bi8d584P.mjs → shopShared-BdWp6LHa.mjs} +2 -2
  130. package/dist/client/{site-styles-dy54AUdz.mjs → site-styles-CWHmlVT5.mjs} +2630 -461
  131. package/dist/client/spam-protection.mjs +4 -69
  132. package/dist/client/{timetableModel-Bi8ruFgB.mjs → timetableModel-Dynh5-j4.mjs} +10 -10
  133. package/dist/client/{useAvailableSlots-DiLbDqM3.mjs → useAvailableSlots-Cw9paRPY.mjs} +3 -3
  134. package/dist/client/{useBookingNowIso-CWIiqPd0.mjs → useBookingNowIso-C9SF2rC6.mjs} +1 -1
  135. package/dist/client/{useDiscountApply-ChtszhF9.mjs → useDiscountApply-B-QJfBg0.mjs} +2 -2
  136. package/dist/client/{useDiscountCodeUi-B0Z7n2tZ.mjs → useDiscountCodeUi-Uvum8q9d.mjs} +1 -1
  137. package/dist/client/{useEventPagination-DRrATQHQ.mjs → useEventPagination-BfM3xk6j.mjs} +9 -156
  138. package/dist/client/{view-yUIfWX3S.mjs → view-DXOuduIr.mjs} +4 -4
  139. package/dist/client/{view-OvsxzgxP.mjs → view-DlkCDfuN.mjs} +45 -32
  140. package/dist/client/{wizardSteps-kbONzKUv.mjs → wizardSteps-DManVJpc.mjs} +57 -47
  141. package/dist/preview-next/before-render.mjs +2 -2
  142. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DzoFjIqB.mjs → EventEmbeddedCheckoutStep-Die6Y25O.mjs} +1 -1
  143. package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-Bp4BHLCL.mjs} +1 -1
  144. package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-Cb0JhM9p.mjs} +2 -2
  145. package/dist/preview-next/client/{PreviewEditorSidebar-BhgPyyUW.mjs → PreviewEditorSidebar-DEP3xD9K.mjs} +3478 -3109
  146. package/dist/preview-next/client/{PreviewEditorUI-lndKKBtB.mjs → PreviewEditorUI-CxwlLBGw.mjs} +577 -172
  147. package/dist/preview-next/client/{SdkPreviewModeRuntime-DCDDXDlt.mjs → SdkPreviewModeRuntime-Cpe-XP8e.mjs} +1 -1
  148. package/dist/preview-next/client/{SdkPreviewModeRuntime-Bk7On_EM.mjs → SdkPreviewModeRuntime-QDkMPASV.mjs} +3761 -4769
  149. package/dist/preview-next/client/{siteStyleAccess-Chq5KKKh.mjs → SiteChromeCustomizeButton-1JaoGOKX.mjs} +3862 -8657
  150. package/dist/preview-next/client/{ThemedButton-nUnE3iMv.mjs → ThemedButton-Dc6aJ34Z.mjs} +274 -68
  151. package/dist/preview-next/client/editorStatusDecision-DR4BBKhy.mjs +101 -0
  152. package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CqxuVAyz.mjs} +1 -1
  153. package/dist/preview-next/client/{previewChromeSurface-CxQ6dZ8D.mjs → previewChromeSurface-yuwnDP3B.mjs} +49 -6
  154. package/dist/preview-next/client/{previewAuthStore-DHtSQIBE.mjs → previewSidebarNavigation-AXUj9-qQ.mjs} +186449 -173608
  155. package/dist/preview-next/client/runtime.mjs +3 -3
  156. package/dist/preview-next/client/{sdk-runtime-DSZv7Vfm.mjs → sdk-runtime-O-eA9-rV.mjs} +1 -1
  157. package/dist/preview-next/keepAlive.mjs +3 -3
  158. package/dist/preview-next/middleware.mjs +2 -2
  159. package/dist/preview-next/{route-contract-CxCstfkP.mjs → route-contract-BBAJjFIz.mjs} +42 -50
  160. package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
  161. package/dist/preview-next/session.mjs +1 -1
  162. package/dist/server/{Block.shared-Dz9k8vCX.mjs → Block.shared-ClFI3qpX.mjs} +5 -4
  163. package/dist/server/{bindings-S-gCHhj5.mjs → bindings-Bi8EoRZD.mjs} +2 -2
  164. package/dist/server/{client-C2Q56xqV.mjs → client-DfMDbZ41.mjs} +215 -109
  165. package/dist/server/config-validation.mjs +1 -1
  166. package/dist/server/config.mjs +2 -2
  167. package/dist/server/{effectiveNavLinkStyle-DLzJPcDL.mjs → effectiveNavLinkStyle-BHIYPVG1.mjs} +2362 -217
  168. package/dist/server/index.mjs +3 -3
  169. package/dist/server/{loadContent-D7ItMsEl.mjs → loadContent-dEEhQxL7.mjs} +6 -4
  170. package/dist/server/loadPage-CnVB-aeL.mjs +2 -0
  171. package/dist/server/{loadPage-DaPiPYUL.mjs → loadPage-DBFBad8A.mjs} +3 -2
  172. package/dist/server/next/middleware.mjs +1 -1
  173. package/dist/server/next/revalidate.mjs +1 -1
  174. package/dist/server/next.mjs +11 -11
  175. package/dist/server/{overrideResolution-anoB3Kbn.mjs → overrideResolution-BIJbiXYc.mjs} +1 -1
  176. package/dist/server/{overrides-W1Cc6srh.mjs → overrides-DhF87Vsd.mjs} +352 -141
  177. package/dist/server/page-converter.mjs +1 -1
  178. package/dist/server/{prebuild-BF9yNfCS.mjs → prebuild-DaemmWQL.mjs} +1 -1
  179. package/dist/server/prebuild.mjs +1 -1
  180. package/dist/server/{prefetchBlockData-Cn9k3DW6.mjs → prefetchBlockData-FwcsT5H2.mjs} +334 -110
  181. package/dist/server/{publicProducts-BVcJ6TG7.mjs → publicProducts-Bz8loTRn.mjs} +87 -78
  182. package/dist/server/{registry-4ZF3bUuJ.mjs → registry-Cdvz1OtL.mjs} +539 -401
  183. package/dist/server/rendering/server.mjs +4 -4
  184. package/dist/server/rendering.mjs +8 -8
  185. package/dist/server/{resolveBlockData-BKQ1Fc0M.mjs → resolveBlockData-CLpAJWWf.mjs} +1 -1
  186. package/dist/server/routing.mjs +1 -1
  187. package/dist/server/{schema-DgrigZq9.mjs → schema-uSA_x1Zh.mjs} +247 -57
  188. package/dist/server/server.mjs +3 -3
  189. package/dist/server/{site-styles-CxE9F3hj.mjs → site-styles-CntHn2KI.mjs} +61 -37
  190. package/dist/server/{siteChromeOverlayClearance-OhS6f830.mjs → siteChromeOverlayClearance-DqP40Ka0.mjs} +32 -36
  191. package/dist/server/{src-C44_fMy5.mjs → src-DsYPhTbs.mjs} +1289 -90
  192. package/dist/server/theme-bridge.mjs +1 -1
  193. package/dist/server/theme.mjs +1 -1
  194. package/dist/server/{themeAdmission-CVc04B9m.mjs → themeAdmission-CSknYpxk.mjs} +3 -2
  195. package/dist/server/{validation-BrbY0nxR.mjs → validation-DYxhLzqQ.mjs} +2 -2
  196. package/dist/server/{version-BBSk8uM6.mjs → version-Beu4q-Gv.mjs} +1 -1
  197. package/dist/styles/index.css +1173 -72
  198. package/package.json +2 -3
  199. package/dist/_dts/AltchaWidget-COIYJ7DF.d.ts +0 -33
  200. package/dist/_dts/index-D2y4Iy-d.d.ts +0 -77
  201. package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
  202. package/dist/client/src-BNZzXgWu.mjs +0 -102
  203. package/dist/preview-next/client/spinner-CjxE3uws.mjs +0 -67
  204. package/dist/server/loadPage-D2qvYV5g.mjs +0 -2
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { $ as generateInteractiveChildInheritanceCSS, $n as requirePaletteColorsFromEntries, Bt as makeBoundaryId, Ct as asDesignBoundaryId, Dt as asPageFlowPresetId, Et as asLayoutVariantKey, Fn as planForegroundHover, G as headerInteractionPaletteValues, Gt as requireNonEmptyReadonlyArray, H as cardRoleValues, Hn as scrimTone, In as TokenResolver, It as flushPanelFrame, J as logoSizePolicyValues, Jn as hexColorSchema, K as headerInteractionQuietPalette, Kn as featuresFromHex, On as surfaceToneFromForegroundToken, Ot as asSiteStyleId, Q as generateBaseInteractiveCSS, Qn as paletteValueKeySchema, Qt as resolveSurface, St as asDesignBlockId, Tt as asDesignSystemTemplateId, Ut as panelFrame, V as cardRoleSchema, Vn as gradientScrimSamples, Vt as noHeadingDecoration, Wn as resolveConcreteColorHex, Wt as plainFrame, X as buttonStyleSelectionSchema, Xn as paletteModeSchema, Y as defaultButtonStyleSelectionFor, Yn as paletteColorsSchema, Z as generateEffectsCSS, Zn as paletteValueKey, _r as parseEditorSessionGeneration, _t as arrangementModes, an as surfaceForegroundInputFromResolved, at as navLinkHoverColorCandidate, bt as asBlockOrderIndex, ct as navEffectPolicy, er as unsafeAsOpaqueButtonColourToken, et as NAV_LINK_BORDER_RADIUS_MAP, ft as runtimeBoxBackgroundSchema, gt as themeV2RuntimeStyleFieldNames, hn as rgbColorValue, it as NAV_LINK_TEXT_SIZE_MAP, jt as defineExactCatalog, kn as resolveSurfaceForeground, kt as assertNever, mt as siteChromeBackgroundOverrideOwner, n as headerPositioningValues, nr as themeColorShadeSteps, nt as NAV_LINK_PADDING_MAP, ot as navLinkOwnsHoverForeground, q as brandDisplayModeValues, rt as NAV_LINK_PADDING_X_MAP, sn as surfaceForegroundValue, st as navLinkOwnsUnderline, tr as parseThemeColorToken, tt as NAV_LINK_LETTER_SPACING_MAP, vt as asAppearancePresetId, wt as asDesignPageId, xt as asBoundaryOptionId, yt as asBlockContentVersionId, zn as expandPalette, zt as isArrangementMode } from "./schema-BFwQDvJL.mjs";
2
+ import { $ as generateInteractiveChildInheritanceCSS, $t as resolveSurface, At as assertNever, Bt as isArrangementMode, Ct as asDesignBlockId, Dt as asLayoutVariantKey, En as expandPalette, Et as asDesignSystemTemplateId, G as headerInteractionPaletteValues, Gn as paletteColorsSchema, Gt as plainFrame, H as cardRoleValues, Hn as resolveConcreteColorHex, Ht as noHeadingDecoration, In as surfaceForegroundInputFromResolved, J as logoSizePolicyValues, Jn as paletteValueKeySchema, K as headerInteractionQuietPalette, Kn as paletteModeSchema, Kt as requireNonEmptyReadonlyArray, Lt as flushPanelFrame, Mt as defineExactCatalog, On as planForegroundHover, Ot as asPageFlowPresetId, Q as generateBaseInteractiveCSS, Rn as surfaceForegroundValue, St as asBoundaryOptionId, Tt as asDesignPageId, V as cardRoleSchema, Vt as makeBoundaryId, Wn as hexColorSchema, Wt as panelFrame, X as buttonStyleSelectionSchema, Y as defaultButtonStyleSelectionFor, Yn as requirePaletteColorsFromEntries, Z as generateEffectsCSS, Zn as featuresFromHex, _t as themeV2RuntimeStyleFieldNames, at as navLinkHoverColorCandidate, bn as resolveSurfaceForeground, bt as asBlockContentVersionId, ct as navEffectPolicy, et as NAV_LINK_BORDER_RADIUS_MAP, fn as rgbColorValue, ft as runtimeBoxBackgroundSchema, it as NAV_LINK_TEXT_SIZE_MAP, kn as TokenResolver, kt as asSiteStyleId, mt as siteChromeBackgroundOverrideOwner, n as headerPositioningValues, nn as gradientScrimSamples, nr as parseThemeColorToken, nt as NAV_LINK_PADDING_MAP, ot as navLinkOwnsHoverForeground, q as brandDisplayModeValues, qn as paletteValueKey, rn as scrimTone, rr as themeColorShadeSteps, rt as NAV_LINK_PADDING_X_MAP, st as navLinkOwnsUnderline, tr as unsafeAsOpaqueButtonColourToken, tt as NAV_LINK_LETTER_SPACING_MAP, vr as parseEditorSessionGeneration, vt as arrangementModes, wt as asDesignBoundaryId, xt as asBlockOrderIndex, yn as surfaceToneFromForegroundToken, yt as asAppearancePresetId } from "./schema-BdSglH2X.mjs";
3
3
  import { z } from "zod";
4
4
  //#region ../theme-core/src/site-styles/appearancePresetTypes.ts
5
5
  /** Block supply is capability, never a second Look catalogue. */
@@ -64,6 +64,9 @@ const lookKnobBlocks = {
64
64
  showPhotos: cardListKnobBlocks,
65
65
  cardMarker: cardListFamilyBlocks,
66
66
  dates: "block.offerings-preview",
67
+ columns: "block.feature-cards",
68
+ listColumns: "block.event-calendar",
69
+ blackAndWhite: "block.image-gallery",
67
70
  showCapacity: "block.event-calendar",
68
71
  quoteCount: "block.testimonials",
69
72
  archFrame: [
@@ -73,6 +76,11 @@ const lookKnobBlocks = {
73
76
  ],
74
77
  tilt: "block.testimonials"
75
78
  };
79
+ /** Facts about how the owner set the block up, rather than what they filled in. */
80
+ const lookSettingFacts = ["listed-by-week"];
81
+ function isLookSettingFact(fact) {
82
+ return lookSettingFacts.includes(fact);
83
+ }
76
84
  function isArrangementAppearancePreset(preset) {
77
85
  return preset.structure.kind === "arrangement";
78
86
  }
@@ -113,13 +121,15 @@ const arrangementLookTargets = {
113
121
  "cta-full": "cta",
114
122
  "location-map": "location"
115
123
  };
116
- function defineArrangementLook(id, block, name, arrangement, knobs, input = {}) {
124
+ function defineArrangementLook(id, block, name, arrangement, knobs, input) {
117
125
  const mode = block === "event-calendar" ? "list" : null;
126
+ const { thumbnail, ...structure } = input;
118
127
  return {
119
128
  id: asAppearancePresetId(id),
120
129
  blockKinds: [`block.${block}`],
121
130
  label: name,
122
131
  target: arrangementLookTargets[block],
132
+ thumbnail,
123
133
  structure: {
124
134
  kind: "arrangement",
125
135
  byMode: { [mode ?? "default"]: arrangement },
@@ -127,12 +137,13 @@ function defineArrangementLook(id, block, name, arrangement, knobs, input = {})
127
137
  itemRoles: {},
128
138
  whenMissing: [],
129
139
  styleFallback: [],
130
- ...input,
131
- ...cardListKnobDefaults(block, arrangement, knobs, input.knobDefaults)
140
+ photoUse: "none",
141
+ ...structure,
142
+ ...cardListKnobDefaults(block, arrangement, knobs, structure.knobDefaults)
132
143
  }
133
144
  };
134
145
  }
135
- function defineCardListLook(id, name, arrangement, requires, knobs, input = {}) {
146
+ function defineCardListLook(id, name, arrangement, requires, knobs, input) {
136
147
  const base = defineArrangementLook(id, "feature-cards", name, arrangement, knobs, input);
137
148
  return {
138
149
  ...base,
@@ -152,6 +163,119 @@ function defineCardListLook(id, name, arrangement, requires, knobs, input = {})
152
163
  };
153
164
  }
154
165
  //#endregion
166
+ //#region ../theme-core/src/site-styles/lookThumbnail.ts
167
+ /** Short builders, so each Look's drawing reads as one line in the catalogue. */
168
+ const sketch = {
169
+ page: (items, options = {}) => ({
170
+ ground: options.ground ?? "page",
171
+ align: options.align ?? "start",
172
+ items
173
+ }),
174
+ band: (items, options = {}) => ({
175
+ ground: "band",
176
+ align: options.align ?? "start",
177
+ items
178
+ }),
179
+ rule: { kind: "rule" },
180
+ title: (width = .55, size = "medium") => ({
181
+ kind: "title",
182
+ width,
183
+ size
184
+ }),
185
+ text: (lines = 3, width = 1) => ({
186
+ kind: "text",
187
+ lines,
188
+ width
189
+ }),
190
+ photo: (height = "medium", shape = "rect") => ({
191
+ kind: "photo",
192
+ shape,
193
+ height
194
+ }),
195
+ button: {
196
+ kind: "button",
197
+ style: "solid"
198
+ },
199
+ link: {
200
+ kind: "button",
201
+ style: "link"
202
+ },
203
+ field: { kind: "field" },
204
+ quote: (size = "small") => ({
205
+ kind: "quote",
206
+ size
207
+ }),
208
+ map: { kind: "map" },
209
+ calendar: { kind: "calendar" },
210
+ number: { kind: "number" },
211
+ price: { kind: "price" },
212
+ divider: { kind: "divider" },
213
+ row: (...columns) => ({
214
+ kind: "row",
215
+ align: "start",
216
+ columns: columns.map((column) => "items" in column ? column : {
217
+ weight: 1,
218
+ items: column
219
+ })
220
+ }),
221
+ middle: (...columns) => ({
222
+ kind: "row",
223
+ align: "center",
224
+ columns: columns.map((column) => "items" in column ? column : {
225
+ weight: 1,
226
+ items: column
227
+ })
228
+ }),
229
+ weight: (weight, items) => ({
230
+ weight,
231
+ items
232
+ }),
233
+ card: (items) => ({
234
+ kind: "box",
235
+ frame: "card",
236
+ items
237
+ }),
238
+ panel: (items) => ({
239
+ kind: "box",
240
+ frame: "panel",
241
+ items
242
+ }),
243
+ accentCard: (items) => ({
244
+ kind: "box",
245
+ frame: "accent",
246
+ items
247
+ }),
248
+ featured: (items) => ({
249
+ kind: "box",
250
+ frame: "featured",
251
+ items
252
+ }),
253
+ across: (count, item, options = {}) => ({
254
+ kind: "repeat",
255
+ count,
256
+ direction: "row",
257
+ item,
258
+ ruled: false,
259
+ overflow: options.overflow ?? false,
260
+ arrows: options.arrows ?? false
261
+ }),
262
+ down: (count, item, options = {}) => ({
263
+ kind: "repeat",
264
+ count,
265
+ direction: "column",
266
+ item,
267
+ ruled: options.ruled ?? false,
268
+ overflow: false,
269
+ arrows: false
270
+ }),
271
+ over: (photo, items, options = {}) => ({
272
+ kind: "overlay",
273
+ photo,
274
+ items,
275
+ panel: options.panel ?? false
276
+ })
277
+ };
278
+ //#endregion
155
279
  //#region ../theme-core/src/site-styles/lookOptionGroups.ts
156
280
  function defineLookOptionGroup(group) {
157
281
  defaultOption(group);
@@ -1157,35 +1281,93 @@ const appearancePresets = [
1157
1281
  eyebrowTreatment: "accent"
1158
1282
  }
1159
1283
  }),
1160
- defineArrangementLook("body-text-reading-column", "body-text", "Reading column", "prose", []),
1284
+ defineArrangementLook("body-text-reading-column", "body-text", "Reading column", "prose", [], { thumbnail: sketch.page([
1285
+ sketch.rule,
1286
+ sketch.title(.5),
1287
+ sketch.text(4)
1288
+ ], { align: "center" }) }),
1161
1289
  defineArrangementLook("form-beside-introduction-arched-panel", "form", "Introduction beside a framed form", "two-column", [], {
1290
+ thumbnail: sketch.page([sketch.middle([
1291
+ sketch.rule,
1292
+ sketch.title(.8),
1293
+ sketch.text(3)
1294
+ ], [sketch.panel([
1295
+ sketch.field,
1296
+ sketch.field,
1297
+ sketch.button
1298
+ ])])]),
1162
1299
  slotRoles: { panel: "card" },
1163
1300
  styleFallback: [id$1("form-below-introduction")]
1164
1301
  }),
1165
- defineArrangementLook("newsletter-signup-in-arch", "newsletter-signup", "Signup in a frame", "arch", [], { styleFallback: [id$1("newsletter-signup-text-beside")] }),
1166
- defineArrangementLook("image-gallery-square-tiles", "image-gallery", "Square tiles", "tiles", []),
1167
- defineArrangementLook("image-gallery-arched-captions", "image-gallery", "Arched photos with captions", "tiles", [], { styleFallback: [id$1("image-gallery-square-tiles")] }),
1302
+ defineArrangementLook("newsletter-signup-in-arch", "newsletter-signup", "Signup in a frame", "arch", [], {
1303
+ thumbnail: sketch.band([sketch.panel([
1304
+ sketch.title(.6),
1305
+ sketch.text(1, .7),
1306
+ sketch.row(sketch.weight(3, [sketch.field]), sketch.weight(1, [sketch.button]))
1307
+ ])], { align: "center" }),
1308
+ styleFallback: [id$1("newsletter-signup-text-beside")]
1309
+ }),
1310
+ defineArrangementLook("image-gallery-square-tiles", "image-gallery", "Square tiles", "tiles", ["blackAndWhite"], { thumbnail: sketch.page([
1311
+ sketch.title(.4),
1312
+ sketch.across(4, [sketch.photo("short")]),
1313
+ sketch.across(4, [sketch.photo("short")])
1314
+ ]) }),
1315
+ defineArrangementLook("image-gallery-arched-captions", "image-gallery", "Arched photos with captions", "tiles", ["blackAndWhite"], {
1316
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.photo("tall", "arch"), sketch.text(1, .7)])]),
1317
+ styleFallback: [id$1("image-gallery-square-tiles")]
1318
+ }),
1168
1319
  defineArrangementLook("media-text-circle-beside-text", "media-text", "Circle beside the text", "circle-beside", ["imagePosition"], {
1320
+ thumbnail: sketch.page([sketch.middle([sketch.photo("medium", "circle")], [sketch.title(.8), sketch.text(3)])]),
1169
1321
  forcedKnobs: {
1170
1322
  imageShape: "circle",
1171
1323
  aspectRatio: "1/1"
1172
1324
  },
1173
1325
  styleFallback: [id$1("media-text-photo-beside-text")]
1174
1326
  }),
1175
- defineArrangementLook("hero-photo-beside-text", "hero", "Photo beside the text", "split", heroKnobs, { slotRoles: { sticker: "highlight" } }),
1327
+ defineArrangementLook("hero-photo-beside-text", "hero", "Photo beside the text", "split", heroKnobs, {
1328
+ photoUse: "beside",
1329
+ thumbnail: sketch.page([sketch.middle([
1330
+ sketch.rule,
1331
+ sketch.title(.95, "large"),
1332
+ sketch.title(.7, "large"),
1333
+ sketch.text(2),
1334
+ sketch.button
1335
+ ], [sketch.photo("tall")])]),
1336
+ slotRoles: { sticker: "highlight" }
1337
+ }),
1176
1338
  defineArrangementLook("hero-headline-row", "hero", "Big headline, then text and photo", "headline-row", heroKnobs, {
1339
+ photoUse: "beside",
1340
+ thumbnail: sketch.page([sketch.title(.9, "large"), sketch.row([sketch.text(3), sketch.button], [sketch.photo("medium")])]),
1177
1341
  slotRoles: { sticker: "highlight" },
1178
1342
  styleFallback: [id$1("hero-photo-beside-text")]
1179
1343
  }),
1180
1344
  defineArrangementLook("hero-copy-over-gallery", "hero", "Title over a row of photos", "copy-over-gallery", ["titleSize", "stickerLine"], {
1345
+ photoUse: "beside",
1346
+ thumbnail: sketch.page([
1347
+ sketch.title(.6, "large"),
1348
+ sketch.text(1, .5),
1349
+ sketch.across(3, [sketch.photo("short")])
1350
+ ], { align: "center" }),
1181
1351
  slotRoles: { sticker: "highlight" },
1182
1352
  styleFallback: [id$1("hero-photo-beside-text")]
1183
1353
  }),
1184
1354
  defineArrangementLook("hero-photo-behind-text", "hero", "Photo behind the text", "classic", ["titleSize", "smallCaption"], {
1355
+ photoUse: "behind",
1356
+ thumbnail: sketch.page([sketch.over("full", [
1357
+ sketch.title(.7, "large"),
1358
+ sketch.text(2, .7),
1359
+ sketch.button
1360
+ ], { panel: true })]),
1185
1361
  slotRoles: { copy: "card" },
1186
1362
  styleFallback: [id$1("hero-photo-beside-text")]
1187
1363
  }),
1188
1364
  defineArrangementLook("hero-text-over-photo", "hero", "Text over photo", "classic", [], {
1365
+ photoUse: "behind",
1366
+ thumbnail: sketch.page([sketch.over("full", [
1367
+ sketch.title(.6, "large"),
1368
+ sketch.text(2, .6),
1369
+ sketch.button
1370
+ ])]),
1189
1371
  photoTreatment: "text-overlay",
1190
1372
  whenMissing: [{
1191
1373
  fact: "photo",
@@ -1194,22 +1376,45 @@ const appearancePresets = [
1194
1376
  styleFallback: [id$1("hero-photo-behind-text")]
1195
1377
  }),
1196
1378
  defineArrangementLook("hero-short-photo-banner", "hero", "Short photo banner", "classic", [], {
1379
+ photoUse: "behind",
1380
+ thumbnail: sketch.page([sketch.over("banner", [sketch.title(.6)], { panel: true })]),
1197
1381
  slotRoles: { copy: "card" },
1198
1382
  styleFallback: [id$1("hero-page-head")]
1199
1383
  }),
1200
- defineArrangementLook("hero-page-head", "hero", "Title and facts, no photo", "page-head", ["titleSize", "smallCaption"], { styleFallback: [id$1("hero-photo-beside-text")] }),
1384
+ defineArrangementLook("hero-page-head", "hero", "Title and facts, no photo", "page-head", ["titleSize", "smallCaption"], {
1385
+ photoUse: "none",
1386
+ thumbnail: sketch.page([
1387
+ sketch.rule,
1388
+ sketch.title(.6, "large"),
1389
+ sketch.text(1, .5),
1390
+ sketch.row([sketch.text(1, .7)], [sketch.text(1, .7)], [sketch.text(1, .7)])
1391
+ ]),
1392
+ styleFallback: [id$1("hero-photo-beside-text")]
1393
+ }),
1201
1394
  defineCardListLook("feature-cards-cards", "Cards", "cards", [
1202
1395
  "media",
1203
1396
  "title",
1204
1397
  "text",
1205
1398
  "action"
1206
- ], ["showPhotos", "cardMarker"], { itemRoles: { items: "card" } }),
1399
+ ], [
1400
+ "showPhotos",
1401
+ "cardMarker",
1402
+ "columns"
1403
+ ], {
1404
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([sketch.title(.7, "small"), sketch.text(2)])])]),
1405
+ itemRoles: { items: "card" }
1406
+ }),
1207
1407
  defineCardListLook("card-list-accent-edged-cards", "Accent-edged cards", "cards", [
1208
1408
  "media",
1209
1409
  "title",
1210
1410
  "text",
1211
1411
  "action"
1212
- ], ["showPhotos", "cardMarker"], {
1412
+ ], [
1413
+ "showPhotos",
1414
+ "cardMarker",
1415
+ "columns"
1416
+ ], {
1417
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.accentCard([sketch.title(.7, "small"), sketch.text(2)])])]),
1213
1418
  itemRoles: { items: "card" },
1214
1419
  styleFallback: [id$1("feature-cards-cards")]
1215
1420
  }),
@@ -1218,7 +1423,12 @@ const appearancePresets = [
1218
1423
  "title",
1219
1424
  "text",
1220
1425
  "action"
1221
- ], ["showPhotos", "cardMarker"], {
1426
+ ], [
1427
+ "showPhotos",
1428
+ "cardMarker",
1429
+ "columns"
1430
+ ], {
1431
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.title(.7, "small"), sketch.text(3)])]),
1222
1432
  knobDefaults: { actionStyle: "link" },
1223
1433
  styleFallback: [id$1("feature-cards-cards")]
1224
1434
  }),
@@ -1228,6 +1438,11 @@ const appearancePresets = [
1228
1438
  "text",
1229
1439
  "action"
1230
1440
  ], ["showPhotos"], {
1441
+ thumbnail: sketch.page([sketch.row(sketch.weight(4, [sketch.featured([
1442
+ sketch.photo("medium"),
1443
+ sketch.title(.7),
1444
+ sketch.text(2)
1445
+ ])]), sketch.weight(3, [sketch.down(2, [sketch.title(.7, "small"), sketch.text(2)])]))]),
1231
1446
  itemRoles: { at: { first: "statement" } },
1232
1447
  styleFallback: [id$1("feature-cards-cards")]
1233
1448
  }),
@@ -1236,6 +1451,7 @@ const appearancePresets = [
1236
1451
  "text",
1237
1452
  "action"
1238
1453
  ], ["cardMarker"], {
1454
+ 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 })]),
1239
1455
  knobDefaults: { cardMarker: "none" },
1240
1456
  knobValues: { cardMarker: ["numbers", "none"] },
1241
1457
  styleFallback: [id$1("feature-cards-cards")]
@@ -1245,6 +1461,11 @@ const appearancePresets = [
1245
1461
  "text",
1246
1462
  "action"
1247
1463
  ], [], {
1464
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [
1465
+ sketch.number,
1466
+ sketch.title(.7, "small"),
1467
+ sketch.text(2)
1468
+ ])]),
1248
1469
  forcedKnobs: { cardMarker: "numbers" },
1249
1470
  styleFallback: [id$1("feature-cards-cards")]
1250
1471
  }),
@@ -1256,105 +1477,210 @@ const appearancePresets = [
1256
1477
  "schedule",
1257
1478
  "action"
1258
1479
  ], ["showPhotos"], {
1480
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([
1481
+ sketch.photo("short"),
1482
+ sketch.title(.7, "small"),
1483
+ sketch.text(1),
1484
+ sketch.link
1485
+ ])])]),
1259
1486
  knobDefaults: {
1260
1487
  actionStyle: "link",
1261
1488
  cardMarker: "none"
1262
1489
  },
1263
1490
  styleFallback: [id$1("feature-cards-cards")]
1264
1491
  }),
1265
- defineArrangementLook("event-calendar-ruled-rows", "event-calendar", "Ruled rows", "ledger", ["showCapacity"]),
1266
- defineArrangementLook("event-calendar-grouped-by-day", "event-calendar", "Grouped by day", "day-groups", ["showCapacity"], { styleFallback: [id$1("event-calendar-ruled-rows")] }),
1267
- defineArrangementLook("event-calendar-session-cards", "event-calendar", "Session cards", "grid", ["showCapacity", "showPhotos"], {
1492
+ 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 })])]) }),
1493
+ defineArrangementLook("event-calendar-grouped-by-day", "event-calendar", "Grouped by day", "day-groups", ["showCapacity"], {
1494
+ 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 })])])]),
1495
+ styleFallback: [id$1("event-calendar-ruled-rows")]
1496
+ }),
1497
+ {
1498
+ ...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)])])])]) }),
1499
+ structure: {
1500
+ kind: "arrangement",
1501
+ byMode: { list: "week-columns" },
1502
+ knobs: ["showCapacity"],
1503
+ itemRoles: {},
1504
+ whenMissing: [{
1505
+ fact: "listed-by-week",
1506
+ look: id$1("event-calendar-grouped-by-day")
1507
+ }],
1508
+ styleFallback: [id$1("event-calendar-grouped-by-day")],
1509
+ photoUse: "none"
1510
+ }
1511
+ },
1512
+ defineArrangementLook("event-calendar-session-cards", "event-calendar", "Session cards", "grid", [
1513
+ "showCapacity",
1514
+ "showPhotos",
1515
+ "listColumns"
1516
+ ], {
1517
+ thumbnail: sketch.band([sketch.title(.4), sketch.across(3, [sketch.card([
1518
+ sketch.title(.4, "small"),
1519
+ sketch.title(.8, "small"),
1520
+ sketch.text(1),
1521
+ sketch.button
1522
+ ])])]),
1268
1523
  itemRoles: { items: "card" },
1269
1524
  slotRoles: { date: "highlight" },
1270
1525
  styleFallback: [id$1("event-calendar-ruled-rows")]
1271
1526
  }),
1272
1527
  defineArrangementLook("event-calendar-next-three", "event-calendar", "Compact rows", "compact", ["showCapacity"], {
1528
+ 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 })])]),
1273
1529
  itemRoles: { container: "card" },
1274
1530
  styleFallback: [id$1("event-calendar-ruled-rows")]
1275
1531
  }),
1276
- defineArrangementLook("events-spotlight", "event-calendar", "Event spotlight", "grid", ["showCapacity", "showPhotos"], {
1532
+ defineArrangementLook("events-spotlight", "event-calendar", "Event spotlight", "grid", [
1533
+ "showCapacity",
1534
+ "showPhotos",
1535
+ "listColumns"
1536
+ ], {
1537
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([
1538
+ sketch.photo("short"),
1539
+ sketch.title(.8, "small"),
1540
+ sketch.text(1),
1541
+ sketch.button
1542
+ ])])]),
1277
1543
  itemRoles: { items: "card" },
1278
1544
  slotRoles: { date: "highlight" },
1279
1545
  styleFallback: [id$1("event-calendar-session-cards")]
1280
1546
  }),
1281
1547
  {
1282
- ...defineArrangementLook("events-recurring-week", "event-calendar", "Weekly schedule", "ledger", []),
1548
+ ...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)])])])]) }),
1283
1549
  structure: {
1284
1550
  kind: "arrangement",
1285
1551
  byMode: { week: "ledger" },
1286
1552
  knobs: [],
1287
1553
  itemRoles: {},
1288
1554
  whenMissing: [],
1289
- styleFallback: []
1555
+ styleFallback: [],
1556
+ photoUse: "none"
1290
1557
  }
1291
1558
  },
1292
- defineArrangementLook("hero-framed-title", "hero", "Title framed between two photos", "copy-over-gallery", ["titleSize", "smallCaption"], { styleFallback: [id$1("hero-copy-over-gallery")] }),
1293
- 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." } }),
1559
+ defineArrangementLook("hero-framed-title", "hero", "Title framed between two photos", "copy-over-gallery", ["titleSize", "smallCaption"], {
1560
+ photoUse: "beside",
1561
+ thumbnail: sketch.page([sketch.middle([sketch.photo("tall")], [sketch.title(.95, "large"), sketch.title(.7, "large")], [sketch.photo("tall")])]),
1562
+ styleFallback: [id$1("hero-copy-over-gallery")]
1563
+ }),
1564
+ defineArrangementLook("testimonials-lead-quote", "testimonials", "Big quote with others beside", "lead-rest", ["quoteCount"], {
1565
+ thumbnail: sketch.band([sketch.row(sketch.weight(3, [
1566
+ sketch.quote("large"),
1567
+ sketch.title(.95, "small"),
1568
+ sketch.title(.8, "small"),
1569
+ sketch.text(1, .3)
1570
+ ]), sketch.weight(2, [sketch.down(2, [sketch.text(2), sketch.text(1, .3)])]))]),
1571
+ knobDescriptions: { quoteCount: "Shows your chosen quotes: the first one large, the rest beside it." }
1572
+ }),
1294
1573
  defineArrangementLook("testimonials-quote-cards", "testimonials", "Quote cards", "columns", ["quoteCount"], {
1574
+ thumbnail: sketch.band([sketch.title(.4), sketch.across(3, [sketch.card([sketch.quote(), sketch.text(3)])])]),
1295
1575
  knobDescriptions: { quoteCount: "Shows your chosen quotes as cards in a row." },
1296
1576
  itemRoles: { items: "card" },
1297
1577
  styleFallback: [id$1("testimonials-quote-columns")]
1298
1578
  }),
1299
1579
  defineArrangementLook("testimonials-quote-columns", "testimonials", "Quotes in open columns", "columns", ["quoteCount"], {
1580
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.quote(), sketch.text(3)])]),
1300
1581
  knobDescriptions: { quoteCount: "Shows your chosen quotes in columns." },
1301
1582
  styleFallback: [id$1("testimonials-lead-quote")]
1302
1583
  }),
1303
- defineArrangementLook("testimonials-one-quote", "testimonials", "One quote", "single", [], { styleFallback: [id$1("testimonials-lead-quote")] }),
1584
+ defineArrangementLook("testimonials-one-quote", "testimonials", "One quote", "single", [], {
1585
+ thumbnail: sketch.page([
1586
+ sketch.quote("large"),
1587
+ sketch.title(.8, "small"),
1588
+ sketch.title(.7, "small"),
1589
+ sketch.text(1, .3)
1590
+ ], { align: "center" }),
1591
+ styleFallback: [id$1("testimonials-lead-quote")]
1592
+ }),
1304
1593
  defineArrangementLook("testimonials-one-at-a-time", "testimonials", "One at a time, with arrows", "slides", ["quoteCount"], {
1594
+ thumbnail: sketch.band([sketch.across(1, [sketch.card([sketch.quote(), sketch.text(3)])], { arrows: true })]),
1305
1595
  knobDescriptions: { quoteCount: "Shows your chosen quotes, one at a time." },
1306
1596
  styleFallback: [id$1("testimonials-one-quote")]
1307
1597
  }),
1308
1598
  defineArrangementLook("testimonials-scroll-row", "testimonials", "A row of cards you can scroll", "track", ["quoteCount"], {
1599
+ thumbnail: sketch.band([sketch.title(.4), sketch.across(4, [sketch.card([sketch.quote(), sketch.text(2)])], { overflow: true })]),
1309
1600
  knobDescriptions: { quoteCount: "Shows your chosen quotes in a row you can scroll." },
1310
1601
  itemRoles: { items: "card" },
1311
1602
  styleFallback: [id$1("testimonials-quote-cards")]
1312
1603
  }),
1313
1604
  {
1314
- ...defineArrangementLook("event-calendar-month-grid", "event-calendar", "Month grid", "month-grid", []),
1605
+ ...defineArrangementLook("event-calendar-month-grid", "event-calendar", "Month grid", "month-grid", [], { thumbnail: sketch.page([sketch.title(.4), sketch.calendar]) }),
1315
1606
  structure: {
1316
1607
  kind: "arrangement",
1317
1608
  byMode: { calendar: "month-grid" },
1318
1609
  knobs: [],
1319
1610
  itemRoles: {},
1320
1611
  whenMissing: [],
1321
- styleFallback: []
1612
+ styleFallback: [],
1613
+ photoUse: "none"
1322
1614
  }
1323
1615
  },
1324
1616
  {
1325
- ...defineArrangementLook("event-calendar-month-day", "event-calendar", "Calendar beside the day", "month-day", []),
1617
+ ...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 })]))]) }),
1326
1618
  structure: {
1327
1619
  kind: "arrangement",
1328
1620
  byMode: { calendar: "month-day" },
1329
1621
  knobs: [],
1330
1622
  itemRoles: {},
1331
1623
  whenMissing: [],
1332
- styleFallback: [id$1("event-calendar-month-grid")]
1624
+ styleFallback: [id$1("event-calendar-month-grid")],
1625
+ photoUse: "none"
1333
1626
  }
1334
1627
  },
1335
1628
  defineArrangementLook("event-details-header", "event-details", "Event header", "event-header", [], {
1629
+ thumbnail: sketch.page([
1630
+ sketch.rule,
1631
+ sketch.title(.7, "large"),
1632
+ sketch.text(1, .5),
1633
+ sketch.middle([sketch.text(1)], [sketch.text(1)], [sketch.button])
1634
+ ]),
1336
1635
  actionSize: "lg",
1337
1636
  slotRoles: { availability: "highlight" }
1338
1637
  }),
1339
1638
  defineArrangementLook("event-details-panel", "event-details", "Details panel", "details-panel", [], {
1639
+ 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])]))]),
1340
1640
  slotRoles: { panel: "card" },
1341
1641
  styleFallback: [id$1("event-details-header")]
1342
1642
  }),
1343
- defineArrangementLook("intro-statement-beside-text", "intro", "Big statement beside the text", "statement-copy", [], { styleFallback: [id$1("intro-photo-beside-text")] }),
1344
- defineArrangementLook("intro-photo-beside-text", "intro", "Small photo beside the text", "media-copy", ["imagePosition", "imageShape"], { whenMissing: [{
1345
- fact: "photo",
1346
- look: id$1("intro-statement-beside-text")
1347
- }] }),
1348
- defineArrangementLook("media-text-photo-beside-text", "media-text", "Photo beside the text", "default", ["imagePosition", "imageShape"]),
1643
+ defineArrangementLook("intro-statement-beside-text", "intro", "Big statement beside the text", "statement-copy", [], {
1644
+ thumbnail: sketch.page([sketch.row([sketch.title(.95, "large"), sketch.title(.8, "large")], [sketch.text(5)])]),
1645
+ styleFallback: [id$1("intro-photo-beside-text")]
1646
+ }),
1647
+ defineArrangementLook("intro-photo-beside-text", "intro", "Small photo beside the text", "media-copy", ["imagePosition", "imageShape"], {
1648
+ thumbnail: sketch.page([sketch.middle(sketch.weight(1, [sketch.photo("medium")]), sketch.weight(2, [sketch.title(.7), sketch.text(3)]))]),
1649
+ whenMissing: [{
1650
+ fact: "photo",
1651
+ look: id$1("intro-statement-beside-text")
1652
+ }]
1653
+ }),
1654
+ defineArrangementLook("media-text-photo-beside-text", "media-text", "Photo beside the text", "default", ["imagePosition", "imageShape"], { thumbnail: sketch.page([sketch.middle([sketch.photo("tall")], [
1655
+ sketch.rule,
1656
+ sketch.title(.8),
1657
+ sketch.text(3)
1658
+ ])]) }),
1349
1659
  defineArrangementLook("newsletter-signup-one-row", "newsletter-signup", "Signup in one row", "inline", [], {
1660
+ thumbnail: sketch.band([
1661
+ sketch.title(.6),
1662
+ sketch.text(1, .6),
1663
+ sketch.row(sketch.weight(3, [sketch.field]), sketch.weight(1, [sketch.button]))
1664
+ ]),
1350
1665
  slotRoles: { panel: "card" },
1351
1666
  styleFallback: [id$1("newsletter-signup-text-beside")]
1352
1667
  }),
1353
1668
  defineArrangementLook("newsletter-signup-text-beside", "newsletter-signup", "Text beside the signup", "editorial-split", [], {
1669
+ thumbnail: sketch.band([sketch.middle([sketch.title(.9), sketch.text(2)], [sketch.field, sketch.button])]),
1354
1670
  slotRoles: { panel: "card" },
1355
1671
  styleFallback: [id$1("newsletter-signup-in-arch")]
1356
1672
  }),
1357
1673
  defineArrangementLook("form-below-introduction", "form", "Form below its introduction", "default", [], {
1674
+ thumbnail: sketch.page([
1675
+ sketch.rule,
1676
+ sketch.title(.5),
1677
+ sketch.text(2, .7),
1678
+ sketch.panel([
1679
+ sketch.field,
1680
+ sketch.field,
1681
+ sketch.button
1682
+ ])
1683
+ ]),
1358
1684
  slotRoles: { panel: "card" },
1359
1685
  styleFallback: [id$1("form-beside-introduction-arched-panel")]
1360
1686
  }),
@@ -1364,6 +1690,11 @@ const appearancePresets = [
1364
1690
  "text",
1365
1691
  "action"
1366
1692
  ], ["showPhotos"], {
1693
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(1, [sketch.card([sketch.row([sketch.photo("medium")], [
1694
+ sketch.title(.7, "small"),
1695
+ sketch.text(2),
1696
+ sketch.button
1697
+ ])])], { arrows: true })]),
1367
1698
  itemRoles: { items: "card" },
1368
1699
  slotRoles: { date: "highlight" },
1369
1700
  knobDefaults: {
@@ -1378,6 +1709,11 @@ const appearancePresets = [
1378
1709
  "text",
1379
1710
  "action"
1380
1711
  ], ["showPhotos"], {
1712
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(4, [sketch.card([
1713
+ sketch.photo("short"),
1714
+ sketch.title(.7, "small"),
1715
+ sketch.text(1)
1716
+ ])], { overflow: true })]),
1381
1717
  itemRoles: { items: "card" },
1382
1718
  slotRoles: { date: "highlight" },
1383
1719
  knobDefaults: {
@@ -1386,30 +1722,77 @@ const appearancePresets = [
1386
1722
  },
1387
1723
  styleFallback: [id$1("feature-cards-cards")]
1388
1724
  }),
1389
- defineArrangementLook("body-text-title-beside", "body-text", "Title beside the text", "prose", [], { styleFallback: [id$1("body-text-reading-column")] }),
1390
- defineArrangementLook("body-text-large-opening", "body-text", "Large opening paragraph", "prose", [], { styleFallback: [id$1("body-text-reading-column")] }),
1391
- defineArrangementLook("faq-questions-under-title", "faq", "Questions under the title", "default", []),
1392
- defineArrangementLook("faq-title-beside-questions", "faq", "Title beside the questions", "two-column", [], { styleFallback: [id$1("faq-questions-under-title")] }),
1393
- defineArrangementLook("faq-questions-two-columns", "faq", "Questions in two columns", "question-columns", [], { styleFallback: [id$1("faq-questions-under-title")] }),
1394
- defineArrangementLook("faq-all-answers-showing", "faq", "All answers showing", "open", [], { styleFallback: [id$1("faq-questions-two-columns")] }),
1395
- defineArrangementLook("image-gallery-lead-photo", "image-gallery", "One large photo, then smaller ones", "tiles", [], { styleFallback: [id$1("image-gallery-square-tiles")] }),
1396
- 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")] }),
1397
- defineArrangementLook("cta-centred", "cta-full", "Centred, buttons below", "default", []),
1398
- defineArrangementLook("cta-title-beside-buttons", "cta-full", "Title beside the buttons", "default", [], { styleFallback: [id$1("cta-centred")] }),
1725
+ defineArrangementLook("body-text-title-beside", "body-text", "Title beside the text", "prose", [], {
1726
+ thumbnail: sketch.page([sketch.row(sketch.weight(2, [
1727
+ sketch.rule,
1728
+ sketch.title(.9),
1729
+ sketch.title(.6)
1730
+ ]), sketch.weight(3, [sketch.text(5)]))]),
1731
+ styleFallback: [id$1("body-text-reading-column")]
1732
+ }),
1733
+ defineArrangementLook("body-text-large-opening", "body-text", "Large opening paragraph", "prose", [], {
1734
+ thumbnail: sketch.page([
1735
+ sketch.title(.45),
1736
+ sketch.title(.95, "small"),
1737
+ sketch.title(.8, "small"),
1738
+ sketch.text(2)
1739
+ ]),
1740
+ styleFallback: [id$1("body-text-reading-column")]
1741
+ }),
1742
+ 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 })]) }),
1743
+ defineArrangementLook("faq-title-beside-questions", "faq", "Title beside the questions", "two-column", [], {
1744
+ 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 })]))]),
1745
+ styleFallback: [id$1("faq-questions-under-title")]
1746
+ }),
1747
+ defineArrangementLook("faq-questions-two-columns", "faq", "Questions in two columns", "question-columns", [], {
1748
+ 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 })])]),
1749
+ styleFallback: [id$1("faq-questions-under-title")]
1750
+ }),
1751
+ defineArrangementLook("faq-all-answers-showing", "faq", "All answers showing", "open", [], {
1752
+ thumbnail: sketch.page([sketch.title(.4), sketch.down(3, [sketch.title(.5, "small"), sketch.text(2)])]),
1753
+ styleFallback: [id$1("faq-questions-two-columns")]
1754
+ }),
1755
+ defineArrangementLook("image-gallery-lead-photo", "image-gallery", "One large photo, then smaller ones", "tiles", ["blackAndWhite"], {
1756
+ thumbnail: sketch.page([sketch.row(sketch.weight(2, [sketch.photo("tall")]), sketch.weight(1, [sketch.photo("short"), sketch.photo("short")]))]),
1757
+ styleFallback: [id$1("image-gallery-square-tiles")]
1758
+ }),
1759
+ defineArrangementLook("image-gallery-captions-under", "image-gallery", "Photos with captions underneath", "tiles", ["blackAndWhite"], {
1760
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.photo("medium"), sketch.text(1, .8)])]),
1761
+ styleFallback: [id$1("image-gallery-arched-captions"), id$1("image-gallery-square-tiles")]
1762
+ }),
1763
+ defineArrangementLook("cta-centred", "cta-full", "Centred, buttons below", "default", [], { thumbnail: sketch.band([
1764
+ sketch.title(.6),
1765
+ sketch.text(1, .5),
1766
+ sketch.middle([sketch.button], [sketch.link])
1767
+ ], { align: "center" }) }),
1768
+ defineArrangementLook("cta-title-beside-buttons", "cta-full", "Title beside the buttons", "default", [], {
1769
+ thumbnail: sketch.band([sketch.middle(sketch.weight(3, [sketch.title(.9)]), sketch.weight(1, [sketch.button]))]),
1770
+ styleFallback: [id$1("cta-centred")]
1771
+ }),
1399
1772
  defineArrangementLook("cta-figure-beside-offer", "cta-full", "Big figure beside the offer", "figure", [], {
1773
+ thumbnail: sketch.band([sketch.middle(sketch.weight(1, [sketch.title(.8, "large")]), sketch.weight(2, [
1774
+ sketch.title(.7, "small"),
1775
+ sketch.text(2),
1776
+ sketch.button
1777
+ ]))]),
1400
1778
  whenMissing: [{
1401
1779
  fact: "figure",
1402
1780
  look: id$1("cta-centred")
1403
1781
  }],
1404
1782
  styleFallback: [id$1("cta-centred")]
1405
1783
  }),
1406
- defineArrangementLook("location-map-above-details", "location-map", "Map above the details", "default", []),
1407
- defineArrangementLook("location-map-beside-address", "location-map", "Map beside the address", "map-and-details", [], { styleFallback: [id$1("location-map-above-details")] }),
1784
+ 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)])]) }),
1785
+ defineArrangementLook("location-map-beside-address", "location-map", "Map beside the address", "map-and-details", [], {
1786
+ thumbnail: sketch.page([sketch.middle(sketch.weight(2, [sketch.map]), sketch.weight(1, [sketch.title(.7, "small"), sketch.text(3)]))]),
1787
+ styleFallback: [id$1("location-map-above-details")]
1788
+ }),
1408
1789
  defineArrangementLook("location-map-address-over-wide-map", "location-map", "Address over a wide map", "map-and-details", [], {
1790
+ thumbnail: sketch.page([sketch.over("map", [sketch.title(.7, "small"), sketch.text(3)], { panel: true })]),
1409
1791
  slotRoles: { panel: "card" },
1410
1792
  styleFallback: [id$1("location-map-beside-address")]
1411
1793
  }),
1412
1794
  defineArrangementLook("location-map-entrance-photo", "location-map", "Entrance photo beside the details", "photo-and-details", [], {
1795
+ thumbnail: sketch.page([sketch.middle([sketch.photo("tall")], [sketch.title(.7, "small"), sketch.text(3)])]),
1413
1796
  whenMissing: [{
1414
1797
  fact: "entrance",
1415
1798
  look: id$1("location-map-beside-address")
@@ -1425,6 +1808,11 @@ const appearancePresets = [
1425
1808
  "chips",
1426
1809
  "action"
1427
1810
  ], ["showPhotos"], {
1811
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(4, [
1812
+ sketch.photo("tall"),
1813
+ sketch.title(.7, "small"),
1814
+ sketch.text(1, .6)
1815
+ ])]),
1428
1816
  knobDefaults: { actionStyle: "link" },
1429
1817
  styleFallback: [id$1("team-members-ruled-names")]
1430
1818
  }),
@@ -1439,6 +1827,7 @@ const appearancePresets = [
1439
1827
  "chips",
1440
1828
  "action"
1441
1829
  ], ["showPhotos"], {
1830
+ thumbnail: sketch.page([sketch.down(2, [sketch.row(sketch.weight(1, [sketch.photo("medium")]), sketch.weight(3, [sketch.title(.5, "small"), sketch.text(2)]))])]),
1442
1831
  teamBiography: "profile",
1443
1832
  knobDefaults: { actionStyle: "link" },
1444
1833
  styleFallback: [id$1("team-members-tall-portraits")]
@@ -1453,6 +1842,7 @@ const appearancePresets = [
1453
1842
  "chips",
1454
1843
  "action"
1455
1844
  ], [], {
1845
+ thumbnail: sketch.page([sketch.title(.4), sketch.down(4, [sketch.row([sketch.title(.7, "small")], [sketch.text(1, .8)])], { ruled: true })]),
1456
1846
  forcedKnobs: {
1457
1847
  showPhotos: "false",
1458
1848
  cardMarker: "none"
@@ -1469,6 +1859,12 @@ const appearancePresets = [
1469
1859
  "price",
1470
1860
  "action"
1471
1861
  ], [], {
1862
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([
1863
+ sketch.title(.6, "small"),
1864
+ sketch.price,
1865
+ sketch.text(2),
1866
+ sketch.button
1867
+ ])])]),
1472
1868
  itemRoles: { items: "card" },
1473
1869
  styleFallback: [id$1("shop-ruled-prices")]
1474
1870
  }),
@@ -1479,6 +1875,22 @@ const appearancePresets = [
1479
1875
  "price",
1480
1876
  "action"
1481
1877
  ], [], {
1878
+ thumbnail: sketch.page([sketch.title(.4), sketch.row([sketch.card([
1879
+ sketch.title(.6, "small"),
1880
+ sketch.price,
1881
+ sketch.text(2),
1882
+ sketch.button
1883
+ ])], [sketch.featured([
1884
+ sketch.title(.6, "small"),
1885
+ sketch.price,
1886
+ sketch.text(2),
1887
+ sketch.button
1888
+ ])], [sketch.card([
1889
+ sketch.title(.6, "small"),
1890
+ sketch.price,
1891
+ sketch.text(2),
1892
+ sketch.button
1893
+ ])])]),
1482
1894
  itemRoles: {
1483
1895
  items: "card",
1484
1896
  featured: "statement"
@@ -1496,6 +1908,7 @@ const appearancePresets = [
1496
1908
  "price",
1497
1909
  "action"
1498
1910
  ], [], {
1911
+ 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 })]),
1499
1912
  forcedKnobs: { cardMarker: "none" },
1500
1913
  knobDefaults: { actionStyle: "link" },
1501
1914
  styleFallback: [id$1("feature-cards-index")]
@@ -1508,6 +1921,11 @@ const appearancePresets = [
1508
1921
  "facts",
1509
1922
  "action"
1510
1923
  ], ["showPhotos"], {
1924
+ thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [
1925
+ sketch.photo("tall"),
1926
+ sketch.title(.7, "small"),
1927
+ sketch.text(1)
1928
+ ])]),
1511
1929
  knobDefaults: {
1512
1930
  actionStyle: "link",
1513
1931
  dates: "summary"
@@ -1580,23 +1998,21 @@ function uniqueStrings(values) {
1580
1998
  //#endregion
1581
1999
  //#region ../theme-core/src/site-styles/runtimeBackgroundResolution.ts
1582
2000
  function parseCanonicalRuntimeBackground(content) {
1583
- const background = readRecord(readRecord(content._sectionStyles)?.background);
2001
+ const background = readRecord$1(readRecord$1(content._sectionStyles)?.background);
1584
2002
  if (!background) return { kind: "none" };
1585
2003
  const parsed = runtimeBoxBackgroundSchema.safeParse(background);
1586
2004
  if (!parsed.success) return { kind: "none" };
1587
- const painted = applyLookPhotoTreatment(content, parsed.data);
1588
- return painted.contentOwner === "page-design-editor" ? {
2005
+ return parsed.data.contentOwner === "page-design-editor" ? {
1589
2006
  kind: "page-design-override",
1590
- background: painted
2007
+ background: parsed.data
1591
2008
  } : {
1592
2009
  kind: "block-authored",
1593
- background: painted
2010
+ background: parsed.data
1594
2011
  };
1595
2012
  }
1596
2013
  /** The Look owns shading and ink together; authored image/crop stay intact. */
1597
- function applyLookPhotoTreatment(content, background) {
1598
- const structure = readRecord(readRecord(readRecord(content._effectiveLook)?.look)?.structure);
1599
- if (background.type !== "image" || structure?.photoTreatment !== "text-overlay") return background;
2014
+ function applyLookPhotoTreatment(background, treatment) {
2015
+ if (background.type !== "image" || treatment !== "text-overlay") return background;
1600
2016
  return {
1601
2017
  ...background,
1602
2018
  overlay: {
@@ -1661,16 +2077,6 @@ function sectionForegroundBackground(resolved, palette) {
1661
2077
  "supporting"
1662
2078
  ].every((role) => original.roles[role] === measured.roles[role]) ? resolved.background : resolved.ground;
1663
2079
  }
1664
- /** One photo-placement decision for legacy and arrangement hero renderers. */
1665
- function heroPhotoPaintsGround(variant) {
1666
- return ![
1667
- "split",
1668
- "splitReverse",
1669
- "headline-row",
1670
- "copy-over-gallery",
1671
- "page-head"
1672
- ].includes(variant ?? "classic");
1673
- }
1674
2080
  function mergeLookForegroundWithAuthoredMedia(lookDefault, authored) {
1675
2081
  const paintsBand = lookDefault.type === "color" || lookDefault.type === "gradient";
1676
2082
  const lookScrim = paintsBand ? lookDefault.mediaScrim : void 0;
@@ -1686,7 +2092,7 @@ function mergeLookForegroundWithAuthoredMedia(lookDefault, authored) {
1686
2092
  });
1687
2093
  return merged.success ? merged.data : authored;
1688
2094
  }
1689
- function readRecord(value) {
2095
+ function readRecord$1(value) {
1690
2096
  return typeof value === "object" && value !== null && !Array.isArray(value) ? value : null;
1691
2097
  }
1692
2098
  function heroPhotoIsContent(source, photo, hasArrangementGround) {
@@ -2116,6 +2522,40 @@ function stableTreatmentKey(treatment) {
2116
2522
  }
2117
2523
  }
2118
2524
  //#endregion
2525
+ //#region ../theme-core/src/site-styles/sectionShape.ts
2526
+ /** The palette tokens whose sections draw as fields: a lookup derived from the declarations. */
2527
+ function fieldGroundTokens(surfaces) {
2528
+ return Object.values(surfaces).flatMap((surface) => surface.kind === "token" && surface.sectionShape === "field" ? [surface.token] : []);
2529
+ }
2530
+ /** The one shape decision for a section, from its resolved ground token. */
2531
+ function sectionShapeForGround(fieldGrounds, groundToken) {
2532
+ return fieldGrounds.includes(groundToken) ? "field" : "edge-to-edge";
2533
+ }
2534
+ /**
2535
+ * A field surface must own its token: a section painted with a token both a
2536
+ * field and an edge-to-edge surface declare could not say which it is.
2537
+ */
2538
+ function validateSectionSurfaces(skin, surfaces) {
2539
+ const fields = fieldGroundTokens(surfaces);
2540
+ Object.entries(surfaces).forEach(([name, surface]) => {
2541
+ 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`);
2542
+ });
2543
+ }
2544
+ /** The section hook carrying a field; absent for edge-to-edge sections, so their markup is unchanged. */
2545
+ function sectionShapeHook(shape) {
2546
+ return shape === "field" ? { "data-shape": "field" } : {};
2547
+ }
2548
+ /** Reads the decided shape back from final render content; anything else is edge to edge. */
2549
+ function sectionShapeFromContent(content) {
2550
+ const hooks = content._lookHooks;
2551
+ return typeof hooks === "object" && hooks !== null && "data-shape" in hooks && hooks["data-shape"] === "field" ? "field" : "edge-to-edge";
2552
+ }
2553
+ /** The booking bar paints with a declared token surface; anything else is a catalogue mistake. */
2554
+ function validateBookingBarSurface(skin, bookingBar, surfaces) {
2555
+ if (bookingBar === void 0) return;
2556
+ if (surfaces[bookingBar.surface]?.kind !== "token") throw new Error(`Booking bar for ${skin} needs a declared token surface: ${bookingBar.surface}`);
2557
+ }
2558
+ //#endregion
2119
2559
  //#region ../theme-core/src/site-styles/sectionBoundaryComposition.ts
2120
2560
  const backgroundToken = requireThemeColorToken$1("background");
2121
2561
  /**
@@ -2160,14 +2600,15 @@ function boundaryEndpointForSectionContent(content) {
2160
2600
  }
2161
2601
  }
2162
2602
  /**
2163
- * Reads both facts from final render content in one place. `_frameStyles` is
2603
+ * Reads every fact from final render content in one place. `_frameStyles` is
2164
2604
  * the compiled frame; content without one (no page design, an SDK block)
2165
2605
  * draws a plain frame.
2166
2606
  */
2167
2607
  function sectionFactsForContent(content) {
2168
2608
  return {
2169
2609
  endpoint: boundaryEndpointForSectionContent(content),
2170
- frame: frameKindForContent(content)
2610
+ frame: frameKindForContent(content),
2611
+ shape: sectionShapeFromContent(content)
2171
2612
  };
2172
2613
  }
2173
2614
  function frameKindForContent(content) {
@@ -2184,11 +2625,18 @@ function frameNotShownReason(previous, next) {
2184
2625
  return previous === "flush-panel" || next === "flush-panel" ? "flush-panel" : null;
2185
2626
  }
2186
2627
  /**
2187
- * Decides whether and how a join draws. The frame rule wins before paint is
2188
- * considered; two unpainted sides show nothing.
2628
+ * A field sits in from the page edge with page ground around it, so a break
2629
+ * drawn across its edge would have nothing to join (issue 1659).
2630
+ */
2631
+ function shapeNotShownReason(previous, next) {
2632
+ return previous === "field" || next === "field" ? "field" : null;
2633
+ }
2634
+ /**
2635
+ * Decides whether and how a join draws. The frame and shape rules win before
2636
+ * paint is considered; two unpainted sides show nothing.
2189
2637
  */
2190
2638
  function composeBoundary(previous, next) {
2191
- const frameReason = frameNotShownReason(previous.frame, next.frame);
2639
+ const frameReason = frameNotShownReason(previous.frame, next.frame) ?? shapeNotShownReason(previous.shape, next.shape);
2192
2640
  if (frameReason) return {
2193
2641
  kind: "not-shown",
2194
2642
  reason: frameReason
@@ -2456,7 +2904,8 @@ const bookingPageLookIdValues = [
2456
2904
  "site-style:measure",
2457
2905
  "site-style:grounded-practice",
2458
2906
  "site-style:lantern",
2459
- "site-style:poster"
2907
+ "site-style:poster",
2908
+ "site-style:loom"
2460
2909
  ];
2461
2910
  /** Boundary admission for draft and suggestion inputs. */
2462
2911
  function parseBookingPageLookId(value) {
@@ -2489,6 +2938,10 @@ const bookingLookGroundLimits = {
2489
2938
  "site-style:lantern": {
2490
2939
  lightness: [.12, .34],
2491
2940
  maxChroma: .07
2941
+ },
2942
+ "site-style:loom": {
2943
+ lightness: [.88, 1],
2944
+ maxChroma: .04
2492
2945
  }
2493
2946
  };
2494
2947
  const contrast = (against, ratio = 3) => ({
@@ -2560,7 +3013,12 @@ const lightReading = [
2560
3013
  "muted"
2561
3014
  ];
2562
3015
  /** Fulcrum: a quiet stone page, white sheets, a strong mid-tone on the buttons, a deep plate behind the opening panel. */
3016
+ const fulcrumButtons = {
3017
+ roles: ["primary"],
3018
+ name: "the buttons"
3019
+ };
2563
3020
  const fulcrum = {
3021
+ buttonSlot: fulcrumButtons,
2564
3022
  roles: {
2565
3023
  ...lightGrounds(bookingLookGroundLimits["site-style:fulcrum"], {
2566
3024
  page: .008,
@@ -2611,10 +3069,7 @@ const fulcrum = {
2611
3069
  roles: ["secondary"],
2612
3070
  name: "the plate"
2613
3071
  },
2614
- {
2615
- roles: ["primary"],
2616
- name: "the buttons"
2617
- },
3072
+ fulcrumButtons,
2618
3073
  {
2619
3074
  roles: ["accent"],
2620
3075
  name: "the small marks"
@@ -2649,7 +3104,12 @@ const fulcrum = {
2649
3104
  }]
2650
3105
  };
2651
3106
  /** Folio: warm paper, sheets and a band; buttons and links share the primary (hovering to its 800 shade); small rules and marks. */
3107
+ const folioButtons = {
3108
+ roles: ["primary"],
3109
+ name: "the buttons and links"
3110
+ };
2652
3111
  const folio = {
3112
+ buttonSlot: folioButtons,
2653
3113
  roles: {
2654
3114
  ...lightGrounds(bookingLookGroundLimits["site-style:folio"], {
2655
3115
  page: .012,
@@ -2696,10 +3156,7 @@ const folio = {
2696
3156
  roles: ["muted"],
2697
3157
  name: "the band"
2698
3158
  },
2699
- {
2700
- roles: ["primary"],
2701
- name: "the buttons and links"
2702
- },
3159
+ folioButtons,
2703
3160
  {
2704
3161
  roles: ["accent"],
2705
3162
  name: "the marks"
@@ -2734,7 +3191,12 @@ const folio = {
2734
3191
  }]
2735
3192
  };
2736
3193
  /** Measure: one plain page. Flat buttons that fill with the secondary on hover, and a small square. */
3194
+ const measureButtons = {
3195
+ roles: ["primary"],
3196
+ name: "the buttons"
3197
+ };
2737
3198
  const measure = {
3199
+ buttonSlot: measureButtons,
2738
3200
  roles: {
2739
3201
  ...lightGrounds(bookingLookGroundLimits["site-style:measure"], {
2740
3202
  page: .008,
@@ -2778,10 +3240,7 @@ const measure = {
2778
3240
  ]
2779
3241
  }
2780
3242
  },
2781
- slots: [{
2782
- roles: ["primary"],
2783
- name: "the buttons"
2784
- }, {
3243
+ slots: [measureButtons, {
2785
3244
  roles: ["accent"],
2786
3245
  name: "the small square"
2787
3246
  }],
@@ -2818,7 +3277,12 @@ const measure = {
2818
3277
  }]
2819
3278
  };
2820
3279
  /** Grounded Practice: an inset panel on the muted colour opens the page; links and buttons share the primary. */
3280
+ const groundedButtons = {
3281
+ roles: ["primary"],
3282
+ name: "the buttons and links"
3283
+ };
2821
3284
  const grounded = {
3285
+ buttonSlot: groundedButtons,
2822
3286
  roles: {
2823
3287
  ...lightGrounds(bookingLookGroundLimits["site-style:grounded-practice"], {
2824
3288
  page: .012,
@@ -2862,10 +3326,7 @@ const grounded = {
2862
3326
  slots: [{
2863
3327
  roles: ["muted"],
2864
3328
  name: "the opening panel"
2865
- }, {
2866
- roles: ["primary"],
2867
- name: "the buttons and links"
2868
- }],
3329
+ }, groundedButtons],
2869
3330
  order: [
2870
3331
  ...groundOrder,
2871
3332
  "primary",
@@ -2900,7 +3361,12 @@ const grounded = {
2900
3361
  * and the accent on every ornament and the candle glow.
2901
3362
  */
2902
3363
  const lanternLimits = bookingLookGroundLimits["site-style:lantern"];
3364
+ const lanternButtons = {
3365
+ roles: ["accent", "primary"],
3366
+ name: "the gilt buttons"
3367
+ };
2903
3368
  const lantern = {
3369
+ buttonSlot: lanternButtons,
2904
3370
  roles: {
2905
3371
  background: {
2906
3372
  l: [.14, .22],
@@ -2980,10 +3446,7 @@ const lantern = {
2980
3446
  slots: [{
2981
3447
  roles: ["muted"],
2982
3448
  name: "the band"
2983
- }, {
2984
- roles: ["accent", "primary"],
2985
- name: "the gilt buttons"
2986
- }],
3449
+ }, lanternButtons],
2987
3450
  order: [
2988
3451
  ...groundOrder,
2989
3452
  "accent",
@@ -3022,6 +3485,97 @@ const posterBand = {
3022
3485
  roles: ["muted", "surfaceAlt"],
3023
3486
  name: "a faint tint of it on the band"
3024
3487
  };
3488
+ const posterButtons = {
3489
+ roles: ["accent"],
3490
+ name: "the pop buttons and stickers"
3491
+ };
3492
+ const poster = {
3493
+ buttonSlot: posterButtons,
3494
+ roles: {
3495
+ ...lightGrounds(bookingLookGroundLimits["site-style:poster"], {
3496
+ page: .008,
3497
+ band: .04,
3498
+ bandL: [.92, .96]
3499
+ }),
3500
+ primary: {
3501
+ l: [.3, .62],
3502
+ c: [.08, .25],
3503
+ target: .48,
3504
+ name: "the big block",
3505
+ mention: true,
3506
+ needs: [
3507
+ contrast("surface", 3.6),
3508
+ contrast("background"),
3509
+ label
3510
+ ]
3511
+ },
3512
+ accent: {
3513
+ l: [.62, .95],
3514
+ c: [.08, .25],
3515
+ target: .86,
3516
+ name: "the pop buttons and stickers",
3517
+ mention: true,
3518
+ analogous: true,
3519
+ needs: [
3520
+ contrast("primary"),
3521
+ label,
3522
+ distinct("primary", .15)
3523
+ ]
3524
+ },
3525
+ secondary: {
3526
+ l: [.15, .32],
3527
+ c: [.03, .15],
3528
+ target: .24,
3529
+ name: "the hard shadows",
3530
+ needs: [distinct("primary", .1)]
3531
+ }
3532
+ },
3533
+ slots: [{
3534
+ roles: ["primary"],
3535
+ name: "the big block"
3536
+ }, posterButtons],
3537
+ order: [
3538
+ ...groundOrder,
3539
+ "primary",
3540
+ "accent",
3541
+ "secondary"
3542
+ ],
3543
+ neutrals: {
3544
+ dark: [.2, .04],
3545
+ light: [1, 0]
3546
+ },
3547
+ reading: lightReading,
3548
+ groundLimit: bookingLookGroundLimits["site-style:poster"].maxChroma,
3549
+ contrast: [{
3550
+ label: "the complement on the pop buttons",
3551
+ hue: "complement",
3552
+ second: "accent",
3553
+ lead: "primary",
3554
+ alsoTints: posterBand,
3555
+ l: .82,
3556
+ c: [.12, .15]
3557
+ }, {
3558
+ label: "a warm triadic partner on the pop buttons",
3559
+ hue: "triadic-warm",
3560
+ second: "accent",
3561
+ lead: "primary",
3562
+ alsoTints: posterBand,
3563
+ l: .82,
3564
+ c: [.12, .15]
3565
+ }]
3566
+ };
3567
+ /**
3568
+ * Loom: warm paper, a band on the quieter ground (Loom's band is surfaceAlt,
3569
+ * not muted), white sheets, filled buttons and a tack in the mark colour.
3570
+ * Every seam and sheet edge is stitched in the border colour, so the border
3571
+ * is a visible thread rather than a faint rule. The footer sits on the
3572
+ * secondary.
3573
+ */
3574
+ const loomLimits = bookingLookGroundLimits["site-style:loom"];
3575
+ const loomButtons = {
3576
+ roles: ["primary"],
3577
+ name: "the buttons"
3578
+ };
3025
3579
  /** Keyed by the offered looks, so a booking look without a colour spec doesn't compile. */
3026
3580
  const bookingLookColourSpecs = {
3027
3581
  "site-style:fulcrum": fulcrum,
@@ -3029,81 +3583,120 @@ const bookingLookColourSpecs = {
3029
3583
  "site-style:measure": measure,
3030
3584
  "site-style:grounded-practice": grounded,
3031
3585
  "site-style:lantern": lantern,
3032
- "site-style:poster": {
3586
+ "site-style:poster": poster,
3587
+ "site-style:loom": {
3588
+ buttonSlot: loomButtons,
3033
3589
  roles: {
3034
- ...lightGrounds(bookingLookGroundLimits["site-style:poster"], {
3035
- page: .008,
3036
- band: .04,
3037
- bandL: [.92, .96]
3590
+ ...lightGrounds(loomLimits, {
3591
+ page: .012,
3592
+ band: .03,
3593
+ bandL: [.9, .945]
3038
3594
  }),
3595
+ surfaceAlt: {
3596
+ l: [.9, .945],
3597
+ c: [0, .03],
3598
+ chromaShare: .3,
3599
+ target: .925,
3600
+ name: "the band",
3601
+ needs: [distinct("background", .03)]
3602
+ },
3603
+ muted: {
3604
+ l: [.93, .965],
3605
+ c: [0, .03],
3606
+ chromaShare: .25,
3607
+ target: .948,
3608
+ name: "the quieter panels",
3609
+ needs: [distinct("background", .015)]
3610
+ },
3611
+ border: {
3612
+ l: [.5, .65],
3613
+ c: [0, .05],
3614
+ chromaShare: .35,
3615
+ target: .58,
3616
+ name: "the stitching",
3617
+ needs: [
3618
+ contrast("background"),
3619
+ contrast("surfaceAlt"),
3620
+ contrast("surface")
3621
+ ]
3622
+ },
3039
3623
  primary: {
3040
- l: [.3, .62],
3041
- c: [.08, .25],
3624
+ l: [.3, .56],
3625
+ c: [.03, .15],
3042
3626
  target: .48,
3043
- name: "the big block",
3627
+ name: "the buttons",
3044
3628
  mention: true,
3045
3629
  needs: [
3046
- contrast("surface", 3.6),
3047
3630
  contrast("background"),
3631
+ contrast("surface"),
3632
+ contrast("surfaceAlt"),
3048
3633
  label
3049
3634
  ]
3050
3635
  },
3636
+ secondary: {
3637
+ l: [.18, .34],
3638
+ c: [.01, .08],
3639
+ target: .27,
3640
+ name: "the footer",
3641
+ mention: true,
3642
+ needs: [label, distinct("primary", .08)]
3643
+ },
3051
3644
  accent: {
3052
- l: [.62, .95],
3053
- c: [.08, .25],
3054
- target: .86,
3055
- name: "the pop buttons and stickers",
3645
+ l: [.38, .66],
3646
+ c: [.05, .15],
3647
+ target: .52,
3648
+ name: "the small marks",
3056
3649
  mention: true,
3057
3650
  analogous: true,
3058
3651
  needs: [
3059
- contrast("primary"),
3060
- label,
3061
- distinct("primary", .15)
3652
+ contrast("background"),
3653
+ contrast("surface"),
3654
+ contrast("surfaceAlt"),
3655
+ distinct("primary", .1)
3062
3656
  ]
3063
- },
3064
- secondary: {
3065
- l: [.15, .32],
3066
- c: [.03, .15],
3067
- target: .24,
3068
- name: "the hard shadows",
3069
- needs: [distinct("primary", .1)]
3070
3657
  }
3071
3658
  },
3072
- slots: [{
3073
- roles: ["primary"],
3074
- name: "the big block"
3075
- }, {
3076
- roles: ["accent"],
3077
- name: "the pop buttons and stickers"
3078
- }],
3659
+ slots: [
3660
+ {
3661
+ roles: ["surfaceAlt"],
3662
+ name: "the band"
3663
+ },
3664
+ loomButtons,
3665
+ {
3666
+ roles: ["accent"],
3667
+ name: "the small marks"
3668
+ }
3669
+ ],
3079
3670
  order: [
3080
- ...groundOrder,
3671
+ "background",
3672
+ "surface",
3673
+ "surfaceAlt",
3674
+ "muted",
3675
+ "border",
3081
3676
  "primary",
3082
3677
  "accent",
3083
3678
  "secondary"
3084
3679
  ],
3085
3680
  neutrals: {
3086
- dark: [.2, .04],
3087
- light: [1, 0]
3681
+ dark: [.26, .02],
3682
+ light: [.985, .01]
3088
3683
  },
3089
3684
  reading: lightReading,
3090
- groundLimit: bookingLookGroundLimits["site-style:poster"].maxChroma,
3685
+ groundLimit: loomLimits.maxChroma,
3091
3686
  contrast: [{
3092
- label: "the complement on the pop buttons",
3687
+ label: "the complement on the small marks",
3093
3688
  hue: "complement",
3094
3689
  second: "accent",
3095
3690
  lead: "primary",
3096
- alsoTints: posterBand,
3097
- l: .82,
3098
- c: [.12, .15]
3691
+ l: .52,
3692
+ c: [.08, .13]
3099
3693
  }, {
3100
- label: "a warm triadic partner on the pop buttons",
3101
- hue: "triadic-warm",
3102
- second: "accent",
3103
- lead: "primary",
3104
- alsoTints: posterBand,
3105
- l: .82,
3106
- c: [.12, .15]
3694
+ label: "a warm colour on the buttons",
3695
+ hue: "split-warm",
3696
+ second: "primary",
3697
+ lead: "accent",
3698
+ l: .48,
3699
+ c: [.08, .13]
3107
3700
  }]
3108
3701
  }
3109
3702
  };
@@ -5854,295 +6447,709 @@ const loomEmber = defineCuratedPalette({
5854
6447
  }
5855
6448
  ]
5856
6449
  });
5857
- //#endregion
5858
- //#region ../theme-core/src/palette/curated/index.ts
5859
- function admitCuratedPaletteDefinition(definition) {
5860
- return {
5861
- ...definition,
5862
- valueKey: definition.valueKey
5863
- };
5864
- }
5865
- const curatedPalettes = [
5866
- admitCuratedPaletteDefinition(brandLedCool),
5867
- admitCuratedPaletteDefinition(brandLedWarm),
5868
- admitCuratedPaletteDefinition(brandLedJewel),
5869
- admitCuratedPaletteDefinition(brandLedBurgundyGold),
5870
- admitCuratedPaletteDefinition(brandLedSpruce),
5871
- admitCuratedPaletteDefinition(warmNeutralClay),
5872
- admitCuratedPaletteDefinition(warmNeutralCream),
5873
- admitCuratedPaletteDefinition(warmNeutralSoftEarth),
5874
- admitCuratedPaletteDefinition(warmNeutralForest),
5875
- admitCuratedPaletteDefinition(highContrastInk),
5876
- admitCuratedPaletteDefinition(highContrastCharcoal),
5877
- admitCuratedPaletteDefinition(highContrastMonochrome),
5878
- admitCuratedPaletteDefinition(softNaturalSage),
5879
- admitCuratedPaletteDefinition(softNaturalStone),
5880
- admitCuratedPaletteDefinition(softNaturalWatercolor),
5881
- admitCuratedPaletteDefinition(softNaturalLilac),
5882
- admitCuratedPaletteDefinition(warmDarkEmber),
5883
- admitCuratedPaletteDefinition(warmDarkKirtanGold)
5884
- ];
5885
- /** Style-owned suggestions are readable for compilation, never globally offered. */
5886
- const styleSuggestedPalettes = [
5887
- {
5888
- ...admitCuratedPaletteDefinition(loomHearth),
5889
- ownerStyleId: "site-style:loom"
5890
- },
5891
- {
5892
- ...admitCuratedPaletteDefinition(loomFlax),
5893
- ownerStyleId: "site-style:loom"
5894
- },
5895
- {
5896
- ...admitCuratedPaletteDefinition(loomEmber),
5897
- ownerStyleId: "site-style:loom"
5898
- },
5899
- {
5900
- ...admitCuratedPaletteDefinition(fulcrumDeepGreen),
5901
- ownerStyleId: "site-style:fulcrum"
5902
- },
5903
- {
5904
- ...admitCuratedPaletteDefinition(fulcrumNight),
5905
- ownerStyleId: "site-style:fulcrum"
5906
- },
5907
- {
5908
- ...admitCuratedPaletteDefinition(fulcrumClay),
5909
- ownerStyleId: "site-style:fulcrum"
5910
- },
5911
- {
5912
- ...admitCuratedPaletteDefinition(posterCobalt),
5913
- ownerStyleId: "site-style:poster"
5914
- },
5915
- {
5916
- ...admitCuratedPaletteDefinition(posterConcrete),
5917
- ownerStyleId: "site-style:poster"
5918
- },
5919
- {
5920
- ...admitCuratedPaletteDefinition(posterRose),
5921
- ownerStyleId: "site-style:poster"
5922
- },
5923
- {
5924
- ...admitCuratedPaletteDefinition(lanternPlum),
5925
- ownerStyleId: "site-style:lantern"
5926
- },
5927
- {
5928
- ...admitCuratedPaletteDefinition(lanternPeacock),
5929
- ownerStyleId: "site-style:lantern"
5930
- },
5931
- {
5932
- ...admitCuratedPaletteDefinition(lanternDawn),
5933
- ownerStyleId: "site-style:lantern"
5934
- },
5935
- {
5936
- ...admitCuratedPaletteDefinition(measurePaper),
5937
- ownerStyleId: "site-style:measure"
6450
+ const poiseButter = defineCuratedPalette({
6451
+ authoringKey: "poise-butter",
6452
+ name: "Poise — Butter",
6453
+ description: "Butter yellow on warm sand, ink text and a forest-green mark.",
6454
+ tags: {
6455
+ tone: "bold",
6456
+ energy: "calm",
6457
+ era: "modern"
5938
6458
  },
5939
- {
5940
- ...admitCuratedPaletteDefinition(measurePlaster),
5941
- ownerStyleId: "site-style:measure"
5942
- },
5943
- {
5944
- ...admitCuratedPaletteDefinition(measureNight),
5945
- ownerStyleId: "site-style:measure"
5946
- }
5947
- ];
5948
- const allCuratedPalettes = [...curatedPalettes, ...styleSuggestedPalettes];
5949
- new Map(allCuratedPalettes.map((palette) => [palette.valueKey, palette]));
5950
- const curatedPalettesByAuthoringKey = new Map(allCuratedPalettes.map((palette) => [palette.authoringKey, palette]));
5951
- function findCuratedPaletteByAuthoringKey(authoringKey) {
5952
- return curatedPalettesByAuthoringKey.get(authoringKey);
5953
- }
5954
- function requireCuratedPaletteValueKey(authoringKey) {
5955
- const palette = findCuratedPaletteByAuthoringKey(authoringKey);
5956
- if (!palette) throw new Error(`Unknown curated palette authoring key "${authoringKey}"`);
5957
- return palette.valueKey;
5958
- }
5959
- //#endregion
5960
- //#region ../theme-core/src/accordions/siteStyleDefaults.ts
5961
- /**
5962
- * Reusable accordion "looks" for curated site styles.
5963
- *
5964
- * Each curated site style should declare one of these (or a bespoke variant)
5965
- * via `themeOverrides.accordions` so its FAQ accordions carry the style's
5966
- * personality instead of falling back to the generic generated default. The
5967
- * looks vary the things that make an accordion read as designed vs. cheap:
5968
- * box vs. boxless, question typography (body vs. heading font + scale), icon,
5969
- * and how an open item is emphasised.
5970
- */
5971
- /**
5972
- * Boxless editorial list: transparent root, hairline dividers between rows,
5973
- * generous spacing, heading-font questions, plus/minus marks, and an accented
5974
- * tinted band on the open row. The reference "expensive" FAQ look.
5975
- */
5976
- const editorialDividedAccordionSystem = {
5977
- background: null,
5978
- spacing: "comfortable",
5979
- corners: "square",
5980
- border: null,
5981
- shadow: null,
5982
- icon: {
5983
- style: "plus-minus",
5984
- position: "right",
5985
- size: "md",
5986
- colorToken: "primary"
5987
- },
5988
- trigger: {
5989
- textColorToken: "text",
5990
- fontWeight: "regular",
5991
- fontFamily: "heading",
5992
- fontScale: "lg"
5993
- },
5994
- hover: { textColorToken: "primary" },
5995
- openState: {
5996
- backgroundColorToken: "surfaceAlt",
5997
- triggerColorToken: "primary",
5998
- accent: {
5999
- edge: "left",
6000
- colorToken: "primary",
6001
- thickness: "medium"
6459
+ mode: "light",
6460
+ colors: [
6461
+ {
6462
+ name: "primary",
6463
+ hex: "#f2d16b"
6464
+ },
6465
+ {
6466
+ name: "secondary",
6467
+ hex: "#8c5a3c"
6468
+ },
6469
+ {
6470
+ name: "accent",
6471
+ hex: "#2e5a43"
6472
+ },
6473
+ {
6474
+ name: "success",
6475
+ hex: "#2f7a4c"
6476
+ },
6477
+ {
6478
+ name: "warning",
6479
+ hex: "#b7791f"
6480
+ },
6481
+ {
6482
+ name: "destructive",
6483
+ hex: "#b3402f"
6484
+ },
6485
+ {
6486
+ name: "background",
6487
+ hex: "#f4eee3"
6488
+ },
6489
+ {
6490
+ name: "surface",
6491
+ hex: "#fbf8f2"
6492
+ },
6493
+ {
6494
+ name: "surfaceAlt",
6495
+ hex: "#eae1d0"
6496
+ },
6497
+ {
6498
+ name: "muted",
6499
+ hex: "#675c4e"
6500
+ },
6501
+ {
6502
+ name: "text",
6503
+ hex: "#1f1b16"
6504
+ },
6505
+ {
6506
+ name: "primaryForeground",
6507
+ hex: "#1f1b16"
6508
+ },
6509
+ {
6510
+ name: "border",
6511
+ hex: "#dcd1be"
6002
6512
  }
6513
+ ]
6514
+ });
6515
+ const poiseEmber = defineCuratedPalette({
6516
+ authoringKey: "poise-ember",
6517
+ name: "Poise — Ember",
6518
+ description: "Hot tangerine on cool chalk, near-black ink and an electric blue mark.",
6519
+ tags: {
6520
+ tone: "bold",
6521
+ energy: "vibrant",
6522
+ era: "modern"
6003
6523
  },
6004
- content: { textColorToken: "neutral-700" }
6005
- };
6006
- /**
6007
- * Bold bordered panel: a strong-bordered surface box, bold heading-font
6008
- * questions, large plus/minus marks, and a high-emphasis tinted + accented
6009
- * open state. For confident, conversion-led, high-energy styles.
6010
- */
6011
- const boldBorderedAccordionSystem = {
6012
- background: {
6013
- type: "solid",
6014
- colorToken: "surface"
6015
- },
6016
- spacing: "comfortable",
6017
- corners: "soft",
6018
- border: {
6019
- widthClass: "border-2",
6020
- colorToken: "border"
6021
- },
6022
- shadow: null,
6023
- icon: {
6024
- style: "plus-minus",
6025
- position: "right",
6026
- size: "lg",
6027
- colorToken: "primary"
6028
- },
6029
- trigger: {
6030
- textColorToken: "text",
6031
- fontWeight: "bold",
6032
- fontFamily: "heading",
6033
- fontScale: "md"
6034
- },
6035
- hover: {
6036
- backgroundColorToken: "primary/10",
6037
- textColorToken: "primary"
6038
- },
6039
- openState: {
6040
- backgroundColorToken: "primary/10",
6041
- triggerColorToken: "primary",
6042
- accent: {
6043
- edge: "left",
6044
- colorToken: "primary",
6045
- thickness: "thick"
6524
+ mode: "light",
6525
+ colors: [
6526
+ {
6527
+ name: "primary",
6528
+ hex: "#ff7033"
6529
+ },
6530
+ {
6531
+ name: "secondary",
6532
+ hex: "#23262e"
6533
+ },
6534
+ {
6535
+ name: "accent",
6536
+ hex: "#2d46e0"
6537
+ },
6538
+ {
6539
+ name: "success",
6540
+ hex: "#1e8a55"
6541
+ },
6542
+ {
6543
+ name: "warning",
6544
+ hex: "#c27a12"
6545
+ },
6546
+ {
6547
+ name: "destructive",
6548
+ hex: "#d23b2f"
6549
+ },
6550
+ {
6551
+ name: "background",
6552
+ hex: "#f1f2ee"
6553
+ },
6554
+ {
6555
+ name: "surface",
6556
+ hex: "#ffffff"
6557
+ },
6558
+ {
6559
+ name: "surfaceAlt",
6560
+ hex: "#e2e5e0"
6561
+ },
6562
+ {
6563
+ name: "muted",
6564
+ hex: "#4e535c"
6565
+ },
6566
+ {
6567
+ name: "text",
6568
+ hex: "#14161a"
6569
+ },
6570
+ {
6571
+ name: "primaryForeground",
6572
+ hex: "#14161a"
6573
+ },
6574
+ {
6575
+ name: "border",
6576
+ hex: "#d0d4ce"
6046
6577
  }
6578
+ ]
6579
+ });
6580
+ const poiseNight = defineCuratedPalette({
6581
+ authoringKey: "poise-night",
6582
+ name: "Poise — Night",
6583
+ description: "Warm near-black with cream ink, and butter yellow kept for the brand panels.",
6584
+ tags: {
6585
+ tone: "bold",
6586
+ energy: "calm",
6587
+ era: "modern"
6047
6588
  },
6048
- content: { textColorToken: "neutral-700" }
6049
- };
6050
- /**
6051
- * Warm inset tiles: a tinted (surfaceAlt) root with rounded corners and no
6052
- * border; the open row lifts to the lighter surface colour. Friendly,
6053
- * hands-on, community styles.
6054
- */
6055
- const warmInsetAccordionSystem = {
6056
- background: {
6057
- type: "solid",
6058
- colorToken: "surfaceAlt"
6589
+ mode: "dark",
6590
+ colors: [
6591
+ {
6592
+ name: "primary",
6593
+ hex: "#f2d16b"
6594
+ },
6595
+ {
6596
+ name: "secondary",
6597
+ hex: "#c9a27e"
6598
+ },
6599
+ {
6600
+ name: "accent",
6601
+ hex: "#9cc8a8"
6602
+ },
6603
+ {
6604
+ name: "success",
6605
+ hex: "#6fcf97"
6606
+ },
6607
+ {
6608
+ name: "warning",
6609
+ hex: "#f0b45a"
6610
+ },
6611
+ {
6612
+ name: "destructive",
6613
+ hex: "#f07a66"
6614
+ },
6615
+ {
6616
+ name: "background",
6617
+ hex: "#15130f"
6618
+ },
6619
+ {
6620
+ name: "surface",
6621
+ hex: "#1f1c17"
6622
+ },
6623
+ {
6624
+ name: "surfaceAlt",
6625
+ hex: "#29251e"
6626
+ },
6627
+ {
6628
+ name: "muted",
6629
+ hex: "#ada493"
6630
+ },
6631
+ {
6632
+ name: "text",
6633
+ hex: "#f3eee3"
6634
+ },
6635
+ {
6636
+ name: "primaryForeground",
6637
+ hex: "#1a1611"
6638
+ },
6639
+ {
6640
+ name: "border",
6641
+ hex: "#3b352c"
6642
+ }
6643
+ ]
6644
+ });
6645
+ const havenBlush = defineCuratedPalette({
6646
+ authoringKey: "haven-blush",
6647
+ name: "Haven — Blush",
6648
+ description: "Warm oat with a blush pastel, dusky rose for buttons and a sand accent.",
6649
+ tags: {
6650
+ tone: "classic",
6651
+ energy: "calm",
6652
+ era: "organic"
6059
6653
  },
6060
- spacing: "comfortable",
6061
- corners: "rounded",
6062
- border: null,
6063
- shadow: null,
6064
- icon: {
6065
- style: "circle-plus-minus",
6066
- position: "right",
6067
- size: "md",
6068
- colorToken: "primary"
6654
+ mode: "light",
6655
+ colors: [
6656
+ {
6657
+ name: "primary",
6658
+ hex: "#8a4652"
6659
+ },
6660
+ {
6661
+ name: "secondary",
6662
+ hex: "#f0cdc3"
6663
+ },
6664
+ {
6665
+ name: "accent",
6666
+ hex: "#d7b48c"
6667
+ },
6668
+ {
6669
+ name: "success",
6670
+ hex: "#3f6e4c"
6671
+ },
6672
+ {
6673
+ name: "warning",
6674
+ hex: "#8f5f12"
6675
+ },
6676
+ {
6677
+ name: "destructive",
6678
+ hex: "#a23a3a"
6679
+ },
6680
+ {
6681
+ name: "background",
6682
+ hex: "#f8f2eb"
6683
+ },
6684
+ {
6685
+ name: "surface",
6686
+ hex: "#fffaf5"
6687
+ },
6688
+ {
6689
+ name: "surfaceAlt",
6690
+ hex: "#f5e1d9"
6691
+ },
6692
+ {
6693
+ name: "muted",
6694
+ hex: "#6c5a55"
6695
+ },
6696
+ {
6697
+ name: "text",
6698
+ hex: "#3b2a2b"
6699
+ },
6700
+ {
6701
+ name: "primaryForeground",
6702
+ hex: "#fff8f3"
6703
+ },
6704
+ {
6705
+ name: "border",
6706
+ hex: "#e5d3c8"
6707
+ }
6708
+ ]
6709
+ });
6710
+ const havenSage = defineCuratedPalette({
6711
+ authoringKey: "haven-sage",
6712
+ name: "Haven — Sage",
6713
+ description: "Cool mist greens, a deep sage for buttons and a lavender-blue accent.",
6714
+ tags: {
6715
+ tone: "classic",
6716
+ energy: "calm",
6717
+ era: "organic"
6069
6718
  },
6070
- trigger: {
6071
- textColorToken: "text",
6072
- fontWeight: "semibold",
6073
- fontFamily: "heading",
6074
- fontScale: "md"
6719
+ mode: "light",
6720
+ colors: [
6721
+ {
6722
+ name: "primary",
6723
+ hex: "#3e6455"
6724
+ },
6725
+ {
6726
+ name: "secondary",
6727
+ hex: "#c9dccf"
6728
+ },
6729
+ {
6730
+ name: "accent",
6731
+ hex: "#b9c3dc"
6732
+ },
6733
+ {
6734
+ name: "success",
6735
+ hex: "#3b6b47"
6736
+ },
6737
+ {
6738
+ name: "warning",
6739
+ hex: "#855a10"
6740
+ },
6741
+ {
6742
+ name: "destructive",
6743
+ hex: "#9c3838"
6744
+ },
6745
+ {
6746
+ name: "background",
6747
+ hex: "#f0f4f1"
6748
+ },
6749
+ {
6750
+ name: "surface",
6751
+ hex: "#fafcfa"
6752
+ },
6753
+ {
6754
+ name: "surfaceAlt",
6755
+ hex: "#dde9e1"
6756
+ },
6757
+ {
6758
+ name: "muted",
6759
+ hex: "#52625a"
6760
+ },
6761
+ {
6762
+ name: "text",
6763
+ hex: "#20302a"
6764
+ },
6765
+ {
6766
+ name: "primaryForeground",
6767
+ hex: "#f5fbf7"
6768
+ },
6769
+ {
6770
+ name: "border",
6771
+ hex: "#ccdad1"
6772
+ }
6773
+ ]
6774
+ });
6775
+ const havenPlum = defineCuratedPalette({
6776
+ authoringKey: "haven-plum",
6777
+ name: "Haven — Plum",
6778
+ description: "Deep aubergine with soft pink buttons and muted mauve shapes.",
6779
+ tags: {
6780
+ tone: "classic",
6781
+ energy: "calm",
6782
+ era: "organic"
6075
6783
  },
6076
- hover: {
6077
- backgroundColorToken: "primary/5",
6078
- textColorToken: "primary"
6784
+ mode: "dark",
6785
+ colors: [
6786
+ {
6787
+ name: "primary",
6788
+ hex: "#ecb9c6"
6789
+ },
6790
+ {
6791
+ name: "secondary",
6792
+ hex: "#573a58"
6793
+ },
6794
+ {
6795
+ name: "accent",
6796
+ hex: "#b88aa8"
6797
+ },
6798
+ {
6799
+ name: "success",
6800
+ hex: "#9fd0ac"
6801
+ },
6802
+ {
6803
+ name: "warning",
6804
+ hex: "#ecc27a"
6805
+ },
6806
+ {
6807
+ name: "destructive",
6808
+ hex: "#f0a1a1"
6809
+ },
6810
+ {
6811
+ name: "background",
6812
+ hex: "#221822"
6813
+ },
6814
+ {
6815
+ name: "surface",
6816
+ hex: "#2c202d"
6817
+ },
6818
+ {
6819
+ name: "surfaceAlt",
6820
+ hex: "#3a2a3b"
6821
+ },
6822
+ {
6823
+ name: "muted",
6824
+ hex: "#c9b5c1"
6825
+ },
6826
+ {
6827
+ name: "text",
6828
+ hex: "#f6eaf0"
6829
+ },
6830
+ {
6831
+ name: "primaryForeground",
6832
+ hex: "#2a1823"
6833
+ },
6834
+ {
6835
+ name: "border",
6836
+ hex: "#4b384c"
6837
+ }
6838
+ ]
6839
+ });
6840
+ //#endregion
6841
+ //#region ../theme-core/src/palette/curated/index.ts
6842
+ function admitCuratedPaletteDefinition(definition) {
6843
+ return {
6844
+ ...definition,
6845
+ valueKey: definition.valueKey
6846
+ };
6847
+ }
6848
+ const curatedPalettes = [
6849
+ admitCuratedPaletteDefinition(brandLedCool),
6850
+ admitCuratedPaletteDefinition(brandLedWarm),
6851
+ admitCuratedPaletteDefinition(brandLedJewel),
6852
+ admitCuratedPaletteDefinition(brandLedBurgundyGold),
6853
+ admitCuratedPaletteDefinition(brandLedSpruce),
6854
+ admitCuratedPaletteDefinition(warmNeutralClay),
6855
+ admitCuratedPaletteDefinition(warmNeutralCream),
6856
+ admitCuratedPaletteDefinition(warmNeutralSoftEarth),
6857
+ admitCuratedPaletteDefinition(warmNeutralForest),
6858
+ admitCuratedPaletteDefinition(highContrastInk),
6859
+ admitCuratedPaletteDefinition(highContrastCharcoal),
6860
+ admitCuratedPaletteDefinition(highContrastMonochrome),
6861
+ admitCuratedPaletteDefinition(softNaturalSage),
6862
+ admitCuratedPaletteDefinition(softNaturalStone),
6863
+ admitCuratedPaletteDefinition(softNaturalWatercolor),
6864
+ admitCuratedPaletteDefinition(softNaturalLilac),
6865
+ admitCuratedPaletteDefinition(warmDarkEmber),
6866
+ admitCuratedPaletteDefinition(warmDarkKirtanGold)
6867
+ ];
6868
+ /** Style-owned suggestions are readable for compilation, never globally offered. */
6869
+ const styleSuggestedPalettes = [
6870
+ {
6871
+ ...admitCuratedPaletteDefinition(loomHearth),
6872
+ ownerStyleId: "site-style:loom"
6079
6873
  },
6080
- openState: {
6081
- backgroundColorToken: "surface",
6082
- triggerColorToken: "primary"
6874
+ {
6875
+ ...admitCuratedPaletteDefinition(loomFlax),
6876
+ ownerStyleId: "site-style:loom"
6083
6877
  },
6084
- content: { textColorToken: "neutral-700" }
6085
- };
6086
- /**
6087
- * Soft Earth's grounded look: boxless, plus/minus, heading-font questions on
6088
- * a warm ground, with a quiet open recolour.
6089
- */
6090
- const softEarthAccordionSystem = {
6091
- background: {
6092
- type: "solid",
6093
- colorToken: "background"
6878
+ {
6879
+ ...admitCuratedPaletteDefinition(loomEmber),
6880
+ ownerStyleId: "site-style:loom"
6094
6881
  },
6095
- spacing: "comfortable",
6096
- corners: "square",
6097
- border: null,
6098
- shadow: null,
6099
- icon: {
6100
- style: "plus-minus",
6101
- position: "right",
6102
- size: "md",
6103
- colorToken: "primary"
6882
+ {
6883
+ ...admitCuratedPaletteDefinition(poiseButter),
6884
+ ownerStyleId: "site-style:poise"
6104
6885
  },
6105
- trigger: {
6106
- textColorToken: "text",
6107
- fontWeight: "medium",
6108
- fontFamily: "heading",
6109
- fontScale: "md"
6886
+ {
6887
+ ...admitCuratedPaletteDefinition(poiseEmber),
6888
+ ownerStyleId: "site-style:poise"
6110
6889
  },
6111
- hover: { textColorToken: "primary" },
6112
- openState: { triggerColorToken: "primary" },
6113
- content: { textColorToken: "neutral-700" }
6114
- };
6115
- //#endregion
6116
- //#region ../theme-core/src/cards/siteStyleDefaults.ts
6117
- /**
6118
- * Reusable card systems for curated site styles.
6119
- *
6120
- * generateCardCss emits a `.card-{id}` class per enabled variant, plus stable
6121
- * `.card-role-{role}` aliases resolved through the fallback chain. Each variant
6122
- * declares which role it implements:
6123
- * - `default` — the quiet, everyday card (most blocks, most of the time)
6124
- * - `alternative` — the prominent "statement" card for sections that pop
6125
- * - `open` — boxless but marked; falls back to the generated baseline
6126
- * The schema allows three variants, one per role. A block asking for a role a
6127
- * site style does not define falls back per `resolveCardRole`: `alternative` →
6128
- * `default` → generated baseline.
6129
- *
6130
- * Keep `default` close to the generated baseline so shared consumers (event
6131
- * cards, testimonials) stay stable; put the personality in `alternative`.
6132
- */
6133
- /**
6134
- * South West Twerk School: a quiet default surface card plus a high-impact
6135
- * "statement" card that reproduces the legacy accent-quote testimonial surface
6136
- * — burgundy fill, light text, a heavy gold left accent bar, and an expressive
6137
- * asymmetric top-right corner.
6138
- */
6139
- const southWestCardSystem = { variants: [{
6140
- id: "default",
6141
- name: "Default",
6142
- enabled: true,
6143
- priority: 1,
6144
- role: "default",
6145
- background: {
6890
+ {
6891
+ ...admitCuratedPaletteDefinition(poiseNight),
6892
+ ownerStyleId: "site-style:poise"
6893
+ },
6894
+ {
6895
+ ...admitCuratedPaletteDefinition(havenBlush),
6896
+ ownerStyleId: "site-style:haven"
6897
+ },
6898
+ {
6899
+ ...admitCuratedPaletteDefinition(havenSage),
6900
+ ownerStyleId: "site-style:haven"
6901
+ },
6902
+ {
6903
+ ...admitCuratedPaletteDefinition(havenPlum),
6904
+ ownerStyleId: "site-style:haven"
6905
+ },
6906
+ {
6907
+ ...admitCuratedPaletteDefinition(fulcrumDeepGreen),
6908
+ ownerStyleId: "site-style:fulcrum"
6909
+ },
6910
+ {
6911
+ ...admitCuratedPaletteDefinition(fulcrumNight),
6912
+ ownerStyleId: "site-style:fulcrum"
6913
+ },
6914
+ {
6915
+ ...admitCuratedPaletteDefinition(fulcrumClay),
6916
+ ownerStyleId: "site-style:fulcrum"
6917
+ },
6918
+ {
6919
+ ...admitCuratedPaletteDefinition(posterCobalt),
6920
+ ownerStyleId: "site-style:poster"
6921
+ },
6922
+ {
6923
+ ...admitCuratedPaletteDefinition(posterConcrete),
6924
+ ownerStyleId: "site-style:poster"
6925
+ },
6926
+ {
6927
+ ...admitCuratedPaletteDefinition(posterRose),
6928
+ ownerStyleId: "site-style:poster"
6929
+ },
6930
+ {
6931
+ ...admitCuratedPaletteDefinition(lanternPlum),
6932
+ ownerStyleId: "site-style:lantern"
6933
+ },
6934
+ {
6935
+ ...admitCuratedPaletteDefinition(lanternPeacock),
6936
+ ownerStyleId: "site-style:lantern"
6937
+ },
6938
+ {
6939
+ ...admitCuratedPaletteDefinition(lanternDawn),
6940
+ ownerStyleId: "site-style:lantern"
6941
+ },
6942
+ {
6943
+ ...admitCuratedPaletteDefinition(measurePaper),
6944
+ ownerStyleId: "site-style:measure"
6945
+ },
6946
+ {
6947
+ ...admitCuratedPaletteDefinition(measurePlaster),
6948
+ ownerStyleId: "site-style:measure"
6949
+ },
6950
+ {
6951
+ ...admitCuratedPaletteDefinition(measureNight),
6952
+ ownerStyleId: "site-style:measure"
6953
+ }
6954
+ ];
6955
+ const allCuratedPalettes = [...curatedPalettes, ...styleSuggestedPalettes];
6956
+ new Map(allCuratedPalettes.map((palette) => [palette.valueKey, palette]));
6957
+ const curatedPalettesByAuthoringKey = new Map(allCuratedPalettes.map((palette) => [palette.authoringKey, palette]));
6958
+ function findCuratedPaletteByAuthoringKey(authoringKey) {
6959
+ return curatedPalettesByAuthoringKey.get(authoringKey);
6960
+ }
6961
+ function requireCuratedPaletteValueKey(authoringKey) {
6962
+ const palette = findCuratedPaletteByAuthoringKey(authoringKey);
6963
+ if (!palette) throw new Error(`Unknown curated palette authoring key "${authoringKey}"`);
6964
+ return palette.valueKey;
6965
+ }
6966
+ //#endregion
6967
+ //#region ../theme-core/src/accordions/siteStyleDefaults.ts
6968
+ /**
6969
+ * Reusable accordion "looks" for curated site styles.
6970
+ *
6971
+ * Each curated site style should declare one of these (or a bespoke variant)
6972
+ * via `themeOverrides.accordions` so its FAQ accordions carry the style's
6973
+ * personality instead of falling back to the generic generated default. The
6974
+ * looks vary the things that make an accordion read as designed vs. cheap:
6975
+ * box vs. boxless, question typography (body vs. heading font + scale), icon,
6976
+ * and how an open item is emphasised.
6977
+ */
6978
+ /**
6979
+ * Boxless editorial list: transparent root, hairline dividers between rows,
6980
+ * generous spacing, heading-font questions, plus/minus marks, and an accented
6981
+ * tinted band on the open row. The reference "expensive" FAQ look.
6982
+ */
6983
+ const editorialDividedAccordionSystem = {
6984
+ background: null,
6985
+ spacing: "comfortable",
6986
+ corners: "square",
6987
+ border: null,
6988
+ shadow: null,
6989
+ icon: {
6990
+ style: "plus-minus",
6991
+ position: "right",
6992
+ size: "md",
6993
+ colorToken: "primary"
6994
+ },
6995
+ trigger: {
6996
+ textColorToken: "text",
6997
+ fontWeight: "regular",
6998
+ fontFamily: "heading",
6999
+ fontScale: "lg"
7000
+ },
7001
+ hover: { textColorToken: "primary" },
7002
+ openState: {
7003
+ backgroundColorToken: "surfaceAlt",
7004
+ triggerColorToken: "primary",
7005
+ accent: {
7006
+ edge: "left",
7007
+ colorToken: "primary",
7008
+ thickness: "medium"
7009
+ }
7010
+ },
7011
+ content: { textColorToken: "neutral-700" }
7012
+ };
7013
+ /**
7014
+ * Bold bordered panel: a strong-bordered surface box, bold heading-font
7015
+ * questions, large plus/minus marks, and a high-emphasis tinted + accented
7016
+ * open state. For confident, conversion-led, high-energy styles.
7017
+ */
7018
+ const boldBorderedAccordionSystem = {
7019
+ background: {
7020
+ type: "solid",
7021
+ colorToken: "surface"
7022
+ },
7023
+ spacing: "comfortable",
7024
+ corners: "soft",
7025
+ border: {
7026
+ widthClass: "border-2",
7027
+ colorToken: "border"
7028
+ },
7029
+ shadow: null,
7030
+ icon: {
7031
+ style: "plus-minus",
7032
+ position: "right",
7033
+ size: "lg",
7034
+ colorToken: "primary"
7035
+ },
7036
+ trigger: {
7037
+ textColorToken: "text",
7038
+ fontWeight: "bold",
7039
+ fontFamily: "heading",
7040
+ fontScale: "md"
7041
+ },
7042
+ hover: {
7043
+ backgroundColorToken: "primary/10",
7044
+ textColorToken: "primary"
7045
+ },
7046
+ openState: {
7047
+ backgroundColorToken: "primary/10",
7048
+ triggerColorToken: "primary",
7049
+ accent: {
7050
+ edge: "left",
7051
+ colorToken: "primary",
7052
+ thickness: "thick"
7053
+ }
7054
+ },
7055
+ content: { textColorToken: "neutral-700" }
7056
+ };
7057
+ /**
7058
+ * Warm inset tiles: a tinted (surfaceAlt) root with rounded corners and no
7059
+ * border; the open row lifts to the lighter surface colour. Friendly,
7060
+ * hands-on, community styles.
7061
+ */
7062
+ const warmInsetAccordionSystem = {
7063
+ background: {
7064
+ type: "solid",
7065
+ colorToken: "surfaceAlt"
7066
+ },
7067
+ spacing: "comfortable",
7068
+ corners: "rounded",
7069
+ border: null,
7070
+ shadow: null,
7071
+ icon: {
7072
+ style: "circle-plus-minus",
7073
+ position: "right",
7074
+ size: "md",
7075
+ colorToken: "primary"
7076
+ },
7077
+ trigger: {
7078
+ textColorToken: "text",
7079
+ fontWeight: "semibold",
7080
+ fontFamily: "heading",
7081
+ fontScale: "md"
7082
+ },
7083
+ hover: {
7084
+ backgroundColorToken: "primary/5",
7085
+ textColorToken: "primary"
7086
+ },
7087
+ openState: {
7088
+ backgroundColorToken: "surface",
7089
+ triggerColorToken: "primary"
7090
+ },
7091
+ content: { textColorToken: "neutral-700" }
7092
+ };
7093
+ /**
7094
+ * Soft Earth's grounded look: boxless, plus/minus, heading-font questions on
7095
+ * a warm ground, with a quiet open recolour.
7096
+ */
7097
+ const softEarthAccordionSystem = {
7098
+ background: {
7099
+ type: "solid",
7100
+ colorToken: "background"
7101
+ },
7102
+ spacing: "comfortable",
7103
+ corners: "square",
7104
+ border: null,
7105
+ shadow: null,
7106
+ icon: {
7107
+ style: "plus-minus",
7108
+ position: "right",
7109
+ size: "md",
7110
+ colorToken: "primary"
7111
+ },
7112
+ trigger: {
7113
+ textColorToken: "text",
7114
+ fontWeight: "medium",
7115
+ fontFamily: "heading",
7116
+ fontScale: "md"
7117
+ },
7118
+ hover: { textColorToken: "primary" },
7119
+ openState: { triggerColorToken: "primary" },
7120
+ content: { textColorToken: "neutral-700" }
7121
+ };
7122
+ //#endregion
7123
+ //#region ../theme-core/src/cards/siteStyleDefaults.ts
7124
+ /**
7125
+ * Reusable card systems for curated site styles.
7126
+ *
7127
+ * generateCardCss emits a `.card-{id}` class per enabled variant, plus stable
7128
+ * `.card-role-{role}` aliases resolved through the fallback chain. Each variant
7129
+ * declares which role it implements:
7130
+ * - `default` — the quiet, everyday card (most blocks, most of the time)
7131
+ * - `alternative` — the prominent "statement" card for sections that pop
7132
+ * - `open` — boxless but marked; falls back to the generated baseline
7133
+ * The schema allows three variants, one per role. A block asking for a role a
7134
+ * site style does not define falls back per `resolveCardRole`: `alternative` →
7135
+ * `default` → generated baseline.
7136
+ *
7137
+ * Keep `default` close to the generated baseline so shared consumers (event
7138
+ * cards, testimonials) stay stable; put the personality in `alternative`.
7139
+ */
7140
+ /**
7141
+ * South West Twerk School: a quiet default surface card plus a high-impact
7142
+ * "statement" card that reproduces the legacy accent-quote testimonial surface
7143
+ * — burgundy fill, light text, a heavy gold left accent bar, and an expressive
7144
+ * asymmetric top-right corner.
7145
+ */
7146
+ const southWestCardSystem = { variants: [{
7147
+ id: "default",
7148
+ name: "Default",
7149
+ enabled: true,
7150
+ priority: 1,
7151
+ role: "default",
7152
+ background: {
6146
7153
  type: "solid",
6147
7154
  colorToken: "surface"
6148
7155
  },
@@ -7410,7 +8417,99 @@ const loomTypography = {
7410
8417
  },
7411
8418
  scale: "spacious"
7412
8419
  };
7413
- //#endregion
8420
+ /** Poise: Schibsted Grotesk for headings and numerals (700, with 800 for display); Plus Jakarta Sans to read. */
8421
+ const poiseTypography = {
8422
+ body: {
8423
+ family: "\"Plus Jakarta Sans\", system-ui, sans-serif",
8424
+ size: "lg",
8425
+ weight: "regular",
8426
+ lineHeight: "relaxed",
8427
+ letterSpacing: "normal"
8428
+ },
8429
+ smallHeading: {
8430
+ family: "\"Plus Jakarta Sans\", system-ui, sans-serif",
8431
+ weight: "bold"
8432
+ },
8433
+ headings: {
8434
+ default: {
8435
+ family: "\"Schibsted Grotesk\", \"Helvetica Neue\", Arial, sans-serif",
8436
+ weight: "bold",
8437
+ lineHeight: "normal",
8438
+ letterSpacing: "tight",
8439
+ italic: null,
8440
+ case: null
8441
+ },
8442
+ h1: {
8443
+ size: "2xl",
8444
+ weight: "bold",
8445
+ lineHeight: "tight",
8446
+ letterSpacing: "tight",
8447
+ italic: null
8448
+ },
8449
+ h2: {
8450
+ size: "xl",
8451
+ weight: "bold",
8452
+ lineHeight: "tight",
8453
+ letterSpacing: "tight",
8454
+ italic: null
8455
+ },
8456
+ h3: {
8457
+ size: "md",
8458
+ weight: "bold",
8459
+ lineHeight: "snug",
8460
+ letterSpacing: "tight",
8461
+ italic: null
8462
+ }
8463
+ },
8464
+ scale: "spacious"
8465
+ };
8466
+ /** Haven: Nunito for headings (700, with 750 at the hero step); Nunito Sans to read. */
8467
+ const havenTypography = {
8468
+ body: {
8469
+ family: "\"Nunito Sans\", \"Segoe UI\", system-ui, sans-serif",
8470
+ size: "lg",
8471
+ weight: "regular",
8472
+ lineHeight: "relaxed",
8473
+ letterSpacing: "normal"
8474
+ },
8475
+ smallHeading: {
8476
+ family: "\"Nunito Sans\", \"Segoe UI\", system-ui, sans-serif",
8477
+ weight: "bold"
8478
+ },
8479
+ headings: {
8480
+ default: {
8481
+ family: "Nunito, \"Segoe UI\", system-ui, sans-serif",
8482
+ weight: "bold",
8483
+ lineHeight: "normal",
8484
+ letterSpacing: "tight",
8485
+ italic: null,
8486
+ case: null
8487
+ },
8488
+ h1: {
8489
+ size: "2xl",
8490
+ weight: "bold",
8491
+ lineHeight: "tight",
8492
+ letterSpacing: "tight",
8493
+ italic: null
8494
+ },
8495
+ h2: {
8496
+ size: "xl",
8497
+ weight: "bold",
8498
+ lineHeight: "tight",
8499
+ letterSpacing: "tight",
8500
+ italic: null
8501
+ },
8502
+ h3: {
8503
+ size: "md",
8504
+ weight: "bold",
8505
+ lineHeight: "snug",
8506
+ letterSpacing: "normal",
8507
+ italic: null
8508
+ }
8509
+ },
8510
+ scale: "spacious"
8511
+ };
8512
+ //#endregion
7414
8513
  //#region ../theme-core/src/site-styles/designState.ts
7415
8514
  const designResolutionPolicySchema = z.enum([
7416
8515
  "generated",
@@ -7437,7 +8536,6 @@ z.object({
7437
8536
  fields: nonEmptyRuntimeStyleFieldNamesSchema,
7438
8537
  authority: styleAuthoritySchema
7439
8538
  }).strict();
7440
- asPageFlowPresetId("flow:quiet"), noneBoundaryOption.id, asPageFlowPresetId("flow:balanced"), softBoundaryOption.id, asPageFlowPresetId("flow:expressive"), spaciousBoundaryOption.id;
7441
8539
  /**
7442
8540
  * Curated library of gradient presets.
7443
8541
  * All gradients use theme color tokens, so they adapt to the site's palette.
@@ -7812,7 +8910,9 @@ const curatedSiteStyleIdValues = [
7812
8910
  "site-style:lantern",
7813
8911
  "site-style:measure",
7814
8912
  "site-style:folio",
7815
- "site-style:loom"
8913
+ "site-style:loom",
8914
+ "site-style:poise",
8915
+ "site-style:haven"
7816
8916
  ];
7817
8917
  /** Keyed by the offered looks, so adding a look without its hero Look doesn't compile. */
7818
8918
  const bookingPageNoPhotoHeroLookIds = {
@@ -7821,7 +8921,8 @@ const bookingPageNoPhotoHeroLookIds = {
7821
8921
  "site-style:measure": "hero-page-head",
7822
8922
  "site-style:grounded-practice": "hero-contained-intro",
7823
8923
  "site-style:lantern": "hero-framed-title",
7824
- "site-style:poster": "hero-page-head"
8924
+ "site-style:poster": "hero-page-head",
8925
+ "site-style:loom": "hero-page-head"
7825
8926
  };
7826
8927
  function bookingPageOfferingFor(siteStyleId) {
7827
8928
  const lookId = bookingPageLookIdValues.find((id) => id === siteStyleId);
@@ -8046,6 +9147,14 @@ const headerCurationBySiteStyle = {
8046
9147
  layoutId: "classic",
8047
9148
  styleIds: ["serif-line"]
8048
9149
  }]),
9150
+ "site-style:poise": defineHeaderCuration([{
9151
+ layoutId: "classic",
9152
+ styleIds: ["pill-nav"]
9153
+ }]),
9154
+ "site-style:haven": defineHeaderCuration([{
9155
+ layoutId: "classic",
9156
+ styleIds: ["fine-line"]
9157
+ }]),
8049
9158
  "site-style:clarity-zen-blue": defineHeaderCuration([{
8050
9159
  layoutId: "centered",
8051
9160
  styleIds: [
@@ -8388,6 +9497,7 @@ const loomLooks = {
8388
9497
  "band"
8389
9498
  ]
8390
9499
  },
9500
+ defaultJoin: noneBoundaryOption.id,
8391
9501
  offers: [
8392
9502
  {
8393
9503
  id: id("event-details-panel"),
@@ -8415,7 +9525,8 @@ const loomLooks = {
8415
9525
  {
8416
9526
  id: id("team-members-tall-portraits"),
8417
9527
  treatment: "team-tall-portraits",
8418
- roleMap: loomRoles
9528
+ roleMap: loomRoles,
9529
+ itemRoles: { items: "card" }
8419
9530
  },
8420
9531
  {
8421
9532
  id: id("shop-price-cards-featured"),
@@ -8426,18 +9537,21 @@ const loomLooks = {
8426
9537
  id: id("card-list-plates"),
8427
9538
  treatment: "items-plates",
8428
9539
  roleMap: loomRoles,
8429
- removeKnobs: ["showPhotos"],
8430
- knobValues: { dates: ["next-dates"] },
9540
+ knobValues: {
9541
+ showPhotos: ["false"],
9542
+ dates: ["next-dates"]
9543
+ },
8431
9544
  itemRoles: { items: "card" }
8432
9545
  },
8433
9546
  {
8434
9547
  id: id("feature-cards-cards"),
8435
9548
  treatment: "cards-sewn",
8436
9549
  roleMap: loomRoles,
8437
- removeKnobs: ["showPhotos"],
8438
9550
  knobValues: {
9551
+ showPhotos: ["false"],
8439
9552
  cardMarker: ["none"],
8440
- actionStyle: ["link"]
9553
+ actionStyle: ["link"],
9554
+ columns: ["3"]
8441
9555
  }
8442
9556
  },
8443
9557
  {
@@ -8449,7 +9563,8 @@ const loomLooks = {
8449
9563
  id: id("event-calendar-session-cards"),
8450
9564
  treatment: "calendar-session-cards",
8451
9565
  roleMap: loomRoles,
8452
- removeKnobs: ["showPhotos"]
9566
+ removeKnobs: ["listColumns"],
9567
+ knobValues: { showPhotos: ["false"] }
8453
9568
  },
8454
9569
  {
8455
9570
  id: id("testimonials-lead-quote"),
@@ -8493,7 +9608,8 @@ const loomLooks = {
8493
9608
  {
8494
9609
  id: id("location-map-beside-address"),
8495
9610
  treatment: "map-beside-address",
8496
- roleMap: loomRoles
9611
+ roleMap: loomRoles,
9612
+ slotRoles: { panel: "card" }
8497
9613
  },
8498
9614
  {
8499
9615
  id: id("event-calendar-month-grid"),
@@ -8712,27 +9828,858 @@ const loomLooks = {
8712
9828
  treatment: "team-portrait-bio",
8713
9829
  roleMap: loomRoles
8714
9830
  },
8715
- {
8716
- id: id("team-members-ruled-names"),
8717
- treatment: "team-ruled-names",
8718
- roleMap: loomRoles
9831
+ {
9832
+ id: id("team-members-ruled-names"),
9833
+ treatment: "team-ruled-names",
9834
+ roleMap: loomRoles
9835
+ },
9836
+ {
9837
+ id: id("shop-price-cards"),
9838
+ treatment: "shop-price-cards",
9839
+ roleMap: loomRoles
9840
+ },
9841
+ {
9842
+ id: id("shop-ruled-prices"),
9843
+ treatment: "shop-ruled-prices",
9844
+ roleMap: loomRoles
9845
+ },
9846
+ {
9847
+ id: id("card-list-photos-on-top"),
9848
+ treatment: "items-photos-on-top",
9849
+ roleMap: loomRoles
9850
+ }
9851
+ ]
9852
+ };
9853
+ /**
9854
+ * Poise (issue 1659): rounded panels on the page, the brand colour for statements and
9855
+ * highlights. The sheet ground classifies as the band ground, where cards drop back to
9856
+ * the page colour so they still show; on the brand field statements and highlights
9857
+ * swap so they never vanish into it.
9858
+ */
9859
+ const poiseRoles = {
9860
+ card: {
9861
+ default: "sheet",
9862
+ band: "base"
9863
+ },
9864
+ statement: {
9865
+ default: "brand",
9866
+ brand: "inverse"
9867
+ },
9868
+ highlight: {
9869
+ default: "brand",
9870
+ brand: "sheet"
9871
+ }
9872
+ };
9873
+ const poiseOffers = [
9874
+ {
9875
+ id: id("team-members-portrait-bio"),
9876
+ treatment: "team-bio",
9877
+ roleMap: poiseRoles
9878
+ },
9879
+ {
9880
+ id: id("team-members-tall-portraits"),
9881
+ treatment: "team-portraits",
9882
+ roleMap: poiseRoles,
9883
+ itemRoles: { items: "card" }
9884
+ },
9885
+ {
9886
+ id: id("shop-price-cards-featured"),
9887
+ treatment: "prices-featured",
9888
+ roleMap: poiseRoles
9889
+ },
9890
+ {
9891
+ id: id("shop-price-cards"),
9892
+ treatment: "prices",
9893
+ roleMap: poiseRoles
9894
+ },
9895
+ {
9896
+ id: id("shop-ruled-prices"),
9897
+ treatment: "price-rows",
9898
+ roleMap: poiseRoles
9899
+ },
9900
+ {
9901
+ id: id("card-list-plates"),
9902
+ treatment: "plates",
9903
+ roleMap: poiseRoles,
9904
+ itemRoles: { items: "card" }
9905
+ },
9906
+ {
9907
+ id: id("hero-photo-beside-text"),
9908
+ treatment: "hero-split",
9909
+ roleMap: poiseRoles
9910
+ },
9911
+ {
9912
+ id: id("hero-headline-row"),
9913
+ treatment: "hero-headline-row",
9914
+ roleMap: poiseRoles
9915
+ },
9916
+ {
9917
+ id: id("hero-photo-behind-text"),
9918
+ treatment: "hero-behind",
9919
+ roleMap: poiseRoles
9920
+ },
9921
+ {
9922
+ id: id("hero-page-head"),
9923
+ treatment: "hero-page-head",
9924
+ roleMap: poiseRoles
9925
+ },
9926
+ {
9927
+ id: id("hero-copy-over-gallery"),
9928
+ treatment: "hero-gallery",
9929
+ roleMap: poiseRoles
9930
+ },
9931
+ {
9932
+ id: id("intro-photo-beside-text"),
9933
+ treatment: "intro-photo",
9934
+ roleMap: poiseRoles
9935
+ },
9936
+ {
9937
+ id: id("intro-statement-beside-text"),
9938
+ treatment: "intro-statement",
9939
+ roleMap: poiseRoles
9940
+ },
9941
+ {
9942
+ id: id("media-text-photo-beside-text"),
9943
+ treatment: "media-beside",
9944
+ roleMap: poiseRoles
9945
+ },
9946
+ {
9947
+ id: id("media-text-circle-beside-text"),
9948
+ treatment: "media-circle",
9949
+ roleMap: poiseRoles
9950
+ },
9951
+ {
9952
+ id: id("feature-cards-cards"),
9953
+ treatment: "cards",
9954
+ roleMap: poiseRoles
9955
+ },
9956
+ {
9957
+ id: id("feature-cards-lead-support"),
9958
+ treatment: "cards-lead",
9959
+ roleMap: poiseRoles
9960
+ },
9961
+ {
9962
+ id: id("feature-cards-sequence"),
9963
+ treatment: "steps",
9964
+ roleMap: poiseRoles
9965
+ },
9966
+ {
9967
+ id: id("feature-cards-open-columns"),
9968
+ treatment: "open-columns",
9969
+ roleMap: poiseRoles
9970
+ },
9971
+ {
9972
+ id: id("card-list-photos-on-top"),
9973
+ treatment: "photos-on-top",
9974
+ roleMap: poiseRoles
9975
+ },
9976
+ {
9977
+ id: id("card-list-scroll-row"),
9978
+ treatment: "card-row",
9979
+ roleMap: poiseRoles
9980
+ },
9981
+ {
9982
+ id: id("event-calendar-ruled-rows"),
9983
+ treatment: "rows",
9984
+ roleMap: poiseRoles
9985
+ },
9986
+ {
9987
+ id: id("event-calendar-grouped-by-day"),
9988
+ treatment: "day-groups",
9989
+ roleMap: poiseRoles
9990
+ },
9991
+ {
9992
+ id: id("event-calendar-week-columns"),
9993
+ treatment: "week-columns",
9994
+ roleMap: poiseRoles,
9995
+ itemRoles: { container: "card" },
9996
+ slotRoles: { today: "highlight" }
9997
+ },
9998
+ {
9999
+ id: id("event-calendar-session-cards"),
10000
+ treatment: "times-row",
10001
+ roleMap: poiseRoles,
10002
+ removeKnobs: ["showPhotos"]
10003
+ },
10004
+ {
10005
+ id: id("events-spotlight"),
10006
+ treatment: "spotlight",
10007
+ roleMap: poiseRoles
10008
+ },
10009
+ {
10010
+ id: id("events-recurring-week"),
10011
+ treatment: "week-list",
10012
+ roleMap: poiseRoles
10013
+ },
10014
+ {
10015
+ id: id("event-calendar-month-grid"),
10016
+ treatment: "month-grid",
10017
+ roleMap: poiseRoles
10018
+ },
10019
+ {
10020
+ id: id("event-calendar-month-day"),
10021
+ treatment: "month-day",
10022
+ roleMap: poiseRoles
10023
+ },
10024
+ {
10025
+ id: id("event-details-header"),
10026
+ treatment: "event-header",
10027
+ roleMap: poiseRoles,
10028
+ slotRoles: { panel: "card" }
10029
+ },
10030
+ {
10031
+ id: id("event-details-panel"),
10032
+ treatment: "details-panel",
10033
+ roleMap: poiseRoles
10034
+ },
10035
+ {
10036
+ id: id("testimonials-quote-cards"),
10037
+ treatment: "quote-cards",
10038
+ roleMap: poiseRoles
10039
+ },
10040
+ {
10041
+ id: id("testimonials-lead-quote"),
10042
+ treatment: "quote-lead",
10043
+ roleMap: poiseRoles,
10044
+ itemRoles: { items: "card" }
10045
+ },
10046
+ {
10047
+ id: id("testimonials-one-quote"),
10048
+ treatment: "quote-single",
10049
+ roleMap: poiseRoles
10050
+ },
10051
+ {
10052
+ id: id("testimonials-scroll-row"),
10053
+ treatment: "quote-row",
10054
+ roleMap: poiseRoles
10055
+ },
10056
+ {
10057
+ id: id("faq-title-beside-questions"),
10058
+ treatment: "faq-beside",
10059
+ itemRoles: { items: "card" },
10060
+ roleMap: poiseRoles
10061
+ },
10062
+ {
10063
+ id: id("faq-questions-under-title"),
10064
+ treatment: "faq-under",
10065
+ itemRoles: { items: "card" },
10066
+ roleMap: poiseRoles
10067
+ },
10068
+ {
10069
+ id: id("faq-questions-two-columns"),
10070
+ treatment: "faq-columns",
10071
+ itemRoles: { items: "card" },
10072
+ roleMap: poiseRoles
10073
+ },
10074
+ {
10075
+ id: id("faq-all-answers-showing"),
10076
+ treatment: "faq-open",
10077
+ roleMap: poiseRoles
10078
+ },
10079
+ {
10080
+ id: id("cta-centred"),
10081
+ treatment: "cta-left",
10082
+ roleMap: poiseRoles
10083
+ },
10084
+ {
10085
+ id: id("cta-title-beside-buttons"),
10086
+ treatment: "cta-beside",
10087
+ roleMap: poiseRoles
10088
+ },
10089
+ {
10090
+ id: id("cta-figure-beside-offer"),
10091
+ treatment: "cta-figure",
10092
+ roleMap: poiseRoles
10093
+ },
10094
+ {
10095
+ id: id("newsletter-signup-text-beside"),
10096
+ treatment: "signup-beside",
10097
+ roleMap: poiseRoles
10098
+ },
10099
+ {
10100
+ id: id("newsletter-signup-one-row"),
10101
+ treatment: "signup-row",
10102
+ roleMap: poiseRoles
10103
+ },
10104
+ {
10105
+ id: id("newsletter-signup-in-arch"),
10106
+ treatment: "signup-frame",
10107
+ roleMap: poiseRoles
10108
+ },
10109
+ {
10110
+ id: id("form-beside-introduction-arched-panel"),
10111
+ treatment: "form-beside",
10112
+ roleMap: poiseRoles
10113
+ },
10114
+ {
10115
+ id: id("form-below-introduction"),
10116
+ treatment: "form-below",
10117
+ roleMap: poiseRoles
10118
+ },
10119
+ {
10120
+ id: id("body-text-reading-column"),
10121
+ treatment: "body-reading",
10122
+ roleMap: poiseRoles
10123
+ },
10124
+ {
10125
+ id: id("body-text-title-beside"),
10126
+ treatment: "body-beside",
10127
+ roleMap: poiseRoles
10128
+ },
10129
+ {
10130
+ id: id("body-text-large-opening"),
10131
+ treatment: "body-opening",
10132
+ roleMap: poiseRoles
10133
+ },
10134
+ {
10135
+ id: id("image-gallery-lead-photo"),
10136
+ treatment: "gallery-lead",
10137
+ roleMap: poiseRoles
10138
+ },
10139
+ {
10140
+ id: id("image-gallery-square-tiles"),
10141
+ treatment: "gallery-tiles",
10142
+ roleMap: poiseRoles
10143
+ },
10144
+ {
10145
+ id: id("image-gallery-captions-under"),
10146
+ treatment: "gallery-captions",
10147
+ roleMap: poiseRoles
10148
+ },
10149
+ {
10150
+ id: id("location-map-beside-address"),
10151
+ treatment: "map-beside",
10152
+ roleMap: poiseRoles,
10153
+ slotRoles: { panel: "card" }
10154
+ },
10155
+ {
10156
+ id: id("location-map-address-over-wide-map"),
10157
+ treatment: "map-wide",
10158
+ roleMap: poiseRoles
10159
+ },
10160
+ {
10161
+ id: id("location-map-entrance-photo"),
10162
+ treatment: "map-entrance",
10163
+ roleMap: poiseRoles
10164
+ },
10165
+ {
10166
+ id: id("location-map-above-details"),
10167
+ treatment: "map-above",
10168
+ roleMap: poiseRoles
10169
+ }
10170
+ ];
10171
+ const poiseLooks = {
10172
+ kind: "offers",
10173
+ skin: "poise",
10174
+ skinTokens: {
10175
+ radius: "24px",
10176
+ rule: "1.5px",
10177
+ "mark-length": "22px",
10178
+ "mark-weight": "8px",
10179
+ plate: "0",
10180
+ gutter: "28px",
10181
+ "copy-gap": "1.25rem",
10182
+ "stack-gap": "2.5rem",
10183
+ "shadow-offset": "0",
10184
+ rotation: "0deg",
10185
+ margin: "20px"
10186
+ },
10187
+ fontLoading: {
10188
+ extraHeadingFontWeights: [700, 800],
10189
+ extraBodyFontWeights: [
10190
+ 500,
10191
+ 600,
10192
+ 700
10193
+ ]
10194
+ },
10195
+ surfaces: {
10196
+ base: {
10197
+ kind: "token",
10198
+ token: "background"
10199
+ },
10200
+ band: {
10201
+ kind: "token",
10202
+ token: "surfaceAlt"
10203
+ },
10204
+ sheet: {
10205
+ kind: "token",
10206
+ token: "surface"
10207
+ },
10208
+ brand: {
10209
+ kind: "token",
10210
+ token: "primary",
10211
+ buttonContext: { primary: unsafeAsOpaqueButtonColourToken("primaryForeground") },
10212
+ sectionShape: "field"
10213
+ },
10214
+ inverse: {
10215
+ kind: "token",
10216
+ token: "text",
10217
+ sectionShape: "field"
10218
+ }
10219
+ },
10220
+ rhythm: {
10221
+ "flow:quiet": [
10222
+ "brand",
10223
+ "base",
10224
+ "band",
10225
+ "base"
10226
+ ],
10227
+ "flow:balanced": [
10228
+ "brand",
10229
+ "base",
10230
+ "band",
10231
+ "base",
10232
+ "sheet",
10233
+ "inverse",
10234
+ "base",
10235
+ "brand",
10236
+ "band"
10237
+ ],
10238
+ "flow:expressive": [
10239
+ "brand",
10240
+ "base",
10241
+ "band",
10242
+ "inverse",
10243
+ "base",
10244
+ "sheet",
10245
+ "brand",
10246
+ "band",
10247
+ "inverse"
10248
+ ]
10249
+ },
10250
+ bookingBar: { surface: "inverse" },
10251
+ offers: poiseOffers
10252
+ };
10253
+ /**
10254
+ * Haven (issue 1661): soft grounds and pebbles. The mockup names its grounds base, soft, tint,
10255
+ * wash and brand; in code they are base (background), sheet (surface), band (surfaceAlt),
10256
+ * deep (secondary, the wash) and brand (primary). Cards are surface, and drop back to the
10257
+ * page colour on the surface ground; the featured price is the brand colour, back to surface
10258
+ * on brand; chips, date badges and the sticker take the wash, which shows on every light ground.
10259
+ */
10260
+ const havenRoles = {
10261
+ card: {
10262
+ default: "sheet",
10263
+ band: "base"
10264
+ },
10265
+ statement: {
10266
+ default: "brand",
10267
+ brand: "sheet"
10268
+ },
10269
+ highlight: {
10270
+ default: "deep",
10271
+ brand: "sheet"
10272
+ }
10273
+ };
10274
+ const havenOffers = [
10275
+ {
10276
+ id: id("team-members-portrait-bio"),
10277
+ treatment: "team-bio",
10278
+ roleMap: havenRoles
10279
+ },
10280
+ {
10281
+ id: id("team-members-tall-portraits"),
10282
+ treatment: "team-portraits",
10283
+ roleMap: havenRoles,
10284
+ itemRoles: { items: "card" }
10285
+ },
10286
+ {
10287
+ id: id("team-members-ruled-names"),
10288
+ treatment: "team-names",
10289
+ roleMap: havenRoles,
10290
+ itemRoles: { container: "card" }
10291
+ },
10292
+ {
10293
+ id: id("shop-price-cards-featured"),
10294
+ treatment: "prices-featured",
10295
+ roleMap: havenRoles
10296
+ },
10297
+ {
10298
+ id: id("shop-price-cards"),
10299
+ treatment: "prices",
10300
+ roleMap: havenRoles
10301
+ },
10302
+ {
10303
+ id: id("shop-ruled-prices"),
10304
+ treatment: "price-rows",
10305
+ roleMap: havenRoles,
10306
+ itemRoles: { container: "card" }
10307
+ },
10308
+ {
10309
+ id: id("card-list-plates"),
10310
+ treatment: "plates",
10311
+ roleMap: havenRoles,
10312
+ itemRoles: { items: "card" }
10313
+ },
10314
+ {
10315
+ id: id("hero-photo-beside-text"),
10316
+ treatment: "hero-split",
10317
+ roleMap: havenRoles
10318
+ },
10319
+ {
10320
+ id: id("hero-headline-row"),
10321
+ treatment: "hero-headline-row",
10322
+ roleMap: havenRoles
10323
+ },
10324
+ {
10325
+ id: id("hero-framed-title"),
10326
+ treatment: "hero-framed",
10327
+ roleMap: havenRoles
10328
+ },
10329
+ {
10330
+ id: id("hero-page-head"),
10331
+ treatment: "hero-page-head",
10332
+ roleMap: havenRoles
10333
+ },
10334
+ {
10335
+ id: id("intro-photo-beside-text"),
10336
+ treatment: "intro-photo",
10337
+ roleMap: havenRoles
10338
+ },
10339
+ {
10340
+ id: id("intro-statement-beside-text"),
10341
+ treatment: "intro-statement",
10342
+ roleMap: havenRoles
10343
+ },
10344
+ {
10345
+ id: id("media-text-photo-beside-text"),
10346
+ treatment: "media-beside",
10347
+ roleMap: havenRoles
10348
+ },
10349
+ {
10350
+ id: id("media-text-circle-beside-text"),
10351
+ treatment: "media-circle",
10352
+ roleMap: havenRoles
10353
+ },
10354
+ {
10355
+ id: id("feature-cards-lead-support"),
10356
+ treatment: "cards-lead",
10357
+ roleMap: havenRoles,
10358
+ itemRoles: {
10359
+ items: "card",
10360
+ at: { first: "card" }
10361
+ }
10362
+ },
10363
+ {
10364
+ id: id("feature-cards-cards"),
10365
+ treatment: "cards",
10366
+ roleMap: havenRoles
10367
+ },
10368
+ {
10369
+ id: id("feature-cards-sequence"),
10370
+ treatment: "steps",
10371
+ roleMap: havenRoles
10372
+ },
10373
+ {
10374
+ id: id("feature-cards-index"),
10375
+ treatment: "index",
10376
+ roleMap: havenRoles,
10377
+ itemRoles: { container: "card" }
10378
+ },
10379
+ {
10380
+ id: id("feature-cards-open-columns"),
10381
+ treatment: "open-columns",
10382
+ roleMap: havenRoles
10383
+ },
10384
+ {
10385
+ id: id("card-list-photos-on-top"),
10386
+ treatment: "photos-on-top",
10387
+ roleMap: havenRoles
10388
+ },
10389
+ {
10390
+ id: id("card-list-scroll-row"),
10391
+ treatment: "card-row",
10392
+ roleMap: havenRoles
10393
+ },
10394
+ {
10395
+ id: id("card-list-wide-slides"),
10396
+ treatment: "wide-slides",
10397
+ roleMap: havenRoles
10398
+ },
10399
+ {
10400
+ id: id("event-calendar-ruled-rows"),
10401
+ treatment: "rows",
10402
+ roleMap: havenRoles,
10403
+ itemRoles: { items: "card" },
10404
+ slotRoles: { date: "highlight" }
10405
+ },
10406
+ {
10407
+ id: id("event-calendar-grouped-by-day"),
10408
+ treatment: "day-groups",
10409
+ roleMap: havenRoles
10410
+ },
10411
+ {
10412
+ id: id("event-calendar-week-columns"),
10413
+ treatment: "week-columns",
10414
+ roleMap: havenRoles,
10415
+ itemRoles: { container: "card" },
10416
+ slotRoles: { today: "highlight" }
10417
+ },
10418
+ {
10419
+ id: id("event-calendar-session-cards"),
10420
+ treatment: "session-cards",
10421
+ roleMap: havenRoles
10422
+ },
10423
+ {
10424
+ id: id("event-calendar-next-three"),
10425
+ treatment: "compact",
10426
+ roleMap: havenRoles
10427
+ },
10428
+ {
10429
+ id: id("events-spotlight"),
10430
+ treatment: "spotlight",
10431
+ roleMap: havenRoles
10432
+ },
10433
+ {
10434
+ id: id("events-recurring-week"),
10435
+ treatment: "week-list",
10436
+ roleMap: havenRoles,
10437
+ itemRoles: { items: "card" },
10438
+ slotRoles: { date: "highlight" }
10439
+ },
10440
+ {
10441
+ id: id("event-calendar-month-grid"),
10442
+ treatment: "month-grid",
10443
+ roleMap: havenRoles,
10444
+ itemRoles: { container: "card" }
10445
+ },
10446
+ {
10447
+ id: id("event-calendar-month-day"),
10448
+ treatment: "month-day",
10449
+ roleMap: havenRoles
10450
+ },
10451
+ {
10452
+ id: id("event-details-header"),
10453
+ treatment: "event-header",
10454
+ roleMap: havenRoles,
10455
+ slotRoles: { panel: "card" }
10456
+ },
10457
+ {
10458
+ id: id("event-details-panel"),
10459
+ treatment: "details-panel",
10460
+ roleMap: havenRoles
10461
+ },
10462
+ {
10463
+ id: id("testimonials-lead-quote"),
10464
+ treatment: "quote-lead",
10465
+ roleMap: {
10466
+ ...havenRoles,
10467
+ highlight: "section"
10468
+ },
10469
+ itemRoles: {
10470
+ items: "card",
10471
+ at: { first: "highlight" }
10472
+ }
10473
+ },
10474
+ {
10475
+ id: id("testimonials-quote-cards"),
10476
+ treatment: "quote-cards",
10477
+ roleMap: havenRoles
10478
+ },
10479
+ {
10480
+ id: id("testimonials-quote-columns"),
10481
+ treatment: "quote-columns",
10482
+ roleMap: havenRoles
10483
+ },
10484
+ {
10485
+ id: id("testimonials-one-quote"),
10486
+ treatment: "quote-single",
10487
+ roleMap: havenRoles
10488
+ },
10489
+ {
10490
+ id: id("testimonials-one-at-a-time"),
10491
+ treatment: "quote-slides",
10492
+ roleMap: havenRoles
10493
+ },
10494
+ {
10495
+ id: id("faq-title-beside-questions"),
10496
+ treatment: "faq-beside",
10497
+ itemRoles: { items: "card" },
10498
+ roleMap: havenRoles
10499
+ },
10500
+ {
10501
+ id: id("faq-questions-under-title"),
10502
+ treatment: "faq-under",
10503
+ itemRoles: { items: "card" },
10504
+ roleMap: havenRoles
10505
+ },
10506
+ {
10507
+ id: id("faq-questions-two-columns"),
10508
+ treatment: "faq-columns",
10509
+ itemRoles: { items: "card" },
10510
+ roleMap: havenRoles
10511
+ },
10512
+ {
10513
+ id: id("faq-all-answers-showing"),
10514
+ treatment: "faq-open",
10515
+ roleMap: havenRoles
10516
+ },
10517
+ {
10518
+ id: id("cta-centred"),
10519
+ treatment: "cta-centred",
10520
+ roleMap: havenRoles
10521
+ },
10522
+ {
10523
+ id: id("cta-title-beside-buttons"),
10524
+ treatment: "cta-beside",
10525
+ roleMap: havenRoles
10526
+ },
10527
+ {
10528
+ id: id("cta-figure-beside-offer"),
10529
+ treatment: "cta-figure",
10530
+ roleMap: havenRoles
10531
+ },
10532
+ {
10533
+ id: id("newsletter-signup-text-beside"),
10534
+ treatment: "signup-beside",
10535
+ roleMap: havenRoles
10536
+ },
10537
+ {
10538
+ id: id("newsletter-signup-one-row"),
10539
+ treatment: "signup-row",
10540
+ roleMap: havenRoles
10541
+ },
10542
+ {
10543
+ id: id("newsletter-signup-in-arch"),
10544
+ treatment: "signup-frame",
10545
+ roleMap: havenRoles
10546
+ },
10547
+ {
10548
+ id: id("form-beside-introduction-arched-panel"),
10549
+ treatment: "form-beside",
10550
+ roleMap: havenRoles
10551
+ },
10552
+ {
10553
+ id: id("form-below-introduction"),
10554
+ treatment: "form-below",
10555
+ roleMap: havenRoles
10556
+ },
10557
+ {
10558
+ id: id("body-text-reading-column"),
10559
+ treatment: "body-reading",
10560
+ roleMap: havenRoles
10561
+ },
10562
+ {
10563
+ id: id("body-text-title-beside"),
10564
+ treatment: "body-beside",
10565
+ roleMap: havenRoles
10566
+ },
10567
+ {
10568
+ id: id("body-text-large-opening"),
10569
+ treatment: "body-opening",
10570
+ roleMap: havenRoles
10571
+ },
10572
+ {
10573
+ id: id("image-gallery-captions-under"),
10574
+ treatment: "gallery-captions",
10575
+ roleMap: havenRoles
10576
+ },
10577
+ {
10578
+ id: id("image-gallery-square-tiles"),
10579
+ treatment: "gallery-tiles",
10580
+ roleMap: havenRoles
10581
+ },
10582
+ {
10583
+ id: id("image-gallery-lead-photo"),
10584
+ treatment: "gallery-lead",
10585
+ roleMap: havenRoles
10586
+ },
10587
+ {
10588
+ id: id("location-map-beside-address"),
10589
+ treatment: "map-beside",
10590
+ roleMap: havenRoles,
10591
+ slotRoles: { panel: "card" }
10592
+ },
10593
+ {
10594
+ id: id("location-map-above-details"),
10595
+ treatment: "map-above",
10596
+ roleMap: havenRoles
10597
+ },
10598
+ {
10599
+ id: id("location-map-address-over-wide-map"),
10600
+ treatment: "map-wide",
10601
+ roleMap: havenRoles
10602
+ },
10603
+ {
10604
+ id: id("location-map-entrance-photo"),
10605
+ treatment: "map-entrance",
10606
+ roleMap: havenRoles
10607
+ }
10608
+ ];
10609
+ const havenLooks = {
10610
+ kind: "offers",
10611
+ skin: "haven",
10612
+ skinTokens: {
10613
+ radius: "30px",
10614
+ rule: "1.5px",
10615
+ "mark-length": "14px",
10616
+ "mark-weight": "12px",
10617
+ plate: "1.25rem",
10618
+ gutter: "32px",
10619
+ "copy-gap": "1.25rem",
10620
+ "stack-gap": "3rem",
10621
+ "shadow-offset": "0",
10622
+ rotation: "0deg",
10623
+ wrap: "1200px"
10624
+ },
10625
+ fontLoading: {
10626
+ extraHeadingFontWeights: [750],
10627
+ extraBodyFontWeights: [600, 700]
10628
+ },
10629
+ surfaces: {
10630
+ base: {
10631
+ kind: "token",
10632
+ token: "background"
10633
+ },
10634
+ sheet: {
10635
+ kind: "token",
10636
+ token: "surface"
8719
10637
  },
8720
- {
8721
- id: id("shop-price-cards"),
8722
- treatment: "shop-price-cards",
8723
- roleMap: loomRoles
10638
+ band: {
10639
+ kind: "token",
10640
+ token: "surfaceAlt"
8724
10641
  },
8725
- {
8726
- id: id("shop-ruled-prices"),
8727
- treatment: "shop-ruled-prices",
8728
- roleMap: loomRoles
10642
+ deep: {
10643
+ kind: "token",
10644
+ token: "secondary",
10645
+ roleOnly: true
8729
10646
  },
8730
- {
8731
- id: id("card-list-photos-on-top"),
8732
- treatment: "items-photos-on-top",
8733
- roleMap: loomRoles
10647
+ brand: {
10648
+ kind: "token",
10649
+ token: "primary",
10650
+ buttonContext: { primary: unsafeAsOpaqueButtonColourToken("primaryForeground") }
8734
10651
  }
8735
- ]
10652
+ },
10653
+ rhythm: {
10654
+ "flow:quiet": [
10655
+ "base",
10656
+ "band",
10657
+ "base",
10658
+ "sheet"
10659
+ ],
10660
+ "flow:balanced": [
10661
+ "base",
10662
+ "band",
10663
+ "base",
10664
+ "sheet",
10665
+ "base",
10666
+ "band",
10667
+ "brand",
10668
+ "sheet"
10669
+ ],
10670
+ "flow:expressive": [
10671
+ "base",
10672
+ "band",
10673
+ "base",
10674
+ "brand",
10675
+ "sheet",
10676
+ "band",
10677
+ "base",
10678
+ "sheet"
10679
+ ]
10680
+ },
10681
+ defaultJoin: noneBoundaryOption.id,
10682
+ offers: havenOffers
8736
10683
  };
8737
10684
  /** Folio: quiet sheets and band-coloured statements. */
8738
10685
  const folioRoles = {
@@ -9658,17 +11605,20 @@ const posterOffers = [
9658
11605
  {
9659
11606
  id: id("image-gallery-square-tiles"),
9660
11607
  treatment: "gallery-tiles",
9661
- roleMap: posterRoles
11608
+ roleMap: posterRoles,
11609
+ removeKnobs: ["blackAndWhite"]
9662
11610
  },
9663
11611
  {
9664
11612
  id: id("image-gallery-lead-photo"),
9665
11613
  treatment: "gallery-lead",
9666
- roleMap: posterRoles
11614
+ roleMap: posterRoles,
11615
+ removeKnobs: ["blackAndWhite"]
9667
11616
  },
9668
11617
  {
9669
11618
  id: id("image-gallery-captions-under"),
9670
11619
  treatment: "gallery-captions",
9671
- roleMap: posterRoles
11620
+ roleMap: posterRoles,
11621
+ removeKnobs: ["blackAndWhite"]
9672
11622
  },
9673
11623
  {
9674
11624
  id: id("cta-centred"),
@@ -10007,6 +11957,7 @@ const lanternLooks = {
10007
11957
  {
10008
11958
  id: id("event-calendar-session-cards"),
10009
11959
  treatment: "tablets",
11960
+ removeKnobs: ["listColumns"],
10010
11961
  surfaceTints: { date: {
10011
11962
  source: "text",
10012
11963
  opacity: 8
@@ -10341,6 +12292,7 @@ const measureLooks = {
10341
12292
  {
10342
12293
  id: id("event-calendar-session-cards"),
10343
12294
  treatment: "big-day",
12295
+ knobValues: { listColumns: ["3"] },
10344
12296
  roleMap: measureRoles
10345
12297
  },
10346
12298
  {
@@ -11377,7 +13329,10 @@ const curatedSiteStyles = [
11377
13329
  defineCuratedSiteStyle({
11378
13330
  id: "site-style:loom",
11379
13331
  name: "Loom",
11380
- offering: { kind: "lab" },
13332
+ offering: {
13333
+ kind: "public",
13334
+ generation: { kind: "explicit_only" }
13335
+ },
11381
13336
  description: "Stitched seams, sewn-label buttons and one strong patch of colour on each page. Warm and handmade, for studios and makers who teach.",
11382
13337
  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.",
11383
13338
  headingDecoration: noHeadingDecoration,
@@ -11414,7 +13369,7 @@ const curatedSiteStyles = [
11414
13369
  navWeight: "semibold",
11415
13370
  navLinkWeight: "semibold",
11416
13371
  navTypography: "plain",
11417
- border: "bottom",
13372
+ border: "none",
11418
13373
  shadow: { kind: "explicit-none" },
11419
13374
  frame: { kind: "none" },
11420
13375
  logo: {
@@ -11471,6 +13426,176 @@ const curatedSiteStyles = [
11471
13426
  paletteRecommendation("loom-flax"),
11472
13427
  paletteRecommendation("loom-ember")
11473
13428
  ]
13429
+ }),
13430
+ defineCuratedSiteStyle({
13431
+ id: "site-style:poise",
13432
+ name: "Poise",
13433
+ offering: {
13434
+ kind: "public",
13435
+ generation: { kind: "explicit_only" }
13436
+ },
13437
+ 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.",
13438
+ 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.",
13439
+ headingDecoration: noHeadingDecoration,
13440
+ tokenRecipes: {
13441
+ palette: "brand-led",
13442
+ contrast: "strong",
13443
+ radius: "rounded",
13444
+ shadow: "none",
13445
+ typography: "clean-sans",
13446
+ spacing: "regular",
13447
+ motion: "subtle"
13448
+ },
13449
+ compositionBudget: balancedBudget,
13450
+ typography: poiseTypography,
13451
+ looks: poiseLooks,
13452
+ contentTemplateDefaults: { event: "event-header" },
13453
+ themeOverrides: {
13454
+ accordions: editorialDividedAccordionSystem,
13455
+ testimonialQuote: accentGlyphQuote
13456
+ },
13457
+ headerStyleRecipes: { "pill-nav": {
13458
+ tone: "neutral",
13459
+ dropdown: neutralHeaderDropdown,
13460
+ background: {
13461
+ kind: "token",
13462
+ token: "background"
13463
+ },
13464
+ nav: {
13465
+ kind: "pill",
13466
+ backing: "capsule",
13467
+ hoverColorToken: "text",
13468
+ hoverAlpha: 8
13469
+ },
13470
+ navWeight: "semibold",
13471
+ navLinkWeight: "semibold",
13472
+ navTypography: "plain",
13473
+ border: "none",
13474
+ shadow: { kind: "absent" },
13475
+ frame: { kind: "none" },
13476
+ logo: {
13477
+ fontFamily: "heading",
13478
+ letterSpacing: "normal",
13479
+ gradient: false
13480
+ },
13481
+ cta: { treatment: "primary" }
13482
+ } },
13483
+ footerLookRecipes: { "footer-links-row": {
13484
+ arrangement: "simple",
13485
+ ground: {
13486
+ kind: "style-surface",
13487
+ surface: "inverse"
13488
+ },
13489
+ nav: {
13490
+ weight: "semibold",
13491
+ colorToken: "background",
13492
+ hoverColorToken: "background",
13493
+ typography: "body"
13494
+ },
13495
+ legal: {
13496
+ kind: "separate",
13497
+ bar: {
13498
+ fullBleed: false,
13499
+ background: {
13500
+ kind: "style-surface",
13501
+ surface: "inverse"
13502
+ },
13503
+ textColor: "background",
13504
+ textAlign: "left",
13505
+ paddingY: "compact",
13506
+ paddingX: "none",
13507
+ borderTop: {
13508
+ width: "thin",
13509
+ colorToken: "background"
13510
+ }
13511
+ }
13512
+ },
13513
+ brandAlign: "start",
13514
+ brandLogoSize: "md"
13515
+ } },
13516
+ recommendedFooterLookIds: ["footer-links-row"],
13517
+ buttonStyleChoices: [
13518
+ buttonChoice("edged-pill"),
13519
+ buttonChoice("soft-pill"),
13520
+ buttonChoice("editorial-link")
13521
+ ],
13522
+ paletteRecommendations: [
13523
+ paletteRecommendation("poise-butter"),
13524
+ paletteRecommendation("poise-ember"),
13525
+ paletteRecommendation("poise-night")
13526
+ ]
13527
+ }),
13528
+ defineCuratedSiteStyle({
13529
+ id: "site-style:haven",
13530
+ name: "Haven",
13531
+ offering: {
13532
+ kind: "public",
13533
+ generation: { kind: "explicit_only" }
13534
+ },
13535
+ 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.",
13536
+ 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.",
13537
+ headingDecoration: noHeadingDecoration,
13538
+ tokenRecipes: {
13539
+ palette: "warm-neutral",
13540
+ contrast: "standard",
13541
+ radius: "rounded",
13542
+ shadow: "none",
13543
+ typography: "friendly-sans",
13544
+ spacing: "airy",
13545
+ motion: "subtle"
13546
+ },
13547
+ compositionBudget: balancedBudget,
13548
+ typography: havenTypography,
13549
+ looks: havenLooks,
13550
+ contentTemplateDefaults: { event: "event-header" },
13551
+ themeOverrides: {
13552
+ accordions: editorialDividedAccordionSystem,
13553
+ testimonialQuote: accentGlyphQuote
13554
+ },
13555
+ footerLookRecipes: { "footer-links-row": {
13556
+ arrangement: "simple",
13557
+ ground: {
13558
+ kind: "style-surface",
13559
+ surface: "band"
13560
+ },
13561
+ nav: {
13562
+ weight: "regular",
13563
+ colorToken: "text",
13564
+ hoverColorToken: "text",
13565
+ typography: "body"
13566
+ },
13567
+ legal: {
13568
+ kind: "separate",
13569
+ bar: {
13570
+ fullBleed: false,
13571
+ background: {
13572
+ kind: "style-surface",
13573
+ surface: "band"
13574
+ },
13575
+ textColor: "text",
13576
+ textAlign: "left",
13577
+ paddingY: "compact",
13578
+ paddingX: "none",
13579
+ borderTop: {
13580
+ width: "thin",
13581
+ colorToken: "border"
13582
+ }
13583
+ }
13584
+ },
13585
+ brandAlign: "start",
13586
+ brandLogoSize: "md"
13587
+ } },
13588
+ recommendedFooterLookIds: ["footer-links-row"],
13589
+ buttonStyleChoices: [
13590
+ buttonChoice("soft-pill"),
13591
+ buttonChoice("pebble"),
13592
+ buttonChoice("editorial-link")
13593
+ ],
13594
+ paletteRecommendations: [
13595
+ paletteRecommendation("haven-blush"),
13596
+ paletteRecommendation("haven-sage"),
13597
+ paletteRecommendation("haven-plum")
13598
+ ]
11474
13599
  })
11475
13600
  ];
11476
13601
  const curatedSiteStylesById = new Map(curatedSiteStyles.map((style) => [style.id, style]));
@@ -11507,6 +13632,8 @@ curatedSiteStyles.forEach((style) => {
11507
13632
  if (style.looks.kind === "offers") {
11508
13633
  validateLookFallbacks(style.looks);
11509
13634
  validateCalendarModeOffers(style.looks);
13635
+ validateSectionSurfaces(style.looks.skin, style.looks.surfaces);
13636
+ validateBookingBarSurface(style.looks.skin, style.looks.bookingBar, style.looks.surfaces);
11510
13637
  }
11511
13638
  (/* @__PURE__ */ new Set([...Object.values(style.footerLookRecipes ?? {}), ...style.recommendedFooterLookIds.map((id) => resolveFooterLookRecipe(style, id))])).forEach((recipe) => validateFooterRecipeSurfaces(style, recipe));
11512
13639
  });
@@ -11668,15 +13795,23 @@ function readStoredMode(manifest, content) {
11668
13795
  const stored = content.variant;
11669
13796
  return isArrangementMode(stored) && meaning.modes.includes(stored) ? stored : meaning.defaultMode;
11670
13797
  }
13798
+ /**
13799
+ * Follows `whenMissing` while a named fact is false. Setting facts apply to
13800
+ * both audiences, so the editor preview matches the page; content facts apply
13801
+ * to visitors only, so owners keep the Look they chose and its prompts.
13802
+ */
11671
13803
  function resolvePublishedLook(input, visited = /* @__PURE__ */ new Set()) {
11672
- if (input.audience === "authoring" || visited.has(input.look.id)) return input.look;
11673
- const fallback = input.look.structure.whenMissing.find((rule) => !input.contentFacts[rule.fact]);
13804
+ if (visited.has(input.look.id)) return input.look;
13805
+ const fallback = input.look.structure.whenMissing.find((rule) => !lookFactHolds(rule.fact, input.facts, input.audience));
11674
13806
  const next = input.catalogue.find((entry) => entry.id === fallback?.look && entry.blockKinds.some((kind) => input.look.blockKinds.includes(kind)));
11675
13807
  return next === void 0 ? input.look : resolvePublishedLook({
11676
13808
  ...input,
11677
13809
  look: next
11678
13810
  }, /* @__PURE__ */ new Set([...visited, input.look.id]));
11679
13811
  }
13812
+ function lookFactHolds(fact, facts, audience) {
13813
+ return isLookSettingFact(fact) ? facts.settings[fact] : audience === "authoring" || facts.content[fact];
13814
+ }
11680
13815
  //#endregion
11681
13816
  //#region ../theme-core/src/site-styles/lookResolution.ts
11682
13817
  function lookDefinitionForId(lookId, catalogue = appearancePresets.filter(isArrangementAppearancePreset)) {
@@ -11728,9 +13863,10 @@ const arrangementLookHooks = [
11728
13863
  "data-control",
11729
13864
  "data-placeholder-field",
11730
13865
  "data-one-person",
11731
- "data-team-about"
13866
+ "data-team-about",
13867
+ "data-shape"
11732
13868
  ];
11733
- appearancePresets.filter(isArrangementAppearancePreset);
13869
+ const arrangementAppearancePresets = appearancePresets.filter(isArrangementAppearancePreset);
11734
13870
  /** Closed structural hooks shared by block arrangements and bounded skins. */
11735
13871
  const arrangementSlotNames = [
11736
13872
  "contact",
@@ -11787,6 +13923,7 @@ const arrangementSlotNames = [
11787
13923
  "group-label",
11788
13924
  "group-day",
11789
13925
  "group-date",
13926
+ "group-empty",
11790
13927
  "date",
11791
13928
  "weekday",
11792
13929
  "day",
@@ -11844,11 +13981,11 @@ function itemSurfaceSpec(role, ground, style) {
11844
13981
  return spec;
11845
13982
  }
11846
13983
  /** Fixed standalone slots and collection slots share the role resolver. */
11847
- function resolveLookSlotSurfaces(look, roles, surfaces) {
13984
+ function resolveLookSlotSurfaces({ look, slotRoles }, roles, surfaces) {
11848
13985
  const arrangement = Object.values(look.structure.byMode)[0];
11849
13986
  const container = arrangement === "compact" ? "panel" : look.target === "events" ? "list" : "items";
11850
13987
  const entries = [
11851
- ...Object.entries(look.structure.slotRoles ?? {}).map(([slot, role]) => [slot, surfaces[role]]),
13988
+ ...Object.entries(slotRoles).map(([slot, role]) => [slot, surfaces[role]]),
11852
13989
  ...roles.container ? [[container, surfaces[roles.container]]] : [],
11853
13990
  ...roles.items ? [
11854
13991
  ["item", surfaces[roles.items]],
@@ -11859,6 +13996,16 @@ function resolveLookSlotSurfaces(look, roles, surfaces) {
11859
13996
  ];
11860
13997
  return Object.fromEntries(entries);
11861
13998
  }
13999
+ asPageFlowPresetId("flow:quiet"), noneBoundaryOption.id, asPageFlowPresetId("flow:balanced"), softBoundaryOption.id, asPageFlowPresetId("flow:expressive"), spaciousBoundaryOption.id;
14000
+ //#endregion
14001
+ //#region ../theme-core/src/site-styles/sectionPhoto.ts
14002
+ /** The photo a section keeps, wherever its background `type` points. */
14003
+ function storedSectionPhoto(content) {
14004
+ return readRecord(readRecord(readRecord(content._sectionStyles)?.background)?.image);
14005
+ }
14006
+ function readRecord(value) {
14007
+ return typeof value === "object" && value !== null && !Array.isArray(value) ? value : null;
14008
+ }
11862
14009
  //#endregion
11863
14010
  //#region ../theme-core/src/site-styles/resolver.ts
11864
14011
  const blockDesignFallback = {
@@ -12096,6 +14243,10 @@ function glassStateEffects(opacity) {
12096
14243
  function readOpeningForegroundProjection(header) {
12097
14244
  return header?.__runtimeOpeningForeground ?? null;
12098
14245
  }
14246
+ /** Decided by the foreground compiler, independently of scrolling behavior. */
14247
+ function readOpeningToneProjection(header) {
14248
+ return header.__runtimeOpeningTone ?? null;
14249
+ }
12099
14250
  //#endregion
12100
14251
  //#region ../theme-core/src/header/effectiveNavLinkStyle.ts
12101
14252
  function effectiveHeaderNavLinkStyle(header, contrastTreatment = null, navTextSize = null) {
@@ -12232,6 +14383,24 @@ function collectBlockSequenceIssues(snapshots) {
12232
14383
  });
12233
14384
  }
12234
14385
  //#endregion
14386
+ //#region ../theme-core/src/site-styles/sectionPhotoGround.ts
14387
+ /**
14388
+ * How the Looks built on an arrangement use the photo. Looks that share an
14389
+ * arrangement render the same tree, so they agree (a catalogue test holds
14390
+ * them to it). Null for keys no arrangement Look uses.
14391
+ */
14392
+ function arrangementPhotoUse(blockKind, arrangementKey) {
14393
+ return arrangementAppearancePresets.find((entry) => entry.blockKinds.some((kind) => kind === blockKind) && Object.values(entry.structure.byMode).includes(arrangementKey))?.structure.photoUse ?? null;
14394
+ }
14395
+ /** Older hero layouts no arrangement Look is built on, which show the photo beside the text. */
14396
+ const recipeOnlyHeroLayoutsWithPhotoBeside = ["splitReverse"];
14397
+ /** One photo-placement decision for the hero's renderers: does the photo paint the section ground? */
14398
+ function heroPhotoPaintsGround(variant) {
14399
+ const key = variant ?? "classic";
14400
+ const use = arrangementPhotoUse("block.hero", key);
14401
+ return use === null ? !recipeOnlyHeroLayoutsWithPhotoBeside.includes(key) : use === "behind";
14402
+ }
14403
+ //#endregion
12235
14404
  //#region ../theme-core/src/site-styles/tokenRecipes.ts
12236
14405
  const themeTokenRecipeOptions = {
12237
14406
  palette: [
@@ -12308,16 +14477,6 @@ z.union([z.nullish(z.never()).transform(() => ({ kind: "automatic" })), pageDesi
12308
14477
  const value = issue.input;
12309
14478
  return typeof value === "object" && value !== null && "schemaVersion" in value && value.schemaVersion !== 2 ? "Unsupported page design decisions schemaVersion." : "Invalid page design decisions shape.";
12310
14479
  } });
12311
- bookingPageLookIdValues.map((value) => {
12312
- const id = parseBookingPageLookId(value);
12313
- if (!id) throw new Error(`Invalid booking look catalogue entry: ${value}`);
12314
- const style = offeredSiteStyles({ audience: "booking-page" }).find((candidate) => candidate.id === id);
12315
- if (!style) throw new Error(`Booking look is not offered: ${value}`);
12316
- return {
12317
- ...style,
12318
- id
12319
- };
12320
- });
12321
14480
  [...[
12322
14481
  165,
12323
14482
  150,
@@ -12330,5 +14489,15 @@ bookingPageLookIdValues.map((value) => {
12330
14489
  45,
12331
14490
  30
12332
14491
  ].flatMap((o) => [o, -o])];
14492
+ bookingPageLookIdValues.map((value) => {
14493
+ const id = parseBookingPageLookId(value);
14494
+ if (!id) throw new Error(`Invalid booking look catalogue entry: ${value}`);
14495
+ const style = offeredSiteStyles({ audience: "booking-page" }).find((candidate) => candidate.id === id);
14496
+ if (!style) throw new Error(`Booking look is not offered: ${value}`);
14497
+ return {
14498
+ ...style,
14499
+ id
14500
+ };
14501
+ });
12333
14502
  //#endregion
12334
- export { composeBoundary as A, defineBlockDesignMetadata as B, generateFooterCss as C, headerNeedsPhotoShade as D, generateNavLinkCSS as E, deriveSectionGround as F, cardListFamilyBlocks as H, heroPhotoPaintsGround as I, parseCanonicalRuntimeBackground as L, boundaryRuntimeMetricsForDecorativeTransition as M, anglePolygonCss as N, headerRootPaint as O, transitionCatalogueEntries as P, resolveSectionBackground as R, parseGradientPresetId as S, buildTextContrastShadow as T, cardListKnobBlocks as U, resolveEffectiveKnobs as V, deriveSiteStyleBlockPolicy as _, readOpeningForegroundProjection as a, gradientToCss as b, arrangementLookHooks as c, resolveLookSlotSurfaces as d, arrangementManifestFromVariants as f, resolvePublishedLook as g, resolveModeArrangement as h, transparentHeaderForegroundInput as i, sectionFactsForContent as j, boundaryLayout as k, arrangementSlotNames as l, resolveEffectiveArrangement as m, headerForegroundCandidates as n, mergeHeaderNavTypographyPreference as o, readStoredMode as p, headerLeafTextColor as r, readHeaderNavFontSizePreference as s, effectiveHeaderNavLinkStyle as t, resolveItemSurface as u, requireCuratedSiteStyle as v, footerForegroundCandidates as w, getGradientPreset as x, compiledRuntimeStyleFieldNames as y, sectionForegroundBackground as z };
14503
+ export { generateNavLinkCSS as A, anglePolygonCss as B, compiledRuntimeStyleFieldNames as C, generateFooterCss as D, parseGradientPresetId as E, sectionFactsForContent as F, resolveSectionBackground as G, applyLookPhotoTreatment as H, sectionShapeForGround as I, resolveEffectiveKnobs as J, sectionForegroundBackground as K, sectionShapeFromContent as L, headerRootPaint as M, boundaryLayout as N, footerForegroundCandidates as O, composeBoundary as P, sectionShapeHook as R, requireCuratedSiteStyle as S, getGradientPreset as T, deriveSectionGround as U, transitionCatalogueEntries as V, parseCanonicalRuntimeBackground as W, cardListKnobBlocks as X, cardListFamilyBlocks as Y, readStoredMode as _, transparentHeaderForegroundInput as a, resolvePublishedLook as b, mergeHeaderNavTypographyPreference as c, arrangementAppearancePresets as d, arrangementLookHooks as f, arrangementManifestFromVariants as g, resolveLookSlotSurfaces as h, headerLeafTextColor as i, headerNeedsPhotoShade as j, buildTextContrastShadow as k, readHeaderNavFontSizePreference as l, resolveItemSurface as m, effectiveHeaderNavLinkStyle as n, readOpeningForegroundProjection as o, arrangementSlotNames as p, defineBlockDesignMetadata as q, headerForegroundCandidates as r, readOpeningToneProjection as s, heroPhotoPaintsGround as t, storedSectionPhoto as u, resolveEffectiveArrangement as v, gradientToCss as w, deriveSiteStyleBlockPolicy as x, resolveModeArrangement as y, boundaryRuntimeMetricsForDecorativeTransition as z };