@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,7 +1,7 @@
1
- import { b as MissingBlockOverrideError, n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "../overrides-W1Cc6srh.mjs";
2
- import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "../themeAdmission-CVc04B9m.mjs";
3
- import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, r as Layout, t as BlockContent } from "../Block.shared-Dz9k8vCX.mjs";
4
- import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-anoB3Kbn.mjs";
1
+ import { b as MissingBlockOverrideError, n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "../overrides-DhF87Vsd.mjs";
2
+ import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "../themeAdmission-CSknYpxk.mjs";
3
+ import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, r as Layout, t as BlockContent } from "../Block.shared-ClFI3qpX.mjs";
4
+ import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-BIJbiXYc.mjs";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region src/rendering/components/Block.server.tsx
7
7
  /**
@@ -1,11 +1,11 @@
1
- import { At as parseCanonicalMediaIdentifier, Ct as persistableMediaSchema, Et as renderableMediaAssetSchema, Ot as resolveManagedMediaReference, St as mediaSchema, Tt as buildRenderableMediaAssetIndex, jt as parseMediaIdentifier, kt as mediaIdentifierSchema, wt as runtimeMediaSchema } from "./schema-DgrigZq9.mjs";
2
- import { C as toBlocksImageResolveContextInput, S as toBlocksPageRendererDataContext, T as buildThemeRuntime, b as MissingBlockOverrideError, d as toPageHydrationBootstrapConfig, n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations, u as PageContent, v as ThemeScope, w as toBlocksMediaAssets, x as PageRenderer, y as EditorPageRenderer } from "./overrides-W1Cc6srh.mjs";
3
- import { $ as RichText$2, Oi as parseFieldDefinition, Ri as projectRepeaterGridLayout$1, at as resolveImageUrlWithContext$1, it as resolveImageUrl$1, nt as computeMediaTransformStyle, rt as resolveImageSourceSetWithContext$1, st as buildResolveImageUrlContext, ut as sanitizeHref, zi as projectRepeaterGridLayoutForRendering$1 } from "./registry-4ZF3bUuJ.mjs";
4
- import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE, v as admitLayoutGridForPlan, y as deriveFieldValidationPlan } from "./themeAdmission-CVc04B9m.mjs";
5
- import { x as resolveAuthoredLinkHref } from "./prefetchBlockData-Cn9k3DW6.mjs";
6
- import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-Dz9k8vCX.mjs";
7
- import { t as loadPage } from "./loadPage-DaPiPYUL.mjs";
8
- import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-D7ItMsEl.mjs";
1
+ import { At as mediaIdentifierSchema, Ct as mediaSchema, Dt as renderableMediaAssetSchema, Et as buildRenderableMediaAssetIndex, Mt as parseMediaIdentifier, Tt as runtimeMediaSchema, jt as parseCanonicalMediaIdentifier, kt as resolveManagedMediaReference, wt as persistableMediaSchema } from "./schema-uSA_x1Zh.mjs";
2
+ import { $ as RichText$2, Ai as parseFieldDefinition, Bi as projectRepeaterGridLayout$1, Vi as projectRepeaterGridLayoutForRendering$1, at as resolveImageUrlWithContext$1, it as resolveImageUrl$1, nt as computeMediaTransformStyle, rt as resolveImageSourceSetWithContext$1, st as buildResolveImageUrlContext, ut as sanitizeHref } from "./registry-Cdvz1OtL.mjs";
3
+ import { C as toBlocksImageResolveContextInput, S as toBlocksPageRendererDataContext, T as buildThemeRuntime, b as MissingBlockOverrideError, d as toPageHydrationBootstrapConfig, n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations, u as PageContent, v as ThemeScope, w as toBlocksMediaAssets, x as PageRenderer, y as EditorPageRenderer } from "./overrides-DhF87Vsd.mjs";
4
+ import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE, v as admitLayoutGridForPlan, y as deriveFieldValidationPlan } from "./themeAdmission-CSknYpxk.mjs";
5
+ import { x as resolveAuthoredLinkHref } from "./prefetchBlockData-FwcsT5H2.mjs";
6
+ import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-ClFI3qpX.mjs";
7
+ import { t as loadPage } from "./loadPage-DBFBad8A.mjs";
8
+ import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-dEEhQxL7.mjs";
9
9
  import "./bindings-Dgt_0goJ.mjs";
10
10
  import { BlocksIslandsHydrator } from "#sdk-rendering-client";
11
11
  import "react";
@@ -1,4 +1,4 @@
1
- import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-Cn9k3DW6.mjs";
1
+ import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-FwcsT5H2.mjs";
2
2
  import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
3
3
  //#region src/data/defineOwnDataProperty.ts
4
4
  /** Define a string key as ordinary data without invoking legacy prototype setters. */
@@ -69,7 +69,7 @@ async function checkRedirectForPath(params) {
69
69
  //#endregion
70
70
  //#region src/routing/resolveRoute.ts
71
71
  const defaultResolveRouteDeps = { loadPage: async (params) => {
72
- const { loadPage } = await import("./loadPage-D2qvYV5g.mjs");
72
+ const { loadPage } = await import("./loadPage-CnVB-aeL.mjs");
73
73
  return loadPage(params);
74
74
  } };
75
75
  /**
@@ -4517,7 +4517,7 @@ function ownSurfaceRevision(context) {
4517
4517
  buttonSystem: context.buttonSystem
4518
4518
  });
4519
4519
  registerOwnedRevisionInputs(revision);
4520
- surfaceRevisionOwners.set(revision, revision);
4520
+ surfaceRevisionOwners.set(revision, { revision });
4521
4521
  revisionOwners.set(revision.palette, /* @__PURE__ */ new Map([[revision.buttonSystem, revision]]));
4522
4522
  return revision;
4523
4523
  }
@@ -4528,7 +4528,7 @@ function ownSurfaceRevision(context) {
4528
4528
  palette: context.palette,
4529
4529
  buttonSystem: context.buttonSystem
4530
4530
  });
4531
- surfaceRevisionOwners.set(revision, revision);
4531
+ surfaceRevisionOwners.set(revision, { revision });
4532
4532
  revisions.set(context.buttonSystem, revision);
4533
4533
  revisionOwners.set(context.palette, revisions);
4534
4534
  return revision;
@@ -4541,7 +4541,11 @@ function surfaceTransportContext(context) {
4541
4541
  colourIndex: context.colourIndex,
4542
4542
  solvedInks: context.solvedInks
4543
4543
  });
4544
- surfaceRevisionOwners.set(result, revision);
4544
+ const preparedSurfaces = matchingPreparedSurfaceIndex(preparedSurfaceIndexFor(context), result);
4545
+ surfaceRevisionOwners.set(result, {
4546
+ revision,
4547
+ preparedSurfaces
4548
+ });
4545
4549
  return result;
4546
4550
  }
4547
4551
  /** Called only after copying and recursively freezing owner inputs. */
@@ -4560,10 +4564,14 @@ function requireResolvedSurface(value) {
4560
4564
  function resolveSurface(spec, context) {
4561
4565
  return spec.kind === "section" ? resolveSectionSurface(spec.background, context) : preparedSurfaceValue(spec, context) ?? certifySurface(spec, context);
4562
4566
  }
4567
+ function matchingPreparedSurfaceIndex(index, context) {
4568
+ return index && preparedIndexOwners.has(index) && index.palette === context.palette && index.buttonSystem === context.buttonSystem && index.colourIndex === context.colourIndex ? index : void 0;
4569
+ }
4570
+ function preparedSurfaceIndexFor(context) {
4571
+ return matchingPreparedSurfaceIndex(context.preparedSurfaces ?? surfaceRevisionOwners.get(context)?.preparedSurfaces, context);
4572
+ }
4563
4573
  function preparedSurfaceValue(spec, context) {
4564
- const index = context.preparedSurfaces;
4565
- if (!index || !preparedIndexOwners.has(index) || index.palette !== context.palette || index.buttonSystem !== context.buttonSystem || index.colourIndex !== context.colourIndex) return void 0;
4566
- return index.values[surfaceResolutionKey(spec, context)];
4574
+ return preparedSurfaceIndexFor(context)?.values[surfaceResolutionKey(spec, context)];
4567
4575
  }
4568
4576
  function surfaceResolutionKey(spec, context) {
4569
4577
  const declaration = spec.kind === "tint" ? {
@@ -4658,12 +4666,7 @@ function resolveOwnedSurface(paint, context, measuredBackdrop) {
4658
4666
  paint,
4659
4667
  contrast: { kind: "unmeasured" }
4660
4668
  };
4661
- const contrast = surfaceContrast(resolved, context.palette, context.colourIndex);
4662
- return contrast.kind === "measured" ? {
4663
- ...decision,
4664
- paint,
4665
- contrast
4666
- } : {
4669
+ if (resolved.kind !== "known" || resolved.provenance.kind !== "measured") return {
4667
4670
  ...decision,
4668
4671
  paint,
4669
4672
  contrast: {
@@ -4672,6 +4675,12 @@ function resolveOwnedSurface(paint, context, measuredBackdrop) {
4672
4675
  source: "paint"
4673
4676
  }
4674
4677
  };
4678
+ return {
4679
+ ...decision,
4680
+ paint,
4681
+ foreground: resolved.roles,
4682
+ contrast: surfaceContrast(resolved.roles, resolved.provenance.backdropHex, context.palette, context.colourIndex)
4683
+ };
4675
4684
  }
4676
4685
  /** A paint the element owns but that resolves as inherited (an empty token) still blocks outer inks. */
4677
4686
  function ownedInkPublication(resolved, context) {
@@ -4707,19 +4716,17 @@ function resolveSurfaceButtons(paint, foreground, context) {
4707
4716
  withoutButtonSystem: "reset"
4708
4717
  });
4709
4718
  }
4710
- function surfaceContrast(foreground, palette, colourIndex) {
4711
- if (foreground.kind !== "known" || foreground.provenance.kind !== "measured") return { kind: "unmeasured" };
4712
- const backdrop = foreground.provenance.backdropHex;
4719
+ function surfaceContrast(roles, backdrop, palette, colourIndex) {
4713
4720
  const ratio = (token) => contrastRatio(resolveOpaqueSurfaceHex(token, palette, backdrop) ?? backdrop, backdrop, colourIndex);
4714
4721
  return {
4715
4722
  kind: "measured",
4716
4723
  ratios: {
4717
- text: ratio(foreground.roles.text),
4718
- heading: ratio(foreground.roles.heading),
4719
- link: ratio(foreground.roles.link),
4720
- linkHover: ratio(foreground.roles.linkHover),
4721
- supporting: ratio(foreground.roles.supporting),
4722
- muted: ratio(foreground.roles.muted)
4724
+ text: ratio(roles.text),
4725
+ heading: ratio(roles.heading),
4726
+ link: ratio(roles.link),
4727
+ linkHover: ratio(roles.linkHover),
4728
+ supporting: ratio(roles.supporting),
4729
+ muted: ratio(roles.muted)
4723
4730
  }
4724
4731
  };
4725
4732
  }
@@ -4736,24 +4743,27 @@ function resolveSectionSurface(background, context) {
4736
4743
  foreground: foreground.kind === "known" ? foreground.roles.link : void 0
4737
4744
  } : background.type === "gradient" ? { kind: "gradient" } : { kind: "image" };
4738
4745
  const revision = ownSurfaceRevision(context);
4746
+ const buttonContext = resolveSurfaceButtonContext({
4747
+ surface,
4748
+ palette: revision.palette,
4749
+ buttonSystem: revision.buttonSystem,
4750
+ primaryToken: sectionPrimaryButtonToken(background, context),
4751
+ fallbackToken: context.compositeBase,
4752
+ withoutButtonSystem: "inherit"
4753
+ });
4739
4754
  const result = {
4740
4755
  kind: "section",
4741
4756
  foreground,
4742
4757
  inks: surfaceInkPublication(foreground, context.solvedInks ?? "withhold"),
4743
- buttonStyles: resolveSurfaceButtonContext({
4744
- surface,
4745
- palette: revision.palette,
4746
- buttonSystem: revision.buttonSystem,
4747
- primaryToken: sectionPrimaryButtonToken(background, context),
4748
- fallbackToken: context.compositeBase,
4749
- withoutButtonSystem: "inherit"
4750
- }).styles,
4758
+ buttonStyles: buttonContext.styles,
4759
+ buttonContext,
4751
4760
  proof: sectionProof(background, foreground),
4752
4761
  revision,
4753
4762
  textPolicy: surfaceTextPolicy,
4754
4763
  [resolvedSurfaceBrand]: true
4755
4764
  };
4756
4765
  Object.defineProperties(result, {
4766
+ buttonContext: { enumerable: false },
4757
4767
  proof: { enumerable: false },
4758
4768
  revision: { enumerable: false },
4759
4769
  textPolicy: { enumerable: false }
@@ -4916,9 +4926,8 @@ function certifySurface(spec, context) {
4916
4926
  })
4917
4927
  };
4918
4928
  const decision = resolveSurfaceSpec(inputs.spec, inputs.context);
4919
- const result = Object.assign(decision, {
4929
+ const result = Object.assign(surfaceProof(decision, spec), {
4920
4930
  [resolvedSurfaceBrand]: true,
4921
- proof: surfaceProof(decision, spec),
4922
4931
  revision,
4923
4932
  textPolicy: surfaceTextPolicy,
4924
4933
  $surface: inputs
@@ -4932,11 +4941,23 @@ function certifySurface(spec, context) {
4932
4941
  surfaceTransports.set(result, inputs);
4933
4942
  return freezeOwnedThemeValue(result);
4934
4943
  }
4944
+ function isSolidSurfaceDecision(decision) {
4945
+ return decision.kind === "owned" && decision.contrast.kind === "measured";
4946
+ }
4935
4947
  function surfaceProof(decision, spec) {
4936
- if (decision.kind === "inherit") return "inherit";
4937
- if (decision.contrast.kind === "unmeasured") return "unproven-media";
4938
- if (spec.kind === "tint") return spec.gradient === "radial" ? "checked-gradient-or-scrim" : "checked-composited";
4939
- return decision.paint.kind === "solid" && /\/|rgba\(/.test(decision.paint.token) ? "checked-composited" : "checked-solid";
4948
+ if (decision.kind === "inherit") return {
4949
+ ...decision,
4950
+ proof: "inherit"
4951
+ };
4952
+ if (!isSolidSurfaceDecision(decision)) return {
4953
+ ...decision,
4954
+ proof: "unproven-media"
4955
+ };
4956
+ const proof = spec.kind === "tint" ? spec.gradient === "radial" ? "checked-gradient-or-scrim" : "checked-composited" : /\/|rgba\(/.test(decision.paint.token) ? "checked-composited" : "checked-solid";
4957
+ return {
4958
+ ...decision,
4959
+ proof
4960
+ };
4940
4961
  }
4941
4962
  function sectionProof(background, foreground) {
4942
4963
  if (background === null) return "inherit";
@@ -4956,7 +4977,7 @@ function serializeSurfaceTree(value) {
4956
4977
  return index;
4957
4978
  };
4958
4979
  const encode = (item) => {
4959
- const revision = isSurfaceTreeRecord(item) ? surfaceRevisionOwners.get(item) : void 0;
4980
+ const revision = isSurfaceTreeRecord(item) ? surfaceRevisionOwners.get(item)?.revision : void 0;
4960
4981
  if (revision) return {
4961
4982
  $surfaceRevision: revisionIndex(revision),
4962
4983
  solvedInks: isSurfaceTreeRecord(item) ? item.solvedInks : void 0
@@ -5004,7 +5025,7 @@ const surfaceRevisionReferenceSchema = z.object({
5004
5025
  /** Recreate owner results before any island's ordinary schema consumes them. */
5005
5026
  function parseSurfaceTree(value, solvedInks) {
5006
5027
  if (isResolvedSurface(value)) return resolveTransportedSurface(value, solvedInks);
5007
- const revision = isSurfaceTreeRecord(value) ? surfaceRevisionOwners.get(value) : void 0;
5028
+ const revision = isSurfaceTreeRecord(value) ? surfaceRevisionOwners.get(value)?.revision : void 0;
5008
5029
  if (revision) return solvedInks === void 0 ? value : surfaceTransportContext({
5009
5030
  ...revision,
5010
5031
  solvedInks
@@ -5887,7 +5908,7 @@ const themeV2NormalEditorRawStyleFieldNames = [
5887
5908
  "styleGroup"
5888
5909
  ];
5889
5910
  new Set(themeV2NormalEditorRawStyleFieldNames);
5890
- [...themeV2RuntimeStyleFieldNames, ...themeV2BlockSpecificRawStyleFieldNames];
5911
+ const themeV2CompilerOwnedFieldNames = [...themeV2RuntimeStyleFieldNames, ...themeV2BlockSpecificRawStyleFieldNames];
5891
5912
  const pageDesignEditorBackgroundOverrideOwner = "page-design-editor";
5892
5913
  const siteChromeBackgroundOverrideOwner = "site-chrome-editor";
5893
5914
  const staleTransitionStyleGroupPrefix = "site-style-transition-";
@@ -7883,7 +7904,7 @@ function normalizeAppearance(appearance) {
7883
7904
  }
7884
7905
  //#endregion
7885
7906
  //#region ../theme-core/src/buttons/styles/recipes/sewnLabel.ts
7886
- const visual = {
7907
+ const visual$1 = {
7887
7908
  text: "treatment",
7888
7909
  borderRadius: "rounded-lg",
7889
7910
  sizes: {
@@ -7923,8 +7944,8 @@ const stitch = {
7923
7944
  inset: 6
7924
7945
  }
7925
7946
  };
7926
- const filled = {
7927
- ...visual,
7947
+ const filled$1 = {
7948
+ ...visual$1,
7928
7949
  background: {
7929
7950
  type: "solid",
7930
7951
  colorToken: "primary"
@@ -7932,33 +7953,33 @@ const filled = {
7932
7953
  border: "none",
7933
7954
  effects: [stitch]
7934
7955
  };
7935
- const filledStates = {
7936
- base: filled,
7956
+ const filledStates$1 = {
7957
+ base: filled$1,
7937
7958
  hover: {
7938
- ...filled,
7959
+ ...filled$1,
7939
7960
  effects: [stitch, {
7940
7961
  effectId: "darken-background",
7941
7962
  options: { amount: 100 }
7942
7963
  }]
7943
7964
  },
7944
7965
  focus: {
7945
- ...filled,
7966
+ ...filled$1,
7946
7967
  shadow: "focus-indicator"
7947
7968
  },
7948
7969
  active: {
7949
- ...filled,
7970
+ ...filled$1,
7950
7971
  effects: [stitch, {
7951
7972
  effectId: "darken-background",
7952
7973
  options: { amount: 100 }
7953
7974
  }]
7954
7975
  },
7955
7976
  disabled: {
7956
- ...filled,
7977
+ ...filled$1,
7957
7978
  effects: []
7958
7979
  }
7959
7980
  };
7960
7981
  const quiet = {
7961
- ...visual,
7982
+ ...visual$1,
7962
7983
  background: {
7963
7984
  type: "surface",
7964
7985
  role: "link"
@@ -7976,7 +7997,7 @@ const quietStates = {
7976
7997
  active: quiet,
7977
7998
  disabled: quiet
7978
7999
  };
7979
- const ghost = {
8000
+ const ghost$1 = {
7980
8001
  ...quiet,
7981
8002
  border: "none"
7982
8003
  };
@@ -7990,9 +8011,158 @@ const sewnLabelRecipe = defineStaticButtonStyleRecipe({
7990
8011
  era: "organic"
7991
8012
  },
7992
8013
  system: { roles: {
7993
- primary: { states: filledStates },
8014
+ primary: { states: filledStates$1 },
7994
8015
  secondary: { states: quietStates },
7995
8016
  outline: { states: quietStates },
8017
+ ghost: { states: {
8018
+ base: ghost$1,
8019
+ hover: ghost$1,
8020
+ focus: {
8021
+ ...ghost$1,
8022
+ shadow: "focus-indicator"
8023
+ },
8024
+ active: ghost$1,
8025
+ disabled: ghost$1
8026
+ } },
8027
+ accent: { states: filledStates$1 }
8028
+ } }
8029
+ });
8030
+ //#endregion
8031
+ //#region ../theme-core/src/buttons/styles/recipes/edgedPill.ts
8032
+ const visual = {
8033
+ text: "treatment",
8034
+ borderRadius: "rounded-full",
8035
+ sizes: {
8036
+ sm: {
8037
+ padding: "0.625rem 1.125rem",
8038
+ fontSize: "text-sm"
8039
+ },
8040
+ md: { padding: "0.875rem 1.75rem" },
8041
+ lg: {
8042
+ padding: "1.125rem 2.25rem",
8043
+ fontSize: "text-lg"
8044
+ },
8045
+ xl: {
8046
+ padding: "1.25rem 2.5rem",
8047
+ fontSize: "text-xl"
8048
+ }
8049
+ },
8050
+ typography: {
8051
+ fontWeight: 700,
8052
+ typography: "body",
8053
+ fontSize: null,
8054
+ letterSpacing: null,
8055
+ italic: false,
8056
+ textTransform: "none"
8057
+ },
8058
+ shadow: {
8059
+ elevation: "none",
8060
+ softness: null,
8061
+ position: "bottom"
8062
+ }
8063
+ };
8064
+ /**
8065
+ * Poise (issue 1659): a filled pill with a thin edge drawn in its label ink, so
8066
+ * a light brand fill still reads against a light page. The edge is declared as
8067
+ * the boundary, so the contrast rule can pass the button on its edge.
8068
+ */
8069
+ const filled = {
8070
+ ...visual,
8071
+ background: {
8072
+ type: "solid",
8073
+ colorToken: "primary"
8074
+ },
8075
+ border: {
8076
+ widthClass: "border-2",
8077
+ marksBoundary: true
8078
+ },
8079
+ effects: []
8080
+ };
8081
+ const filledStates = {
8082
+ base: filled,
8083
+ hover: {
8084
+ ...filled,
8085
+ effects: [{ effectId: "lift" }]
8086
+ },
8087
+ focus: {
8088
+ ...filled,
8089
+ shadow: "focus-indicator"
8090
+ },
8091
+ active: {
8092
+ ...filled,
8093
+ effects: [{
8094
+ effectId: "scale-down",
8095
+ options: { scale: "0.98" }
8096
+ }]
8097
+ },
8098
+ disabled: filled
8099
+ };
8100
+ const accent = {
8101
+ ...filled,
8102
+ background: {
8103
+ type: "solid",
8104
+ colorToken: "accent"
8105
+ }
8106
+ };
8107
+ const accentStates = {
8108
+ base: accent,
8109
+ hover: {
8110
+ ...accent,
8111
+ effects: [{ effectId: "lift" }]
8112
+ },
8113
+ focus: {
8114
+ ...accent,
8115
+ shadow: "focus-indicator"
8116
+ },
8117
+ active: {
8118
+ ...accent,
8119
+ effects: [{
8120
+ effectId: "scale-down",
8121
+ options: { scale: "0.98" }
8122
+ }]
8123
+ },
8124
+ disabled: accent
8125
+ };
8126
+ /** The quieter pill: an outline in the text colour, on whatever ground it sits. */
8127
+ const outlined = {
8128
+ ...visual,
8129
+ background: {
8130
+ type: "surface",
8131
+ role: "link"
8132
+ },
8133
+ border: { widthClass: "border-2" },
8134
+ effects: []
8135
+ };
8136
+ const outlinedStates = {
8137
+ base: outlined,
8138
+ hover: {
8139
+ ...outlined,
8140
+ effects: [{ effectId: "lift" }]
8141
+ },
8142
+ focus: {
8143
+ ...outlined,
8144
+ shadow: "focus-indicator"
8145
+ },
8146
+ active: outlined,
8147
+ disabled: outlined
8148
+ };
8149
+ const ghost = {
8150
+ ...outlined,
8151
+ border: "none"
8152
+ };
8153
+ const edgedPillRecipe = defineStaticButtonStyleRecipe({
8154
+ id: "edged-pill",
8155
+ accessibilityLabel: "Bold pill buttons with a thin edge",
8156
+ tags: {
8157
+ tone: "bold",
8158
+ energy: "vibrant",
8159
+ motion: "subtle",
8160
+ era: "modern"
8161
+ },
8162
+ system: { roles: {
8163
+ primary: { states: filledStates },
8164
+ secondary: { states: outlinedStates },
8165
+ outline: { states: outlinedStates },
7996
8166
  ghost: { states: {
7997
8167
  base: ghost,
7998
8168
  hover: ghost,
@@ -8003,7 +8173,7 @@ const sewnLabelRecipe = defineStaticButtonStyleRecipe({
8003
8173
  active: ghost,
8004
8174
  disabled: ghost
8005
8175
  } },
8006
- accent: { states: filledStates }
8176
+ accent: { states: accentStates }
8007
8177
  } }
8008
8178
  });
8009
8179
  //#endregion
@@ -8483,7 +8653,8 @@ const BUTTON_STYLE_IDS = [
8483
8653
  "gilt-slab",
8484
8654
  "hairline-tab",
8485
8655
  "marquee",
8486
- "sewn-label"
8656
+ "sewn-label",
8657
+ "edged-pill"
8487
8658
  ];
8488
8659
  const quietArrowParametersSchema = z.object({
8489
8660
  secondaryTreatment: z.enum(["outlined", "solid-accent"]),
@@ -8533,7 +8704,8 @@ const buttonStyleSelectionSchema = z.discriminatedUnion("styleId", [
8533
8704
  selectionBranch("gilt-slab", emptyParametersSchema),
8534
8705
  selectionBranch("hairline-tab", emptyParametersSchema),
8535
8706
  selectionBranch("marquee", emptyParametersSchema),
8536
- selectionBranch("sewn-label", emptyParametersSchema)
8707
+ selectionBranch("sewn-label", emptyParametersSchema),
8708
+ selectionBranch("edged-pill", emptyParametersSchema)
8537
8709
  ]);
8538
8710
  //#endregion
8539
8711
  //#region ../theme-core/src/buttons/styles/recipes/squareOutlineRecipe.ts
@@ -12716,7 +12888,8 @@ const buttonStyleRecipes = [
12716
12888
  giltSlabRecipe,
12717
12889
  hairlineTabRecipe,
12718
12890
  marqueeRecipe,
12719
- sewnLabelRecipe
12891
+ sewnLabelRecipe,
12892
+ edgedPillRecipe
12720
12893
  ];
12721
12894
  const recipesById = new Map(buttonStyleRecipes.map((recipe) => [recipe.id, recipe]));
12722
12895
  function findButtonStyleRecipe(id) {
@@ -12727,6 +12900,7 @@ function findButtonStyleRecipe(id) {
12727
12900
  function resolveButtonStyleSelection(selection) {
12728
12901
  switch (selection.styleId) {
12729
12902
  case "sewn-label": return resolveButtonStyleRecipe(sewnLabelRecipe, selection.parameters);
12903
+ case "edged-pill": return resolveButtonStyleRecipe(edgedPillRecipe, selection.parameters);
12730
12904
  case "soft-pill": return resolveButtonStyleRecipe(softPillRecipe, selection.parameters);
12731
12905
  case "earth-pill": return resolveButtonStyleRecipe(earthPillRecipe, selection.parameters);
12732
12906
  case "confident-chip": return resolveButtonStyleRecipe(confidentChipRecipe, selection.parameters);
@@ -13877,6 +14051,14 @@ function skinTokenCssVars(tokens) {
13877
14051
  return Object.fromEntries(Object.entries(tokens ?? {}).map(([name, value]) => [`--rb-skin-${name}`, value]));
13878
14052
  }
13879
14053
  const skinMarksSchema = z.enum(["primary"]);
14054
+ /** The booking bar's paint and shape as applied from an arrangement style (issue 1659); the plain bar when absent. */
14055
+ const skinBookingBarSchema = z.object({
14056
+ token: z.string().refine((value) => {
14057
+ const parts = parseColorTokenParts(value);
14058
+ return parts.kind === "token" && parts.opacityPercent === null && parts.token === value && isThemeColorToken(value);
14059
+ }, "Expected a plain Theme V2 colour token, without spaces or opacity"),
14060
+ shape: z.enum(["edge-to-edge", "field"])
14061
+ });
13880
14062
  const themeLookMetadataSchema = z.object({
13881
14063
  name: z.string().min(1).max(30),
13882
14064
  description: z.string().min(1).max(400),
@@ -13886,16 +14068,24 @@ const themeLookMetadataSchema = z.object({
13886
14068
  skinTokens: skinTokensSchema.optional(),
13887
14069
  fontLoading: fontLoadingSchema.optional(),
13888
14070
  /** Which palette colour an arrangement style derives its graphic marks from (D9); accent when absent. */
13889
- skinMarks: skinMarksSchema.optional()
14071
+ skinMarks: skinMarksSchema.optional(),
14072
+ skinBookingBar: skinBookingBarSchema.optional()
13890
14073
  });
13891
14074
  //#endregion
14075
+ //#region ../theme-core/src/palette/colourSeeds.ts
14076
+ /** Owner colours in priority order, validated once at the input boundary. */
14077
+ const colourSeedsSchema = z.union([z.tuple([hexColorSchema]), z.tuple([hexColorSchema, hexColorSchema])]).refine((seeds) => seeds.length === 1 || seeds[0] !== seeds[1], { message: "Choose distinct colours" });
14078
+ //#endregion
13892
14079
  //#region ../theme-core/src/palette/schema.ts
13893
14080
  const colourHexString = z.string().regex(/^#([0-9A-Fa-f]{3}){1,2}$/);
13894
14081
  const paletteColorSchema = z.object({
13895
14082
  name: z.string().min(1),
13896
14083
  hex: colourHexString
13897
14084
  });
13898
- const paletteMetaSchema = z.object({ mode: z.enum(["light", "dark"]) });
14085
+ const paletteMetaSchema = z.object({
14086
+ mode: z.enum(["light", "dark"]),
14087
+ seeds: colourSeedsSchema.optional()
14088
+ });
13899
14089
  const paletteSchema = z.object({
13900
14090
  colors: z.array(paletteColorSchema),
13901
14091
  meta: paletteMetaSchema
@@ -16118,4 +16308,4 @@ z.object({
16118
16308
  themes: z.array(themeSchema).length(3)
16119
16309
  });
16120
16310
  //#endregion
16121
- export { logoSizePolicyValues as $, getTextColorForBackground as $n, introCompositionTreatmentValues as $t, RESOLVED_BUTTON_DISABLED_DECLARATIONS as A, serializeSurfaceTree as An, textColorValue as Ar, parseCanonicalMediaIdentifier as At, generateCardCoreCss as B, generateShadowValue$1 as Bn, asDesignSystemTemplateId as Bt, ACCORDION_SPACING_MAP as C, ok as Cn, surfaceInkStyle as Cr, persistableMediaSchema as Ct, ICON_SIZE_PX as D, parseResolvedSurface as Dn, mergeStyles as Dr, indexRenderableMediaAssets as Dt, ICON_CONFIG as E, opaqueSurfaceDeclarations as En, cssVarValue as Er, renderableMediaAssetSchema as Et, themeButtonExtraClassesWithTrailingIcon as F, formatButtonColourContractError as Fn, asBlockOrderIndex as Ft, generateShadowValue as G, surfaceToneFromForegroundToken as Gn, defineBlockDesignCapability as Gt, cardSurfacePaint as H, buttonVariantIdSchema as Hn, asPageFlowPresetId as Ht, themeButtonSizeClassName as I, isCssColorLiteral as In, asBoundaryOptionId as It, cardVariantRoleValues as J, surfaceInkPublication as Jn, eventListTreatmentValues as Jt, cardRoleSchema as K, resolveSurfaceForeground as Kn, defineExactCatalog as Kt, themeButtonVariantClassNames as L, resolveOnColorForThemeToken as Ln, asDesignBlockId as Lt, resolvedButtonFocusDeclarations as M, gradientScrimSamples as Mn, themeColorShadeSteps as Mr, arrangementModes as Mt, generateDefaultButtonSystem as N, scrimTone as Nn, parseBlockColorToken as Nr, asAppearancePresetId as Nt, generateButtonActionLayoutCss as O, parseSurfaceTree as On, rgbColorValue as Or, resolveManagedMediaReference as Ot, parseThemeButtonVariantId as P, compileButtonColourStates as Pn, parseColorTokenParts as Pr, asBlockContentVersionId as Pt, brandDisplayModeValues as Q, onColorTokenName as Qn, headingDecorationColorTokenValues as Qt, parseThemeForPersistence as R, resolveThemeColorReferenceValue as Rn, asDesignBoundaryId as Rt, ACCORDION_OPEN_ACCENT_THICKNESS as S, err as Sn, surfaceInkDeclarations as Sr, mediaSchema as St, ACCORDION_TRIGGER_LETTER_SPACING as T, opaqueSurfaceContextFromTheme as Tn, borderColorStyle as Tr, buildRenderableMediaAssetIndex as Tt, generateCardCss as U, unsafeAsOpaqueButtonColourToken as Un, asSiteStyleId as Ut, getDefaultCardVariants as V, PUBLIC_BUTTON_ROLES as Vn, asLayoutVariantKey as Vt, renderCssDeclarations as W, selectLogoVariant as Wn, assertNever as Wt, headerInteractionPaletteValues as X, expandPalette as Xn, featureCardCompositionTreatmentValues as Xt, normalizeCardRole as Y, solveSurfaceInks as Yn, eyebrowTreatmentValues as Yt, headerInteractionQuietPalette as Z, isOnColorBackgroundCandidateToken as Zn, flushPanelFrame as Zt, parseCustomCssRules as _, parseSiteTermsVersionId as _n, surfaceForegroundDeclarations as _r, runtimeBoxBackgroundSchema as _t, generateMobileOverlayBackdropFilterFix as a, plainFrame as an, paletteModeSchema as ar, NAV_LINK_BORDER_RADIUS_MAP as at, INPUT_SPACING_MAP as b, unsafeAsStorageBucketName as bn, surfaceForegroundValue as br, stripStaleTransitionStyleGroup as bt, MQ_LG_UP as c, tileTreatmentValues as cn, requirePaletteColorsFromEntries as cr, NAV_LINK_PADDING_X_MAP as ct, MQ_SM_UP as d, parseApiKeyId as dn, defaultThemeTokens as dr, navLinkOwnsHoverForeground as dt, isArrangementMode as en, planForegroundHover as er, defaultButtonStyleSelectionFor as et, MQ_TABLET_ONLY as f, parseContentVersionId as fn, featuresFromHex as fr, navLinkOwnsUnderline as ft, parseBlockCustomCssRules as g, parseSiteId as gn, SURFACE_INK_CSS_VARS as gr, boxBackgroundSchema as gt, getComponentShadowVar as h, parseEventSeriesId as hn, SURFACE_FOREGROUND_CSS_VARS as hr, boxBackgroundOverlaySchema as ht, generateHeaderScrollTreatmentStyles as i, panelFrame as in, paletteColorsSchema as ir, generateInteractiveChildInheritanceCSS as it, resolvedButtonColourDeclarations as j, surfaceDecorationColors as jn, parseThemeColorToken as jr, parseMediaIdentifier as jt, generateButtonCss as k, resolveSurface as kn, textColorStyle as kr, mediaIdentifierSchema as kt, MQ_MD_DOWN as l, toNonEmptyReadonlyArray as ln, TokenResolver as lr, NAV_LINK_TEXT_SIZE_MAP as lt, getComponentBorderWidthPx as m, parseEventOfferingId as mn, DEFAULT_SURFACE_TEXT_COLOR as mr, resolveCardRole as mt, headerPositioningValues as n, noHeadingDecoration as nn, resolveOpaqueSurfaceHex as nr, generateEffectsCSS as nt, getHeaderPaintTargets as o, requireNonEmptyReadonlyArray as on, paletteValueKey as or, NAV_LINK_LETTER_SPACING_MAP as ot, headerVariantValues as p, parseEditorSessionGeneration as pn, hexToRgb as pr, navEffectPolicy as pt, cardRoleValues as q, safeTokenOr as qn, defineFrameCapability as qt, themeSchema as r, offeringsPreviewCompositionTreatmentValues as rn, hexColorSchema as rr, generateBaseInteractiveCSS as rt, renderHeaderPaintTargetRules as s, testimonialsCompositionTreatmentValues as sn, paletteValueKeySchema as sr, NAV_LINK_PADDING_MAP as st, corners as t, makeBoundaryId as tn, resolveConcreteColorHex as tr, buttonStyleSelectionSchema as tt, MQ_SM_DOWN as u, visibleHeadingDecorationFamilyValues as un, buildThemeTokens as ur, navLinkHoverColorCandidate as ut, FONT_WEIGHT_MAP as v, parseUserId as vn, surfaceForegroundInputFromResolved as vr, pageDesignEditorBackgroundOverrideOwner as vt, ACCORDION_TRIGGER_FONT_SCALE as w, mapDrawingStyle as wn, backgroundColorStyle as wr, runtimeMediaSchema as wt, LABEL_FONT_SIZE_MAP as x, unsafeAsStoragePath as xn, surfaceForegroundValueWithOpacity as xr, themeV2RuntimeStyleFieldNames as xt, INPUT_FONT_SIZE_MAP as y, unsafeAsMediaAssetId as yn, surfaceForegroundStyle as yr, siteChromeBackgroundOverrideOwner as yt, skinTokenCssVars as z, resolveTokenOrCssColorValue as zn, asDesignPageId as zt };
16311
+ export { logoSizePolicyValues as $, onColorTokenName as $n, headingDecorationColorTokenValues as $t, RESOLVED_BUTTON_DISABLED_DECLARATIONS as A, resolveSurface as An, textColorStyle as Ar, mediaIdentifierSchema as At, generateCardCoreCss as B, resolveTokenOrCssColorValue as Bn, asDesignPageId as Bt, ACCORDION_SPACING_MAP as C, err as Cn, surfaceInkDeclarations as Cr, mediaSchema as Ct, ICON_SIZE_PX as D, opaqueSurfaceDeclarations as Dn, cssVarValue as Dr, renderableMediaAssetSchema as Dt, ICON_CONFIG as E, opaqueSurfaceContextFromTheme as En, borderColorStyle as Er, buildRenderableMediaAssetIndex as Et, themeButtonExtraClassesWithTrailingIcon as F, compileButtonColourStates as Fn, parseColorTokenParts as Fr, asBlockContentVersionId as Ft, generateShadowValue as G, selectLogoVariant as Gn, assertNever as Gt, cardSurfacePaint as H, PUBLIC_BUTTON_ROLES as Hn, asLayoutVariantKey as Ht, themeButtonSizeClassName as I, formatButtonColourContractError as In, asBlockOrderIndex as It, cardVariantRoleValues as J, safeTokenOr as Jn, defineFrameCapability as Jt, cardRoleSchema as K, surfaceToneFromForegroundToken as Kn, defineBlockDesignCapability as Kt, themeButtonVariantClassNames as L, isCssColorLiteral as Ln, asBoundaryOptionId as Lt, resolvedButtonFocusDeclarations as M, surfaceDecorationColors as Mn, parseThemeColorToken as Mr, parseMediaIdentifier as Mt, generateDefaultButtonSystem as N, gradientScrimSamples as Nn, themeColorShadeSteps as Nr, arrangementModes as Nt, generateButtonActionLayoutCss as O, parseResolvedSurface as On, mergeStyles as Or, indexRenderableMediaAssets as Ot, parseThemeButtonVariantId as P, scrimTone as Pn, parseBlockColorToken as Pr, asAppearancePresetId as Pt, brandDisplayModeValues as Q, isOnColorBackgroundCandidateToken as Qn, flushPanelFrame as Qt, parseThemeForPersistence as R, resolveOnColorForThemeToken as Rn, asDesignBlockId as Rt, ACCORDION_OPEN_ACCENT_THICKNESS as S, unsafeAsStoragePath as Sn, surfaceForegroundValueWithOpacity as Sr, themeV2RuntimeStyleFieldNames as St, ACCORDION_TRIGGER_LETTER_SPACING as T, mapDrawingStyle as Tn, backgroundColorStyle as Tr, runtimeMediaSchema as Tt, generateCardCss as U, buttonVariantIdSchema as Un, asPageFlowPresetId as Ut, getDefaultCardVariants as V, generateShadowValue$1 as Vn, asDesignSystemTemplateId as Vt, renderCssDeclarations as W, unsafeAsOpaqueButtonColourToken as Wn, asSiteStyleId as Wt, headerInteractionPaletteValues as X, solveSurfaceInks as Xn, eyebrowTreatmentValues as Xt, normalizeCardRole as Y, surfaceInkPublication as Yn, eventListTreatmentValues as Yt, headerInteractionQuietPalette as Z, expandPalette as Zn, featureCardCompositionTreatmentValues as Zt, parseCustomCssRules as _, parseSiteId as _n, SURFACE_INK_CSS_VARS as _r, runtimeBoxBackgroundSchema as _t, generateMobileOverlayBackdropFilterFix as a, panelFrame as an, paletteColorsSchema as ar, NAV_LINK_BORDER_RADIUS_MAP as at, INPUT_SPACING_MAP as b, unsafeAsMediaAssetId as bn, surfaceForegroundStyle as br, stripStaleTransitionStyleGroup as bt, MQ_LG_UP as c, testimonialsCompositionTreatmentValues as cn, paletteValueKeySchema as cr, NAV_LINK_PADDING_X_MAP as ct, MQ_SM_UP as d, visibleHeadingDecorationFamilyValues as dn, buildThemeTokens as dr, navLinkOwnsHoverForeground as dt, introCompositionTreatmentValues as en, getTextColorForBackground as er, defaultButtonStyleSelectionFor as et, MQ_TABLET_ONLY as f, parseApiKeyId as fn, defaultThemeTokens as fr, navLinkOwnsUnderline as ft, parseBlockCustomCssRules as g, parseEventSeriesId as gn, SURFACE_FOREGROUND_CSS_VARS as gr, boxBackgroundSchema as gt, getComponentShadowVar as h, parseEventOfferingId as hn, DEFAULT_SURFACE_TEXT_COLOR as hr, boxBackgroundOverlaySchema as ht, generateHeaderScrollTreatmentStyles as i, offeringsPreviewCompositionTreatmentValues as in, hexColorSchema as ir, generateInteractiveChildInheritanceCSS as it, resolvedButtonColourDeclarations as j, serializeSurfaceTree as jn, textColorValue as jr, parseCanonicalMediaIdentifier as jt, generateButtonCss as k, parseSurfaceTree as kn, rgbColorValue as kr, resolveManagedMediaReference as kt, MQ_MD_DOWN as l, tileTreatmentValues as ln, requirePaletteColorsFromEntries as lr, NAV_LINK_TEXT_SIZE_MAP as lt, getComponentBorderWidthPx as m, parseEditorSessionGeneration as mn, hexToRgb as mr, resolveCardRole as mt, headerPositioningValues as n, makeBoundaryId as nn, resolveConcreteColorHex as nr, generateEffectsCSS as nt, getHeaderPaintTargets as o, plainFrame as on, paletteModeSchema as or, NAV_LINK_LETTER_SPACING_MAP as ot, headerVariantValues as p, parseContentVersionId as pn, featuresFromHex as pr, navEffectPolicy as pt, cardRoleValues as q, resolveSurfaceForeground as qn, defineExactCatalog as qt, themeSchema as r, noHeadingDecoration as rn, resolveOpaqueSurfaceHex as rr, generateBaseInteractiveCSS as rt, renderHeaderPaintTargetRules as s, requireNonEmptyReadonlyArray as sn, paletteValueKey as sr, NAV_LINK_PADDING_MAP as st, corners as t, isArrangementMode as tn, planForegroundHover as tr, buttonStyleSelectionSchema as tt, MQ_SM_DOWN as u, toNonEmptyReadonlyArray as un, TokenResolver as ur, navLinkHoverColorCandidate as ut, FONT_WEIGHT_MAP as v, parseSiteTermsVersionId as vn, surfaceForegroundDeclarations as vr, pageDesignEditorBackgroundOverrideOwner as vt, ACCORDION_TRIGGER_FONT_SCALE as w, ok as wn, surfaceInkStyle as wr, persistableMediaSchema as wt, LABEL_FONT_SIZE_MAP as x, unsafeAsStorageBucketName as xn, surfaceForegroundValue as xr, themeV2CompilerOwnedFieldNames as xt, INPUT_FONT_SIZE_MAP as y, parseUserId as yn, surfaceForegroundInputFromResolved as yr, siteChromeBackgroundOverrideOwner as yt, skinTokenCssVars as z, resolveThemeColorReferenceValue as zn, asDesignBoundaryId as zt };
@@ -1,4 +1,4 @@
1
- import { t as loadPage } from "./loadPage-DaPiPYUL.mjs";
2
- import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-D7ItMsEl.mjs";
3
- import { t as createRiverbankClient } from "./client-C2Q56xqV.mjs";
1
+ import { t as loadPage } from "./loadPage-DBFBad8A.mjs";
2
+ import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-dEEhQxL7.mjs";
3
+ import { t as createRiverbankClient } from "./client-DfMDbZ41.mjs";
4
4
  export { createRiverbankClient, isEntryContent, isPageContent, isPageSurfaceContent, loadContent, loadPage };