@riverbankcms/sdk 0.81.0 → 0.82.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 +65 -3
- package/dist/{PreviewEditorSidebar-O4NDX5TP.css → PreviewEditorSidebar-JA4VIPSZ.css} +1 -1
- package/dist/{PreviewEditorSidebar-RDCMEXIJ.mjs → PreviewEditorSidebar-LHGK6RIO.mjs} +40 -499
- package/dist/{SdkPreviewModeRuntime-PBGALTMK.css → PreviewEditorUI-36T7QYV4.css} +1 -1
- package/dist/{PreviewEditorUI-NYGQ6K7B.mjs → PreviewEditorUI-AXZG2SDC.mjs} +4 -6
- package/dist/{PreviewEditorUI-4JVDBZBS.css → SdkPreviewModeRuntime-FXKI6XNL.css} +1 -1
- package/dist/SdkPreviewModeRuntime-RNVRHFFR.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +838 -262
- package/dist/_dts/altcha/src/AltchaWidget.d.ts +1 -1
- package/dist/_dts/api/src/analytics.d.ts +1 -1
- package/dist/_dts/api/src/bookingConfig.d.ts +4 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +3 -3
- package/dist/_dts/api/src/courses.d.ts +1 -1
- package/dist/_dts/api/src/event-destination-policy.d.ts +17 -0
- package/dist/_dts/api/src/index.d.ts +4 -0
- package/dist/_dts/api/src/navigation/boundaries.d.ts +64 -0
- package/dist/_dts/api/src/navigation.d.ts +2 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +6 -54
- package/dist/_dts/api/src/siteGeneration.d.ts +1 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +7 -6
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/block-form/src/context/BlockContext.d.ts +1 -1
- package/dist/_dts/block-form/src/context/DisplayLabelResolverContext.d.ts +1 -1
- package/dist/_dts/block-form/src/context/FieldPreviewResolverContext.d.ts +2 -2
- package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +1 -1
- package/dist/_dts/block-form/src/palette/PaletteContext.d.ts +1 -1
- package/dist/_dts/block-form/src/sdk-config/SdkConfigContext.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/BackgroundColorWidget/BackgroundColorWidget.d.ts +2 -1
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/BooleanField/BooleanField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/Field.d.ts +2 -2
- package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +3 -3
- package/dist/_dts/block-form/src/widgets/NumberField/NumberField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/PresetOrCustomField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SdkSelectField/SdkSelectField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SelectField/SelectField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SelectWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SliderField/SliderField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/TextField/TextField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/TextInputWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/ToggleWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/stringDefaultValue.d.ts +1 -0
- package/dist/_dts/blocks/src/PageRenderer.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +8 -16
- package/dist/_dts/blocks/src/index.d.ts +2 -2
- package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +7 -7
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/content/components/Text.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +3 -0
- package/dist/_dts/blocks/src/primitives/layout/Grid.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/layout/Inline.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/layout/Stack.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +302 -151
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +6 -20
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +54 -54
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +4 -2
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +28 -0
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +592 -602
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +592 -604
- package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +3 -0
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +6 -2
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/linkedContentEntries.d.ts +38 -0
- package/dist/_dts/blocks/src/system/defineBlock.d.ts +3 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +71 -56
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +12 -24
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +6 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/ImageResolveContext.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/cart.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/cart.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +1 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/view.d.ts +10 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/BookingModeStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/CourseRegistrationWizard.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/ErrorStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/MembershipHero.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PortalAuthSidebar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/SuccessStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/WaitlistStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/components.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.client.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/CoursePricingDisplay.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSummaryBar.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizard.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardContent.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventSelectionStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/OrderSummary.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PastOccurrenceNotice.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SelectableOptionCard.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDerivations.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +12 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DateTimeTile.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DayEventsModal.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.shared.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-list.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-list.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-add-feedback.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.server.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +0 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/spinner.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/ActionRow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/CheckIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/ClockIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/CrossIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/FeedbackMessage.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/FieldValidationMessage.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/MembershipHero.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/StateIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/TerminalPanel.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
- package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +1 -1
- package/dist/_dts/content-editor/src/components/EditableBlockProvider.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +6 -1
- package/dist/_dts/content-editor/src/primitives/PreviewTextEditor.d.ts +6 -1
- package/dist/_dts/content-editor/src/primitives/shared/activePreviewField.d.ts +2 -0
- package/dist/_dts/content-editor/src/primitives/shared/index.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/shared/storeBinding.d.ts +3 -1
- package/dist/_dts/content-editor/src/primitives/shared/types.d.ts +5 -0
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +7 -2
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +0 -40
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +0 -40
- package/dist/_dts/content-model/src/templates/defaults.d.ts +0 -1
- package/dist/_dts/core/src/event-pricing.d.ts +72 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +27 -2
- package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +1 -1
- package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/EditorPrimitivesProvider.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/InlineFieldContext.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/SaveContext.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/RichTextToolbar.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/BlockTypeDropdown.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/LinkPopover.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/ToolbarIconButton.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/FormProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/AddBlockDivider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockListContext.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockThumbnail.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockTile.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/EmptyState.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/EnhancedBlockPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/HeaderActions.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonVariantField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeSelectField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkSummary.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewGroupOrderField.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewWidgetProvider.d.ts +10 -0
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/index.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/orderDomain.d.ts +29 -0
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/useImagePicker.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionWidgetProvider.d.ts +1 -1
- package/dist/_dts/media-editor/src/CropDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/CropDialogShell.d.ts +1 -1
- package/dist/_dts/media-editor/src/FileAssetPreview.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaPreview.d.ts +1 -1
- package/dist/_dts/media-editor/src/context.d.ts +1 -1
- package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -1
- package/dist/_dts/media-editor/src/provider.d.ts +1 -1
- package/dist/_dts/media-react/src/components/AuthenticatedImage.d.ts +1 -1
- package/dist/_dts/media-react/src/components/MediaLibrary.d.ts +1 -1
- package/dist/_dts/media-react/src/components/MediaPickerMini.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/PreviewShellSmoke.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +5 -3
- package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/layout/PreviewLayoutContext.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/MaintenanceModeBadge.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/OnboardingThemeSwitcher.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewAuthBanner.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewAuthInit.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewConfirmationDialog.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignCoordinatorContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignHistoryOrderContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorGuidanceCard.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewQueryProvider.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewSidebarSection.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewViewportControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewZoomControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeButton.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +14 -3
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SubrouteNoticePanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/linkedEntryEditEvents.d.ts +5 -1
- package/dist/_dts/preview-next/src/client/preview/previewChromePlacement.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeControls.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +24 -5
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/themeOverlay.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewModeRuntime.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +5 -3
- package/dist/_dts/sdk/src/__mocks__/next-cache.d.ts +4 -3
- package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +6 -14
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +31 -0
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/sync/validation.d.ts +7 -7
- package/dist/_dts/sdk/src/client/types.d.ts +36 -4
- package/dist/_dts/sdk/src/client.d.ts +1 -1
- package/dist/_dts/sdk/src/config/content-types.d.ts +3 -14
- package/dist/_dts/sdk/src/config/content-validation.d.ts +9 -214
- package/dist/_dts/sdk/src/config/types.d.ts +9 -0
- package/dist/_dts/sdk/src/config/validation.d.ts +21 -21
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +2 -2
- package/dist/_dts/sdk/src/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +6 -6
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +4 -3
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +29 -37
- package/dist/_dts/sdk/src/rendering/components/Block.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Block.server.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Page.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Page.server.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/PageHydrationBootstrap.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +10 -9
- package/dist/_dts/sdk/src/rendering/islands/enhancers/routeIslandApiConfig.d.ts +9 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +6 -57
- package/dist/_dts/sdk/src/rendering/primitives/RichText.d.ts +2 -1
- package/dist/_dts/sdk/src/server.d.ts +1 -1
- package/dist/_dts/sdk/src/theme-bridge/ThemeBridgeProvider.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +69 -21
- package/dist/_dts/theme-core/src/ClientThemeScope.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +3 -2
- package/dist/_dts/theme-core/src/ThemeScope.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeScopeCore.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +7 -7
- package/dist/_dts/theme-core/src/buttons/types.d.ts +17 -17
- package/dist/_dts/theme-core/src/cards/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +201 -192
- package/dist/_dts/theme-core/src/mock-themes/components/PaletteCard.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/components/swatch.d.ts +1 -1
- package/dist/_dts/theme-core/src/navigation/presets.d.ts +1 -1
- package/dist/_dts/theme-core/src/navigation/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/schema.d.ts +233 -223
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +27 -0
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +14 -14
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +7 -7
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +30 -0
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +2 -0
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
- package/dist/_dts/ui/src/async-boundary.d.ts +1 -1
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button-group.d.ts +3 -3
- package/dist/_dts/ui/src/calendar.d.ts +2 -2
- package/dist/_dts/ui/src/card.d.ts +6 -6
- package/dist/_dts/ui/src/combobox.d.ts +1 -1
- package/dist/_dts/ui/src/command-multi-select.d.ts +1 -1
- package/dist/_dts/ui/src/content-spinner.d.ts +1 -1
- package/dist/_dts/ui/src/delayed-spinner.d.ts +1 -1
- package/dist/_dts/ui/src/dev-toolbar.d.ts +1 -1
- package/dist/_dts/ui/src/dialog.d.ts +10 -10
- package/dist/_dts/ui/src/dropdown-menu.d.ts +1 -1
- package/dist/_dts/ui/src/editor-drawer.d.ts +1 -1
- package/dist/_dts/ui/src/empty-state.d.ts +1 -1
- package/dist/_dts/ui/src/filter-button-group.d.ts +1 -1
- package/dist/_dts/ui/src/fixed-bottom-surface.d.ts +1 -1
- package/dist/_dts/ui/src/form.d.ts +7 -7
- package/dist/_dts/ui/src/label.d.ts +1 -1
- package/dist/_dts/ui/src/menubar.d.ts +16 -16
- package/dist/_dts/ui/src/navigation-tabs.d.ts +2 -2
- package/dist/_dts/ui/src/number-input.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorChooserDialog.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorSlotButton.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorSwatchButton.d.ts +1 -1
- package/dist/_dts/ui/src/palette/PaletteTokenEditor.d.ts +1 -1
- package/dist/_dts/ui/src/resizable-split-pane.d.ts +1 -1
- package/dist/_dts/ui/src/select.d.ts +10 -10
- package/dist/_dts/ui/src/separator.d.ts +1 -1
- package/dist/_dts/ui/src/sheet.d.ts +9 -9
- package/dist/_dts/ui/src/spinner.d.ts +1 -1
- package/dist/_dts/ui/src/tooltip.d.ts +4 -4
- package/dist/{chunk-4T5JIPWY.mjs → chunk-2BUMISSH.mjs} +1 -1
- package/dist/{chunk-3PTVPAT4.mjs → chunk-6FWNF3DJ.mjs} +237 -43
- package/dist/{chunk-E3NZYEKF.mjs → chunk-FIREV57T.mjs} +13 -2
- package/dist/{chunk-3QWQ2MUQ.mjs → chunk-G35HOQEN.mjs} +2997 -2255
- package/dist/{chunk-3VT7LZY2.mjs → chunk-HKB6XVIP.mjs} +2 -2
- package/dist/{chunk-WUHKQBB6.mjs → chunk-XQR6THQJ.mjs} +20801 -17561
- package/dist/cli/index.mjs +3274 -2518
- package/dist/cli/init-docs/content/workflow-custom-block.md +5 -0
- package/dist/client/{accordion-SFIIZWNH.mjs → accordion-G34C45TW.mjs} +2 -2
- package/dist/client/{bookingForm-CFKZVWGA.mjs → bookingForm-BLBVKSAQ.mjs} +12 -12
- package/dist/client/bookings.mjs +40 -41
- package/dist/client/{carousel-ELXWSBLA.mjs → carousel-7ZVTBRMD.mjs} +3 -3
- package/dist/client/{cart-6SSCPYY5.mjs → cart-Q6S6LZUO.mjs} +8 -7
- package/dist/client/{checkout-UFQ34HPV.mjs → checkout-5QJLDE4I.mjs} +8 -7
- package/dist/client/{chunk-G56BSZAM.mjs → chunk-5PQH4Y75.mjs} +3 -3
- package/dist/client/{chunk-PA2LJH2M.mjs → chunk-CHAB5ACD.mjs} +5 -4
- package/dist/client/{chunk-IUEDYLFJ.mjs → chunk-CSZGLBYR.mjs} +1 -1
- package/dist/client/{chunk-3PEDD5KJ.mjs → chunk-DVNUDUVT.mjs} +1 -1
- package/dist/client/{chunk-76JUETXQ.mjs → chunk-EQKYMX4N.mjs} +215 -121
- package/dist/client/{chunk-YLMKMCSJ.mjs → chunk-GFSQNTRW.mjs} +1 -3
- package/dist/client/chunk-L4J5Y62O.mjs +18 -0
- package/dist/client/{chunk-NX6X3GRF.mjs → chunk-RJHTCTCZ.mjs} +226 -188
- package/dist/client/{chunk-7BXX7WXH.mjs → chunk-S3MKFGOG.mjs} +59 -1
- package/dist/client/{chunk-RMWMT3ZD.mjs → chunk-SBBSMFFG.mjs} +1 -1
- package/dist/client/{chunk-TCJS3NY5.mjs → chunk-U2EW7RSR.mjs} +1 -1
- package/dist/client/{chunk-NP47RHIX.mjs → chunk-WJFHDTYF.mjs} +17 -34
- package/dist/client/{chunk-V6XI4M2Q.mjs → chunk-ZF4XEWDM.mjs} +1 -1
- package/dist/client/client.mjs +61332 -60062
- package/dist/client/{courseRegistration-HJIISAAG.mjs → courseRegistration-VUG2JJDB.mjs} +13 -12
- package/dist/client/{eventCalendar-F6YVUCZR.mjs → eventCalendar-E7D2LD4N.mjs} +14 -14
- package/dist/client/{eventCombined-B5DSTIOK.mjs → eventCombined-FUZ2Z3CS.mjs} +14 -14
- package/dist/client/{eventDetails-SEJDDHQC.mjs → eventDetails-QRITJAOW.mjs} +9 -9
- package/dist/client/{eventListing-TPMWIIBO.mjs → eventListing-INMQMJZ5.mjs} +14 -14
- package/dist/client/{eventRegistration-QU6W2PV6.mjs → eventRegistration-TOOJD4WU.mjs} +17 -15
- package/dist/client/{form-LVTYNTDE.mjs → form-BOWN7ZNQ.mjs} +3 -3
- package/dist/client/{headerSection-SO3MFC4U.mjs → headerSection-HFQNZOUU.mjs} +4 -4
- package/dist/client/hooks.mjs +26534 -26159
- package/dist/client/{locationMap-5E5FLAKO.mjs → locationMap-VUZGC7Y5.mjs} +2 -2
- package/dist/client/{newsletterForm-GN32JEBQ.mjs → newsletterForm-X2XQTPCB.mjs} +3 -3
- package/dist/client/{productDetail-Q346KSVR.mjs → productDetail-TA7D2G2B.mjs} +8 -7
- package/dist/client/{productList-DTDMQYGZ.mjs → productList-AZOLOZKM.mjs} +8 -7
- package/dist/client/rendering/client.mjs +1534 -1185
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +10674 -9455
- package/dist/client/{shop-OFUW7KPN.mjs → shop-ZDLO7IIG.mjs} +8 -7
- package/dist/client/spam-protection.mjs +3 -5
- package/dist/preview-next/client/runtime.css +1 -1
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/{sdk-runtime-2GIX6I7X.mjs → sdk-runtime-CTWKNBDQ.mjs} +6 -6
- package/dist/{sdk-runtime-EEMNSB7J.css → sdk-runtime-JD4A6SU6.css} +1 -1
- package/dist/server/components.mjs +7129 -6548
- package/dist/server/config-validation.mjs +26217 -25941
- package/dist/server/config.mjs +26217 -25941
- package/dist/server/data.mjs +26514 -26139
- package/dist/server/index.mjs +108 -56
- package/dist/server/next.mjs +30233 -29506
- package/dist/server/page-converter.mjs +2325 -846
- package/dist/server/prebuild.mjs +2 -1
- package/dist/server/rendering/server.mjs +8133 -7457
- package/dist/server/rendering.mjs +12160 -11484
- package/dist/server/routing.mjs +29684 -29263
- package/dist/server/server.mjs +26525 -26099
- package/dist/server/theme-bridge.mjs +142 -79
- package/dist/server/theme.mjs +129 -130
- package/dist/styles/index.css +132 -68
- package/package.json +16 -16
- package/dist/SdkPreviewModeRuntime-AKCSCZEC.mjs +0 -8
|
@@ -21,4 +21,4 @@ export interface AltchaWidgetProps {
|
|
|
21
21
|
* />
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
|
-
export declare function AltchaWidget({ challengeUrl, onSolutionChange, auto, hidelogo, className, }: AltchaWidgetProps): import("react
|
|
24
|
+
export declare function AltchaWidget({ challengeUrl, onSolutionChange, auto, hidelogo, className, }: AltchaWidgetProps): import("react").JSX.Element;
|
|
@@ -37,7 +37,7 @@ export type AnalyticsReportResponse = {
|
|
|
37
37
|
series: AnalyticsSeriesPoint[];
|
|
38
38
|
totals: AnalyticsTotals;
|
|
39
39
|
breakdown: {
|
|
40
|
-
conversionsByEvent: Record<
|
|
40
|
+
conversionsByEvent: Record<string, number>;
|
|
41
41
|
};
|
|
42
42
|
topPages: AnalyticsTopPage[];
|
|
43
43
|
topReferrers: AnalyticsReferrer[];
|
|
@@ -377,6 +377,8 @@ export type TeamMemberProfilePagePolicyMode = "disabled" | "selected" | "all";
|
|
|
377
377
|
export type TeamMemberProfilePageSettings = {
|
|
378
378
|
policy: TeamMemberProfilePagePolicyMode;
|
|
379
379
|
};
|
|
380
|
+
export type { EventDestinationMode, EventDestinationPolicy, EventDestinationPreset, EventDestinationPresetOverrides, } from "./event-destination-policy";
|
|
381
|
+
export { DEFAULT_EVENT_DESTINATION_POLICY, eventDestinationModeValues, eventDestinationPresetValues, isEventDestinationMode, macadamiaDefaultEventDestinationPolicy, resolveEventDestinationMode, } from "./event-destination-policy";
|
|
380
382
|
export type BookingSettings = {
|
|
381
383
|
modules: BookingModuleToggles;
|
|
382
384
|
verticalConfig?: BookingVerticalConfig;
|
|
@@ -432,6 +434,8 @@ export type BookingSettings = {
|
|
|
432
434
|
appointmentFollowUp: AppointmentFollowUpSettings;
|
|
433
435
|
/** Controls whether team members receive routed profile pages. */
|
|
434
436
|
teamMemberProfilePages?: TeamMemberProfilePageSettings;
|
|
437
|
+
/** Controls whether event destinations render as CMS pages or system booking-first pages. */
|
|
438
|
+
eventDestinationPolicy?: import("./event-destination-policy").EventDestinationPolicy;
|
|
435
439
|
};
|
|
436
440
|
export type BookingCurrencyEditState = {
|
|
437
441
|
kind: "editable";
|
|
@@ -339,7 +339,7 @@ export type SiteBySlugResponse = {
|
|
|
339
339
|
updated_at: string;
|
|
340
340
|
launched_at: string | null;
|
|
341
341
|
maintenance_mode_enabled?: boolean | undefined;
|
|
342
|
-
maintenance_mode_message?: unknown
|
|
342
|
+
maintenance_mode_message?: unknown;
|
|
343
343
|
deployment_mode?: "managed" | "headless_cms" | "headless_full" | null | undefined;
|
|
344
344
|
is_sdk_site?: boolean | null | undefined;
|
|
345
345
|
};
|
|
@@ -507,8 +507,8 @@ export type SdkBlockContent = {
|
|
|
507
507
|
purpose: string;
|
|
508
508
|
orderIndex: number;
|
|
509
509
|
content: Record<string, unknown>;
|
|
510
|
-
draftContent: unknown
|
|
511
|
-
publishedContent: unknown
|
|
510
|
+
draftContent: unknown;
|
|
511
|
+
publishedContent: unknown;
|
|
512
512
|
draftContentId: string | null;
|
|
513
513
|
publishedContentId: string | null;
|
|
514
514
|
};
|
|
@@ -50,7 +50,7 @@ export type CourseSeriesRecord = {
|
|
|
50
50
|
title: string;
|
|
51
51
|
slug: string;
|
|
52
52
|
/** Denormalized presentation projection from the linked content entry (e.g. summary). */
|
|
53
|
-
presentationJson: unknown
|
|
53
|
+
presentationJson: unknown;
|
|
54
54
|
venueId: string | null;
|
|
55
55
|
capacity: number | null;
|
|
56
56
|
eventCategoryId: string | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { EventPreset } from "./bookingConfig";
|
|
2
|
+
export declare const eventDestinationModeValues: readonly ["cms-managed", "system-managed"];
|
|
3
|
+
export declare const eventDestinationPresetValues: readonly ["event", "class", "workshop", "retreat", "performance"];
|
|
4
|
+
export type EventDestinationMode = (typeof eventDestinationModeValues)[number];
|
|
5
|
+
export type EventDestinationPreset = EventPreset;
|
|
6
|
+
export type EventDestinationPresetOverrides = Partial<Record<EventPreset, EventDestinationMode>>;
|
|
7
|
+
export type EventDestinationPolicy = Readonly<{
|
|
8
|
+
defaultMode: EventDestinationMode;
|
|
9
|
+
presetOverrides: EventDestinationPresetOverrides;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const DEFAULT_EVENT_DESTINATION_POLICY: EventDestinationPolicy;
|
|
12
|
+
export declare function isEventDestinationMode(value: unknown): value is EventDestinationMode;
|
|
13
|
+
export declare function resolveEventDestinationMode(input: Readonly<{
|
|
14
|
+
policy: EventDestinationPolicy | null | undefined;
|
|
15
|
+
preset: EventPreset | null | undefined;
|
|
16
|
+
}>): EventDestinationMode;
|
|
17
|
+
export declare function macadamiaDefaultEventDestinationPolicy(selectedPresets: readonly EventPreset[]): EventDestinationPolicy;
|
|
@@ -5,6 +5,8 @@ export { managedDomainAddOnPricingSnapshotSchema } from "./accessAdmin";
|
|
|
5
5
|
export { AMBIENT_BACKGROUND_ROLES, MEDIA_ASSET_FILE_FILTERS, SITE_BACKGROUND_ASSET_USES, } from "./media";
|
|
6
6
|
export type { AmbientBackgroundRole, MediaAssetFileFilterContract, SiteBackgroundAssetUse, } from "./media";
|
|
7
7
|
export { dashboardNavigationLinkSchema, sdkNavigationLinkInputSchema, externalLinkSchema, customLinkSchema, pageLinkSchema, entryLinkSchema, portalLinkPayloadSchema, internalLinkPayloadSchema, linkPayloadSchema, navigationLinkInputSchema, navigationLinkInputSchemaOptions, } from "./navigation/contracts";
|
|
8
|
+
export { isNavigationDropdownSentinel, normalizeNavigationAuthoringLinkForCommand, normalizeNavigationConfigItemForCommand, navigationApiItemToSdkLocalItem, navigationCommandItemToManagementInput, } from "./navigation/boundaries";
|
|
9
|
+
export type { NavigationAuthoringItemInput, NavigationAuthoringLinkInput, NavigationBoundaryPortalLinkPayload, NavigationCommandBoundaryItemInput, NavigationConfigItemInput, NavigationDropdownSentinel, NavigationLocalItemInput, NavigationReadItemInput, } from "./navigation/boundaries";
|
|
8
10
|
export { pushSdkConfigBodySchema, loaderFallbackScalarSchema, riverbankSiteConfigInputSchema, sdkCustomBlockInputSchema, sdkWorkflowConfigSchema, sdkWorkflowTriggerSchema, sdkWorkflowConfirmationSchema, sdkWorkflowsSchema, SDK_WORKFLOW_CONFIRMATION_BODY_MAX_LENGTH, SDK_WORKFLOW_CONFIRMATION_TITLE_MAX_LENGTH, SDK_WORKFLOW_CONTENT_TYPE_MAX_LENGTH, SDK_WORKFLOW_DESCRIPTION_MAX_LENGTH, SDK_WORKFLOW_ENDPOINT_MAX_LENGTH, SDK_WORKFLOW_ENDPOINT_PATTERN, SDK_WORKFLOW_ID_MAX_LENGTH, SDK_WORKFLOW_ID_PATTERN, SDK_WORKFLOW_MAX_COUNT, SDK_WORKFLOW_TITLE_MAX_LENGTH, SDK_WORKFLOW_TRIGGER_CONDITION_MAX_COUNT, SDK_WORKFLOW_TRIGGER_FIELD_MAX_LENGTH, SDK_WORKFLOW_TRIGGER_MAX_COUNT, fieldDefinitionInputSchema, } from "./sdkConfig/contracts";
|
|
9
11
|
export { formatIgnoredDocumentSyncSectionWarning } from "./sdkContracts";
|
|
10
12
|
export { createIncrementalJsonAccumulator } from "./incrementalJson";
|
|
@@ -18,6 +20,8 @@ export { normalizeCmsApiKey } from "./env";
|
|
|
18
20
|
export * from "./bookingRefundOutcomes";
|
|
19
21
|
export * from "./customerMembershipOutcomes";
|
|
20
22
|
export * from "./bookingVerticals";
|
|
23
|
+
export { DEFAULT_EVENT_DESTINATION_POLICY, eventDestinationModeValues, eventDestinationPresetValues, isEventDestinationMode, macadamiaDefaultEventDestinationPolicy, resolveEventDestinationMode, } from "./event-destination-policy";
|
|
24
|
+
export type { EventDestinationMode, EventDestinationPolicy, EventDestinationPreset, EventDestinationPresetOverrides, } from "./event-destination-policy";
|
|
21
25
|
export { APPOINTMENT_DEFAULT_MAX_BOOKING_NOTICE_MINUTES_MAX, APPOINTMENT_DEFAULT_MIN_LEAD_MINUTES_MAX, applyAppointmentSetupRequestSchema, applyAppointmentSetupRequest, appointmentSetupAvailabilityDraftSchema, appointmentSetupBookingNoticeSchema, appointmentSetupPaymentDraftSchema, appointmentSetupPractitionerDraftSchema, appointmentSetupRefSchema, appointmentSetupServiceAssignmentDraftSchema, appointmentSetupServiceDraftSchema, appointmentSetupVenueChoiceSchema, appointmentSetupWeeklyWindowDraftSchema, getAppointmentSetupRequest, } from "./appointmentSetup";
|
|
22
26
|
export type { ApplyAppointmentSetupRequest, ApplyAppointmentSetupResponse, AppointmentPractitionerMode, AppointmentSetupAvailabilityDraft, AppointmentSetupAvailabilityWindowInvalidReason, AppointmentSetupBookingNotice, AppointmentSetupDraftMapping, AppointmentSetupPaymentDraft, AppointmentSetupPlanIssue, AppointmentSetupPractitionerDraft, AppointmentSetupReadiness, AppointmentSetupRef, AppointmentSetupResponse, AppointmentSetupSeedCandidate, AppointmentSetupSeedInvalidMetadata, AppointmentSetupSeedSelection, AppointmentSetupServiceAssignmentDraft, AppointmentSetupServiceDraft, AppointmentSetupServiceResourceLink, AppointmentSetupTargetStep, AppointmentSetupVenueChoice, AppointmentSetupWeeklyWindowDraft, } from "./appointmentSetup";
|
|
23
27
|
export type { BookingSessionCreateAppointmentRequest, BookingSessionCreateAppointmentResponse, BookingSessionEligibleAppointmentPackage, BookingSessionListEligibleAppointmentPackagesResponse, } from "./bookingOperations";
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { CartLinkPayload, EntryLinkPayload, LinkPayload, NavigationItemInput, NavigationLinkInput, PageLinkPayload, PortalLinkPayload } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* SDK content/config files may use this explicit sentinel to make dropdown
|
|
4
|
+
* containers readable. It is not a real link payload and must be stripped
|
|
5
|
+
* before data reaches site-command or management API input schemas.
|
|
6
|
+
*/
|
|
7
|
+
export type NavigationDropdownSentinel = Readonly<{
|
|
8
|
+
kind: 'dropdown';
|
|
9
|
+
}>;
|
|
10
|
+
export type NavigationBoundaryPortalLinkPayload = Readonly<{
|
|
11
|
+
kind: 'portal';
|
|
12
|
+
path?: string | null;
|
|
13
|
+
labels?: Readonly<{
|
|
14
|
+
loggedOut?: string | null;
|
|
15
|
+
loggedIn?: string | null;
|
|
16
|
+
}> | null;
|
|
17
|
+
}>;
|
|
18
|
+
type NavigationAuthoringRealLinkInput = PageLinkPayload | EntryLinkPayload | {
|
|
19
|
+
kind: 'external';
|
|
20
|
+
href: string;
|
|
21
|
+
} | {
|
|
22
|
+
kind: 'url';
|
|
23
|
+
href: string;
|
|
24
|
+
} | NavigationBoundaryPortalLinkPayload | CartLinkPayload;
|
|
25
|
+
export type NavigationAuthoringLinkInput = NavigationAuthoringRealLinkInput | NavigationDropdownSentinel;
|
|
26
|
+
type NavigationReadLinkPayload = Exclude<LinkPayload, PortalLinkPayload> | NavigationBoundaryPortalLinkPayload;
|
|
27
|
+
export type NavigationAuthoringItemInput = Readonly<{
|
|
28
|
+
label: string;
|
|
29
|
+
link?: NavigationAuthoringLinkInput;
|
|
30
|
+
isCta?: boolean;
|
|
31
|
+
children?: readonly NavigationAuthoringItemInput[];
|
|
32
|
+
}>;
|
|
33
|
+
export type NavigationConfigItemInput = Readonly<{
|
|
34
|
+
label: string;
|
|
35
|
+
link: NavigationAuthoringLinkInput;
|
|
36
|
+
isCta?: boolean;
|
|
37
|
+
children?: readonly NavigationConfigItemInput[];
|
|
38
|
+
}>;
|
|
39
|
+
export type NavigationReadItemInput = Readonly<{
|
|
40
|
+
label: string;
|
|
41
|
+
link: NavigationReadLinkPayload | null;
|
|
42
|
+
isCta?: boolean;
|
|
43
|
+
resolvedIdentifier?: string | null;
|
|
44
|
+
resolvedContentType?: string | null;
|
|
45
|
+
children?: readonly NavigationReadItemInput[];
|
|
46
|
+
}>;
|
|
47
|
+
export type NavigationLocalItemInput = {
|
|
48
|
+
label: string;
|
|
49
|
+
link?: NavigationAuthoringLinkInput;
|
|
50
|
+
isCta?: boolean;
|
|
51
|
+
children?: NavigationLocalItemInput[];
|
|
52
|
+
};
|
|
53
|
+
export type NavigationCommandBoundaryItemInput = Readonly<{
|
|
54
|
+
label: string;
|
|
55
|
+
link?: NavigationAuthoringRealLinkInput;
|
|
56
|
+
isCta?: boolean;
|
|
57
|
+
children?: readonly NavigationCommandBoundaryItemInput[];
|
|
58
|
+
}>;
|
|
59
|
+
export declare function isNavigationDropdownSentinel(link: NavigationAuthoringLinkInput | null | undefined): link is NavigationDropdownSentinel;
|
|
60
|
+
export declare function normalizeNavigationConfigItemForCommand(item: NavigationAuthoringItemInput): NavigationItemInput;
|
|
61
|
+
export declare function navigationCommandItemToManagementInput(item: NavigationCommandBoundaryItemInput): NavigationItemInput;
|
|
62
|
+
export declare function normalizeNavigationAuthoringLinkForCommand(link: NavigationAuthoringLinkInput | null | undefined): NavigationLinkInput | undefined;
|
|
63
|
+
export declare function navigationApiItemToSdkLocalItem(item: NavigationReadItemInput): NavigationLocalItemInput;
|
|
64
|
+
export {};
|
|
@@ -2,6 +2,8 @@ import type { APIEndpoints, NavigationMenuWithItems } from './types';
|
|
|
2
2
|
import type { ApiClient } from './request';
|
|
3
3
|
export { collectCartLinkStats, collectPortalLinkStats, type CartLinkValidationItem, type CartLinkValidationStats, type NavigationMenuValidationItem, type PortalLinkValidationItem, type PortalLinkValidationStats, } from './navigationMenuValidation';
|
|
4
4
|
export { isInternalLink, isPageLink, isEntryLink, resolveNavigationLinkInput, } from './navigation/linkResolver';
|
|
5
|
+
export { isNavigationDropdownSentinel, normalizeNavigationAuthoringLinkForCommand, normalizeNavigationConfigItemForCommand, navigationApiItemToSdkLocalItem, navigationCommandItemToManagementInput, } from './navigation/boundaries';
|
|
6
|
+
export type { NavigationAuthoringItemInput, NavigationAuthoringLinkInput, NavigationBoundaryPortalLinkPayload, NavigationCommandBoundaryItemInput, NavigationConfigItemInput, NavigationDropdownSentinel, NavigationLocalItemInput, NavigationReadItemInput, } from './navigation/boundaries';
|
|
5
7
|
export { toRoutableLinkPayload } from './navigation/routableLink';
|
|
6
8
|
export { linkPayloadKindToNavigationUrlType } from './navigation/linkUrlType';
|
|
7
9
|
export type { LinkPayloadNavigationUrlType } from './navigation/linkUrlType';
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { APIEndpoint } from "./apiEndpointTypes";
|
|
2
|
+
import type { PublicEventPricing } from "../../core/src/index";
|
|
2
3
|
import type { BookingPaymentTermsConfig, BookingPricing, EventAttendanceMode, EventDeliveryMode, EventPricingMode, PublicEventEligibilityTicketTypeRecord, PublicEventTicketTypeRecord } from "./bookingConfig";
|
|
3
4
|
import type { AutoAppliedDiscountPreview } from "./bookingRecords";
|
|
4
5
|
import type { PublicCourseDetails } from "./courses";
|
|
5
6
|
import type { PublicTeamMemberBlockItem, PublicTeamMemberSummary } from "./teamMembers";
|
|
6
7
|
import type { EventPreset } from "./bookingConfig";
|
|
7
8
|
import type { GeneratedIconRenderAssetsRequest, GeneratedIconRenderAssetsResponse } from "./siteIcons";
|
|
9
|
+
export type { PublicCoursePriceDisplay, PublicEventPriceDisplay, PublicEventPricing, } from "../../core/src/index";
|
|
8
10
|
/**
|
|
9
11
|
* Public-experience endpoints group the storefront-facing event, booking, newsletter,
|
|
10
12
|
* and commerce loaders that are shared by blocks and public site runtime consumers.
|
|
@@ -24,6 +26,7 @@ export type PublicEventLoaderParams = {
|
|
|
24
26
|
scheduleScope?: string;
|
|
25
27
|
entryId?: string;
|
|
26
28
|
seriesId?: string;
|
|
29
|
+
seriesSlug?: string;
|
|
27
30
|
includeOccurrenceId?: string;
|
|
28
31
|
detailLevel?: string;
|
|
29
32
|
readProfile?: string;
|
|
@@ -38,47 +41,6 @@ export type PublicRouteCandidate = Readonly<{
|
|
|
38
41
|
kind: "page" | "content";
|
|
39
42
|
contentTypeKey?: string | null;
|
|
40
43
|
}>;
|
|
41
|
-
export type PublicCoursePriceDisplay = Readonly<{
|
|
42
|
-
kind: "free";
|
|
43
|
-
currency: string;
|
|
44
|
-
}> | Readonly<{
|
|
45
|
-
kind: "exact";
|
|
46
|
-
amount: number;
|
|
47
|
-
currency: string;
|
|
48
|
-
}> | Readonly<{
|
|
49
|
-
kind: "from";
|
|
50
|
-
amount: number;
|
|
51
|
-
currency: string;
|
|
52
|
-
}> | Readonly<{
|
|
53
|
-
kind: "unavailable";
|
|
54
|
-
currency: string;
|
|
55
|
-
}>;
|
|
56
|
-
export type PublicEventPriceDisplay = Readonly<{
|
|
57
|
-
kind: "free";
|
|
58
|
-
currency: string;
|
|
59
|
-
}> | Readonly<{
|
|
60
|
-
kind: "exact";
|
|
61
|
-
amount: number;
|
|
62
|
-
currency: string;
|
|
63
|
-
}> | Readonly<{
|
|
64
|
-
kind: "from";
|
|
65
|
-
amount: number;
|
|
66
|
-
currency: string;
|
|
67
|
-
}> | Readonly<{
|
|
68
|
-
kind: "mixed";
|
|
69
|
-
paidFromAmount: number;
|
|
70
|
-
currency: string;
|
|
71
|
-
}> | Readonly<{
|
|
72
|
-
kind: "pass_only";
|
|
73
|
-
}> | Readonly<{
|
|
74
|
-
kind: "membership_only";
|
|
75
|
-
}> | Readonly<{
|
|
76
|
-
kind: "unavailable";
|
|
77
|
-
currency: string;
|
|
78
|
-
}> | Readonly<{
|
|
79
|
-
kind: "course";
|
|
80
|
-
display: PublicCoursePriceDisplay;
|
|
81
|
-
}>;
|
|
82
44
|
type PublicDiscountContext = {
|
|
83
45
|
type: "event";
|
|
84
46
|
eventSeriesId: string;
|
|
@@ -112,6 +74,7 @@ export type PublicExperienceAPIEndpoints = {
|
|
|
112
74
|
} & PublicEventLoaderParams, Array<{
|
|
113
75
|
kind?: "event" | "course_session";
|
|
114
76
|
eventPreset?: EventPreset;
|
|
77
|
+
eventDestinationMode?: import("./event-destination-policy").EventDestinationMode;
|
|
115
78
|
scheduleScope?: Exclude<PublicEventScheduleScope, "any">;
|
|
116
79
|
id: string;
|
|
117
80
|
occurrenceId: string;
|
|
@@ -141,9 +104,6 @@ export type PublicExperienceAPIEndpoints = {
|
|
|
141
104
|
};
|
|
142
105
|
};
|
|
143
106
|
} | null;
|
|
144
|
-
tags?: string[];
|
|
145
|
-
ctaLabel?: string | null;
|
|
146
|
-
badges?: string[];
|
|
147
107
|
};
|
|
148
108
|
slug: string;
|
|
149
109
|
path: string;
|
|
@@ -178,13 +138,8 @@ export type PublicExperienceAPIEndpoints = {
|
|
|
178
138
|
} | null;
|
|
179
139
|
teamMembers?: PublicTeamMemberSummary[];
|
|
180
140
|
status?: "active" | "draft" | "archived";
|
|
181
|
-
|
|
182
|
-
price: number | null;
|
|
183
|
-
currency: string;
|
|
184
|
-
priceDisplay: PublicEventPriceDisplay;
|
|
141
|
+
pricing: PublicEventPricing<PublicEventTicketTypeRecord>;
|
|
185
142
|
paymentTerms: BookingPaymentTermsConfig;
|
|
186
|
-
pricingMode?: EventPricingMode;
|
|
187
|
-
ticketTypes?: PublicEventTicketTypeRecord[];
|
|
188
143
|
accessRestriction: "none" | "category";
|
|
189
144
|
allowedCategoryIds: string[];
|
|
190
145
|
requireGuestDetails?: boolean;
|
|
@@ -468,9 +423,7 @@ export type PublicExperienceAPIEndpoints = {
|
|
|
468
423
|
slug: string;
|
|
469
424
|
} | null;
|
|
470
425
|
summary: string | null;
|
|
471
|
-
|
|
472
|
-
ctaLabel: string | null;
|
|
473
|
-
body: unknown | null;
|
|
426
|
+
body: unknown;
|
|
474
427
|
gallery: Array<{
|
|
475
428
|
url: string;
|
|
476
429
|
alt: string | null;
|
|
@@ -939,4 +892,3 @@ export type PublicExperienceAPIEndpoints = {
|
|
|
939
892
|
token: string;
|
|
940
893
|
}, string>;
|
|
941
894
|
};
|
|
942
|
-
export {};
|
|
@@ -13,6 +13,12 @@ import type { ManagementMediaAsset, MediaResolveResponse, PushSdkConfigRequest,
|
|
|
13
13
|
import type { StripeConnectDisconnectResponse, StripeConnectStartResponse, StripeConnectStatusResponse, UpdateStripeAutomaticTaxRequest } from "./billing";
|
|
14
14
|
import type { NavigationLinkInput } from "./navigation/types";
|
|
15
15
|
import type { JsonValue } from "./shared-contracts";
|
|
16
|
+
export type SdkUpsertNavigationItemInput = Readonly<{
|
|
17
|
+
label: string;
|
|
18
|
+
isCta?: boolean;
|
|
19
|
+
link?: NavigationLinkInput;
|
|
20
|
+
children?: readonly SdkUpsertNavigationItemInput[];
|
|
21
|
+
}>;
|
|
16
22
|
/**
|
|
17
23
|
* Site platform endpoints cover admin/configuration surfaces: redirects, webhooks,
|
|
18
24
|
* keys, SDK management, content-type CRUD, backup flows, and site-level admin tools.
|
|
@@ -268,12 +274,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
268
274
|
name: string;
|
|
269
275
|
isPrimary?: boolean;
|
|
270
276
|
isFooter?: boolean;
|
|
271
|
-
items:
|
|
272
|
-
label: string;
|
|
273
|
-
isCta?: boolean;
|
|
274
|
-
link?: NavigationLinkInput;
|
|
275
|
-
children?: unknown[];
|
|
276
|
-
}>;
|
|
277
|
+
items: readonly SdkUpsertNavigationItemInput[];
|
|
277
278
|
}, {
|
|
278
279
|
siteId: string;
|
|
279
280
|
}, SdkUpsertNavigationMenuResponse>;
|
|
@@ -138,7 +138,7 @@ type EndpointMethod<E extends keyof APIEndpoints> = E extends keyof typeof API_E
|
|
|
138
138
|
type EndpointBody<E extends keyof APIEndpoints> = APIEndpoints[E] extends APIEndpoint<infer TBody, unknown, unknown> ? TBody : never;
|
|
139
139
|
type StrictBodyPart<E extends keyof APIEndpoints> = EndpointMethod<E> extends "GET" ? {
|
|
140
140
|
body?: never;
|
|
141
|
-
} : [EndpointBody<E>] extends [
|
|
141
|
+
} : [EndpointBody<E>] extends [undefined] ? {
|
|
142
142
|
body?: never;
|
|
143
143
|
} : undefined extends EndpointBody<E> ? {
|
|
144
144
|
body?: Exclude<EndpointBody<E>, undefined>;
|
|
@@ -19,7 +19,7 @@ export interface BlockContextProviderProps {
|
|
|
19
19
|
* Provides block information to child widgets.
|
|
20
20
|
* Typically used by FormRenderer when editing a block.
|
|
21
21
|
*/
|
|
22
|
-
export declare function BlockContextProvider({ blockKind, children }: BlockContextProviderProps):
|
|
22
|
+
export declare function BlockContextProvider({ blockKind, children }: BlockContextProviderProps): React.JSX.Element;
|
|
23
23
|
/**
|
|
24
24
|
* useBlockContext
|
|
25
25
|
*
|
|
@@ -25,7 +25,7 @@ export type DisplayLabelResolverMap = Partial<Record<FieldConfig['type'], Displa
|
|
|
25
25
|
export declare function DisplayLabelResolverProvider({ resolvers, children, }: {
|
|
26
26
|
resolvers: DisplayLabelResolverMap;
|
|
27
27
|
children: React.ReactNode;
|
|
28
|
-
}):
|
|
28
|
+
}): React.JSX.Element;
|
|
29
29
|
/**
|
|
30
30
|
* Access the display label resolver map.
|
|
31
31
|
* Returns an empty map when no provider is present (resolvers are optional).
|
|
@@ -12,7 +12,7 @@ export type FieldPreviewResolverCallContext = {
|
|
|
12
12
|
* For repeater thumbnails, resolvers can return media-like objects
|
|
13
13
|
* (e.g. `{ type: 'image', src: '...' }`) for field types that do not store media directly.
|
|
14
14
|
*/
|
|
15
|
-
export type FieldPreviewResolver = (value: unknown, fieldConfig: FieldConfig, context: FieldPreviewResolverCallContext) => Promise<unknown
|
|
15
|
+
export type FieldPreviewResolver = (value: unknown, fieldConfig: FieldConfig, context: FieldPreviewResolverCallContext) => Promise<unknown>;
|
|
16
16
|
/**
|
|
17
17
|
* Map of field type to preview resolver.
|
|
18
18
|
*/
|
|
@@ -23,7 +23,7 @@ export type FieldPreviewResolverMap = Partial<Record<FieldConfig['type'], FieldP
|
|
|
23
23
|
export declare function FieldPreviewResolverProvider({ resolvers, children, }: {
|
|
24
24
|
resolvers: FieldPreviewResolverMap;
|
|
25
25
|
children: React.ReactNode;
|
|
26
|
-
}):
|
|
26
|
+
}): React.JSX.Element;
|
|
27
27
|
/**
|
|
28
28
|
* Access the field preview resolver map.
|
|
29
29
|
*/
|
|
@@ -34,4 +34,4 @@ export interface ManifestFormProps {
|
|
|
34
34
|
* <ManifestForm manifest={blockManifest} backend={backend} />
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
37
|
-
export declare function ManifestForm({ manifest, className, role, backend, widgetOverrides, blockKind, showSettingsTrigger, }: ManifestFormProps): import("react
|
|
37
|
+
export declare function ManifestForm({ manifest, className, role, backend, widgetOverrides, blockKind, showSettingsTrigger, }: ManifestFormProps): import("react").JSX.Element | null;
|
|
@@ -6,6 +6,6 @@ type PaletteContextValue = {
|
|
|
6
6
|
export declare function PaletteProvider({ tokens, children }: {
|
|
7
7
|
tokens: PaletteTokens | undefined;
|
|
8
8
|
children: React.ReactNode;
|
|
9
|
-
}):
|
|
9
|
+
}): React.JSX.Element;
|
|
10
10
|
export declare function usePalette(): PaletteContextValue;
|
|
11
11
|
export {};
|
|
@@ -105,6 +105,6 @@ export type SdkConfigProviderProps = {
|
|
|
105
105
|
sdkConfig: SdkConfig | null | undefined;
|
|
106
106
|
children: React.ReactNode;
|
|
107
107
|
};
|
|
108
|
-
export declare function SdkConfigProvider({ sdkConfig, children }: SdkConfigProviderProps):
|
|
108
|
+
export declare function SdkConfigProvider({ sdkConfig, children }: SdkConfigProviderProps): React.JSX.Element;
|
|
109
109
|
export declare function useSdkConfig(): SdkConfigContextValue;
|
|
110
110
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ReactNode } from 'react';
|
|
2
3
|
export type BackgroundColorMode = 'limited' | 'full';
|
|
3
4
|
export type BackgroundColorWidgetProps = {
|
|
@@ -20,4 +21,4 @@ export type BackgroundColorWidgetProps = {
|
|
|
20
21
|
* Otherwise supports 'limited' mode (key shades only) or 'full' mode (all shades).
|
|
21
22
|
* Optionally filters to only show legible colors via filterTokens prop.
|
|
22
23
|
*/
|
|
23
|
-
export declare function BackgroundColorWidget(props: BackgroundColorWidgetProps):
|
|
24
|
+
export declare function BackgroundColorWidget(props: BackgroundColorWidgetProps): React.JSX.Element;
|
package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts
CHANGED
|
@@ -14,4 +14,4 @@ export type BackgroundGradientWidgetProps = {
|
|
|
14
14
|
* Select a curated gradient from the theme-based library.
|
|
15
15
|
* Gradients use theme color tokens, so they adapt to the site's palette.
|
|
16
16
|
*/
|
|
17
|
-
export declare function BackgroundGradientWidget(props: BackgroundGradientWidgetProps): import("react
|
|
17
|
+
export declare function BackgroundGradientWidget(props: BackgroundGradientWidgetProps): import("react").JSX.Element;
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import type { FieldWidgetProps } from '../../fields/props';
|
|
5
5
|
import type { BooleanFieldConfig } from '../../fields/types';
|
|
6
|
-
export declare function BooleanField({ path, backend, config }: FieldWidgetProps<boolean, BooleanFieldConfig>): import("react
|
|
6
|
+
export declare function BooleanField({ path, backend, config }: FieldWidgetProps<boolean, BooleanFieldConfig>): import("react").JSX.Element;
|
|
@@ -29,4 +29,4 @@ export type DatePickerPopoverProps = {
|
|
|
29
29
|
open?: boolean;
|
|
30
30
|
disabled?: React.ComponentProps<typeof Calendar>['disabled'];
|
|
31
31
|
};
|
|
32
|
-
export declare function DatePickerPopover({ selectedDate, onSelectDate, onOpenChange, placeholder, formatButtonLabel, closeOnSelect, renderExtras, renderFooter, renderTrigger, open: controlledOpen, disabled, }: DatePickerPopoverProps): import("react
|
|
32
|
+
export declare function DatePickerPopover({ selectedDate, onSelectDate, onOpenChange, placeholder, formatButtonLabel, closeOnSelect, renderExtras, renderFooter, renderTrigger, open: controlledOpen, disabled, }: DatePickerPopoverProps): import("react").JSX.Element;
|
|
@@ -12,10 +12,10 @@ export type WidgetFieldProps = Omit<FieldFrameProps, 'label'> & {
|
|
|
12
12
|
* Backwards-compatible wrapper around FieldFrame. Maintains the historic WidgetField
|
|
13
13
|
* API while delegating all layout and messaging behaviour to the shared frame.
|
|
14
14
|
*/
|
|
15
|
-
export declare function WidgetField(props: WidgetFieldProps): import("react
|
|
15
|
+
export declare function WidgetField(props: WidgetFieldProps): import("react").JSX.Element;
|
|
16
16
|
export type WidgetFieldMessageProps = FieldFrameMessageProps;
|
|
17
17
|
/**
|
|
18
18
|
* Utility helper for widgets that render their own control container (e.g. boolean toggle)
|
|
19
19
|
* but still need consistent spacing for error/hint copy.
|
|
20
20
|
*/
|
|
21
|
-
export declare function WidgetFieldMessage(props: WidgetFieldMessageProps): import("react
|
|
21
|
+
export declare function WidgetFieldMessage(props: WidgetFieldMessageProps): import("react").JSX.Element;
|
|
@@ -19,14 +19,14 @@ export type FieldFrameProps = {
|
|
|
19
19
|
afterControl?: ReactNode;
|
|
20
20
|
children: (props: FieldFrameRenderProps) => ReactNode;
|
|
21
21
|
};
|
|
22
|
-
export declare function FieldFrame(props: FieldFrameProps): import("react
|
|
22
|
+
export declare function FieldFrame(props: FieldFrameProps): import("react").JSX.Element;
|
|
23
23
|
export type FieldFrameMessageProps = {
|
|
24
24
|
id: string;
|
|
25
25
|
error?: ReactNode;
|
|
26
26
|
hint?: ReactNode;
|
|
27
27
|
};
|
|
28
|
-
export declare function FieldFrameMessage({ id, error, hint }: FieldFrameMessageProps): import("react
|
|
28
|
+
export declare function FieldFrameMessage({ id, error, hint }: FieldFrameMessageProps): import("react").JSX.Element | null;
|
|
29
29
|
export declare function FieldLabelText({ label, required, }: {
|
|
30
30
|
label: ReactNode;
|
|
31
31
|
required?: boolean;
|
|
32
|
-
}): import("react
|
|
32
|
+
}): import("react").JSX.Element | null;
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { FieldWidgetProps } from '../../fields/props';
|
|
6
6
|
import type { NumberFieldConfig } from '../../fields/types';
|
|
7
|
-
export declare function NumberField({ path, backend, config }: FieldWidgetProps<number, NumberFieldConfig>): import("react
|
|
7
|
+
export declare function NumberField({ path, backend, config }: FieldWidgetProps<number, NumberFieldConfig>): import("react").JSX.Element;
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { FieldWidgetProps } from '../../fields/props';
|
|
10
10
|
import type { PresetOrCustomFieldConfig } from './types';
|
|
11
|
-
export declare function PresetOrCustomField({ path, backend, config, }: FieldWidgetProps<string, PresetOrCustomFieldConfig>): import("react
|
|
11
|
+
export declare function PresetOrCustomField({ path, backend, config, }: FieldWidgetProps<string, PresetOrCustomFieldConfig>): import("react").JSX.Element;
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { FieldWidgetProps } from '../../fields/props';
|
|
10
10
|
import type { SelectFieldConfig } from '../../fields/types';
|
|
11
|
-
export declare function SdkSelectField({ path, backend, config }: FieldWidgetProps<string, SelectFieldConfig>): import("react
|
|
11
|
+
export declare function SdkSelectField({ path, backend, config }: FieldWidgetProps<string, SelectFieldConfig>): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { FieldWidgetProps } from '../../fields/props';
|
|
6
6
|
import type { SelectFieldConfig } from '../../fields/types';
|
|
7
|
-
export declare function SelectField({ path, backend, config }: FieldWidgetProps<string | string[] | null, SelectFieldConfig>): import("react
|
|
7
|
+
export declare function SelectField({ path, backend, config }: FieldWidgetProps<string | string[] | null, SelectFieldConfig>): import("react").JSX.Element | null;
|
|
@@ -31,4 +31,4 @@ export type SelectWidgetProps = {
|
|
|
31
31
|
* Standalone select widget with block-form styling parity. Supports custom option
|
|
32
32
|
* renderers while maintaining accessible labelling and message semantics.
|
|
33
33
|
*/
|
|
34
|
-
export declare function SelectWidget(props: SelectWidgetProps): import("react
|
|
34
|
+
export declare function SelectWidget(props: SelectWidgetProps): import("react").JSX.Element;
|
|
@@ -13,4 +13,4 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import type { FieldWidgetProps } from '../../fields/props';
|
|
15
15
|
import type { NumberFieldConfig } from '../../fields/types';
|
|
16
|
-
export declare function SliderField({ path, backend, config }: FieldWidgetProps<number, NumberFieldConfig>): import("react
|
|
16
|
+
export declare function SliderField({ path, backend, config }: FieldWidgetProps<number, NumberFieldConfig>): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { FieldWidgetProps } from '../../fields/props';
|
|
6
6
|
import type { TextFieldConfig } from '../../fields/types';
|
|
7
|
-
export declare function TextField({ path, backend, config }: FieldWidgetProps<string, TextFieldConfig>): import("react
|
|
7
|
+
export declare function TextField({ path, backend, config }: FieldWidgetProps<string, TextFieldConfig>): import("react").JSX.Element;
|
|
@@ -17,4 +17,4 @@ export type TextInputWidgetProps = {
|
|
|
17
17
|
dataPath?: string;
|
|
18
18
|
maxLength?: number;
|
|
19
19
|
};
|
|
20
|
-
export declare function TextInputWidget(props: TextInputWidgetProps): import("react
|
|
20
|
+
export declare function TextInputWidget(props: TextInputWidgetProps): import("react").JSX.Element;
|
|
@@ -13,4 +13,4 @@ export type ToggleWidgetProps = {
|
|
|
13
13
|
/**
|
|
14
14
|
* Boolean toggle widget with shared styling to match block-form boolean fields.
|
|
15
15
|
*/
|
|
16
|
-
export declare function ToggleWidget(props: ToggleWidgetProps): import("react
|
|
16
|
+
export declare function ToggleWidget(props: ToggleWidgetProps): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function readStringDefaultValue(value: unknown): string | null;
|
|
@@ -161,5 +161,5 @@ interface PageRendererProps {
|
|
|
161
161
|
sdkConfig?: SdkConfigForRenderer | null;
|
|
162
162
|
customBlocks?: SdkCustomBlock[];
|
|
163
163
|
}
|
|
164
|
-
export default function PageRenderer({ theme, page, usePlaceholders, dataContext, wrapBlock, registry, themeTokens: providedThemeTokens, routeMap, blockOverrides, sdkConfig, customBlocks, }: PageRendererProps):
|
|
164
|
+
export default function PageRenderer({ theme, page, usePlaceholders, dataContext, wrapBlock, registry, themeTokens: providedThemeTokens, routeMap, blockOverrides, sdkConfig, customBlocks, }: PageRendererProps): React.JSX.Element;
|
|
165
165
|
export {};
|