@riverbankcms/sdk 0.139.0 → 0.140.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 (196) hide show
  1. package/README.md +1 -1
  2. package/dist/{PreviewEditorSidebar-BDeenhi3.mjs → PreviewEditorSidebar-CUyTzd5z.mjs} +4 -4
  3. package/dist/{PreviewEditorUI-DSRhgjF5.mjs → PreviewEditorUI-Agkw4v5i.mjs} +3 -3
  4. package/dist/{PreviewQueryProvider-D2K8GLUG.mjs → PreviewQueryProvider-CN0ewic5.mjs} +1 -1
  5. package/dist/{SdkPreviewModeRuntime-CL7wSnYu.mjs → SdkPreviewModeRuntime-DdbeAdS8.mjs} +22 -8
  6. package/dist/{SiteChromeCustomizeContext-BhDn-5ir.mjs → SiteChromeCustomizeContext-CqGOz-Kv.mjs} +2053 -1110
  7. package/dist/_dts/ai/src/contracts/proposals.d.ts +165 -165
  8. package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +212 -212
  9. package/dist/_dts/api/src/accessAdmin.d.ts +74 -104
  10. package/dist/_dts/api/src/aiEndpoints.d.ts +5 -1
  11. package/dist/_dts/api/src/authSubmission.d.ts +46 -0
  12. package/dist/_dts/api/src/billing.d.ts +8 -4
  13. package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +23 -0
  14. package/dist/_dts/api/src/billingEndpointTypes.d.ts +26 -0
  15. package/dist/_dts/api/src/blocks.d.ts +2 -0
  16. package/dist/_dts/api/src/bookingRecords.d.ts +1 -2
  17. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +8 -1
  18. package/dist/_dts/api/src/communications.d.ts +0 -1
  19. package/dist/_dts/api/src/contentRuntime.d.ts +8 -3
  20. package/dist/_dts/api/src/endpoints.d.ts +93 -64
  21. package/dist/_dts/api/src/event-destination-policy.d.ts +2 -1
  22. package/dist/_dts/api/src/footerSettings.d.ts +9 -6
  23. package/dist/_dts/api/src/index.d.ts +5 -6
  24. package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
  25. package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
  26. package/dist/_dts/api/src/mailingListIntegration.d.ts +8 -2
  27. package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +1 -1
  28. package/dist/_dts/api/src/navigation/types.d.ts +1 -1
  29. package/dist/_dts/api/src/onboarding/confirmationResend.d.ts +25 -0
  30. package/dist/_dts/api/src/onboarding/surfaceData.d.ts +32 -32
  31. package/dist/_dts/api/src/publicBookingAvailabilityEndpointDefinitions.d.ts +8 -0
  32. package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +1 -0
  33. package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +11 -3
  34. package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +3 -29
  35. package/dist/_dts/api/src/publicOnboardingAttemptEndpointDefinitions.d.ts +65 -0
  36. package/dist/_dts/api/src/saveOutcome.d.ts +20 -0
  37. package/dist/_dts/api/src/sdkContracts.d.ts +3 -22
  38. package/dist/_dts/api/src/sdkPushContracts.d.ts +18 -0
  39. package/dist/_dts/api/src/sdkThemeWire.d.ts +44 -44
  40. package/dist/_dts/api/src/settings/permissions.d.ts +12 -0
  41. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +9 -5
  42. package/dist/_dts/api/src/siteOnboarding.d.ts +2 -9
  43. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +2 -4
  44. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -1
  45. package/dist/_dts/api/src/siteSettings.d.ts +20 -7
  46. package/dist/_dts/api/src/types.d.ts +77 -77
  47. package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -37
  48. package/dist/_dts/billing/src/membership/index.d.ts +3 -0
  49. package/dist/_dts/billing/src/plans/types.d.ts +3 -0
  50. package/dist/_dts/billing/src/site-arrangements.d.ts +14 -3
  51. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +16 -4
  52. package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +2 -0
  53. package/dist/_dts/blocks/src/pageRendererContracts.d.ts +5 -0
  54. package/dist/_dts/blocks/src/portal/types.d.ts +2 -4
  55. package/dist/_dts/blocks/src/portal/waitlist-types.d.ts +35 -0
  56. package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +2 -0
  57. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +42 -0
  58. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -0
  59. package/dist/_dts/blocks/src/system/data/index.d.ts +2 -2
  60. package/dist/_dts/blocks/src/system/data/prefetchBlockData.d.ts +2 -1
  61. package/dist/_dts/blocks/src/system/data/types.d.ts +9 -0
  62. package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
  63. package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +0 -28
  64. package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
  65. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +7 -3
  66. package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -1
  67. package/dist/_dts/blocks/src/system/runtime/api/types/waitlist-claims.d.ts +7 -2
  68. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +30 -6
  69. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +15 -3
  70. package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +43 -0
  71. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +1 -2
  72. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/TicketSelectionStep.d.ts +2 -0
  73. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/checkoutRecovery.d.ts +14 -0
  74. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +56 -0
  75. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +6 -8
  76. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useCheckoutRecovery.d.ts +8 -0
  77. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +8 -7
  78. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +10 -2
  79. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventSourceRecovery.d.ts +18 -0
  80. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.client.d.ts +1 -1
  81. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +24 -6
  82. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +4 -2
  83. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +6 -0
  84. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +1 -0
  85. package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +1 -0
  86. package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -6
  87. package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
  88. package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +2 -0
  89. package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
  90. package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +27 -4
  91. package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +2 -1
  92. package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +3 -1
  93. package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -0
  94. package/dist/_dts/core/src/branded.d.ts +0 -8
  95. package/dist/_dts/core/src/index.d.ts +1 -0
  96. package/dist/_dts/core/src/mailing-list-setup-parser.d.ts +1 -1
  97. package/dist/_dts/core/src/mailing-list-setup.d.ts +14 -1
  98. package/dist/_dts/core/src/mailing-list-submission.d.ts +7 -27
  99. package/dist/_dts/core/src/participants.d.ts +2 -29
  100. package/dist/_dts/core/src/public-experience.d.ts +4 -0
  101. package/dist/_dts/core/src/public-profile.d.ts +27 -1
  102. package/dist/_dts/core/src/site-route-target.d.ts +9 -2
  103. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +293 -606
  104. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListGlobalSettingsSummary.d.ts +10 -0
  105. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListTargetingField.d.ts +3 -2
  106. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/context.d.ts +3 -2
  107. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/loaders.d.ts +3 -2
  108. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/targetingState.d.ts +19 -0
  109. package/dist/_dts/sdk/src/public-api/contracts.d.ts +14 -20
  110. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -0
  111. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -0
  112. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +7 -1
  113. package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +1 -0
  114. package/dist/_dts/sdk/src/version.d.ts +1 -1
  115. package/dist/_dts/theme-core/src/accordions/types.d.ts +3 -3
  116. package/dist/_dts/theme-core/src/cards/types.d.ts +21 -21
  117. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  118. package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +8 -2
  119. package/dist/_dts/theme-core/src/header/legacyHeaderVariant.d.ts +2 -2
  120. package/dist/_dts/theme-core/src/inputs/types.d.ts +2 -2
  121. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +54 -54
  122. package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +1 -4
  123. package/dist/_dts/theme-core/src/schema.d.ts +84 -84
  124. package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +1 -1
  125. package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
  126. package/dist/_dts/theme-core/src/surfaces/foregroundInteraction.d.ts +77 -0
  127. package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
  128. package/dist/_dts/theme-core/src/typography/generateTypographyCss.d.ts +2 -2
  129. package/dist/_dts/ui/src/lib/use-delayed-flag.d.ts +9 -0
  130. package/dist/_dts/ui/src/pending-button.d.ts +10 -0
  131. package/dist/client/{BookingConsentAgreement-CZvTDtsK.mjs → BookingConsentAgreement-CuKa82V4.mjs} +4 -4
  132. package/dist/client/{DiscountCodeDisclosure-D-DsLCMU.mjs → DiscountCodeDisclosure-BbYieKWB.mjs} +1 -1
  133. package/dist/client/{EventCombined.client-dWqgd5ZO.mjs → EventCombined.client-LTfR1Aby.mjs} +6 -6
  134. package/dist/client/{EventListing.client-BMRa9IYp.mjs → EventListing.client-DUHpYSuo.mjs} +2 -2
  135. package/dist/client/{LeafletStaticMap-D21W9kBZ.mjs → LeafletStaticMap-CHRupL6m.mjs} +1 -1
  136. package/dist/client/{accordion-FxF_ta47.mjs → accordion-6HiIFxNL.mjs} +1 -1
  137. package/dist/client/{bookingForm-YnwW4TGw.mjs → bookingForm-Dlmid43H.mjs} +7 -7
  138. package/dist/client/bookings.mjs +325 -140
  139. package/dist/client/{carousel-vng7fFT5.mjs → carousel-DmkZRRq_.mjs} +2 -2
  140. package/dist/client/{carousel.client-59G_WMr4.mjs → carousel.client-DQTjCVQT.mjs} +1 -1
  141. package/dist/client/{cart-DEPDsjNk.mjs → cart-CIC24330.mjs} +3 -3
  142. package/dist/client/{checkout-CZRWu9rW.mjs → checkout-D1Zw9imo.mjs} +3 -3
  143. package/dist/client/{checkoutUrls-BuseL0dw.mjs → checkoutUrls-FL6lRkrt.mjs} +1 -1
  144. package/dist/client/client.mjs +1717 -882
  145. package/dist/client/{colorStyles-CrxJrPjJ.mjs → colorStyles-3013aRAY.mjs} +3 -1
  146. package/dist/client/{context-DvU_WUmd.mjs → context-Cy1OayHx.mjs} +6 -19
  147. package/dist/client/{dates-wnPMiRl5.mjs → dates-aDcfoLHr.mjs} +2 -2
  148. package/dist/client/{eventCalendar-BA3Q5L15.mjs → eventCalendar-FQxMPAjf.mjs} +8 -8
  149. package/dist/client/{eventCombined-51wgR-1R.mjs → eventCombined-Dr3ac6Hb.mjs} +3 -3
  150. package/dist/client/{eventDetails-modaetpm.mjs → eventDetails-D-AzUHFQ.mjs} +4 -4
  151. package/dist/client/{eventListing-D8t2J3Kv.mjs → eventListing-B3XxBf3i.mjs} +3 -3
  152. package/dist/client/{eventRegistration-CYqtkCE_.mjs → eventRegistration-I6EaokFD.mjs} +500 -152
  153. package/dist/client/{form-CBKXN5In.mjs → form-BbWckVWY.mjs} +3 -3
  154. package/dist/client/{headerSection-DylDqNrs.mjs → headerSection-C9qU4Y7x.mjs} +2 -2
  155. package/dist/client/hooks.mjs +445 -180
  156. package/dist/client/{locationMap-CvWrG0vZ.mjs → locationMap-CLCShvlG.mjs} +3 -3
  157. package/dist/client/{media-BOHuueS5.mjs → media-DHpfFwd3.mjs} +1 -1
  158. package/dist/client/{newsletterForm-Btwk70zw.mjs → newsletterForm-Briukxzi.mjs} +130 -87
  159. package/dist/client/{pricing-Uzw-GQ6Y.mjs → pricing-Copadu-2.mjs} +1 -1
  160. package/dist/client/{productDetail-JLcUYKnd.mjs → productDetail-oujlRd-r.mjs} +3 -3
  161. package/dist/client/{productList-FM0cbUzj.mjs → productList-BRiIRUcd.mjs} +3 -3
  162. package/dist/client/{propsDecoder-DYzafZb2.mjs → propsDecoder-CB2KS_ko.mjs} +130 -24
  163. package/dist/client/rendering/client.mjs +911 -400
  164. package/dist/client/rendering/islands.mjs +19 -19
  165. package/dist/client/rendering.mjs +1696 -818
  166. package/dist/client/{scrollToBlock-CvXszexS.mjs → scrollToBlock-B1IS1_ua.mjs} +1 -1
  167. package/dist/client/{shop-BIcjvy5a.mjs → shop-Vn6yNFED.mjs} +6 -6
  168. package/dist/client/{shop-commerce-BZQsy7xw.mjs → shop-commerce-BVTqipYp.mjs} +7 -7
  169. package/dist/client/{shop-commerce-store-D5V7XAb5.mjs → shop-commerce-store-BVnJVy7v.mjs} +1 -1
  170. package/dist/client/{shopShared-DowkXevB.mjs → shopShared-COIeK77T.mjs} +4 -4
  171. package/dist/client/{useEventFilters-oMoTw_JE.mjs → useEventFilters-DzIUcS9n.mjs} +7 -7
  172. package/dist/preview-next/before-render.mjs +119 -64
  173. package/dist/preview-next/client/runtime.mjs +4 -4
  174. package/dist/preview-next/keepAlive.mjs +119 -64
  175. package/dist/preview-next/middleware.mjs +119 -64
  176. package/dist/{previewAuthStore-COUyAKaX.mjs → previewAuthStore-Gjb6r6vz.mjs} +119 -64
  177. package/dist/{sdk-runtime-D4k2LSGF.mjs → sdk-runtime-CnCLvZRv.mjs} +2 -2
  178. package/dist/{separator-UGtpag4Z.mjs → separator-DKDRJ1oH.mjs} +1 -1
  179. package/dist/server/components.mjs +787 -323
  180. package/dist/server/config-validation.mjs +328 -79
  181. package/dist/server/config.mjs +332 -83
  182. package/dist/server/data.mjs +441 -180
  183. package/dist/server/index.mjs +126 -66
  184. package/dist/server/next.mjs +1031 -595
  185. package/dist/server/page-converter.mjs +183 -74
  186. package/dist/server/prebuild.mjs +1 -1
  187. package/dist/server/rendering/server.mjs +1068 -592
  188. package/dist/server/rendering.mjs +802 -324
  189. package/dist/server/routing.mjs +506 -214
  190. package/dist/server/server.mjs +468 -244
  191. package/dist/server/theme-bridge.mjs +433 -100
  192. package/dist/server/theme.mjs +8 -2
  193. package/dist/styles/index.css +237 -43
  194. package/package.json +1 -1
  195. package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionCompactRow.d.ts +0 -29
  196. package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionList.d.ts +0 -13
@@ -4866,8 +4866,14 @@ const headerInteractionPillPaletteValues = [
4866
4866
  "accent"
4867
4867
  ];
4868
4868
  /**
4869
- * "No pill": the nav link keeps whatever hover treatment its recipe compiled,
4870
- * and the palette step writes nothing at all (#1318 Phase 4c decision 2).
4869
+ * "No pill": a colour change on hover rather than a filled background.
4870
+ *
4871
+ * The palette step writes nothing (#1318 Phase 4c decision 2), but on a
4872
+ * foreground-adaptive style that is not the end of the story: the hover colour
4873
+ * is derived from the resolved opening foreground at render time, paired with
4874
+ * the resting colour, so `quiet` resolves to a definite colour rather than to
4875
+ * whatever brand token the recipe happened to name. See
4876
+ * `applyOpeningForeground`.
4871
4877
  *
4872
4878
  * It exists because "a colour change on hover, no filled background" was not
4873
4879
  * expressible in the vocabulary, and it is what
@@ -9693,7 +9693,6 @@
9693
9693
  }
9694
9694
 
9695
9695
 
9696
-
9697
9696
  /* =============================================================================
9698
9697
  * Block: Customer Portal
9699
9698
  * Uses --cp-* CSS variables (Tier 3)
@@ -9741,7 +9740,9 @@
9741
9740
  text-align: left;
9742
9741
  }
9743
9742
 
9744
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-login__subtitle {
9743
+ :where(.theme-scope)
9744
+ :where([data-block="customer-portal"])
9745
+ .cp-login__subtitle {
9745
9746
  color: var(--cp-muted);
9746
9747
  font-size: 0.9375rem;
9747
9748
  text-align: left;
@@ -9768,7 +9769,9 @@
9768
9769
  text-align: left;
9769
9770
  }
9770
9771
 
9771
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-login__reset-link {
9772
+ :where(.theme-scope)
9773
+ :where([data-block="customer-portal"])
9774
+ .cp-login__reset-link {
9772
9775
  appearance: none;
9773
9776
  background: none;
9774
9777
  border: 0;
@@ -9782,11 +9785,15 @@
9782
9785
  text-underline-offset: 0.15em;
9783
9786
  }
9784
9787
 
9785
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-login__reset-link:hover {
9788
+ :where(.theme-scope)
9789
+ :where([data-block="customer-portal"])
9790
+ .cp-login__reset-link:hover {
9786
9791
  color: var(--cp-text);
9787
9792
  }
9788
9793
 
9789
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-login__reset-link:focus-visible {
9794
+ :where(.theme-scope)
9795
+ :where([data-block="customer-portal"])
9796
+ .cp-login__reset-link:focus-visible {
9790
9797
  outline: 2px solid currentColor;
9791
9798
  outline-offset: 3px;
9792
9799
  }
@@ -9831,7 +9838,9 @@
9831
9838
  border-bottom: none;
9832
9839
  }
9833
9840
 
9834
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-header__welcome {
9841
+ :where(.theme-scope)
9842
+ :where([data-block="customer-portal"])
9843
+ .cp-header__welcome {
9835
9844
  font-size: 1.125rem;
9836
9845
  font-weight: 500;
9837
9846
  }
@@ -9847,8 +9856,14 @@
9847
9856
  }
9848
9857
 
9849
9858
  @keyframes cp-fade-in {
9850
- from { opacity: 0; transform: translateY(4px); }
9851
- to { opacity: 1; transform: translateY(0); }
9859
+ from {
9860
+ opacity: 0;
9861
+ transform: translateY(4px);
9862
+ }
9863
+ to {
9864
+ opacity: 1;
9865
+ transform: translateY(0);
9866
+ }
9852
9867
  }
9853
9868
 
9854
9869
  /* Empty state */
@@ -9937,6 +9952,75 @@
9937
9952
  margin-top: 1rem;
9938
9953
  }
9939
9954
 
9955
+ /* Event waitlists */
9956
+ :where(.theme-scope) :where([data-block="customer-portal"]) .cp-waitlist-list {
9957
+ display: grid;
9958
+ gap: 1rem;
9959
+ }
9960
+
9961
+ :where(.theme-scope)
9962
+ :where([data-block="customer-portal"])
9963
+ .cp-waitlists
9964
+ > .cp-alert {
9965
+ margin-bottom: 1rem;
9966
+ }
9967
+
9968
+ :where(.theme-scope) :where([data-block="customer-portal"]) .cp-waitlist-card {
9969
+ transition:
9970
+ border-color 180ms ease,
9971
+ box-shadow 180ms ease;
9972
+ }
9973
+
9974
+ :where(.theme-scope)
9975
+ :where([data-block="customer-portal"])
9976
+ .cp-waitlist-card--focused {
9977
+ border-color: var(--cp-primary);
9978
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--cp-primary) 22%, transparent);
9979
+ }
9980
+
9981
+ :where(.theme-scope)
9982
+ :where([data-block="customer-portal"])
9983
+ .cp-waitlist-card__summary,
9984
+ :where(.theme-scope)
9985
+ :where([data-block="customer-portal"])
9986
+ .cp-waitlist-card__position {
9987
+ font-weight: 600;
9988
+ }
9989
+
9990
+ :where(.theme-scope)
9991
+ :where([data-block="customer-portal"])
9992
+ .cp-waitlist-card
9993
+ .cp-card-body
9994
+ p {
9995
+ margin: 0.4rem 0;
9996
+ }
9997
+
9998
+ @media (max-width: 640px) {
9999
+ :where(.theme-scope)
10000
+ :where([data-block="customer-portal"])
10001
+ .cp-waitlist-card
10002
+ .cp-card-header {
10003
+ flex-direction: column-reverse;
10004
+ }
10005
+
10006
+ :where(.theme-scope)
10007
+ :where([data-block="customer-portal"])
10008
+ .cp-waitlist-card
10009
+ .cp-card-actions {
10010
+ align-items: stretch;
10011
+ flex-direction: column;
10012
+ }
10013
+
10014
+ :where(.theme-scope)
10015
+ :where([data-block="customer-portal"])
10016
+ .cp-waitlist-card
10017
+ .cp-card-actions
10018
+ > * {
10019
+ justify-content: center;
10020
+ text-align: center;
10021
+ }
10022
+ }
10023
+
9940
10024
  /* Badge */
9941
10025
  :where(.theme-scope) :where([data-block="customer-portal"]) .cp-badge {
9942
10026
  display: inline-flex;
@@ -10073,11 +10157,18 @@
10073
10157
  background: rgba(var(--tb-border), 0.2);
10074
10158
  }
10075
10159
 
10076
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-table tbody tr:last-child td {
10160
+ :where(.theme-scope)
10161
+ :where([data-block="customer-portal"])
10162
+ .cp-table
10163
+ tbody
10164
+ tr:last-child
10165
+ td {
10077
10166
  border-bottom: none;
10078
10167
  }
10079
10168
 
10080
- :where(.theme-scope) :where([data-block="customer-portal"]) :is(.cp-row--past, .cp-row--muted) {
10169
+ :where(.theme-scope)
10170
+ :where([data-block="customer-portal"])
10171
+ :is(.cp-row--past, .cp-row--muted) {
10081
10172
  opacity: 0.65;
10082
10173
  }
10083
10174
 
@@ -10090,7 +10181,9 @@
10090
10181
  line-height: 1.2;
10091
10182
  }
10092
10183
 
10093
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-row-title__badges {
10184
+ :where(.theme-scope)
10185
+ :where([data-block="customer-portal"])
10186
+ .cp-row-title__badges {
10094
10187
  margin-left: auto;
10095
10188
  display: flex;
10096
10189
  flex-wrap: wrap;
@@ -10098,7 +10191,9 @@
10098
10191
  gap: 0.375rem;
10099
10192
  }
10100
10193
 
10101
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-row-title__text {
10194
+ :where(.theme-scope)
10195
+ :where([data-block="customer-portal"])
10196
+ .cp-row-title__text {
10102
10197
  min-width: 0;
10103
10198
  }
10104
10199
 
@@ -10118,12 +10213,16 @@
10118
10213
  line-height: 1.35;
10119
10214
  }
10120
10215
 
10121
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-row-note--success {
10216
+ :where(.theme-scope)
10217
+ :where([data-block="customer-portal"])
10218
+ .cp-row-note--success {
10122
10219
  border-left-color: rgb(var(--tb-success));
10123
10220
  color: rgb(var(--tb-success));
10124
10221
  }
10125
10222
 
10126
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-row-note--error {
10223
+ :where(.theme-scope)
10224
+ :where([data-block="customer-portal"])
10225
+ .cp-row-note--error {
10127
10226
  border-left-color: rgb(var(--tb-destructive));
10128
10227
  color: rgb(var(--tb-destructive));
10129
10228
  }
@@ -10142,16 +10241,23 @@
10142
10241
  white-space: nowrap;
10143
10242
  }
10144
10243
 
10145
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-col-actions .btn-sm {
10244
+ :where(.theme-scope)
10245
+ :where([data-block="customer-portal"])
10246
+ .cp-col-actions
10247
+ .btn-sm {
10146
10248
  white-space: nowrap;
10147
10249
  }
10148
10250
 
10149
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-row-title__link {
10251
+ :where(.theme-scope)
10252
+ :where([data-block="customer-portal"])
10253
+ .cp-row-title__link {
10150
10254
  color: inherit;
10151
10255
  text-decoration: none;
10152
10256
  }
10153
10257
 
10154
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-row-title__link:hover {
10258
+ :where(.theme-scope)
10259
+ :where([data-block="customer-portal"])
10260
+ .cp-row-title__link:hover {
10155
10261
  text-decoration: underline;
10156
10262
  text-decoration-thickness: 2px;
10157
10263
  text-underline-offset: 2px;
@@ -10173,7 +10279,9 @@
10173
10279
  }
10174
10280
 
10175
10281
  /* Profile actions */
10176
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-profile__actions {
10282
+ :where(.theme-scope)
10283
+ :where([data-block="customer-portal"])
10284
+ .cp-profile__actions {
10177
10285
  display: flex;
10178
10286
  gap: 0.75rem;
10179
10287
  margin-top: 1rem;
@@ -10240,28 +10348,39 @@
10240
10348
  gap: 0.375rem;
10241
10349
  }
10242
10350
 
10243
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-guest-edit-row__index {
10351
+ :where(.theme-scope)
10352
+ :where([data-block="customer-portal"])
10353
+ .cp-guest-edit-row__index {
10244
10354
  font-size: 0.75rem;
10245
10355
  font-weight: 500;
10246
10356
  color: var(--cp-muted);
10247
10357
  }
10248
10358
 
10249
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-guest-edit-row__fields {
10359
+ :where(.theme-scope)
10360
+ :where([data-block="customer-portal"])
10361
+ .cp-guest-edit-row__fields {
10250
10362
  display: flex;
10251
10363
  gap: 0.5rem;
10252
10364
  }
10253
10365
 
10254
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-guest-edit-row__fields input {
10366
+ :where(.theme-scope)
10367
+ :where([data-block="customer-portal"])
10368
+ .cp-guest-edit-row__fields
10369
+ input {
10255
10370
  flex: 1;
10256
10371
  min-width: 0;
10257
10372
  }
10258
10373
 
10259
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-guest-edit-row__error {
10374
+ :where(.theme-scope)
10375
+ :where([data-block="customer-portal"])
10376
+ .cp-guest-edit-row__error {
10260
10377
  font-size: 0.75rem;
10261
10378
  color: var(--cp-error);
10262
10379
  }
10263
10380
 
10264
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-guests__actions {
10381
+ :where(.theme-scope)
10382
+ :where([data-block="customer-portal"])
10383
+ .cp-guests__actions {
10265
10384
  display: flex;
10266
10385
  gap: 0.5rem;
10267
10386
  margin-top: 0.5rem;
@@ -10275,13 +10394,18 @@
10275
10394
  }
10276
10395
 
10277
10396
  /* In the actions modal, tiles sit on a surface modal, so use "background" for contrast. */
10278
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-actions-list :where(.rb-tile) {
10397
+ :where(.theme-scope)
10398
+ :where([data-block="customer-portal"])
10399
+ .cp-actions-list
10400
+ :where(.rb-tile) {
10279
10401
  --rb-event-tile-bg: rgb(var(--tb-background));
10280
10402
  --rb-event-tile-border: rgb(var(--tb-border));
10281
10403
  }
10282
10404
 
10283
10405
  /* Actions trigger: icon-only kebab button */
10284
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-actions-trigger.btn-sm {
10406
+ :where(.theme-scope)
10407
+ :where([data-block="customer-portal"])
10408
+ .cp-actions-trigger.btn-sm {
10285
10409
  padding: 0.35rem !important;
10286
10410
  line-height: 1 !important;
10287
10411
  min-width: 32px;
@@ -10305,17 +10429,24 @@
10305
10429
  gap: 0.25rem;
10306
10430
  }
10307
10431
 
10308
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-action-tile__title {
10432
+ :where(.theme-scope)
10433
+ :where([data-block="customer-portal"])
10434
+ .cp-action-tile__title {
10309
10435
  font-weight: 600;
10310
10436
  font-size: 0.9375rem;
10311
10437
  }
10312
10438
 
10313
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-action-tile__desc {
10439
+ :where(.theme-scope)
10440
+ :where([data-block="customer-portal"])
10441
+ .cp-action-tile__desc {
10314
10442
  font-size: 0.875rem;
10315
10443
  line-height: 1.35;
10316
10444
  }
10317
10445
 
10318
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-action-tile--danger .cp-action-tile__title {
10446
+ :where(.theme-scope)
10447
+ :where([data-block="customer-portal"])
10448
+ .cp-action-tile--danger
10449
+ .cp-action-tile__title {
10319
10450
  color: rgb(var(--tb-destructive));
10320
10451
  }
10321
10452
 
@@ -10337,7 +10468,9 @@
10337
10468
  text-decoration: underline;
10338
10469
  }
10339
10470
 
10340
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-btn--link:hover {
10471
+ :where(.theme-scope)
10472
+ :where([data-block="customer-portal"])
10473
+ .cp-btn--link:hover {
10341
10474
  color: var(--cp-primary-hover);
10342
10475
  }
10343
10476
 
@@ -10376,34 +10509,48 @@
10376
10509
  margin-top: 0.75rem;
10377
10510
  }
10378
10511
 
10379
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-cancel-confirm__title {
10512
+ :where(.theme-scope)
10513
+ :where([data-block="customer-portal"])
10514
+ .cp-cancel-confirm__title {
10380
10515
  font-weight: 600;
10381
10516
  margin-bottom: 0.5rem;
10382
10517
  }
10383
10518
 
10384
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-cancel-confirm__message {
10519
+ :where(.theme-scope)
10520
+ :where([data-block="customer-portal"])
10521
+ .cp-cancel-confirm__message {
10385
10522
  margin-bottom: 0.25rem;
10386
10523
  }
10387
10524
 
10388
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-cancel-confirm__warning {
10525
+ :where(.theme-scope)
10526
+ :where([data-block="customer-portal"])
10527
+ .cp-cancel-confirm__warning {
10389
10528
  margin-bottom: 0.75rem;
10390
10529
  }
10391
10530
 
10392
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-cancel-confirm__actions {
10531
+ :where(.theme-scope)
10532
+ :where([data-block="customer-portal"])
10533
+ .cp-cancel-confirm__actions {
10393
10534
  display: flex;
10394
10535
  gap: 0.75rem;
10395
10536
  }
10396
10537
 
10397
10538
  /* Membership actions */
10398
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-membership-actions {
10539
+ :where(.theme-scope)
10540
+ :where([data-block="customer-portal"])
10541
+ .cp-membership-actions {
10399
10542
  margin-top: 0.75rem;
10400
10543
  }
10401
10544
 
10402
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-section-actions {
10545
+ :where(.theme-scope)
10546
+ :where([data-block="customer-portal"])
10547
+ .cp-section-actions {
10403
10548
  margin-top: 1rem;
10404
10549
  }
10405
10550
 
10406
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-card-subtitle--spaced {
10551
+ :where(.theme-scope)
10552
+ :where([data-block="customer-portal"])
10553
+ .cp-card-subtitle--spaced {
10407
10554
  margin-top: 0.75rem;
10408
10555
  }
10409
10556
 
@@ -10426,9 +10573,18 @@
10426
10573
  display: none;
10427
10574
  }
10428
10575
 
10429
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-table :is(th, td).cp-col-guests,
10430
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-table :is(th, td).cp-col-tickets,
10431
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-table :is(th, td).cp-col-actions {
10576
+ :where(.theme-scope)
10577
+ :where([data-block="customer-portal"])
10578
+ .cp-table
10579
+ :is(th, td).cp-col-guests,
10580
+ :where(.theme-scope)
10581
+ :where([data-block="customer-portal"])
10582
+ .cp-table
10583
+ :is(th, td).cp-col-tickets,
10584
+ :where(.theme-scope)
10585
+ :where([data-block="customer-portal"])
10586
+ .cp-table
10587
+ :is(th, td).cp-col-actions {
10432
10588
  display: none;
10433
10589
  }
10434
10590
 
@@ -10437,24 +10593,34 @@
10437
10593
  }
10438
10594
 
10439
10595
  /* Make the cell a positioning context for the kebab */
10440
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-row > td:first-child {
10596
+ :where(.theme-scope)
10597
+ :where([data-block="customer-portal"])
10598
+ .cp-row
10599
+ > td:first-child {
10441
10600
  position: relative;
10442
10601
  padding-right: 2.5rem;
10443
10602
  }
10444
10603
 
10445
10604
  /* Position kebab in top-right of the cell */
10446
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-row-mobile-actions {
10605
+ :where(.theme-scope)
10606
+ :where([data-block="customer-portal"])
10607
+ .cp-row-mobile-actions {
10447
10608
  position: absolute;
10448
10609
  top: 0.5rem;
10449
10610
  right: 0.5rem;
10450
10611
  margin-top: 0;
10451
10612
  }
10452
10613
 
10453
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-row-mobile-actions .btn-sm {
10614
+ :where(.theme-scope)
10615
+ :where([data-block="customer-portal"])
10616
+ .cp-row-mobile-actions
10617
+ .btn-sm {
10454
10618
  width: auto;
10455
10619
  }
10456
10620
 
10457
- :where(.theme-scope) :where([data-block="customer-portal"]) .cp-profile__edit {
10621
+ :where(.theme-scope)
10622
+ :where([data-block="customer-portal"])
10623
+ .cp-profile__edit {
10458
10624
  align-self: stretch;
10459
10625
  }
10460
10626
  }
@@ -10904,6 +11070,30 @@
10904
11070
  gap: 0.25rem;
10905
11071
  }
10906
11072
 
11073
+ /* Topic choices (visitor picks what to hear about). Same treatment as the
11074
+ form block's .fb-fieldset / .fb-inline, defined here because the newsletter
11075
+ form also renders inside contact-newsletter and the site footer. */
11076
+ :where(.theme-scope) .newsletter-topics {
11077
+ display: flex;
11078
+ flex-direction: column;
11079
+ gap: 0.5rem;
11080
+ border: none;
11081
+ padding: 0;
11082
+ margin: 0;
11083
+ min-width: 0;
11084
+ }
11085
+
11086
+ :where(.theme-scope) .newsletter-topics > legend {
11087
+ padding: 0;
11088
+ margin-bottom: 0.25rem;
11089
+ }
11090
+
11091
+ :where(.theme-scope) .newsletter-topic-choice {
11092
+ display: flex;
11093
+ align-items: center;
11094
+ gap: 0.5rem;
11095
+ }
11096
+
10907
11097
  /* Required indicator */
10908
11098
  :where(.theme-scope) .newsletter-required {
10909
11099
  color: rgb(var(--tb-primary));
@@ -10953,6 +11143,10 @@
10953
11143
  flex-shrink: 0;
10954
11144
  }
10955
11145
 
11146
+ :where(.theme-scope) .newsletter-inline .newsletter-topics {
11147
+ flex-basis: 100%;
11148
+ }
11149
+
10956
11150
  /* Mobile fallback for inline variant */
10957
11151
  @media (max-width: 640px) {
10958
11152
  :where(.theme-scope) .newsletter-inline .newsletter-form-fields {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riverbankcms/sdk",
3
- "version": "0.139.0",
3
+ "version": "0.140.0",
4
4
  "description": "Riverbank CMS SDK for headless content consumption",
5
5
  "main": "./dist/server/index.mjs",
6
6
  "module": "./dist/server/index.mjs",
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import { type ThemeButtonVariantId } from '../../../../../../theme-core/src/buttons/index';
3
- export type BookingOptionMetaItem = Readonly<{
4
- id?: string;
5
- label: string;
6
- icon?: React.ReactNode;
7
- className?: string;
8
- }>;
9
- export type BookingOptionCompactRowAction = Readonly<{
10
- kind: 'action';
11
- label: string;
12
- href: string;
13
- }> | Readonly<{
14
- kind: 'status';
15
- label: string;
16
- }>;
17
- export type BookingOptionCompactRowViewModel = Readonly<{
18
- id: string;
19
- title: string;
20
- primaryMeta?: readonly string[];
21
- secondaryMeta?: readonly BookingOptionMetaItem[];
22
- priceLabel?: string | null;
23
- action: BookingOptionCompactRowAction;
24
- }>;
25
- export type BookingOptionCompactRowProps = Readonly<{
26
- option: BookingOptionCompactRowViewModel;
27
- buttonVariant?: ThemeButtonVariantId;
28
- }>;
29
- export declare function BookingOptionCompactRow({ option, buttonVariant, }: BookingOptionCompactRowProps): React.ReactElement;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import type { ThemeButtonVariantId } from '../../../../../../theme-core/src/buttons/index';
3
- import { type BookingOptionCompactRowViewModel } from './BookingOptionCompactRow';
4
- export type BookingOptionGroupViewModel = Readonly<{
5
- id: string;
6
- title: string;
7
- options: readonly BookingOptionCompactRowViewModel[];
8
- }>;
9
- export type BookingOptionListProps = Readonly<{
10
- groups: readonly BookingOptionGroupViewModel[];
11
- buttonVariant?: ThemeButtonVariantId;
12
- }>;
13
- export declare function BookingOptionList({ groups, buttonVariant, }: BookingOptionListProps): React.ReactElement;