@riverbankcms/sdk 0.153.0 → 0.155.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 (357) hide show
  1. package/README.md +2 -0
  2. package/dist/{EventEmbeddedCheckoutStep-veN-QiAE.mjs → EventEmbeddedCheckoutStep-DALtAjqG.mjs} +1 -1
  3. package/dist/{PreviewEditorSidebar-jI_4DTZY.mjs → PreviewEditorSidebar-CbSbqmz3.mjs} +219 -38
  4. package/dist/{PreviewEditorUI-ORkVZhfu.mjs → PreviewEditorUI-CKKnAw11.mjs} +26 -58
  5. package/dist/{SdkPreviewModeRuntime-DaNqevI1.mjs → SdkPreviewModeRuntime-wLkXrWy9.mjs} +177 -84
  6. package/dist/{SiteChromeCustomizeContext-CgNuBHC0.mjs → SiteChromeCustomizeContext-BQ8vvKb-.mjs} +9824 -5829
  7. package/dist/{ThemedButton-X2UxhW6F.mjs → ThemedButton-Bi0rgijy.mjs} +482 -85
  8. package/dist/_dts/ai/src/contracts/proposals.d.ts +42873 -16847
  9. package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +5432 -1810
  10. package/dist/_dts/api/src/billing.d.ts +2 -0
  11. package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +78 -0
  12. package/dist/_dts/api/src/bookingAdjustments.d.ts +3 -2
  13. package/dist/_dts/api/src/bookingConfig.d.ts +4 -12
  14. package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +2 -2
  15. package/dist/_dts/api/src/bookingOperations.d.ts +11 -2
  16. package/dist/_dts/api/src/bookingPeople.d.ts +20 -1
  17. package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +8 -0
  18. package/dist/_dts/api/src/bookingRecords.d.ts +5 -106
  19. package/dist/_dts/api/src/bookings.d.ts +10 -4
  20. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
  21. package/dist/_dts/api/src/common/envelope.d.ts +2 -2
  22. package/dist/_dts/api/src/contentRuntime.d.ts +5 -3
  23. package/dist/_dts/api/src/endpoints.d.ts +89 -44
  24. package/dist/_dts/api/src/eventManagementContracts.d.ts +20 -11
  25. package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +1 -1
  26. package/dist/_dts/api/src/index.d.ts +9 -4
  27. package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
  28. package/dist/_dts/api/src/moneyPayments.d.ts +116 -0
  29. package/dist/_dts/api/src/onboarding/surfaceData.d.ts +2 -0
  30. package/dist/_dts/api/src/privacyPolicy.d.ts +20 -2
  31. package/dist/_dts/api/src/public/types.d.ts +1 -0
  32. package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +1 -0
  33. package/dist/_dts/api/src/publicBookingService.d.ts +1 -0
  34. package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -0
  35. package/dist/_dts/api/src/sdk-event-management.d.ts +1 -0
  36. package/dist/_dts/api/src/sdk-event-upsert.d.ts +24 -9
  37. package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
  38. package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +5 -3
  39. package/dist/_dts/api/src/sdkPullEventContracts.d.ts +15 -4
  40. package/dist/_dts/api/src/sdkThemeWire.d.ts +172 -103
  41. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
  42. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +18 -0
  43. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +17 -16
  44. package/dist/_dts/api/src/siteSettings.d.ts +1 -0
  45. package/dist/_dts/api/src/siteTerms.d.ts +100 -0
  46. package/dist/_dts/api/src/stripeConnectSetup.d.ts +90 -0
  47. package/dist/_dts/api/src/types.d.ts +13 -32
  48. package/dist/_dts/api/src/webhooks.d.ts +9 -9
  49. package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -4
  50. package/dist/_dts/block-form/src/client/index.d.ts +2 -1
  51. package/dist/_dts/block-form/src/widgets/DateField/DateField.d.ts +3 -1
  52. package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +3 -1
  53. package/dist/_dts/block-form/src/widgets/DateTimeField/DateTimeField.d.ts +3 -1
  54. package/dist/_dts/blocks/src/client/carousel.d.ts +1 -0
  55. package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
  56. package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +12 -33
  57. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +30 -118
  58. package/dist/_dts/blocks/src/index.d.ts +2 -2
  59. package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +1 -0
  60. package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -1
  61. package/dist/_dts/blocks/src/pageRendererContracts.d.ts +1 -0
  62. package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +1 -1
  63. package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -1
  64. package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +1 -0
  65. package/dist/_dts/blocks/src/rendering/server.d.ts +1 -0
  66. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
  67. package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +1 -1
  68. package/dist/_dts/blocks/src/system/blocks/events/shared/fields.d.ts +0 -4
  69. package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +0 -1
  70. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +13 -9
  71. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -0
  72. package/dist/_dts/blocks/src/system/blocks/form.d.ts +10 -0
  73. package/dist/_dts/blocks/src/system/blocks/image-gallery/fields.d.ts +1 -0
  74. package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +6 -1
  75. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
  76. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -45
  77. package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +12 -0
  78. package/dist/_dts/blocks/src/system/blocks/offerings-preview/catalogue.d.ts +7 -1
  79. package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +14 -0
  80. package/dist/_dts/blocks/src/system/blocks/offerings-preview/itemData.d.ts +12 -0
  81. package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +56 -6
  82. package/dist/_dts/blocks/src/system/blocks/offerings-preview/photoCount.d.ts +3 -12
  83. package/dist/_dts/blocks/src/system/blocks/shared/siteTerms.d.ts +17 -0
  84. package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-layout.d.ts +23 -0
  85. package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-profile.d.ts +20 -0
  86. package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +17 -16
  87. package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +1 -1
  88. package/dist/_dts/blocks/src/system/customize/facets.d.ts +119 -9
  89. package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +2 -1
  90. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +24 -24
  91. package/dist/_dts/blocks/src/system/manifest/validation.d.ts +3 -1
  92. package/dist/_dts/blocks/src/system/node/fragments/backgroundLayer.d.ts +6 -0
  93. package/dist/_dts/blocks/src/system/node/fragments/index.d.ts +1 -0
  94. package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +22 -3
  95. package/dist/_dts/blocks/src/system/node/fragments/responsiveTwoColumn.d.ts +3 -1
  96. package/dist/_dts/blocks/src/system/node/fragments/sectionHead.d.ts +15 -0
  97. package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +4 -0
  98. package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -0
  99. package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +7 -0
  100. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +2 -0
  101. package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -0
  102. package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +3 -0
  103. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +51 -198
  104. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -99
  105. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFlowController.d.ts +2 -0
  106. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSubmission.d.ts +3 -2
  107. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +4 -0
  108. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +2 -0
  109. package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.d.ts +17 -0
  110. package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.state.d.ts +42 -0
  111. package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +22 -4
  112. package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +6 -2
  113. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
  114. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +4 -0
  115. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +15 -0
  116. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +1 -0
  117. package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -0
  118. package/dist/_dts/blocks/src/system/runtime/nodes/carousel.client.d.ts +5 -30
  119. package/dist/_dts/blocks/src/system/runtime/nodes/carousel.server.d.ts +3 -12
  120. package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +71 -1
  121. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +16 -4
  122. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
  123. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +3 -0
  124. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/CalendarAction.d.ts +5 -0
  125. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +2 -0
  126. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/bookingCalendar.d.ts +16 -0
  127. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -0
  128. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/finishedBooking.d.ts +8 -0
  129. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +2 -0
  130. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +3 -1
  131. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +42 -0
  132. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -0
  133. package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +1 -1
  134. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CardListItem.d.ts +26 -1
  135. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventItem.d.ts +17 -3
  136. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardListContent.d.ts +9 -1
  137. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +49 -21
  138. package/dist/_dts/blocks/src/system/runtime/nodes/form.fields.d.ts +5 -2
  139. package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +11 -79
  140. package/dist/_dts/blocks/src/system/runtime/nodes/form.parts.d.ts +7 -0
  141. package/dist/_dts/blocks/src/system/runtime/nodes/form.server.d.ts +2 -13
  142. package/dist/_dts/blocks/src/system/runtime/nodes/gifting.interactive.d.ts +8 -0
  143. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +8 -72
  144. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.parts.d.ts +6 -6
  145. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -2
  146. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-catalogue.d.ts +5 -3
  147. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-content.d.ts +4 -2
  148. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +2 -2
  149. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
  150. package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +14 -0
  151. package/dist/_dts/blocks/src/system/runtime/shared/components/CheckboxChoice.d.ts +3 -1
  152. package/dist/_dts/blocks/src/system/runtime/shared/components/SiteTermsAgreementField.d.ts +13 -0
  153. package/dist/_dts/blocks/src/system/runtime/shared/siteTermsAgreement.d.ts +81 -0
  154. package/dist/_dts/blocks/src/system/runtime/shared/siteTermsCheckoutApi.d.ts +14 -0
  155. package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -0
  156. package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +2 -0
  157. package/dist/_dts/blocks/src/system/transforms/registry/footerArrangement.d.ts +6 -0
  158. package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +0 -11
  159. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +3 -10
  160. package/dist/_dts/blocks/src/system/types/link.d.ts +2 -0
  161. package/dist/_dts/calendar/src/icsRenderer.d.ts +23 -0
  162. package/dist/_dts/calendar/src/index.d.ts +2 -0
  163. package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
  164. package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +1 -0
  165. package/dist/_dts/commerce/src/purchase/types.d.ts +5 -0
  166. package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +5 -2
  167. package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +1 -1
  168. package/dist/_dts/content-editor/src/FooterNavigationLayoutControl.d.ts +6 -3
  169. package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +3 -1
  170. package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +1 -1
  171. package/dist/_dts/content-editor/src/controller/publicationDate.d.ts +5 -0
  172. package/dist/_dts/content-editor/src/footerComposer.d.ts +2 -1
  173. package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +3 -1
  174. package/dist/_dts/content-editor/src/footerNavigationLayoutState.d.ts +56 -0
  175. package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +2 -1
  176. package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -4
  177. package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +11 -8
  178. package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +6 -5
  179. package/dist/_dts/content-model/src/content-types/schema.d.ts +4 -0
  180. package/dist/_dts/content-model/src/contentManifest.d.ts +10 -2
  181. package/dist/_dts/content-model/src/definitions/shared.d.ts +2 -0
  182. package/dist/_dts/core/src/booking-date-time.d.ts +5 -0
  183. package/dist/_dts/core/src/booking-refunds.d.ts +43 -0
  184. package/dist/_dts/core/src/branded.d.ts +6 -0
  185. package/dist/_dts/core/src/date-display.d.ts +90 -0
  186. package/dist/_dts/core/src/date-time-formatter.d.ts +2 -0
  187. package/dist/_dts/core/src/footer-arrangement.d.ts +8 -1
  188. package/dist/_dts/core/src/footer-composition-types.d.ts +6 -1
  189. package/dist/_dts/core/src/footer-composition.d.ts +1 -1
  190. package/dist/_dts/core/src/footer-navigation-layout.d.ts +3 -0
  191. package/dist/_dts/core/src/index.d.ts +4 -1
  192. package/dist/_dts/core/src/mailing-list-setup.d.ts +3 -0
  193. package/dist/_dts/core/src/mailing-list-submission.d.ts +6 -1
  194. package/dist/_dts/core/src/public-profile.d.ts +3 -1
  195. package/dist/_dts/core/src/scheduled-date-time.d.ts +69 -0
  196. package/dist/_dts/core/src/site-terms.d.ts +94 -0
  197. package/dist/_dts/core/src/whole-series-run-schedule.d.ts +2 -0
  198. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +356 -9
  199. package/dist/_dts/db/src/schemas/forms.d.ts +32 -32
  200. package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +2 -2
  201. package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +3 -2
  202. package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +2 -2
  203. package/dist/_dts/editor-blocks/src/widgets/link/LinkContentList.d.ts +2 -1
  204. package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +3 -0
  205. package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
  206. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +3 -0
  207. package/dist/_dts/editor-blocks/src/widgets/link/draft.d.ts +6 -1
  208. package/dist/_dts/editor-blocks/src/widgets/link/index.d.ts +1 -0
  209. package/dist/_dts/preview-next/src/client/blocks/ArrangementBlockToolbar.d.ts +2 -1
  210. package/dist/_dts/preview-next/src/client/blocks/arrangementControlsModel.d.ts +8 -1
  211. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +4 -1
  212. package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +3 -1
  213. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +3 -0
  214. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
  215. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -1
  216. package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +27 -5
  217. package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +2 -0
  218. package/dist/_dts/preview-next/src/client/preview/useConfirmedPreferenceRecord.d.ts +12 -0
  219. package/dist/_dts/preview-next/src/client/preview/usePersistedFooterPreferences.d.ts +26 -0
  220. package/dist/_dts/preview-next/src/client/preview/usePersistedHeaderPreferences.d.ts +40 -2
  221. package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -0
  222. package/dist/_dts/sdk/src/config/typed-entry-links.test-d.d.ts +1 -0
  223. package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
  224. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -46
  225. package/dist/_dts/sdk/src/date-time/index.d.ts +2 -68
  226. package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -2
  227. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
  228. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -1
  229. package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +7 -4
  230. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +3 -1
  231. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -1
  232. package/dist/_dts/sdk/src/version.d.ts +1 -1
  233. package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +1 -0
  234. package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +2 -0
  235. package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +2 -0
  236. package/dist/_dts/theme-core/src/buttons/styles/recipes/lanternRecipes.d.ts +60 -0
  237. package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +12 -8
  238. package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +69 -8
  239. package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +22 -1
  240. package/dist/_dts/theme-core/src/buttons/types.d.ts +358 -46
  241. package/dist/_dts/theme-core/src/buttons/typography.d.ts +24 -0
  242. package/dist/_dts/theme-core/src/cards/types.d.ts +8 -8
  243. package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +1 -1
  244. package/dist/_dts/theme-core/src/footer/generateFooterCss.d.ts +4 -1
  245. package/dist/_dts/theme-core/src/footer/mode.d.ts +2 -11
  246. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  247. package/dist/_dts/theme-core/src/header/containerSchema.d.ts +1 -0
  248. package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +3 -0
  249. package/dist/_dts/theme-core/src/inputs/checkable.d.ts +6 -0
  250. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +249 -147
  251. package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
  252. package/dist/_dts/theme-core/src/schema.d.ts +321 -192
  253. package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +2 -0
  254. package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +24 -7
  255. package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
  256. package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +4 -6
  257. package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +121 -0
  258. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +81 -1
  259. package/dist/_dts/theme-core/src/site-styles/footerLookDefaults.d.ts +45 -0
  260. package/dist/_dts/theme-core/src/site-styles/footerLookRecipe.d.ts +50 -0
  261. package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +9 -35
  262. package/dist/_dts/theme-core/src/site-styles/footerPreferences.d.ts +29 -0
  263. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
  264. package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +4 -0
  265. package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +2 -3
  266. package/dist/_dts/theme-core/src/site-styles/headerStyleRecipe.d.ts +13 -1
  267. package/dist/_dts/theme-core/src/site-styles/index.d.ts +4 -0
  268. package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +2 -2
  269. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
  270. package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +5 -0
  271. package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +8 -0
  272. package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +46 -0
  273. package/dist/_dts/theme-core/src/site-styles/themeParity.d.ts +1 -1
  274. package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
  275. package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +4 -1
  276. package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +2 -0
  277. package/dist/_dts/theme-core/src/typography/schema.d.ts +9 -0
  278. package/dist/_dts/ui/src/calendar.d.ts +6 -1
  279. package/dist/_dts/ui/src/card.d.ts +1 -1
  280. package/dist/_dts/ui/src/index.d.ts +1 -1
  281. package/dist/client/{BookingMailingListNote-DrchYW1m.mjs → BookingMailingListNote-CiW1dsz7.mjs} +3 -3
  282. package/dist/client/{CardListItem-CC_GVmF6.mjs → CardListItem-DVYTlYpS.mjs} +70 -13
  283. package/dist/client/CheckboxChoice-CUnPrBlC.mjs +44 -0
  284. package/dist/client/DemoBookingPortalAccess-DEsn5F2C.mjs +770 -0
  285. package/dist/client/{EventCombined.client-DyN0v0Xk.mjs → EventCombined.client-BdctbwnV.mjs} +5 -5
  286. package/dist/client/{EventEmbeddedCheckoutStep-CgfpKc3n.mjs → EventEmbeddedCheckoutStep-DAhQs6Jb.mjs} +2 -5
  287. package/dist/client/{EventListing.client-CuOuvYMz.mjs → EventListing.client-BviZXfAE.mjs} +2 -2
  288. package/dist/client/{mailingListSignupCopy-DZSHZrm6.mjs → FieldValidationMessage-AYanWFb-.mjs} +1 -14
  289. package/dist/client/{LeafletStaticMap-B0WhRr3j.mjs → LeafletStaticMap-BLTECfjU.mjs} +1 -1
  290. package/dist/client/{RichText-C1fIXBzA.mjs → RichText-D3oE1_pw.mjs} +77 -44
  291. package/dist/client/ThemedButton-Ckj0Rfr_.mjs +1256 -0
  292. package/dist/client/{accordion-DCDVWSye.mjs → accordion-yBx6d4O2.mjs} +1 -1
  293. package/dist/client/{bookingForm-BJ3C4GlM.mjs → bookingForm-CPDEsQci.mjs} +64 -35
  294. package/dist/client/bookings.mjs +19252 -15228
  295. package/dist/client/carousel-DCqjwd2s.mjs +71 -0
  296. package/dist/client/{carousel.client-GEtOGsxo.mjs → carousel.client-Bx7XMF8-.mjs} +114 -39
  297. package/dist/client/{cart-Yv-aAtck.mjs → cart-DWJXrQxs.mjs} +3 -3
  298. package/dist/client/{checkout-B9xDkl30.mjs → checkout-CH4ypSLS.mjs} +3 -3
  299. package/dist/client/client.mjs +13559 -7353
  300. package/dist/client/{context-BOGe3rIA.mjs → context-BOs0m_iw.mjs} +16 -12
  301. package/dist/client/{eventCalendar-D6M0T9hs.mjs → eventCalendar-CRylMllc.mjs} +8 -319
  302. package/dist/client/{eventCombined-NM4UFBq8.mjs → eventCombined-DohTS3kp.mjs} +4 -4
  303. package/dist/client/{eventDetails-f_FhV4O8.mjs → eventDetails-qf-u9zcF.mjs} +108 -36
  304. package/dist/client/{eventListing-WLkfAROh.mjs → eventListing-Cg__X2vy.mjs} +4 -4
  305. package/dist/client/{eventRegistration-D3ejfLvW.mjs → eventRegistration-CybWxswy.mjs} +215 -237
  306. package/dist/client/{form-D5Or2Jyu.mjs → form-C-SGk6nq.mjs} +115 -51
  307. package/dist/client/{headerSection-hWgnv27V.mjs → headerSection-BdzPaHqo.mjs} +3 -3
  308. package/dist/client/hooks.mjs +3280 -1362
  309. package/dist/client/{locationMap-Di1K0O2S.mjs → locationMap-CEwIKmMb.mjs} +3 -3
  310. package/dist/client/mailingListSignupCopy-DS-_ePzG.mjs +14 -0
  311. package/dist/client/{media-D29-F1u_.mjs → media-V_ShXXru.mjs} +3 -3
  312. package/dist/client/{mediaContext-CwbbimYB.mjs → mediaContext-D-0tNVxE.mjs} +1 -1
  313. package/dist/client/{newsletterForm-CwxcwTNO.mjs → newsletterForm-CmwTltoS.mjs} +52 -15
  314. package/dist/client/{productDetail-BLSnhPdA.mjs → productDetail-DjIzUwg3.mjs} +3 -3
  315. package/dist/client/{productList-oGytONOX.mjs → productList-D6JGFnMF.mjs} +3 -3
  316. package/dist/client/{propsDecoder-lf_dTeZS.mjs → propsDecoder-BRKz13eg.mjs} +17944 -14861
  317. package/dist/client/{renderableMediaAssetAdmission-CHkXYDC_.mjs → renderableMediaAssetAdmission-Cd3JSw2H.mjs} +3 -1
  318. package/dist/client/rendering/client.mjs +15893 -11685
  319. package/dist/client/rendering/islands.mjs +19 -19
  320. package/dist/client/rendering.mjs +14451 -8139
  321. package/dist/client/{routeIslandApiConfig-Bc_WVPS8.mjs → routeIslandApiConfig-slAAILQ5.mjs} +1 -1
  322. package/dist/client/{shop-BQ3bR7fA.mjs → shop-C45K96_0.mjs} +178 -157
  323. package/dist/client/{shop-commerce-DDPll6ZC.mjs → shop-commerce-oGBiKT5d.mjs} +23 -10
  324. package/dist/client/{shop-commerce-store-DO-e1pTe.mjs → shop-commerce-store-H_HFPFZ8.mjs} +1 -1
  325. package/dist/client/{shopShared-BylM9jh1.mjs → shopShared-D54T_LAV.mjs} +5 -5
  326. package/dist/client/{useDiscountCodeUi-B1Puub2v.mjs → useDiscountCodeUi-Dm2EUa03.mjs} +1 -1
  327. package/dist/client/{useEventPagination-BBhkmQaT.mjs → useEventPagination-0l_A8CxG.mjs} +62 -24
  328. package/dist/preview-next/before-render.mjs +134 -51
  329. package/dist/preview-next/client/runtime.mjs +3 -3
  330. package/dist/preview-next/editor-chrome.css +5 -2
  331. package/dist/preview-next/keepAlive.mjs +134 -51
  332. package/dist/preview-next/middleware.mjs +134 -51
  333. package/dist/{sdk-runtime-DWCvhJGu.mjs → sdk-runtime-CjTM32Ah.mjs} +1 -1
  334. package/dist/server/components.mjs +15231 -10855
  335. package/dist/server/config-validation.mjs +3153 -1323
  336. package/dist/server/config.mjs +3119 -1321
  337. package/dist/server/data.mjs +3201 -1329
  338. package/dist/server/date-time.mjs +270 -117
  339. package/dist/server/index.mjs +137 -52
  340. package/dist/server/next.mjs +14713 -10388
  341. package/dist/server/page-converter.mjs +2642 -1073
  342. package/dist/server/prebuild.mjs +1 -1
  343. package/dist/server/rendering/server.mjs +14674 -10630
  344. package/dist/server/rendering.mjs +15055 -10670
  345. package/dist/server/routing.mjs +3483 -1488
  346. package/dist/server/server.mjs +3620 -1740
  347. package/dist/server/theme-bridge.mjs +2694 -189
  348. package/dist/server/theme.mjs +422 -67
  349. package/dist/{spinner-BYM-Y81w.mjs → spinner-KVVZh8jd.mjs} +1 -1
  350. package/dist/src-BgmWy3P1.mjs +1667 -0
  351. package/dist/styles/index.css +1196 -2
  352. package/package.json +1 -1
  353. package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +0 -12
  354. package/dist/client/CheckboxChoice-Dq30m3DO.mjs +0 -24
  355. package/dist/client/DemoBookingPortalAccess-ojwbVUmx.mjs +0 -344
  356. package/dist/client/ThemedButton-B7HFqFBg.mjs +0 -411
  357. package/dist/client/carousel-BSCBhfHY.mjs +0 -38
@@ -1,411 +0,0 @@
1
- import { Gr as themeButtonVariantClassNames, Wr as themeButtonSizeClassName, ni as clsx } from "./propsDecoder-lf_dTeZS.mjs";
2
- import "react";
3
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
- //#region ../blocks/src/system/runtime/nodes/spinner.tsx
5
- function resolveColorStyle(color) {
6
- switch (color) {
7
- case void 0: return;
8
- case "inherit": return { color: "inherit" };
9
- case "foreground": return { color: "rgb(var(--tb-foreground))" };
10
- case "text": return { color: "rgb(var(--tb-text))" };
11
- default: return;
12
- }
13
- }
14
- function SpinnerNode({ className, size = "md", color, strokeWidth = 3, srLabel, style, ...rest }) {
15
- const hasExplicitAriaLabel = typeof rest["aria-label"] === "string" && rest["aria-label"].trim().length > 0;
16
- const accessibilityProps = srLabel ? {
17
- role: "status",
18
- "aria-live": "polite"
19
- } : hasExplicitAriaLabel ? {} : { "aria-hidden": true };
20
- const trackStroke = color === "inherit" ? "currentColor" : "var(--rb-spinner-track-color)";
21
- const trackOpacity = color === "inherit" ? .25 : 1;
22
- return /* @__PURE__ */ jsxs("span", {
23
- ...accessibilityProps,
24
- className: clsx("rb-spinner", size ? `rb-spinner--${size}` : null, color === "inherit" ? "rb-spinner--inherit" : null, className),
25
- style: {
26
- ...resolveColorStyle(color),
27
- ...style ?? {}
28
- },
29
- ...rest,
30
- children: [/* @__PURE__ */ jsxs("svg", {
31
- viewBox: "0 0 24 24",
32
- fill: "none",
33
- "aria-hidden": "true",
34
- children: [/* @__PURE__ */ jsx("circle", {
35
- cx: "12",
36
- cy: "12",
37
- r: "10",
38
- stroke: trackStroke,
39
- strokeWidth,
40
- opacity: trackOpacity
41
- }), /* @__PURE__ */ jsx("path", {
42
- d: "M12 2a10 10 0 0 1 10 10",
43
- stroke: "currentColor",
44
- strokeWidth,
45
- strokeLinecap: "round"
46
- })]
47
- }), srLabel ? /* @__PURE__ */ jsx("span", {
48
- className: "rb-sr-only",
49
- children: srLabel
50
- }) : null]
51
- });
52
- }
53
- //#endregion
54
- //#region ../blocks/src/system/icons/svg.tsx
55
- function createIcon(displayName, children) {
56
- const Icon = ({ size = "1em", strokeWidth = 2, title, className, focusable = false, role, ...props }) => /* @__PURE__ */ jsxs("svg", {
57
- "aria-hidden": title ? void 0 : true,
58
- className,
59
- "data-rb-icon": displayName.replace(/Icon$/, ""),
60
- fill: "none",
61
- focusable,
62
- height: size,
63
- role: title ? role ?? "img" : role,
64
- stroke: "currentColor",
65
- strokeLinecap: "round",
66
- strokeLinejoin: "round",
67
- strokeWidth,
68
- viewBox: "0 0 24 24",
69
- width: size,
70
- xmlns: "http://www.w3.org/2000/svg",
71
- ...props,
72
- children: [title ? /* @__PURE__ */ jsx("title", { children: title }) : null, children]
73
- });
74
- Icon.displayName = displayName;
75
- return Icon;
76
- }
77
- createIcon("ArrowDownIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M12 5v14" }), /* @__PURE__ */ jsx("path", { d: "m6 13 6 6 6-6" })] }));
78
- createIcon("ArrowLeftIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M19 12H5" }), /* @__PURE__ */ jsx("path", { d: "m11 6-6 6 6 6" })] }));
79
- createIcon("ArrowRightIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M5 12h14" }), /* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })] }));
80
- createIcon("AwardIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("circle", {
81
- cx: "12",
82
- cy: "8",
83
- r: "4"
84
- }), /* @__PURE__ */ jsx("path", { d: "m8.5 12.5-1.5 7 5-3 5 3-1.5-7" })] }));
85
- createIcon("BadgeCheckIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "m8 3 4-1 4 1 3 3 1 4-1 4-3 3-4 1-4-1-3-3-1-4 1-4Z" }), /* @__PURE__ */ jsx("path", { d: "m8.5 11.5 2.5 2.5 4.5-5" })] }));
86
- createIcon("BookOpenIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
87
- /* @__PURE__ */ jsx("path", { d: "M4 5.5A3 3 0 0 1 7 4h13v15H7a3 3 0 0 0-3 1.5Z" }),
88
- /* @__PURE__ */ jsx("path", { d: "M4 5.5V20" }),
89
- /* @__PURE__ */ jsx("path", { d: "M12 4v15" })
90
- ] }));
91
- createIcon("BrainIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
92
- /* @__PURE__ */ jsx("path", { d: "M9 4a4 4 0 0 0-4 4 4 4 0 0 0 0 8 4 4 0 0 0 4 4" }),
93
- /* @__PURE__ */ jsx("path", { d: "M15 4a4 4 0 0 1 4 4 4 4 0 0 1 0 8 4 4 0 0 1-4 4" }),
94
- /* @__PURE__ */ jsx("path", { d: "M9 4v16" }),
95
- /* @__PURE__ */ jsx("path", { d: "M15 4v16" }),
96
- /* @__PURE__ */ jsx("path", { d: "M9 8h6" }),
97
- /* @__PURE__ */ jsx("path", { d: "M9 14h6" })
98
- ] }));
99
- createIcon("BriefcaseBusinessIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
100
- /* @__PURE__ */ jsx("path", { d: "M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2" }),
101
- /* @__PURE__ */ jsx("rect", {
102
- x: "3",
103
- y: "7",
104
- width: "18",
105
- height: "13",
106
- rx: "2"
107
- }),
108
- /* @__PURE__ */ jsx("path", { d: "M3 12h18" }),
109
- /* @__PURE__ */ jsx("path", { d: "M9 12v2" }),
110
- /* @__PURE__ */ jsx("path", { d: "M15 12v2" })
111
- ] }));
112
- createIcon("CalendarIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
113
- /* @__PURE__ */ jsx("path", { d: "M8 3v4" }),
114
- /* @__PURE__ */ jsx("path", { d: "M16 3v4" }),
115
- /* @__PURE__ */ jsx("rect", {
116
- x: "4",
117
- y: "5",
118
- width: "16",
119
- height: "16",
120
- rx: "2"
121
- }),
122
- /* @__PURE__ */ jsx("path", { d: "M4 10h16" })
123
- ] }));
124
- createIcon("CheckIcon", /* @__PURE__ */ jsx("path", { d: "m5 12 4 4L19 6" }));
125
- createIcon("ChevronDownIcon", /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" }));
126
- createIcon("ChevronLeftIcon", /* @__PURE__ */ jsx("path", { d: "m15 18-6-6 6-6" }));
127
- createIcon("ChevronRightIcon", /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" }));
128
- createIcon("ChevronUpIcon", /* @__PURE__ */ jsx("path", { d: "m18 15-6-6-6 6" }));
129
- createIcon("CircleMinusIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("circle", {
130
- cx: "12",
131
- cy: "12",
132
- r: "9"
133
- }), /* @__PURE__ */ jsx("path", { d: "M8 12h8" })] }));
134
- createIcon("CirclePlusIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
135
- /* @__PURE__ */ jsx("circle", {
136
- cx: "12",
137
- cy: "12",
138
- r: "9"
139
- }),
140
- /* @__PURE__ */ jsx("path", { d: "M8 12h8" }),
141
- /* @__PURE__ */ jsx("path", { d: "M12 8v8" })
142
- ] }));
143
- const ClockIcon = createIcon("ClockIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("circle", {
144
- cx: "12",
145
- cy: "12",
146
- r: "9"
147
- }), /* @__PURE__ */ jsx("path", { d: "M12 7v5l3 2" })] }));
148
- createIcon("CompassIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("circle", {
149
- cx: "12",
150
- cy: "12",
151
- r: "9"
152
- }), /* @__PURE__ */ jsx("path", { d: "m15 9-2 6-4 2 2-6Z" })] }));
153
- createIcon("DownloadIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
154
- /* @__PURE__ */ jsx("path", { d: "M12 3v12" }),
155
- /* @__PURE__ */ jsx("path", { d: "m7 10 5 5 5-5" }),
156
- /* @__PURE__ */ jsx("path", { d: "M5 21h14" })
157
- ] }));
158
- createIcon("ExternalLinkIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
159
- /* @__PURE__ */ jsx("path", { d: "M14 4h6v6" }),
160
- /* @__PURE__ */ jsx("path", { d: "m10 14 10-10" }),
161
- /* @__PURE__ */ jsx("path", { d: "M20 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5" })
162
- ] }));
163
- createIcon("FileArchiveIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
164
- /* @__PURE__ */ jsx("path", { d: "M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z" }),
165
- /* @__PURE__ */ jsx("path", { d: "M14 2v5h5" }),
166
- /* @__PURE__ */ jsx("path", { d: "M10 7h2" }),
167
- /* @__PURE__ */ jsx("path", { d: "M10 11h2" }),
168
- /* @__PURE__ */ jsx("path", { d: "M10 15h4v4h-4Z" })
169
- ] }));
170
- createIcon("FileAudioIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
171
- /* @__PURE__ */ jsx("path", { d: "M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z" }),
172
- /* @__PURE__ */ jsx("path", { d: "M14 2v5h5" }),
173
- /* @__PURE__ */ jsx("path", { d: "M10 16V10l5-2v6" }),
174
- /* @__PURE__ */ jsx("circle", {
175
- cx: "9",
176
- cy: "17",
177
- r: "1.5"
178
- }),
179
- /* @__PURE__ */ jsx("circle", {
180
- cx: "15",
181
- cy: "15",
182
- r: "1.5"
183
- })
184
- ] }));
185
- createIcon("FileSpreadsheetIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
186
- /* @__PURE__ */ jsx("path", { d: "M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z" }),
187
- /* @__PURE__ */ jsx("path", { d: "M14 2v5h5" }),
188
- /* @__PURE__ */ jsx("path", { d: "M8 12h8" }),
189
- /* @__PURE__ */ jsx("path", { d: "M8 16h8" }),
190
- /* @__PURE__ */ jsx("path", { d: "M12 10v8" })
191
- ] }));
192
- createIcon("FileTextIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
193
- /* @__PURE__ */ jsx("path", { d: "M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z" }),
194
- /* @__PURE__ */ jsx("path", { d: "M14 2v5h5" }),
195
- /* @__PURE__ */ jsx("path", { d: "M9 13h6" }),
196
- /* @__PURE__ */ jsx("path", { d: "M9 17h6" })
197
- ] }));
198
- createIcon("Flower2Icon", /* @__PURE__ */ jsxs(Fragment, { children: [
199
- /* @__PURE__ */ jsx("circle", {
200
- cx: "12",
201
- cy: "12",
202
- r: "2"
203
- }),
204
- /* @__PURE__ */ jsx("path", { d: "M12 10C8 4 16 4 12 10Z" }),
205
- /* @__PURE__ */ jsx("path", { d: "M14 12c6-4 6 4 0 0Z" }),
206
- /* @__PURE__ */ jsx("path", { d: "M12 14c4 6-4 6 0 0Z" }),
207
- /* @__PURE__ */ jsx("path", { d: "M10 12c-6 4-6-4 0 0Z" })
208
- ] }));
209
- createIcon("GlobeIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
210
- /* @__PURE__ */ jsx("circle", {
211
- cx: "12",
212
- cy: "12",
213
- r: "9"
214
- }),
215
- /* @__PURE__ */ jsx("path", { d: "M3 12h18" }),
216
- /* @__PURE__ */ jsx("path", { d: "M12 3a14 14 0 0 1 0 18" }),
217
- /* @__PURE__ */ jsx("path", { d: "M12 3a14 14 0 0 0 0 18" })
218
- ] }));
219
- createIcon("GraduationCapIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
220
- /* @__PURE__ */ jsx("path", { d: "m3 8 9-4 9 4-9 4Z" }),
221
- /* @__PURE__ */ jsx("path", { d: "M7 10v5c3 3 7 3 10 0v-5" }),
222
- /* @__PURE__ */ jsx("path", { d: "M21 8v6" })
223
- ] }));
224
- createIcon("HandHeartIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
225
- /* @__PURE__ */ jsx("path", { d: "M3 15h4l4 4h5l5-5" }),
226
- /* @__PURE__ */ jsx("path", { d: "M7 15l3-3h4a2 2 0 0 1 2 2" }),
227
- /* @__PURE__ */ jsx("path", { d: "M12 8c-2-2-5 1-2 4l2 2 2-2c3-3 0-6-2-4Z" })
228
- ] }));
229
- createIcon("HeartIcon", /* @__PURE__ */ jsx("path", { d: "M12 21s-8-5-8-11a5 5 0 0 1 8-4 5 5 0 0 1 8 4c0 6-8 11-8 11Z" }));
230
- createIcon("HeartHandshakeIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M12 21s-8-5-8-11a5 5 0 0 1 8-4 5 5 0 0 1 8 4c0 6-8 11-8 11Z" }), /* @__PURE__ */ jsx("path", { d: "m8 12 2 2 2-2 2 2 2-2" })] }));
231
- createIcon("HomeIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
232
- /* @__PURE__ */ jsx("path", { d: "m3 11 9-8 9 8" }),
233
- /* @__PURE__ */ jsx("path", { d: "M5 10v10h14V10" }),
234
- /* @__PURE__ */ jsx("path", { d: "M9 20v-6h6v6" })
235
- ] }));
236
- createIcon("InfoIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
237
- /* @__PURE__ */ jsx("circle", {
238
- cx: "12",
239
- cy: "12",
240
- r: "9"
241
- }),
242
- /* @__PURE__ */ jsx("path", { d: "M12 11v6" }),
243
- /* @__PURE__ */ jsx("path", { d: "M12 7h.01" })
244
- ] }));
245
- createIcon("LeafIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M5 20C5 10 12 4 21 4c0 9-6 16-16 16Z" }), /* @__PURE__ */ jsx("path", { d: "M5 20c4-5 8-8 13-11" })] }));
246
- createIcon("LightbulbIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
247
- /* @__PURE__ */ jsx("path", { d: "M9 18h6" }),
248
- /* @__PURE__ */ jsx("path", { d: "M10 22h4" }),
249
- /* @__PURE__ */ jsx("path", { d: "M8 14a6 6 0 1 1 8 0c-1 1-1 2-1 4H9c0-2 0-3-1-4Z" })
250
- ] }));
251
- createIcon("LockIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("rect", {
252
- x: "5",
253
- y: "10",
254
- width: "14",
255
- height: "10",
256
- rx: "2"
257
- }), /* @__PURE__ */ jsx("path", { d: "M8 10V7a4 4 0 0 1 8 0v3" })] }));
258
- createIcon("MailIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("rect", {
259
- x: "3",
260
- y: "5",
261
- width: "18",
262
- height: "14",
263
- rx: "2"
264
- }), /* @__PURE__ */ jsx("path", { d: "m3 7 9 6 9-6" })] }));
265
- createIcon("MapPinIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M12 21s7-5 7-12a7 7 0 0 0-14 0c0 7 7 12 7 12Z" }), /* @__PURE__ */ jsx("circle", {
266
- cx: "12",
267
- cy: "9",
268
- r: "2.5"
269
- })] }));
270
- createIcon("MessageCircleIcon", /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M21 11.5a8.5 8.5 0 0 1-12.6 7.4L3 20l1.1-5.3A8.5 8.5 0 1 1 21 11.5Z" }) }));
271
- createIcon("MinusIcon", /* @__PURE__ */ jsx("path", { d: "M5 12h14" }));
272
- createIcon("PackageIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
273
- /* @__PURE__ */ jsx("path", { d: "m12 3 8 4.5v9L12 21l-8-4.5v-9Z" }),
274
- /* @__PURE__ */ jsx("path", { d: "M12 12 4 7.5" }),
275
- /* @__PURE__ */ jsx("path", { d: "m12 12 8-4.5" }),
276
- /* @__PURE__ */ jsx("path", { d: "M12 12v9" })
277
- ] }));
278
- createIcon("PhoneIcon", /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M22 16.9v3a2 2 0 0 1-2.2 2A19 19 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7l.4 2.5a2 2 0 0 1-.6 1.8L7.7 9.2a13 13 0 0 0 7.1 7.1l1.2-1.2a2 2 0 0 1 1.8-.6l2.5.4a2 2 0 0 1 1.7 2Z" }) }));
279
- createIcon("PlayIcon", /* @__PURE__ */ jsx("path", { d: "m8 5 11 7-11 7Z" }));
280
- createIcon("PlusIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M12 5v14" }), /* @__PURE__ */ jsx("path", { d: "M5 12h14" })] }));
281
- createIcon("ShieldIcon", /* @__PURE__ */ jsx("path", { d: "M12 22s8-4 8-11V5l-8-3-8 3v6c0 7 8 11 8 11Z" }));
282
- createIcon("ShoppingBagIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M6 8h12l1 13H5Z" }), /* @__PURE__ */ jsx("path", { d: "M9 8a3 3 0 0 1 6 0" })] }));
283
- createIcon("ShoppingCartIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
284
- /* @__PURE__ */ jsx("circle", {
285
- cx: "9",
286
- cy: "20",
287
- r: "1"
288
- }),
289
- /* @__PURE__ */ jsx("circle", {
290
- cx: "18",
291
- cy: "20",
292
- r: "1"
293
- }),
294
- /* @__PURE__ */ jsx("path", { d: "M2 3h3l3 12h10l3-8H7" })
295
- ] }));
296
- createIcon("SmileIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
297
- /* @__PURE__ */ jsx("circle", {
298
- cx: "12",
299
- cy: "12",
300
- r: "9"
301
- }),
302
- /* @__PURE__ */ jsx("path", { d: "M8 14s1.5 2 4 2 4-2 4-2" }),
303
- /* @__PURE__ */ jsx("path", { d: "M9 9h.01" }),
304
- /* @__PURE__ */ jsx("path", { d: "M15 9h.01" })
305
- ] }));
306
- createIcon("SparklesIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "m12 3 2 5 5 2-5 2-2 5-2-5-5-2 5-2Z" }), /* @__PURE__ */ jsx("path", { d: "m19 15 .8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8Z" })] }));
307
- createIcon("SproutIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
308
- /* @__PURE__ */ jsx("path", { d: "M12 21V10" }),
309
- /* @__PURE__ */ jsx("path", { d: "M12 10C8 5 4 6 3 10c4 1 7 0 9 0Z" }),
310
- /* @__PURE__ */ jsx("path", { d: "M12 11c4-5 8-4 9 0-4 1-7 0-9 0Z" })
311
- ] }));
312
- createIcon("StarIcon", /* @__PURE__ */ jsx("path", { d: "m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2L12 17.2 6.4 20.2 7.5 14 3 9.6l6.2-.9Z" }));
313
- createIcon("TargetIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
314
- /* @__PURE__ */ jsx("circle", {
315
- cx: "12",
316
- cy: "12",
317
- r: "9"
318
- }),
319
- /* @__PURE__ */ jsx("circle", {
320
- cx: "12",
321
- cy: "12",
322
- r: "5"
323
- }),
324
- /* @__PURE__ */ jsx("circle", {
325
- cx: "12",
326
- cy: "12",
327
- r: "1"
328
- })
329
- ] }));
330
- createIcon("UploadIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
331
- /* @__PURE__ */ jsx("path", { d: "M12 21V9" }),
332
- /* @__PURE__ */ jsx("path", { d: "m7 14 5-5 5 5" }),
333
- /* @__PURE__ */ jsx("path", { d: "M5 3h14" })
334
- ] }));
335
- createIcon("UserRoundCheckIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
336
- /* @__PURE__ */ jsx("circle", {
337
- cx: "10",
338
- cy: "8",
339
- r: "4"
340
- }),
341
- /* @__PURE__ */ jsx("path", { d: "M3 21a7 7 0 0 1 11.5-5.3" }),
342
- /* @__PURE__ */ jsx("path", { d: "m15 19 2 2 4-5" })
343
- ] }));
344
- createIcon("UsersIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
345
- /* @__PURE__ */ jsx("circle", {
346
- cx: "9",
347
- cy: "8",
348
- r: "4"
349
- }),
350
- /* @__PURE__ */ jsx("path", { d: "M2 21a7 7 0 0 1 14 0" }),
351
- /* @__PURE__ */ jsx("path", { d: "M17 11a4 4 0 0 0 0-7" }),
352
- /* @__PURE__ */ jsx("path", { d: "M22 21a7 7 0 0 0-5-6.7" })
353
- ] }));
354
- createIcon("WrenchIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M14.7 6.3A5 5 0 0 0 7 12.6L3.5 16a2.1 2.1 0 0 0 3 3L10 15.5A5 5 0 0 0 16.7 9Z" }), /* @__PURE__ */ jsx("path", { d: "m15 5 4 4" })] }));
355
- createIcon("XIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }), /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })] }));
356
- //#endregion
357
- //#region ../blocks/src/system/runtime/shared/components/ThemedButton.tsx
358
- function themedButtonClasses(variant, size, extraClassName) {
359
- return [
360
- ...themeButtonVariantClassNames(variant),
361
- themeButtonSizeClassName(size),
362
- extraClassName
363
- ].filter(Boolean).join(" ");
364
- }
365
- function ThemedButtonLabel(props) {
366
- const content = /* @__PURE__ */ jsxs(Fragment, { children: [
367
- props.pending ? /* @__PURE__ */ jsx(SpinnerNode, {
368
- size: props.pending.spinnerSize ?? "sm",
369
- color: "inherit",
370
- className: props.pending.spinnerClassName ?? "rb-mr-2",
371
- srLabel: props.pending.srLabel
372
- }) : null,
373
- props.labelClassName ? /* @__PURE__ */ jsx("span", {
374
- className: props.labelClassName,
375
- children: props.pending?.label ?? props.label
376
- }) : props.pending?.label ?? props.label,
377
- props.screenReaderSuffix ? /* @__PURE__ */ jsx("span", {
378
- className: "rb-sr-only",
379
- children: props.screenReaderSuffix
380
- }) : null
381
- ] });
382
- return props.pending?.contentClassName ? /* @__PURE__ */ jsx("span", {
383
- className: props.pending.contentClassName,
384
- children: content
385
- }) : content;
386
- }
387
- function ThemedButton({ variant, size, extraClassName, screenReaderSuffix, labelClassName, pending, label, ...buttonProps }) {
388
- return /* @__PURE__ */ jsx("button", {
389
- ...buttonProps,
390
- className: themedButtonClasses(variant, size, extraClassName),
391
- children: /* @__PURE__ */ jsx(ThemedButtonLabel, {
392
- label,
393
- pending,
394
- screenReaderSuffix,
395
- labelClassName
396
- })
397
- });
398
- }
399
- function ThemedButtonLink({ variant, size, extraClassName, screenReaderSuffix, labelClassName, label, ...anchorProps }) {
400
- return /* @__PURE__ */ jsx("a", {
401
- ...anchorProps,
402
- className: themedButtonClasses(variant, size, extraClassName),
403
- children: /* @__PURE__ */ jsx(ThemedButtonLabel, {
404
- label,
405
- screenReaderSuffix,
406
- labelClassName
407
- })
408
- });
409
- }
410
- //#endregion
411
- export { SpinnerNode as i, ThemedButtonLink as n, ClockIcon as r, ThemedButton as t };
@@ -1,38 +0,0 @@
1
- import { t as defineIslandPropsDecoder } from "./propsDecoder-lf_dTeZS.mjs";
2
- import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
3
- import { n as normalizeCarouselProps, t as CarouselNodeClient } from "./carousel.client-GEtOGsxo.mjs";
4
- import "react";
5
- import { jsx } from "react/jsx-runtime";
6
- //#region src/rendering/islands/enhancers/carousel.tsx
7
- const decode = defineIslandPropsDecoder("carousel");
8
- /**
9
- * Extract slides from SSR markup before React mounting.
10
- * Looks for elements with data-carousel-slide attribute or falls back to direct children.
11
- */
12
- function extractSlides(root) {
13
- const track = root.querySelector(".rb-overflow-x-auto, .overflow-x-auto")?.querySelector(".rb-flex, .flex");
14
- if (!track) return [];
15
- return Array.from(track.children).filter((el) => el instanceof HTMLElement).map((el) => ({ html: el.innerHTML }));
16
- }
17
- const enhance = (root, props) => {
18
- if (root.dataset.rbReactMounted === "true") return;
19
- const extractedSlides = extractSlides(root);
20
- const parsedProps = normalizeCarouselProps(props);
21
- return mountReactIsland(root, ({ root: reactRoot }) => {
22
- reactRoot.render(/* @__PURE__ */ jsx(CarouselNodeClient, {
23
- renderRoot: false,
24
- arrangement: props.arrangement,
25
- slidesToShow: parsedProps.slidesToShow,
26
- transition: parsedProps.transition,
27
- showControls: parsedProps.showControls,
28
- showDots: parsedProps.showDots,
29
- arrowVisibility: parsedProps.arrowVisibility,
30
- autoplay: parsedProps.autoplay,
31
- autoplayDelay: parsedProps.autoplayDelay,
32
- loop: parsedProps.loop,
33
- children: extractedSlides.map((slide, index) => /* @__PURE__ */ jsx("div", { dangerouslySetInnerHTML: { __html: slide.html } }, index))
34
- }));
35
- });
36
- };
37
- //#endregion
38
- export { decode, enhance };