@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.
- package/README.md +2 -0
- package/dist/{EventEmbeddedCheckoutStep-veN-QiAE.mjs → EventEmbeddedCheckoutStep-DALtAjqG.mjs} +1 -1
- package/dist/{PreviewEditorSidebar-jI_4DTZY.mjs → PreviewEditorSidebar-CbSbqmz3.mjs} +219 -38
- package/dist/{PreviewEditorUI-ORkVZhfu.mjs → PreviewEditorUI-CKKnAw11.mjs} +26 -58
- package/dist/{SdkPreviewModeRuntime-DaNqevI1.mjs → SdkPreviewModeRuntime-wLkXrWy9.mjs} +177 -84
- package/dist/{SiteChromeCustomizeContext-CgNuBHC0.mjs → SiteChromeCustomizeContext-BQ8vvKb-.mjs} +9824 -5829
- package/dist/{ThemedButton-X2UxhW6F.mjs → ThemedButton-Bi0rgijy.mjs} +482 -85
- package/dist/_dts/ai/src/contracts/proposals.d.ts +42873 -16847
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +5432 -1810
- package/dist/_dts/api/src/billing.d.ts +2 -0
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +78 -0
- package/dist/_dts/api/src/bookingAdjustments.d.ts +3 -2
- package/dist/_dts/api/src/bookingConfig.d.ts +4 -12
- package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +2 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +11 -2
- package/dist/_dts/api/src/bookingPeople.d.ts +20 -1
- package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +5 -106
- package/dist/_dts/api/src/bookings.d.ts +10 -4
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/common/envelope.d.ts +2 -2
- package/dist/_dts/api/src/contentRuntime.d.ts +5 -3
- package/dist/_dts/api/src/endpoints.d.ts +89 -44
- package/dist/_dts/api/src/eventManagementContracts.d.ts +20 -11
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/index.d.ts +9 -4
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/moneyPayments.d.ts +116 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +2 -0
- package/dist/_dts/api/src/privacyPolicy.d.ts +20 -2
- package/dist/_dts/api/src/public/types.d.ts +1 -0
- package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +1 -0
- package/dist/_dts/api/src/publicBookingService.d.ts +1 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -0
- package/dist/_dts/api/src/sdk-event-management.d.ts +1 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +24 -9
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
- package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +5 -3
- package/dist/_dts/api/src/sdkPullEventContracts.d.ts +15 -4
- package/dist/_dts/api/src/sdkThemeWire.d.ts +172 -103
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +18 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +17 -16
- package/dist/_dts/api/src/siteSettings.d.ts +1 -0
- package/dist/_dts/api/src/siteTerms.d.ts +100 -0
- package/dist/_dts/api/src/stripeConnectSetup.d.ts +90 -0
- package/dist/_dts/api/src/types.d.ts +13 -32
- package/dist/_dts/api/src/webhooks.d.ts +9 -9
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -4
- package/dist/_dts/block-form/src/client/index.d.ts +2 -1
- package/dist/_dts/block-form/src/widgets/DateField/DateField.d.ts +3 -1
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +3 -1
- package/dist/_dts/block-form/src/widgets/DateTimeField/DateTimeField.d.ts +3 -1
- package/dist/_dts/blocks/src/client/carousel.d.ts +1 -0
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +12 -33
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +30 -118
- package/dist/_dts/blocks/src/index.d.ts +2 -2
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +1 -0
- package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -1
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +1 -0
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -1
- package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +1 -0
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/fields.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +13 -9
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +10 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery/fields.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +6 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -45
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/catalogue.d.ts +7 -1
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +14 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/itemData.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +56 -6
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/photoCount.d.ts +3 -12
- package/dist/_dts/blocks/src/system/blocks/shared/siteTerms.d.ts +17 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-layout.d.ts +23 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-profile.d.ts +20 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +17 -16
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +119 -9
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +24 -24
- package/dist/_dts/blocks/src/system/manifest/validation.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/backgroundLayer.d.ts +6 -0
- package/dist/_dts/blocks/src/system/node/fragments/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +22 -3
- package/dist/_dts/blocks/src/system/node/fragments/responsiveTwoColumn.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/sectionHead.d.ts +15 -0
- package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +51 -198
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -99
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFlowController.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSubmission.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.state.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +22 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +6 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.client.d.ts +5 -30
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.server.d.ts +3 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +71 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +16 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/CalendarAction.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/bookingCalendar.d.ts +16 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/finishedBooking.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CardListItem.d.ts +26 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventItem.d.ts +17 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardListContent.d.ts +9 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +49 -21
- package/dist/_dts/blocks/src/system/runtime/nodes/form.fields.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +11 -79
- package/dist/_dts/blocks/src/system/runtime/nodes/form.parts.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/form.server.d.ts +2 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.interactive.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +8 -72
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.parts.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-catalogue.d.ts +5 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-content.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/CheckboxChoice.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/SiteTermsAgreementField.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/shared/siteTermsAgreement.d.ts +81 -0
- package/dist/_dts/blocks/src/system/runtime/shared/siteTermsCheckoutApi.d.ts +14 -0
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/footerArrangement.d.ts +6 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +0 -11
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +3 -10
- package/dist/_dts/blocks/src/system/types/link.d.ts +2 -0
- package/dist/_dts/calendar/src/icsRenderer.d.ts +23 -0
- package/dist/_dts/calendar/src/index.d.ts +2 -0
- package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +1 -0
- package/dist/_dts/commerce/src/purchase/types.d.ts +5 -0
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +5 -2
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +1 -1
- package/dist/_dts/content-editor/src/FooterNavigationLayoutControl.d.ts +6 -3
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +3 -1
- package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/publicationDate.d.ts +5 -0
- package/dist/_dts/content-editor/src/footerComposer.d.ts +2 -1
- package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +3 -1
- package/dist/_dts/content-editor/src/footerNavigationLayoutState.d.ts +56 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +2 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -4
- package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +11 -8
- package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +6 -5
- package/dist/_dts/content-model/src/content-types/schema.d.ts +4 -0
- package/dist/_dts/content-model/src/contentManifest.d.ts +10 -2
- package/dist/_dts/content-model/src/definitions/shared.d.ts +2 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +5 -0
- package/dist/_dts/core/src/booking-refunds.d.ts +43 -0
- package/dist/_dts/core/src/branded.d.ts +6 -0
- package/dist/_dts/core/src/date-display.d.ts +90 -0
- package/dist/_dts/core/src/date-time-formatter.d.ts +2 -0
- package/dist/_dts/core/src/footer-arrangement.d.ts +8 -1
- package/dist/_dts/core/src/footer-composition-types.d.ts +6 -1
- package/dist/_dts/core/src/footer-composition.d.ts +1 -1
- package/dist/_dts/core/src/footer-navigation-layout.d.ts +3 -0
- package/dist/_dts/core/src/index.d.ts +4 -1
- package/dist/_dts/core/src/mailing-list-setup.d.ts +3 -0
- package/dist/_dts/core/src/mailing-list-submission.d.ts +6 -1
- package/dist/_dts/core/src/public-profile.d.ts +3 -1
- package/dist/_dts/core/src/scheduled-date-time.d.ts +69 -0
- package/dist/_dts/core/src/site-terms.d.ts +94 -0
- package/dist/_dts/core/src/whole-series-run-schedule.d.ts +2 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +356 -9
- package/dist/_dts/db/src/schemas/forms.d.ts +32 -32
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +2 -2
- package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +3 -2
- package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/link/LinkContentList.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/link/draft.d.ts +6 -1
- package/dist/_dts/editor-blocks/src/widgets/link/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/blocks/ArrangementBlockToolbar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/arrangementControlsModel.d.ts +8 -1
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +3 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +27 -5
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/useConfirmedPreferenceRecord.d.ts +12 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedFooterPreferences.d.ts +26 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedHeaderPreferences.d.ts +40 -2
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -0
- package/dist/_dts/sdk/src/config/typed-entry-links.test-d.d.ts +1 -0
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -46
- package/dist/_dts/sdk/src/date-time/index.d.ts +2 -68
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -2
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +7 -4
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +3 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/lanternRecipes.d.ts +60 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +12 -8
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +69 -8
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +22 -1
- package/dist/_dts/theme-core/src/buttons/types.d.ts +358 -46
- package/dist/_dts/theme-core/src/buttons/typography.d.ts +24 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +8 -8
- package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +1 -1
- package/dist/_dts/theme-core/src/footer/generateFooterCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/footer/mode.d.ts +2 -11
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/containerSchema.d.ts +1 -0
- package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +3 -0
- package/dist/_dts/theme-core/src/inputs/checkable.d.ts +6 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +249 -147
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/schema.d.ts +321 -192
- package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +24 -7
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +4 -6
- package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +121 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +81 -1
- package/dist/_dts/theme-core/src/site-styles/footerLookDefaults.d.ts +45 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookRecipe.d.ts +50 -0
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +9 -35
- package/dist/_dts/theme-core/src/site-styles/footerPreferences.d.ts +29 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/headerStyleRecipe.d.ts +13 -1
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +5 -0
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +46 -0
- package/dist/_dts/theme-core/src/site-styles/themeParity.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +2 -0
- package/dist/_dts/theme-core/src/typography/schema.d.ts +9 -0
- package/dist/_dts/ui/src/calendar.d.ts +6 -1
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/_dts/ui/src/index.d.ts +1 -1
- package/dist/client/{BookingMailingListNote-DrchYW1m.mjs → BookingMailingListNote-CiW1dsz7.mjs} +3 -3
- package/dist/client/{CardListItem-CC_GVmF6.mjs → CardListItem-DVYTlYpS.mjs} +70 -13
- package/dist/client/CheckboxChoice-CUnPrBlC.mjs +44 -0
- package/dist/client/DemoBookingPortalAccess-DEsn5F2C.mjs +770 -0
- package/dist/client/{EventCombined.client-DyN0v0Xk.mjs → EventCombined.client-BdctbwnV.mjs} +5 -5
- package/dist/client/{EventEmbeddedCheckoutStep-CgfpKc3n.mjs → EventEmbeddedCheckoutStep-DAhQs6Jb.mjs} +2 -5
- package/dist/client/{EventListing.client-CuOuvYMz.mjs → EventListing.client-BviZXfAE.mjs} +2 -2
- package/dist/client/{mailingListSignupCopy-DZSHZrm6.mjs → FieldValidationMessage-AYanWFb-.mjs} +1 -14
- package/dist/client/{LeafletStaticMap-B0WhRr3j.mjs → LeafletStaticMap-BLTECfjU.mjs} +1 -1
- package/dist/client/{RichText-C1fIXBzA.mjs → RichText-D3oE1_pw.mjs} +77 -44
- package/dist/client/ThemedButton-Ckj0Rfr_.mjs +1256 -0
- package/dist/client/{accordion-DCDVWSye.mjs → accordion-yBx6d4O2.mjs} +1 -1
- package/dist/client/{bookingForm-BJ3C4GlM.mjs → bookingForm-CPDEsQci.mjs} +64 -35
- package/dist/client/bookings.mjs +19252 -15228
- package/dist/client/carousel-DCqjwd2s.mjs +71 -0
- package/dist/client/{carousel.client-GEtOGsxo.mjs → carousel.client-Bx7XMF8-.mjs} +114 -39
- package/dist/client/{cart-Yv-aAtck.mjs → cart-DWJXrQxs.mjs} +3 -3
- package/dist/client/{checkout-B9xDkl30.mjs → checkout-CH4ypSLS.mjs} +3 -3
- package/dist/client/client.mjs +13559 -7353
- package/dist/client/{context-BOGe3rIA.mjs → context-BOs0m_iw.mjs} +16 -12
- package/dist/client/{eventCalendar-D6M0T9hs.mjs → eventCalendar-CRylMllc.mjs} +8 -319
- package/dist/client/{eventCombined-NM4UFBq8.mjs → eventCombined-DohTS3kp.mjs} +4 -4
- package/dist/client/{eventDetails-f_FhV4O8.mjs → eventDetails-qf-u9zcF.mjs} +108 -36
- package/dist/client/{eventListing-WLkfAROh.mjs → eventListing-Cg__X2vy.mjs} +4 -4
- package/dist/client/{eventRegistration-D3ejfLvW.mjs → eventRegistration-CybWxswy.mjs} +215 -237
- package/dist/client/{form-D5Or2Jyu.mjs → form-C-SGk6nq.mjs} +115 -51
- package/dist/client/{headerSection-hWgnv27V.mjs → headerSection-BdzPaHqo.mjs} +3 -3
- package/dist/client/hooks.mjs +3280 -1362
- package/dist/client/{locationMap-Di1K0O2S.mjs → locationMap-CEwIKmMb.mjs} +3 -3
- package/dist/client/mailingListSignupCopy-DS-_ePzG.mjs +14 -0
- package/dist/client/{media-D29-F1u_.mjs → media-V_ShXXru.mjs} +3 -3
- package/dist/client/{mediaContext-CwbbimYB.mjs → mediaContext-D-0tNVxE.mjs} +1 -1
- package/dist/client/{newsletterForm-CwxcwTNO.mjs → newsletterForm-CmwTltoS.mjs} +52 -15
- package/dist/client/{productDetail-BLSnhPdA.mjs → productDetail-DjIzUwg3.mjs} +3 -3
- package/dist/client/{productList-oGytONOX.mjs → productList-D6JGFnMF.mjs} +3 -3
- package/dist/client/{propsDecoder-lf_dTeZS.mjs → propsDecoder-BRKz13eg.mjs} +17944 -14861
- package/dist/client/{renderableMediaAssetAdmission-CHkXYDC_.mjs → renderableMediaAssetAdmission-Cd3JSw2H.mjs} +3 -1
- package/dist/client/rendering/client.mjs +15893 -11685
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +14451 -8139
- package/dist/client/{routeIslandApiConfig-Bc_WVPS8.mjs → routeIslandApiConfig-slAAILQ5.mjs} +1 -1
- package/dist/client/{shop-BQ3bR7fA.mjs → shop-C45K96_0.mjs} +178 -157
- package/dist/client/{shop-commerce-DDPll6ZC.mjs → shop-commerce-oGBiKT5d.mjs} +23 -10
- package/dist/client/{shop-commerce-store-DO-e1pTe.mjs → shop-commerce-store-H_HFPFZ8.mjs} +1 -1
- package/dist/client/{shopShared-BylM9jh1.mjs → shopShared-D54T_LAV.mjs} +5 -5
- package/dist/client/{useDiscountCodeUi-B1Puub2v.mjs → useDiscountCodeUi-Dm2EUa03.mjs} +1 -1
- package/dist/client/{useEventPagination-BBhkmQaT.mjs → useEventPagination-0l_A8CxG.mjs} +62 -24
- package/dist/preview-next/before-render.mjs +134 -51
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/editor-chrome.css +5 -2
- package/dist/preview-next/keepAlive.mjs +134 -51
- package/dist/preview-next/middleware.mjs +134 -51
- package/dist/{sdk-runtime-DWCvhJGu.mjs → sdk-runtime-CjTM32Ah.mjs} +1 -1
- package/dist/server/components.mjs +15231 -10855
- package/dist/server/config-validation.mjs +3153 -1323
- package/dist/server/config.mjs +3119 -1321
- package/dist/server/data.mjs +3201 -1329
- package/dist/server/date-time.mjs +270 -117
- package/dist/server/index.mjs +137 -52
- package/dist/server/next.mjs +14713 -10388
- package/dist/server/page-converter.mjs +2642 -1073
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +14674 -10630
- package/dist/server/rendering.mjs +15055 -10670
- package/dist/server/routing.mjs +3483 -1488
- package/dist/server/server.mjs +3620 -1740
- package/dist/server/theme-bridge.mjs +2694 -189
- package/dist/server/theme.mjs +422 -67
- package/dist/{spinner-BYM-Y81w.mjs → spinner-KVVZh8jd.mjs} +1 -1
- package/dist/src-BgmWy3P1.mjs +1667 -0
- package/dist/styles/index.css +1196 -2
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +0 -12
- package/dist/client/CheckboxChoice-Dq30m3DO.mjs +0 -24
- package/dist/client/DemoBookingPortalAccess-ojwbVUmx.mjs +0 -344
- package/dist/client/ThemedButton-B7HFqFBg.mjs +0 -411
- 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 };
|