@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
@@ -0,0 +1,1256 @@
1
+ import { Gr as themeButtonExtraClassesWithTrailingIcon, Kr as themeButtonSizeClassName, ii as clsx, qr as themeButtonVariantClassNames } from "./propsDecoder-BRKz13eg.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/runtime/nodes/buttonAffordance.ts
55
+ function normalize(value) {
56
+ const trimmed = typeof value === "string" ? value.trim() : "";
57
+ return trimmed.length > 0 ? trimmed : null;
58
+ }
59
+ /**
60
+ * Resolve the node-authored trailing affordance, or `null` when no icon exists.
61
+ */
62
+ function resolveButtonAffordance(input) {
63
+ const nodeIcon = normalize(input.trailingIcon);
64
+ if (nodeIcon) return { iconId: nodeIcon };
65
+ return null;
66
+ }
67
+ //#endregion
68
+ //#region ../blocks/src/system/icons/svg.tsx
69
+ function createIcon(displayName, children) {
70
+ const Icon = ({ size = "1em", strokeWidth = 2, title, className, focusable = false, role, ...props }) => /* @__PURE__ */ jsxs("svg", {
71
+ "aria-hidden": title ? void 0 : true,
72
+ className,
73
+ "data-rb-icon": displayName.replace(/Icon$/, ""),
74
+ fill: "none",
75
+ focusable,
76
+ height: size,
77
+ role: title ? role ?? "img" : role,
78
+ stroke: "currentColor",
79
+ strokeLinecap: "round",
80
+ strokeLinejoin: "round",
81
+ strokeWidth,
82
+ viewBox: "0 0 24 24",
83
+ width: size,
84
+ xmlns: "http://www.w3.org/2000/svg",
85
+ ...props,
86
+ children: [title ? /* @__PURE__ */ jsx("title", { children: title }) : null, children]
87
+ });
88
+ Icon.displayName = displayName;
89
+ return Icon;
90
+ }
91
+ createIcon("ArrowDownIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M12 5v14" }), /* @__PURE__ */ jsx("path", { d: "m6 13 6 6 6-6" })] }));
92
+ const ArrowLeftIcon = createIcon("ArrowLeftIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M19 12H5" }), /* @__PURE__ */ jsx("path", { d: "m11 6-6 6 6 6" })] }));
93
+ const ArrowRightIcon = createIcon("ArrowRightIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M5 12h14" }), /* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })] }));
94
+ const AwardIcon = createIcon("AwardIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("circle", {
95
+ cx: "12",
96
+ cy: "8",
97
+ r: "4"
98
+ }), /* @__PURE__ */ jsx("path", { d: "m8.5 12.5-1.5 7 5-3 5 3-1.5-7" })] }));
99
+ const BadgeCheckIcon = 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" })] }));
100
+ const BookOpenIcon = createIcon("BookOpenIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
101
+ /* @__PURE__ */ jsx("path", { d: "M4 5.5A3 3 0 0 1 7 4h13v15H7a3 3 0 0 0-3 1.5Z" }),
102
+ /* @__PURE__ */ jsx("path", { d: "M4 5.5V20" }),
103
+ /* @__PURE__ */ jsx("path", { d: "M12 4v15" })
104
+ ] }));
105
+ const BrainIcon = createIcon("BrainIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
106
+ /* @__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" }),
107
+ /* @__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" }),
108
+ /* @__PURE__ */ jsx("path", { d: "M9 4v16" }),
109
+ /* @__PURE__ */ jsx("path", { d: "M15 4v16" }),
110
+ /* @__PURE__ */ jsx("path", { d: "M9 8h6" }),
111
+ /* @__PURE__ */ jsx("path", { d: "M9 14h6" })
112
+ ] }));
113
+ const BriefcaseBusinessIcon = createIcon("BriefcaseBusinessIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
114
+ /* @__PURE__ */ jsx("path", { d: "M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2" }),
115
+ /* @__PURE__ */ jsx("rect", {
116
+ x: "3",
117
+ y: "7",
118
+ width: "18",
119
+ height: "13",
120
+ rx: "2"
121
+ }),
122
+ /* @__PURE__ */ jsx("path", { d: "M3 12h18" }),
123
+ /* @__PURE__ */ jsx("path", { d: "M9 12v2" }),
124
+ /* @__PURE__ */ jsx("path", { d: "M15 12v2" })
125
+ ] }));
126
+ const CalendarIcon = createIcon("CalendarIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
127
+ /* @__PURE__ */ jsx("path", { d: "M8 3v4" }),
128
+ /* @__PURE__ */ jsx("path", { d: "M16 3v4" }),
129
+ /* @__PURE__ */ jsx("rect", {
130
+ x: "4",
131
+ y: "5",
132
+ width: "16",
133
+ height: "16",
134
+ rx: "2"
135
+ }),
136
+ /* @__PURE__ */ jsx("path", { d: "M4 10h16" })
137
+ ] }));
138
+ const CalendarDaysIcon = CalendarIcon;
139
+ const CheckIcon = createIcon("CheckIcon", /* @__PURE__ */ jsx("path", { d: "m5 12 4 4L19 6" }));
140
+ const ChevronDownIcon = createIcon("ChevronDownIcon", /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" }));
141
+ const ChevronLeftIcon = createIcon("ChevronLeftIcon", /* @__PURE__ */ jsx("path", { d: "m15 18-6-6 6-6" }));
142
+ const ChevronRightIcon = createIcon("ChevronRightIcon", /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" }));
143
+ const ChevronUpIcon = createIcon("ChevronUpIcon", /* @__PURE__ */ jsx("path", { d: "m18 15-6-6-6 6" }));
144
+ createIcon("CircleMinusIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("circle", {
145
+ cx: "12",
146
+ cy: "12",
147
+ r: "9"
148
+ }), /* @__PURE__ */ jsx("path", { d: "M8 12h8" })] }));
149
+ createIcon("CirclePlusIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
150
+ /* @__PURE__ */ jsx("circle", {
151
+ cx: "12",
152
+ cy: "12",
153
+ r: "9"
154
+ }),
155
+ /* @__PURE__ */ jsx("path", { d: "M8 12h8" }),
156
+ /* @__PURE__ */ jsx("path", { d: "M12 8v8" })
157
+ ] }));
158
+ const ClockIcon = createIcon("ClockIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("circle", {
159
+ cx: "12",
160
+ cy: "12",
161
+ r: "9"
162
+ }), /* @__PURE__ */ jsx("path", { d: "M12 7v5l3 2" })] }));
163
+ const CompassIcon = createIcon("CompassIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("circle", {
164
+ cx: "12",
165
+ cy: "12",
166
+ r: "9"
167
+ }), /* @__PURE__ */ jsx("path", { d: "m15 9-2 6-4 2 2-6Z" })] }));
168
+ const DownloadIcon = createIcon("DownloadIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
169
+ /* @__PURE__ */ jsx("path", { d: "M12 3v12" }),
170
+ /* @__PURE__ */ jsx("path", { d: "m7 10 5 5 5-5" }),
171
+ /* @__PURE__ */ jsx("path", { d: "M5 21h14" })
172
+ ] }));
173
+ const ExternalLinkIcon = createIcon("ExternalLinkIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
174
+ /* @__PURE__ */ jsx("path", { d: "M14 4h6v6" }),
175
+ /* @__PURE__ */ jsx("path", { d: "m10 14 10-10" }),
176
+ /* @__PURE__ */ jsx("path", { d: "M20 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5" })
177
+ ] }));
178
+ createIcon("FileArchiveIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
179
+ /* @__PURE__ */ jsx("path", { d: "M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z" }),
180
+ /* @__PURE__ */ jsx("path", { d: "M14 2v5h5" }),
181
+ /* @__PURE__ */ jsx("path", { d: "M10 7h2" }),
182
+ /* @__PURE__ */ jsx("path", { d: "M10 11h2" }),
183
+ /* @__PURE__ */ jsx("path", { d: "M10 15h4v4h-4Z" })
184
+ ] }));
185
+ createIcon("FileAudioIcon", /* @__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: "M10 16V10l5-2v6" }),
189
+ /* @__PURE__ */ jsx("circle", {
190
+ cx: "9",
191
+ cy: "17",
192
+ r: "1.5"
193
+ }),
194
+ /* @__PURE__ */ jsx("circle", {
195
+ cx: "15",
196
+ cy: "15",
197
+ r: "1.5"
198
+ })
199
+ ] }));
200
+ createIcon("FileSpreadsheetIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
201
+ /* @__PURE__ */ jsx("path", { d: "M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z" }),
202
+ /* @__PURE__ */ jsx("path", { d: "M14 2v5h5" }),
203
+ /* @__PURE__ */ jsx("path", { d: "M8 12h8" }),
204
+ /* @__PURE__ */ jsx("path", { d: "M8 16h8" }),
205
+ /* @__PURE__ */ jsx("path", { d: "M12 10v8" })
206
+ ] }));
207
+ createIcon("FileTextIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
208
+ /* @__PURE__ */ jsx("path", { d: "M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z" }),
209
+ /* @__PURE__ */ jsx("path", { d: "M14 2v5h5" }),
210
+ /* @__PURE__ */ jsx("path", { d: "M9 13h6" }),
211
+ /* @__PURE__ */ jsx("path", { d: "M9 17h6" })
212
+ ] }));
213
+ const Flower2Icon = createIcon("Flower2Icon", /* @__PURE__ */ jsxs(Fragment, { children: [
214
+ /* @__PURE__ */ jsx("circle", {
215
+ cx: "12",
216
+ cy: "12",
217
+ r: "2"
218
+ }),
219
+ /* @__PURE__ */ jsx("path", { d: "M12 10C8 4 16 4 12 10Z" }),
220
+ /* @__PURE__ */ jsx("path", { d: "M14 12c6-4 6 4 0 0Z" }),
221
+ /* @__PURE__ */ jsx("path", { d: "M12 14c4 6-4 6 0 0Z" }),
222
+ /* @__PURE__ */ jsx("path", { d: "M10 12c-6 4-6-4 0 0Z" })
223
+ ] }));
224
+ const GlobeIcon = createIcon("GlobeIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
225
+ /* @__PURE__ */ jsx("circle", {
226
+ cx: "12",
227
+ cy: "12",
228
+ r: "9"
229
+ }),
230
+ /* @__PURE__ */ jsx("path", { d: "M3 12h18" }),
231
+ /* @__PURE__ */ jsx("path", { d: "M12 3a14 14 0 0 1 0 18" }),
232
+ /* @__PURE__ */ jsx("path", { d: "M12 3a14 14 0 0 0 0 18" })
233
+ ] }));
234
+ const GraduationCapIcon = createIcon("GraduationCapIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
235
+ /* @__PURE__ */ jsx("path", { d: "m3 8 9-4 9 4-9 4Z" }),
236
+ /* @__PURE__ */ jsx("path", { d: "M7 10v5c3 3 7 3 10 0v-5" }),
237
+ /* @__PURE__ */ jsx("path", { d: "M21 8v6" })
238
+ ] }));
239
+ const HandHeartIcon = createIcon("HandHeartIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
240
+ /* @__PURE__ */ jsx("path", { d: "M3 15h4l4 4h5l5-5" }),
241
+ /* @__PURE__ */ jsx("path", { d: "M7 15l3-3h4a2 2 0 0 1 2 2" }),
242
+ /* @__PURE__ */ jsx("path", { d: "M12 8c-2-2-5 1-2 4l2 2 2-2c3-3 0-6-2-4Z" })
243
+ ] }));
244
+ const HeartIcon = 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" }));
245
+ const HeartHandshakeIcon = 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" })] }));
246
+ const HomeIcon = createIcon("HomeIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
247
+ /* @__PURE__ */ jsx("path", { d: "m3 11 9-8 9 8" }),
248
+ /* @__PURE__ */ jsx("path", { d: "M5 10v10h14V10" }),
249
+ /* @__PURE__ */ jsx("path", { d: "M9 20v-6h6v6" })
250
+ ] }));
251
+ const InfoIcon = createIcon("InfoIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
252
+ /* @__PURE__ */ jsx("circle", {
253
+ cx: "12",
254
+ cy: "12",
255
+ r: "9"
256
+ }),
257
+ /* @__PURE__ */ jsx("path", { d: "M12 11v6" }),
258
+ /* @__PURE__ */ jsx("path", { d: "M12 7h.01" })
259
+ ] }));
260
+ const LeafIcon = 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" })] }));
261
+ const LightbulbIcon = createIcon("LightbulbIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
262
+ /* @__PURE__ */ jsx("path", { d: "M9 18h6" }),
263
+ /* @__PURE__ */ jsx("path", { d: "M10 22h4" }),
264
+ /* @__PURE__ */ jsx("path", { d: "M8 14a6 6 0 1 1 8 0c-1 1-1 2-1 4H9c0-2 0-3-1-4Z" })
265
+ ] }));
266
+ const LockIcon = createIcon("LockIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("rect", {
267
+ x: "5",
268
+ y: "10",
269
+ width: "14",
270
+ height: "10",
271
+ rx: "2"
272
+ }), /* @__PURE__ */ jsx("path", { d: "M8 10V7a4 4 0 0 1 8 0v3" })] }));
273
+ const MailIcon = createIcon("MailIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("rect", {
274
+ x: "3",
275
+ y: "5",
276
+ width: "18",
277
+ height: "14",
278
+ rx: "2"
279
+ }), /* @__PURE__ */ jsx("path", { d: "m3 7 9 6 9-6" })] }));
280
+ const MapPinIcon = 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", {
281
+ cx: "12",
282
+ cy: "9",
283
+ r: "2.5"
284
+ })] }));
285
+ const MessageCircleIcon = 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" }) }));
286
+ const MinusIcon = createIcon("MinusIcon", /* @__PURE__ */ jsx("path", { d: "M5 12h14" }));
287
+ const PackageIcon = createIcon("PackageIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
288
+ /* @__PURE__ */ jsx("path", { d: "m12 3 8 4.5v9L12 21l-8-4.5v-9Z" }),
289
+ /* @__PURE__ */ jsx("path", { d: "M12 12 4 7.5" }),
290
+ /* @__PURE__ */ jsx("path", { d: "m12 12 8-4.5" }),
291
+ /* @__PURE__ */ jsx("path", { d: "M12 12v9" })
292
+ ] }));
293
+ const PhoneIcon = 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" }) }));
294
+ const PlayIcon = createIcon("PlayIcon", /* @__PURE__ */ jsx("path", { d: "m8 5 11 7-11 7Z" }));
295
+ const PlusIcon = createIcon("PlusIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M12 5v14" }), /* @__PURE__ */ jsx("path", { d: "M5 12h14" })] }));
296
+ const ShieldIcon = createIcon("ShieldIcon", /* @__PURE__ */ jsx("path", { d: "M12 22s8-4 8-11V5l-8-3-8 3v6c0 7 8 11 8 11Z" }));
297
+ const ShoppingBagIcon = 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" })] }));
298
+ const ShoppingCartIcon = createIcon("ShoppingCartIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
299
+ /* @__PURE__ */ jsx("circle", {
300
+ cx: "9",
301
+ cy: "20",
302
+ r: "1"
303
+ }),
304
+ /* @__PURE__ */ jsx("circle", {
305
+ cx: "18",
306
+ cy: "20",
307
+ r: "1"
308
+ }),
309
+ /* @__PURE__ */ jsx("path", { d: "M2 3h3l3 12h10l3-8H7" })
310
+ ] }));
311
+ const SmileIcon = createIcon("SmileIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
312
+ /* @__PURE__ */ jsx("circle", {
313
+ cx: "12",
314
+ cy: "12",
315
+ r: "9"
316
+ }),
317
+ /* @__PURE__ */ jsx("path", { d: "M8 14s1.5 2 4 2 4-2 4-2" }),
318
+ /* @__PURE__ */ jsx("path", { d: "M9 9h.01" }),
319
+ /* @__PURE__ */ jsx("path", { d: "M15 9h.01" })
320
+ ] }));
321
+ const SparklesIcon = 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" })] }));
322
+ const SproutIcon = createIcon("SproutIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
323
+ /* @__PURE__ */ jsx("path", { d: "M12 21V10" }),
324
+ /* @__PURE__ */ jsx("path", { d: "M12 10C8 5 4 6 3 10c4 1 7 0 9 0Z" }),
325
+ /* @__PURE__ */ jsx("path", { d: "M12 11c4-5 8-4 9 0-4 1-7 0-9 0Z" })
326
+ ] }));
327
+ const StarIcon = 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" }));
328
+ const TargetIcon = createIcon("TargetIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
329
+ /* @__PURE__ */ jsx("circle", {
330
+ cx: "12",
331
+ cy: "12",
332
+ r: "9"
333
+ }),
334
+ /* @__PURE__ */ jsx("circle", {
335
+ cx: "12",
336
+ cy: "12",
337
+ r: "5"
338
+ }),
339
+ /* @__PURE__ */ jsx("circle", {
340
+ cx: "12",
341
+ cy: "12",
342
+ r: "1"
343
+ })
344
+ ] }));
345
+ const UploadIcon = createIcon("UploadIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
346
+ /* @__PURE__ */ jsx("path", { d: "M12 21V9" }),
347
+ /* @__PURE__ */ jsx("path", { d: "m7 14 5-5 5 5" }),
348
+ /* @__PURE__ */ jsx("path", { d: "M5 3h14" })
349
+ ] }));
350
+ const UserRoundCheckIcon = createIcon("UserRoundCheckIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
351
+ /* @__PURE__ */ jsx("circle", {
352
+ cx: "10",
353
+ cy: "8",
354
+ r: "4"
355
+ }),
356
+ /* @__PURE__ */ jsx("path", { d: "M3 21a7 7 0 0 1 11.5-5.3" }),
357
+ /* @__PURE__ */ jsx("path", { d: "m15 19 2 2 4-5" })
358
+ ] }));
359
+ const UsersIcon = createIcon("UsersIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
360
+ /* @__PURE__ */ jsx("circle", {
361
+ cx: "9",
362
+ cy: "8",
363
+ r: "4"
364
+ }),
365
+ /* @__PURE__ */ jsx("path", { d: "M2 21a7 7 0 0 1 14 0" }),
366
+ /* @__PURE__ */ jsx("path", { d: "M17 11a4 4 0 0 0 0-7" }),
367
+ /* @__PURE__ */ jsx("path", { d: "M22 21a7 7 0 0 0-5-6.7" })
368
+ ] }));
369
+ const WrenchIcon = 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" })] }));
370
+ const XIcon = createIcon("XIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }), /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })] }));
371
+ //#endregion
372
+ //#region ../blocks/src/system/icons/cta.ts
373
+ /**
374
+ * Curated icon set for CTA/button icons.
375
+ *
376
+ * Guardrail: keep this list small and action-oriented. This is intentionally not the full Lucide set.
377
+ * Extend by adding to CTA_ICON_NAMES and the mapping below (explicit imports only).
378
+ */
379
+ const CTA_ICON_NAMES = [
380
+ "ArrowRight",
381
+ "ArrowLeft",
382
+ "ChevronRight",
383
+ "ChevronLeft",
384
+ "ChevronUp",
385
+ "ChevronDown",
386
+ "ExternalLink",
387
+ "Download",
388
+ "Upload",
389
+ "Mail",
390
+ "Phone",
391
+ "Play",
392
+ "ShoppingCart",
393
+ "Calendar",
394
+ "MapPin",
395
+ "Info",
396
+ "Plus",
397
+ "Minus",
398
+ "Check",
399
+ "X"
400
+ ];
401
+ const CTA_ICON_COMPONENTS = {
402
+ ArrowRight: ArrowRightIcon,
403
+ ArrowLeft: ArrowLeftIcon,
404
+ ChevronRight: ChevronRightIcon,
405
+ ChevronLeft: ChevronLeftIcon,
406
+ ChevronUp: ChevronUpIcon,
407
+ ChevronDown: ChevronDownIcon,
408
+ ExternalLink: ExternalLinkIcon,
409
+ Download: DownloadIcon,
410
+ Upload: UploadIcon,
411
+ Mail: MailIcon,
412
+ Phone: PhoneIcon,
413
+ Play: PlayIcon,
414
+ ShoppingCart: ShoppingCartIcon,
415
+ Calendar: CalendarIcon,
416
+ MapPin: MapPinIcon,
417
+ Info: InfoIcon,
418
+ Plus: PlusIcon,
419
+ Minus: MinusIcon,
420
+ Check: CheckIcon,
421
+ X: XIcon
422
+ };
423
+ function isCtaIconName(value) {
424
+ return typeof value === "string" && CTA_ICON_NAMES.includes(value);
425
+ }
426
+ function formatLucideName(name) {
427
+ return name.replace(/([a-z0-9])([A-Z])/g, "$1 $2");
428
+ }
429
+ const CTA_ICON_OPTIONS = CTA_ICON_NAMES.map((id) => ({
430
+ id,
431
+ label: formatLucideName(id)
432
+ }));
433
+ function getCtaIconComponent(name) {
434
+ if (!isCtaIconName(name)) return null;
435
+ return CTA_ICON_COMPONENTS[name] ?? null;
436
+ }
437
+ //#endregion
438
+ //#region ../blocks/src/system/icons/semantic.ts
439
+ const SEMANTIC_ICON_IDS = [
440
+ "protection-trust",
441
+ "confidentiality",
442
+ "care-support",
443
+ "partnership",
444
+ "warmth",
445
+ "community",
446
+ "personal-guidance",
447
+ "conversation",
448
+ "friendly-welcome",
449
+ "insight-learning",
450
+ "natural-wellbeing",
451
+ "growth",
452
+ "gentle-care",
453
+ "special-touch",
454
+ "ideas",
455
+ "direction",
456
+ "focus",
457
+ "quality",
458
+ "highlight",
459
+ "verified-quality",
460
+ "learning",
461
+ "training",
462
+ "programmes-dates",
463
+ "place",
464
+ "products",
465
+ "packages",
466
+ "time",
467
+ "practical-service",
468
+ "at-home",
469
+ "worldwide",
470
+ "professional-service"
471
+ ];
472
+ const SEMANTIC_ICON_COMPONENTS = {
473
+ "protection-trust": ShieldIcon,
474
+ confidentiality: LockIcon,
475
+ "care-support": HandHeartIcon,
476
+ partnership: HeartHandshakeIcon,
477
+ warmth: HeartIcon,
478
+ community: UsersIcon,
479
+ "personal-guidance": UserRoundCheckIcon,
480
+ conversation: MessageCircleIcon,
481
+ "friendly-welcome": SmileIcon,
482
+ "insight-learning": BrainIcon,
483
+ "natural-wellbeing": LeafIcon,
484
+ growth: SproutIcon,
485
+ "gentle-care": Flower2Icon,
486
+ "special-touch": SparklesIcon,
487
+ ideas: LightbulbIcon,
488
+ direction: CompassIcon,
489
+ focus: TargetIcon,
490
+ quality: AwardIcon,
491
+ highlight: StarIcon,
492
+ "verified-quality": BadgeCheckIcon,
493
+ learning: BookOpenIcon,
494
+ training: GraduationCapIcon,
495
+ "programmes-dates": CalendarDaysIcon,
496
+ place: MapPinIcon,
497
+ products: ShoppingBagIcon,
498
+ packages: PackageIcon,
499
+ time: ClockIcon,
500
+ "practical-service": WrenchIcon,
501
+ "at-home": HomeIcon,
502
+ worldwide: GlobeIcon,
503
+ "professional-service": BriefcaseBusinessIcon
504
+ };
505
+ const featurePreset = ["feature"];
506
+ const SEMANTIC_ICON_DEFINITIONS = [
507
+ {
508
+ id: "protection-trust",
509
+ label: "Protection and trust",
510
+ tags: [
511
+ "safe",
512
+ "safety",
513
+ "security",
514
+ "trust",
515
+ "privacy",
516
+ "confidence"
517
+ ],
518
+ domains: [
519
+ "wellbeing",
520
+ "services",
521
+ "technology"
522
+ ],
523
+ tone: ["trustworthy", "practical"],
524
+ presets: featurePreset
525
+ },
526
+ {
527
+ id: "confidentiality",
528
+ label: "Confidentiality",
529
+ tags: [
530
+ "confidential",
531
+ "privacy",
532
+ "secure",
533
+ "protected",
534
+ "private"
535
+ ],
536
+ domains: [
537
+ "wellbeing",
538
+ "coaching",
539
+ "services",
540
+ "technology"
541
+ ],
542
+ tone: ["trustworthy", "calm"],
543
+ presets: featurePreset
544
+ },
545
+ {
546
+ id: "care-support",
547
+ label: "Care and support",
548
+ tags: [
549
+ "care",
550
+ "support",
551
+ "therapy",
552
+ "kindness",
553
+ "help",
554
+ "compassion"
555
+ ],
556
+ domains: [
557
+ "wellbeing",
558
+ "coaching",
559
+ "community"
560
+ ],
561
+ tone: ["warm", "human"],
562
+ presets: featurePreset
563
+ },
564
+ {
565
+ id: "partnership",
566
+ label: "Partnership",
567
+ tags: [
568
+ "partnership",
569
+ "together",
570
+ "support",
571
+ "relationship",
572
+ "collaboration"
573
+ ],
574
+ domains: [
575
+ "coaching",
576
+ "community",
577
+ "services"
578
+ ],
579
+ tone: [
580
+ "warm",
581
+ "human",
582
+ "trustworthy"
583
+ ],
584
+ presets: featurePreset
585
+ },
586
+ {
587
+ id: "warmth",
588
+ label: "Warmth",
589
+ tags: [
590
+ "heart",
591
+ "warmth",
592
+ "care",
593
+ "love",
594
+ "wellbeing",
595
+ "personal"
596
+ ],
597
+ domains: [
598
+ "wellbeing",
599
+ "community",
600
+ "hospitality"
601
+ ],
602
+ tone: ["warm", "human"],
603
+ presets: featurePreset
604
+ },
605
+ {
606
+ id: "community",
607
+ label: "Community",
608
+ tags: [
609
+ "community",
610
+ "group",
611
+ "people",
612
+ "team",
613
+ "members",
614
+ "belonging"
615
+ ],
616
+ domains: [
617
+ "community",
618
+ "education",
619
+ "events"
620
+ ],
621
+ tone: ["human", "warm"],
622
+ presets: featurePreset
623
+ },
624
+ {
625
+ id: "personal-guidance",
626
+ label: "Personal guidance",
627
+ tags: [
628
+ "guidance",
629
+ "personal",
630
+ "coach",
631
+ "expert",
632
+ "one to one",
633
+ "trusted"
634
+ ],
635
+ domains: [
636
+ "coaching",
637
+ "services",
638
+ "education"
639
+ ],
640
+ tone: ["trustworthy", "human"],
641
+ presets: featurePreset
642
+ },
643
+ {
644
+ id: "conversation",
645
+ label: "Conversation",
646
+ tags: [
647
+ "conversation",
648
+ "talk",
649
+ "chat",
650
+ "communication",
651
+ "support"
652
+ ],
653
+ domains: [
654
+ "coaching",
655
+ "community",
656
+ "services"
657
+ ],
658
+ tone: ["human", "warm"],
659
+ presets: featurePreset
660
+ },
661
+ {
662
+ id: "friendly-welcome",
663
+ label: "Friendly welcome",
664
+ tags: [
665
+ "friendly",
666
+ "welcome",
667
+ "positive",
668
+ "happy",
669
+ "approachable"
670
+ ],
671
+ domains: [
672
+ "hospitality",
673
+ "community",
674
+ "services"
675
+ ],
676
+ tone: [
677
+ "warm",
678
+ "playful",
679
+ "human"
680
+ ],
681
+ presets: featurePreset
682
+ },
683
+ {
684
+ id: "insight-learning",
685
+ label: "Insight and learning",
686
+ tags: [
687
+ "mind",
688
+ "insight",
689
+ "learning",
690
+ "clarity",
691
+ "thinking",
692
+ "therapy"
693
+ ],
694
+ domains: [
695
+ "wellbeing",
696
+ "coaching",
697
+ "education"
698
+ ],
699
+ tone: ["calm", "practical"],
700
+ presets: featurePreset
701
+ },
702
+ {
703
+ id: "natural-wellbeing",
704
+ label: "Natural wellbeing",
705
+ tags: [
706
+ "natural",
707
+ "wellbeing",
708
+ "growth",
709
+ "eco",
710
+ "calm",
711
+ "organic"
712
+ ],
713
+ domains: [
714
+ "wellbeing",
715
+ "hospitality",
716
+ "creative"
717
+ ],
718
+ tone: ["calm", "warm"],
719
+ presets: featurePreset
720
+ },
721
+ {
722
+ id: "growth",
723
+ label: "Growth",
724
+ tags: [
725
+ "growth",
726
+ "new",
727
+ "progress",
728
+ "development",
729
+ "nurture"
730
+ ],
731
+ domains: [
732
+ "wellbeing",
733
+ "coaching",
734
+ "education",
735
+ "community"
736
+ ],
737
+ tone: ["warm", "calm"],
738
+ presets: featurePreset
739
+ },
740
+ {
741
+ id: "gentle-care",
742
+ label: "Gentle care",
743
+ tags: [
744
+ "gentle",
745
+ "soft",
746
+ "care",
747
+ "wellbeing",
748
+ "beauty",
749
+ "calm"
750
+ ],
751
+ domains: [
752
+ "wellbeing",
753
+ "creative",
754
+ "hospitality"
755
+ ],
756
+ tone: [
757
+ "warm",
758
+ "calm",
759
+ "premium"
760
+ ],
761
+ presets: featurePreset
762
+ },
763
+ {
764
+ id: "special-touch",
765
+ label: "Special touch",
766
+ tags: [
767
+ "special",
768
+ "sparkle",
769
+ "magic",
770
+ "polish",
771
+ "delight",
772
+ "creative"
773
+ ],
774
+ domains: [
775
+ "creative",
776
+ "commerce",
777
+ "hospitality"
778
+ ],
779
+ tone: ["playful", "premium"],
780
+ presets: featurePreset
781
+ },
782
+ {
783
+ id: "ideas",
784
+ label: "Ideas",
785
+ tags: [
786
+ "idea",
787
+ "innovation",
788
+ "clarity",
789
+ "creative",
790
+ "strategy"
791
+ ],
792
+ domains: [
793
+ "coaching",
794
+ "education",
795
+ "creative",
796
+ "technology"
797
+ ],
798
+ tone: ["practical", "playful"],
799
+ presets: featurePreset
800
+ },
801
+ {
802
+ id: "direction",
803
+ label: "Direction",
804
+ tags: [
805
+ "direction",
806
+ "navigation",
807
+ "path",
808
+ "journey",
809
+ "guidance"
810
+ ],
811
+ domains: [
812
+ "coaching",
813
+ "education",
814
+ "services"
815
+ ],
816
+ tone: ["trustworthy", "practical"],
817
+ presets: featurePreset
818
+ },
819
+ {
820
+ id: "focus",
821
+ label: "Focus",
822
+ tags: [
823
+ "focus",
824
+ "goal",
825
+ "outcome",
826
+ "aim",
827
+ "strategy"
828
+ ],
829
+ domains: [
830
+ "coaching",
831
+ "services",
832
+ "technology"
833
+ ],
834
+ tone: ["practical"],
835
+ presets: featurePreset
836
+ },
837
+ {
838
+ id: "quality",
839
+ label: "Quality",
840
+ tags: [
841
+ "quality",
842
+ "award",
843
+ "standard",
844
+ "achievement",
845
+ "premium"
846
+ ],
847
+ domains: [
848
+ "services",
849
+ "education",
850
+ "commerce"
851
+ ],
852
+ tone: ["premium", "trustworthy"],
853
+ presets: featurePreset
854
+ },
855
+ {
856
+ id: "highlight",
857
+ label: "Highlight",
858
+ tags: [
859
+ "highlight",
860
+ "featured",
861
+ "favorite",
862
+ "quality",
863
+ "special"
864
+ ],
865
+ domains: [
866
+ "creative",
867
+ "commerce",
868
+ "services"
869
+ ],
870
+ tone: ["playful", "premium"],
871
+ presets: featurePreset
872
+ },
873
+ {
874
+ id: "verified-quality",
875
+ label: "Verified quality",
876
+ tags: [
877
+ "verified",
878
+ "quality",
879
+ "approved",
880
+ "trusted",
881
+ "check"
882
+ ],
883
+ domains: [
884
+ "services",
885
+ "commerce",
886
+ "education"
887
+ ],
888
+ tone: ["trustworthy", "practical"],
889
+ presets: featurePreset
890
+ },
891
+ {
892
+ id: "learning",
893
+ label: "Learning",
894
+ tags: [
895
+ "learning",
896
+ "book",
897
+ "course",
898
+ "knowledge",
899
+ "education"
900
+ ],
901
+ domains: [
902
+ "education",
903
+ "coaching",
904
+ "community"
905
+ ],
906
+ tone: ["calm", "practical"],
907
+ presets: featurePreset
908
+ },
909
+ {
910
+ id: "training",
911
+ label: "Training",
912
+ tags: [
913
+ "training",
914
+ "course",
915
+ "qualification",
916
+ "school",
917
+ "education"
918
+ ],
919
+ domains: ["education", "coaching"],
920
+ tone: ["trustworthy", "practical"],
921
+ presets: featurePreset
922
+ },
923
+ {
924
+ id: "programmes-dates",
925
+ label: "Programmes and dates",
926
+ tags: [
927
+ "calendar",
928
+ "dates",
929
+ "schedule",
930
+ "events",
931
+ "programme",
932
+ "classes"
933
+ ],
934
+ domains: [
935
+ "events",
936
+ "education",
937
+ "community"
938
+ ],
939
+ tone: ["practical"],
940
+ presets: featurePreset
941
+ },
942
+ {
943
+ id: "place",
944
+ label: "Place",
945
+ tags: [
946
+ "place",
947
+ "location",
948
+ "local",
949
+ "venue",
950
+ "destination"
951
+ ],
952
+ domains: [
953
+ "events",
954
+ "hospitality",
955
+ "services"
956
+ ],
957
+ tone: ["practical"],
958
+ presets: featurePreset
959
+ },
960
+ {
961
+ id: "products",
962
+ label: "Products",
963
+ tags: [
964
+ "products",
965
+ "shop",
966
+ "store",
967
+ "retail",
968
+ "commerce"
969
+ ],
970
+ domains: ["commerce"],
971
+ tone: ["practical", "premium"],
972
+ presets: featurePreset
973
+ },
974
+ {
975
+ id: "packages",
976
+ label: "Packages",
977
+ tags: [
978
+ "package",
979
+ "bundle",
980
+ "delivery",
981
+ "offer",
982
+ "product"
983
+ ],
984
+ domains: ["commerce", "services"],
985
+ tone: ["practical"],
986
+ presets: featurePreset
987
+ },
988
+ {
989
+ id: "time",
990
+ label: "Time",
991
+ tags: [
992
+ "time",
993
+ "duration",
994
+ "schedule",
995
+ "availability",
996
+ "appointment"
997
+ ],
998
+ domains: [
999
+ "events",
1000
+ "services",
1001
+ "wellbeing"
1002
+ ],
1003
+ tone: ["practical", "calm"],
1004
+ presets: featurePreset
1005
+ },
1006
+ {
1007
+ id: "practical-service",
1008
+ label: "Practical service",
1009
+ tags: [
1010
+ "service",
1011
+ "repair",
1012
+ "setup",
1013
+ "practical",
1014
+ "tools",
1015
+ "support"
1016
+ ],
1017
+ domains: ["services", "technology"],
1018
+ tone: ["practical"],
1019
+ presets: featurePreset
1020
+ },
1021
+ {
1022
+ id: "at-home",
1023
+ label: "At home",
1024
+ tags: [
1025
+ "home",
1026
+ "domestic",
1027
+ "comfort",
1028
+ "local",
1029
+ "space"
1030
+ ],
1031
+ domains: [
1032
+ "hospitality",
1033
+ "services",
1034
+ "community"
1035
+ ],
1036
+ tone: ["warm", "calm"],
1037
+ presets: featurePreset
1038
+ },
1039
+ {
1040
+ id: "worldwide",
1041
+ label: "Worldwide",
1042
+ tags: [
1043
+ "global",
1044
+ "online",
1045
+ "worldwide",
1046
+ "remote",
1047
+ "international"
1048
+ ],
1049
+ domains: [
1050
+ "technology",
1051
+ "education",
1052
+ "services"
1053
+ ],
1054
+ tone: ["practical"],
1055
+ presets: featurePreset
1056
+ },
1057
+ {
1058
+ id: "professional-service",
1059
+ label: "Professional service",
1060
+ tags: [
1061
+ "business",
1062
+ "professional",
1063
+ "consulting",
1064
+ "service",
1065
+ "work"
1066
+ ],
1067
+ domains: [
1068
+ "services",
1069
+ "technology",
1070
+ "coaching"
1071
+ ],
1072
+ tone: ["practical", "trustworthy"],
1073
+ presets: featurePreset
1074
+ }
1075
+ ];
1076
+ SEMANTIC_ICON_DEFINITIONS.map(({ id, label }) => ({
1077
+ id,
1078
+ label
1079
+ }));
1080
+ function isSemanticIconId(value) {
1081
+ return typeof value === "string" && SEMANTIC_ICON_IDS.includes(value);
1082
+ }
1083
+ function getSemanticIconComponent(name) {
1084
+ if (!isSemanticIconId(name)) return null;
1085
+ return SEMANTIC_ICON_COMPONENTS[name] ?? null;
1086
+ }
1087
+ //#endregion
1088
+ //#region ../blocks/src/system/icons/social.tsx
1089
+ const SOCIAL_ICON_NAMES = [
1090
+ "SocialFacebook",
1091
+ "SocialInstagram",
1092
+ "SocialLinkedIn",
1093
+ "SocialTikTok",
1094
+ "SocialWhatsApp",
1095
+ "SocialX",
1096
+ "SocialYouTube"
1097
+ ];
1098
+ const socialIcons = {
1099
+ SocialFacebook: createIcon("SocialFacebookIcon", /* @__PURE__ */ jsx("path", { d: "M14 8h3V4h-3c-3 0-5 2-5 5v3H6v4h3v6h4v-6h3l1-4h-4V9c0-.7.3-1 1-1Z" })),
1100
+ SocialInstagram: createIcon("SocialInstagramIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
1101
+ /* @__PURE__ */ jsx("rect", {
1102
+ x: "3",
1103
+ y: "3",
1104
+ width: "18",
1105
+ height: "18",
1106
+ rx: "5"
1107
+ }),
1108
+ /* @__PURE__ */ jsx("circle", {
1109
+ cx: "12",
1110
+ cy: "12",
1111
+ r: "4"
1112
+ }),
1113
+ /* @__PURE__ */ jsx("circle", {
1114
+ cx: "17.5",
1115
+ cy: "6.5",
1116
+ r: ".75",
1117
+ fill: "currentColor",
1118
+ stroke: "none"
1119
+ })
1120
+ ] })),
1121
+ SocialLinkedIn: createIcon("SocialLinkedInIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
1122
+ /* @__PURE__ */ jsx("path", { d: "M6 9v10" }),
1123
+ /* @__PURE__ */ jsx("path", {
1124
+ d: "M6 5.5v.01",
1125
+ strokeWidth: "3"
1126
+ }),
1127
+ /* @__PURE__ */ jsx("path", { d: "M10.5 19v-6a4 4 0 0 1 8 0v6" }),
1128
+ /* @__PURE__ */ jsx("path", { d: "M10.5 9v10" })
1129
+ ] })),
1130
+ SocialTikTok: createIcon("SocialTikTokIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M14 4v11.5a4.5 4.5 0 1 1-4-4.47" }), /* @__PURE__ */ jsx("path", { d: "M14 4c.7 3 2.4 4.5 5 4.5" })] })),
1131
+ SocialWhatsApp: createIcon("SocialWhatsAppIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M3.5 20.5 4.8 16.4A8.5 8.5 0 1 1 8 19.3Z" }), /* @__PURE__ */ jsx("path", { d: "M9.2 8.2c.2-.5.9-.6 1.2-.1l.8 1.4c.2.3.1.7-.2 1l-.5.5c.5 1.1 1.4 2 2.5 2.5l.5-.5c.3-.3.7-.4 1-.2l1.4.8c.5.3.4 1-.1 1.2-2.9 1.1-7.7-3.7-6.6-6.6Z" })] })),
1132
+ SocialX: createIcon("SocialXIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "m5 4 14 16" }), /* @__PURE__ */ jsx("path", { d: "M19 4 5 20" })] })),
1133
+ SocialYouTube: createIcon("SocialYouTubeIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M21 12c0 3.5-.5 5.5-1.3 6.3S16.5 19.5 12 19.5s-6.9-.4-7.7-1.2S3 15.5 3 12s.5-5.5 1.3-6.3S7.5 4.5 12 4.5s6.9.4 7.7 1.2S21 8.5 21 12Z" }), /* @__PURE__ */ jsx("path", { d: "m10 9 5 3-5 3Z" })] }))
1134
+ };
1135
+ function isSocialIconName(value) {
1136
+ return typeof value === "string" && SOCIAL_ICON_NAMES.includes(value);
1137
+ }
1138
+ function getSocialIconComponent(value) {
1139
+ return isSocialIconName(value) ? socialIcons[value] : null;
1140
+ }
1141
+ //#endregion
1142
+ //#region ../blocks/src/system/icons/registry.ts
1143
+ function buildSearchText(parts) {
1144
+ return parts.map((part) => part.trim()).filter(Boolean).join(" ");
1145
+ }
1146
+ function semanticDefinitionToOption(definition, preset) {
1147
+ return {
1148
+ id: definition.id,
1149
+ label: definition.label,
1150
+ searchText: buildSearchText([
1151
+ definition.label,
1152
+ definition.id,
1153
+ ...definition.tags,
1154
+ ...definition.domains,
1155
+ ...definition.tone
1156
+ ]),
1157
+ preset
1158
+ };
1159
+ }
1160
+ CTA_ICON_OPTIONS.map((option) => ({
1161
+ id: option.id,
1162
+ label: option.label,
1163
+ searchText: buildSearchText([option.label, option.id]),
1164
+ preset: "cta"
1165
+ }));
1166
+ function semanticOptionsForPreset(preset) {
1167
+ return SEMANTIC_ICON_DEFINITIONS.filter((definition) => definition.presets.includes(preset)).map((definition) => semanticDefinitionToOption(definition, preset));
1168
+ }
1169
+ semanticOptionsForPreset("feature");
1170
+ function getIconComponent(name) {
1171
+ return getCtaIconComponent(name) ?? getSemanticIconComponent(name) ?? getSocialIconComponent(name);
1172
+ }
1173
+ //#endregion
1174
+ //#region ../blocks/src/system/runtime/shared/components/ThemedButton.tsx
1175
+ function themedButtonClasses(variant, size, extraClassName) {
1176
+ return [
1177
+ ...themeButtonVariantClassNames(variant),
1178
+ themeButtonSizeClassName(size),
1179
+ extraClassName
1180
+ ].filter(Boolean).join(" ");
1181
+ }
1182
+ function ThemedButtonLabel(props) {
1183
+ const content = /* @__PURE__ */ jsxs(Fragment, { children: [
1184
+ props.pending ? /* @__PURE__ */ jsx(SpinnerNode, {
1185
+ size: props.pending.spinnerSize ?? "sm",
1186
+ color: "inherit",
1187
+ className: props.pending.spinnerClassName ?? "rb-mr-2",
1188
+ srLabel: props.pending.srLabel
1189
+ }) : null,
1190
+ props.labelClassName ? /* @__PURE__ */ jsx("span", {
1191
+ className: props.labelClassName,
1192
+ children: props.pending?.label ?? props.label
1193
+ }) : props.pending?.label ?? props.label,
1194
+ props.screenReaderSuffix ? /* @__PURE__ */ jsx("span", {
1195
+ className: "rb-sr-only",
1196
+ children: props.screenReaderSuffix
1197
+ }) : null
1198
+ ] });
1199
+ return props.pending?.contentClassName ? /* @__PURE__ */ jsx("span", {
1200
+ className: props.pending.contentClassName,
1201
+ children: content
1202
+ }) : content;
1203
+ }
1204
+ function ThemedButton({ variant, size, extraClassName, screenReaderSuffix, labelClassName, pending, label, ...buttonProps }) {
1205
+ return /* @__PURE__ */ jsx("button", {
1206
+ ...buttonProps,
1207
+ className: themedButtonClasses(variant, size, extraClassName),
1208
+ children: /* @__PURE__ */ jsx(ThemedButtonLabel, {
1209
+ label,
1210
+ pending,
1211
+ screenReaderSuffix,
1212
+ labelClassName
1213
+ })
1214
+ });
1215
+ }
1216
+ function ThemedButtonLink({ variant, size, extraClassName, screenReaderSuffix, labelClassName, label, ...anchorProps }) {
1217
+ return /* @__PURE__ */ jsx("a", {
1218
+ ...anchorProps,
1219
+ className: themedButtonClasses(variant, size, extraClassName),
1220
+ children: /* @__PURE__ */ jsx(ThemedButtonLabel, {
1221
+ label,
1222
+ screenReaderSuffix,
1223
+ labelClassName
1224
+ })
1225
+ });
1226
+ }
1227
+ /** Boundary for authored button nodes and their registry-backed trailing icon. */
1228
+ function ThemedAuthoredButton({ label, href, variant, size, extraClassName, disabled, type = "button", target, rel, ariaLabel, dataTestId, trailingIcon, onClick }) {
1229
+ const affordance = resolveButtonAffordance({ trailingIcon });
1230
+ const Icon = affordance ? getIconComponent(affordance.iconId) : null;
1231
+ const className = variant ? themedButtonClasses(variant, size, Icon ? [extraClassName, themeButtonExtraClassesWithTrailingIcon()].filter(Boolean).join(" ") : extraClassName) : extraClassName ?? void 0;
1232
+ const content = /* @__PURE__ */ jsxs(Fragment, { children: [label, Icon ? /* @__PURE__ */ jsx(Icon, {
1233
+ "aria-hidden": true,
1234
+ className: "rb-ml-2 rb-h-4 rb-w-4 rb-inline-block"
1235
+ }) : null] });
1236
+ return href ? /* @__PURE__ */ jsx("a", {
1237
+ href,
1238
+ target,
1239
+ rel,
1240
+ "aria-label": ariaLabel,
1241
+ "data-testid": dataTestId,
1242
+ className,
1243
+ onClick,
1244
+ children: content
1245
+ }) : /* @__PURE__ */ jsx("button", {
1246
+ type,
1247
+ disabled,
1248
+ "aria-label": ariaLabel,
1249
+ "data-testid": dataTestId,
1250
+ className,
1251
+ onClick,
1252
+ children: content
1253
+ });
1254
+ }
1255
+ //#endregion
1256
+ export { ExternalLinkIcon as a, ClockIcon as i, ThemedButton as n, SpinnerNode as o, ThemedButtonLink as r, ThemedAuthoredButton as t };