@riverbankcms/sdk 0.81.0 → 0.84.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 +81 -3
- package/dist/{PreviewEditorSidebar-RDCMEXIJ.mjs → PreviewEditorSidebar-HML67UDA.mjs} +367 -507
- package/dist/{PreviewEditorSidebar-O4NDX5TP.css → PreviewEditorSidebar-JA4VIPSZ.css} +1 -1
- package/dist/{SdkPreviewModeRuntime-PBGALTMK.css → PreviewEditorUI-36T7QYV4.css} +1 -1
- package/dist/{PreviewEditorUI-NYGQ6K7B.mjs → PreviewEditorUI-I4BQUU6K.mjs} +4 -6
- package/dist/{PreviewEditorUI-4JVDBZBS.css → SdkPreviewModeRuntime-FXKI6XNL.css} +1 -1
- package/dist/SdkPreviewModeRuntime-MCKMVDTK.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +1038 -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/blocks.d.ts +36 -0
- package/dist/_dts/api/src/bookingConfig.d.ts +4 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +49 -3
- package/dist/_dts/api/src/courses.d.ts +1 -1
- package/dist/_dts/api/src/endpoints.d.ts +40 -0
- package/dist/_dts/api/src/event-destination-policy.d.ts +17 -0
- package/dist/_dts/api/src/index.d.ts +6 -2
- 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/sdk-event-pricing.d.ts +61 -0
- package/dist/_dts/api/src/sdk-event-schedule.d.ts +52 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +50 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +67 -33
- package/dist/_dts/api/src/shared-contracts.d.ts +13 -0
- package/dist/_dts/api/src/siteGeneration.d.ts +1 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +29 -42
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +46 -1
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/block-form/src/backend/useBackendWatch.d.ts +6 -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/utils/evaluateVisibility.d.ts +3 -2
- package/dist/_dts/block-form/src/utils/visibleWhen.d.ts +7 -0
- 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 +12 -1
- package/dist/_dts/blocks/src/bindings/index.d.ts +1 -1
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/client.d.ts +4 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +24 -20
- 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 +880 -2608
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +171 -0
- 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 +880 -2608
- package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/hero.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +4 -10
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +2608 -225
- 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 +880 -2618
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +880 -2620
- package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +36 -3
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +4 -4
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +3 -0
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- 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/fields/aspectRatio.d.ts +4 -1
- package/dist/_dts/blocks/src/system/fields/imageShape.d.ts +30 -0
- package/dist/_dts/blocks/src/system/fragments/library/heroLayoutControls.d.ts +25 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +106 -217
- 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 +36 -30
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +18 -15
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +33 -0
- 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/event-registration.headless.state.d.ts +303 -0
- 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/useEventRegistrationSubmit.d.ts +20 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +4 -3
- 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 +38 -11
- 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/events/shared/pricing.d.ts +14 -0
- 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 +2 -2
- package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/useBlocksList.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/useInvalidBlockRecovery.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +7 -1
- package/dist/_dts/content-editor/src/primitives/PreviewTextEditor.d.ts +7 -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/entry-slots/index.d.ts +1 -0
- package/dist/_dts/content-model/src/entry-slots/types.d.ts +356 -0
- package/dist/_dts/content-model/src/index.d.ts +1 -0
- package/dist/_dts/content-model/src/templates/defaults.d.ts +7 -1
- package/dist/_dts/core/src/event-pricing.d.ts +72 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +127 -7
- 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/BlockEditor.d.ts +6 -1
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +3 -2
- 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/hooks/useBlockCreation.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockReorder.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/block-editor/owner.d.ts +27 -0
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/index.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-core/src/assetsInUseSummary.d.ts +8 -0
- package/dist/_dts/media-core/src/mediaUsageProjection.d.ts +37 -3
- 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/pageDesignRuntimePreview.d.ts +4 -2
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.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 +4 -2
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +19 -0
- 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 +10 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +17 -3
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +1 -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 +14 -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 +11 -10
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +10 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +29 -6
- 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/bookings/index.d.ts +5 -4
- package/dist/_dts/sdk/src/bookings/types.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +15 -22
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +6 -1
- package/dist/_dts/sdk/src/cli/helpers.d.ts +10 -5
- package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +2 -1
- package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +2 -2
- 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/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +40 -10
- 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/field-definitions.d.ts +13 -7
- 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 +28 -5
- 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 +42 -37
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
- 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/components/pageShared.d.ts +6 -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/overrides.d.ts +6 -1
- 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/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +84 -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 +6 -6
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
- package/dist/_dts/theme-core/src/buttons/personalities/ornate-ritual.d.ts +16 -0
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +8 -8
- package/dist/_dts/theme-core/src/buttons/types.d.ts +20 -20
- package/dist/_dts/theme-core/src/cards/types.d.ts +20 -20
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +234 -225
- 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/index.d.ts +15 -0
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/palette/variants/warm-dark.d.ts +16 -0
- package/dist/_dts/theme-core/src/schema.d.ts +263 -248
- 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/curatedSiteStyles.d.ts +141 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +16 -14
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +110 -5
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +11 -9
- 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/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +5 -1
- 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 +2 -2
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +3 -1
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +16 -1
- package/dist/_dts/theme-core/src/siteChromePlanning.d.ts +1 -0
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
- package/dist/_dts/theme-core/src/utils/colorStyles.d.ts +6 -6
- 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-3LXFQS7T.mjs} +1 -1
- package/dist/{chunk-3QWQ2MUQ.mjs → chunk-5E33VO6J.mjs} +3128 -2300
- package/dist/{chunk-3VT7LZY2.mjs → chunk-6X2OVO3S.mjs} +2 -2
- package/dist/{chunk-3PTVPAT4.mjs → chunk-HFMGVJCE.mjs} +388 -56
- package/dist/{chunk-E3NZYEKF.mjs → chunk-LBBPD2IW.mjs} +53 -2
- package/dist/{chunk-WUHKQBB6.mjs → chunk-MSHZO4SL.mjs} +23773 -18556
- package/dist/cli/index.mjs +6062 -3246
- package/dist/cli/init-docs/content/getting-started.md +2 -0
- package/dist/cli/init-docs/content/workflow-custom-block.md +5 -0
- package/dist/cli/init-docs/content/workflow-templates.md +93 -2
- package/dist/client/{accordion-SFIIZWNH.mjs → accordion-ESY65T56.mjs} +2 -2
- package/dist/client/{bookingForm-CFKZVWGA.mjs → bookingForm-JRFNZUHD.mjs} +12 -12
- package/dist/client/bookings.mjs +3568 -299
- package/dist/client/{carousel-ELXWSBLA.mjs → carousel-CPR5VWIP.mjs} +3 -3
- package/dist/client/{cart-6SSCPYY5.mjs → cart-ZUX5BA7O.mjs} +8 -7
- package/dist/client/{checkout-UFQ34HPV.mjs → checkout-RULGBADZ.mjs} +8 -7
- package/dist/client/{chunk-PA2LJH2M.mjs → chunk-52I7BGEK.mjs} +5 -4
- package/dist/client/{chunk-IUEDYLFJ.mjs → chunk-5ZEAZ33K.mjs} +1 -1
- package/dist/client/{chunk-V6XI4M2Q.mjs → chunk-BT6AEIKN.mjs} +1 -1
- package/dist/client/{chunk-3PEDD5KJ.mjs → chunk-DVNUDUVT.mjs} +1 -1
- package/dist/client/{chunk-YLMKMCSJ.mjs → chunk-GFSQNTRW.mjs} +1 -3
- package/dist/client/{chunk-NX6X3GRF.mjs → chunk-HXPWP5EN.mjs} +492 -201
- package/dist/client/{chunk-G56BSZAM.mjs → chunk-JWEYB4V6.mjs} +3 -3
- package/dist/client/chunk-L4J5Y62O.mjs +18 -0
- package/dist/client/{chunk-76JUETXQ.mjs → chunk-RDJFCPY3.mjs} +358 -157
- package/dist/client/{chunk-RMWMT3ZD.mjs → chunk-SYIJ5JO2.mjs} +1 -1
- package/dist/client/{chunk-NP47RHIX.mjs → chunk-URQCZD5W.mjs} +17 -34
- package/dist/client/{chunk-TCJS3NY5.mjs → chunk-Z5OBQ5I4.mjs} +1 -1
- package/dist/client/{chunk-7BXX7WXH.mjs → chunk-ZE5G642V.mjs} +60 -2
- package/dist/client/client.mjs +75121 -72133
- package/dist/client/{courseRegistration-HJIISAAG.mjs → courseRegistration-QTUDC35T.mjs} +13 -12
- package/dist/client/{eventCalendar-F6YVUCZR.mjs → eventCalendar-Q7NS4XLD.mjs} +14 -14
- package/dist/client/{eventCombined-B5DSTIOK.mjs → eventCombined-QAO7VUO5.mjs} +14 -14
- package/dist/client/{eventDetails-SEJDDHQC.mjs → eventDetails-WTNNU6Q3.mjs} +9 -9
- package/dist/client/{eventListing-TPMWIIBO.mjs → eventListing-5TA2ELDT.mjs} +14 -14
- package/dist/client/{eventRegistration-QU6W2PV6.mjs → eventRegistration-M6USZGRF.mjs} +17 -15
- package/dist/client/{form-LVTYNTDE.mjs → form-DGVGXLMH.mjs} +3 -3
- package/dist/client/{headerSection-SO3MFC4U.mjs → headerSection-O2AGMPCU.mjs} +4 -4
- package/dist/client/hooks.mjs +7289 -5663
- package/dist/client/{locationMap-5E5FLAKO.mjs → locationMap-EJRNRIKJ.mjs} +2 -2
- package/dist/client/{newsletterForm-GN32JEBQ.mjs → newsletterForm-7NTC2DTR.mjs} +3 -3
- package/dist/client/{productDetail-Q346KSVR.mjs → productDetail-HH4LP53D.mjs} +8 -7
- package/dist/client/{productList-DTDMQYGZ.mjs → productList-YVHYM2AF.mjs} +8 -7
- package/dist/client/rendering/client.mjs +3818 -2234
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +17370 -14360
- package/dist/client/{shop-OFUW7KPN.mjs → shop-UIFX7XRK.mjs} +8 -7
- package/dist/client/spam-protection.mjs +3 -5
- package/dist/preview-next/before-render.mjs +40 -0
- package/dist/preview-next/client/runtime.css +1 -1
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +40 -0
- package/dist/{sdk-runtime-EEMNSB7J.css → sdk-runtime-JD4A6SU6.css} +1 -1
- package/dist/{sdk-runtime-2GIX6I7X.mjs → sdk-runtime-ZENAOYMN.mjs} +6 -6
- package/dist/server/components.mjs +13473 -11321
- package/dist/server/config-validation.mjs +7017 -5489
- package/dist/server/config.mjs +7017 -5489
- package/dist/server/data.mjs +7295 -5669
- package/dist/server/index.mjs +149 -56
- package/dist/server/next.mjs +14431 -12060
- package/dist/server/page-converter.mjs +8062 -5399
- package/dist/server/prebuild.mjs +2 -1
- package/dist/server/rendering/server.mjs +13510 -11263
- package/dist/server/rendering.mjs +13613 -11293
- package/dist/server/routing.mjs +30919 -29206
- package/dist/server/server.mjs +27669 -25919
- package/dist/server/theme-bridge.mjs +1288 -146
- package/dist/server/theme.mjs +221 -131
- package/dist/styles/index.css +416 -96
- package/package.json +16 -16
- package/dist/SdkPreviewModeRuntime-AKCSCZEC.mjs +0 -8
|
@@ -10,7 +10,7 @@ type UnknownRecord = Record<string, unknown>;
|
|
|
10
10
|
type ImageMedia = Omit<Media, 'type'> & {
|
|
11
11
|
type: 'image';
|
|
12
12
|
};
|
|
13
|
-
type StandardAspectRatio = 'auto' | '16/9' | '4/3' | '1/1' | '3/4';
|
|
13
|
+
type StandardAspectRatio = 'auto' | '16/9' | '4/3' | '1/1' | '3/4' | '9/16';
|
|
14
14
|
export type SemanticSpacing = 'none' | 'compact' | 'cozy' | 'medium' | 'comfortable' | 'spacious';
|
|
15
15
|
export type ImageColSize = '1/4' | '1/3' | '2/5' | '1/2' | '2/3';
|
|
16
16
|
export type SectionStylesContent = {
|
|
@@ -332,10 +332,12 @@ export type OfferingsPreviewGroupOverride = {
|
|
|
332
332
|
ctaHref?: string | null;
|
|
333
333
|
ctaLabel?: string | null;
|
|
334
334
|
};
|
|
335
|
+
export type OfferingsPreviewGroupOrder = readonly OfferingsPreviewSourceKey[];
|
|
335
336
|
export type OfferingsPreviewContent = {
|
|
336
337
|
heading?: string | null;
|
|
337
338
|
description?: unknown;
|
|
338
339
|
itemLimit?: '1' | '2' | '3' | '4' | '5' | '6' | null;
|
|
340
|
+
groupOrder?: OfferingsPreviewGroupOrder | null;
|
|
339
341
|
groupOverrides?: readonly OfferingsPreviewGroupOverride[] | null;
|
|
340
342
|
_cardStyles?: CardStylesContent;
|
|
341
343
|
buttonVariant?: ButtonVariant | null;
|
|
@@ -427,7 +429,8 @@ export type ImageGalleryContent = {
|
|
|
427
429
|
};
|
|
428
430
|
export type MediaTextAlignment = 'left' | 'center';
|
|
429
431
|
export type MediaTextImagePosition = 'left' | 'right';
|
|
430
|
-
export type MediaTextAspectRatio = 'auto' | '16/9' | '4/3' | '1/1' | '3/4';
|
|
432
|
+
export type MediaTextAspectRatio = 'auto' | '16/9' | '4/3' | '1/1' | '3/4' | '9/16';
|
|
433
|
+
export type MediaTextImageShape = 'default' | 'square' | 'rounded' | 'circle' | 'arch';
|
|
431
434
|
export type MediaTextContent = {
|
|
432
435
|
title?: string | null;
|
|
433
436
|
titleAlignment?: MediaTextAlignment | null;
|
|
@@ -435,6 +438,7 @@ export type MediaTextContent = {
|
|
|
435
438
|
gap?: SemanticSpacing | null;
|
|
436
439
|
ratio?: ImageColSize | null;
|
|
437
440
|
aspectRatio?: MediaTextAspectRatio | null;
|
|
441
|
+
imageShape?: MediaTextImageShape | null;
|
|
438
442
|
images?: Array<{
|
|
439
443
|
image: Media | null;
|
|
440
444
|
}> | null;
|
|
@@ -457,6 +461,23 @@ export type NewsletterSignupContent = {
|
|
|
457
461
|
privacyNote?: string | null;
|
|
458
462
|
_sectionStyles?: SectionStylesContent;
|
|
459
463
|
};
|
|
464
|
+
export type ContactNewsletterContent = {
|
|
465
|
+
newsletterTitle?: string | null;
|
|
466
|
+
newsletterSubtitle?: RichTextDoc | null;
|
|
467
|
+
listId?: string | null;
|
|
468
|
+
preset?: NewsletterSignupPreset;
|
|
469
|
+
includePhone?: boolean;
|
|
470
|
+
newsletterButtonLabel?: string | null;
|
|
471
|
+
newsletterSuccessMessage?: string | null;
|
|
472
|
+
newsletterPrivacyNote?: string | null;
|
|
473
|
+
newsletterTags?: string | null;
|
|
474
|
+
contactTitle?: string | null;
|
|
475
|
+
contactIntro?: RichTextDoc | null;
|
|
476
|
+
formSlug: string;
|
|
477
|
+
contactSubmitLabel?: string | null;
|
|
478
|
+
contactSuccessMessage?: string | null;
|
|
479
|
+
_sectionStyles?: SectionStylesContent;
|
|
480
|
+
};
|
|
460
481
|
export type ShopContent = {
|
|
461
482
|
showPasses?: boolean | null;
|
|
462
483
|
showMemberships?: boolean | null;
|
|
@@ -478,7 +499,6 @@ export type ProductListContent = {
|
|
|
478
499
|
layout?: 'grid' | 'list' | null;
|
|
479
500
|
columns?: '1' | '2' | '3' | '4' | null;
|
|
480
501
|
showSummary?: boolean | null;
|
|
481
|
-
showBadges?: boolean | null;
|
|
482
502
|
showPrices?: boolean | null;
|
|
483
503
|
addButtonText?: string | null;
|
|
484
504
|
emptyStateText?: string | null;
|
|
@@ -489,7 +509,6 @@ export type ProductDetailContent = {
|
|
|
489
509
|
productSlug?: string | null;
|
|
490
510
|
showSummary?: boolean | null;
|
|
491
511
|
showBody?: boolean | null;
|
|
492
|
-
showBadges?: boolean | null;
|
|
493
512
|
addButtonText?: string | null;
|
|
494
513
|
emptyStateText?: string | null;
|
|
495
514
|
_sectionStyles?: SectionStylesContent;
|
|
@@ -511,7 +530,10 @@ export type SiteFooterContent = {
|
|
|
511
530
|
bodyText?: unknown;
|
|
512
531
|
bottomText?: unknown;
|
|
513
532
|
};
|
|
514
|
-
export type
|
|
533
|
+
export type SiteHeaderMode = 'default' | 'hidden';
|
|
534
|
+
export type SiteHeaderContent = Readonly<{
|
|
535
|
+
mode?: SiteHeaderMode | null;
|
|
536
|
+
}>;
|
|
515
537
|
export type ThumbnailShape = 'round' | 'rounded' | 'square';
|
|
516
538
|
export type LayoutAlign = 'center' | 'left';
|
|
517
539
|
export type LayoutWidth = 'full' | 'lg-3-4-left';
|
|
@@ -678,6 +700,7 @@ export type SystemBlockContentByFullKind = {
|
|
|
678
700
|
'block.site-header': SiteHeaderContent;
|
|
679
701
|
'block.site-footer': SiteFooterContent;
|
|
680
702
|
'block.form': FormBlockContent;
|
|
703
|
+
'block.contact-newsletter': ContactNewsletterContent;
|
|
681
704
|
'block.appointment-booking': AppointmentBookingContent;
|
|
682
705
|
'block.event-registration': EventRegistrationContent;
|
|
683
706
|
'block.event-details': EventDetailsContent;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*/
|
|
20
20
|
export { createRiverbankClient, getResilienceStatusFromError, RiverbankApiError, } from './client/index';
|
|
21
21
|
export { SDK_CORRELATION_HEADER_NAMES } from './client/types';
|
|
22
|
-
export type { RiverbankClient, RiverbankClientConfig, SdkCorrelationHeaderName, SdkCorrelationHeaders, SdkAuthConfig, SiteResponse, PageResponse, EntriesResponse, EntriesResponseWithMeta, GetPageParams, GetSiteParams, PaginationMeta, EntryResponse, ResilienceConfig, ResilienceStatus, ResilientData, ResilienceSource, CircuitState, RetryConfig, CircuitBreakerConfig, } from './client/types';
|
|
22
|
+
export type { RiverbankClient, RiverbankClientConfig, SdkCorrelationHeaderName, SdkCorrelationHeaders, SdkAuthConfig, SiteResponse, PageResponse, EntriesResponse, EntriesResponseWithMeta, GetEntriesByIdentifiersParams, GetPageParams, GetSiteParams, PaginationMeta, EntryResponse, ResilienceConfig, ResilienceStatus, ResilientData, ResilienceSource, CircuitState, RetryConfig, CircuitBreakerConfig, } from './client/types';
|
|
23
23
|
export { prebuildCache } from './prebuild/index';
|
|
24
24
|
export type { PrebuildOptions, PrebuildResult, PrebuildProgress, PrebuildManifest, PrebuildContentType, } from './prebuild/types';
|
|
25
25
|
export { PrebuildLoader, createPrebuildLoader, canUsePrebuild, } from './prebuild/loader';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
1
|
+
import React, { type ReactNode } from "react";
|
|
2
2
|
import type { PreviewShellLayoutProps, PreviewShellProps, SdkPreviewModeProps } from "../../../../preview-next/src/client/index";
|
|
3
3
|
export type { SdkPreviewModeContent, SdkPreviewModeProps, PreviewShellProps, PreviewShellLayoutProps, } from '../../../../preview-next/src/client/index';
|
|
4
4
|
type PreviewQueryProviderProps = Readonly<{
|
|
@@ -10,11 +10,11 @@ type PreviewLayoutProviderProps = Readonly<{
|
|
|
10
10
|
footerNode: ReactNode;
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
}>;
|
|
13
|
-
export declare function SdkPreviewMode(props: SdkPreviewModeProps):
|
|
14
|
-
export declare function PreviewQueryProvider({ children }: PreviewQueryProviderProps):
|
|
15
|
-
export declare function PreviewShell(props: PreviewShellProps):
|
|
16
|
-
export declare function PreviewShellLayout(props: PreviewShellLayoutProps):
|
|
17
|
-
export declare function PreviewLayoutProvider({ headerNode, bannerNode, footerNode, children, }: PreviewLayoutProviderProps):
|
|
13
|
+
export declare function SdkPreviewMode(props: SdkPreviewModeProps): React.JSX.Element;
|
|
14
|
+
export declare function PreviewQueryProvider({ children }: PreviewQueryProviderProps): React.JSX.Element;
|
|
15
|
+
export declare function PreviewShell(props: PreviewShellProps): React.JSX.Element;
|
|
16
|
+
export declare function PreviewShellLayout(props: PreviewShellLayoutProps): React.JSX.Element;
|
|
17
|
+
export declare function PreviewLayoutProvider({ headerNode, bannerNode, footerNode, children, }: PreviewLayoutProviderProps): React.JSX.Element;
|
|
18
18
|
export declare function usePreviewLayout(): never;
|
|
19
19
|
export declare function useOptionalPreviewLayout(): never;
|
|
20
20
|
export declare function createPreviewQueryClient(): never;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { PreviewShellLayoutProps, PreviewShellProps, SdkPreviewModeProps } from '../../../../preview-next/src/client/sdk-runtime';
|
|
2
3
|
export { PreviewLayoutProvider, usePreviewLayout, useOptionalPreviewLayout, } from '../../../../preview-next/src/client/layout/PreviewLayoutContext';
|
|
3
4
|
export { PreviewQueryProvider, createPreviewQueryClient, } from '../../../../preview-next/src/client/preview/PreviewQueryProvider';
|
|
4
5
|
export type { PreviewShellProps, PreviewShellLayoutProps, SdkPreviewModeContent, SdkPreviewModeProps, } from '../../../../preview-next/src/client/sdk-runtime';
|
|
5
|
-
export declare function SdkPreviewMode(props: SdkPreviewModeProps):
|
|
6
|
-
export declare function PreviewShell(props: PreviewShellProps):
|
|
7
|
-
export declare function PreviewShellLayout(props: PreviewShellLayoutProps):
|
|
6
|
+
export declare function SdkPreviewMode(props: SdkPreviewModeProps): React.JSX.Element;
|
|
7
|
+
export declare function PreviewShell(props: PreviewShellProps): React.JSX.Element;
|
|
8
|
+
export declare function PreviewShellLayout(props: PreviewShellLayoutProps): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AddressedLocationValue, BusinessAddress, BookingFlexibleBalanceConfig, BookingInstalmentPlanConfig } from "../../../core/src/index";
|
|
1
|
+
import type { AddressedLocationValue, BusinessAddress, BookingFlexibleBalanceConfig, BookingInstalmentPlanConfig, PublicEventPricing } from "../../../core/src/index";
|
|
2
2
|
import type { Media, MediaAssetIndexItem, SiteFooterContent, SiteHeaderContent, Theme } from "../contracts";
|
|
3
3
|
import type { BlockFieldConfig as SdkBlockFieldConfig, BlockFieldOptionsMap as SdkBlockFieldOptionsMap, ContentConfig as SdkContentConfig, ContainerOptionsConfig as SdkContainerOptionsConfig, FieldSelectOption as SdkFieldSelectOption, SdkCustomBlock, SdkThemeConfig, SdkThemePalette, SectionBackground as SdkSectionBackground, SectionOptionsConfig as SdkSectionOptionsConfig, SiteStyleConfig as SdkSiteStyleConfig } from "../config/types";
|
|
4
4
|
export type PublicTeamMemberSummary = {
|
|
@@ -165,7 +165,7 @@ export type NavigationLinkInput = PageLinkPayload | EntryLinkPayload | {
|
|
|
165
165
|
export interface NavigationItemRecord {
|
|
166
166
|
id: string;
|
|
167
167
|
label: string;
|
|
168
|
-
url: unknown
|
|
168
|
+
url: unknown;
|
|
169
169
|
position?: number;
|
|
170
170
|
orderIndex?: number;
|
|
171
171
|
urlType?: string | null;
|
|
@@ -292,7 +292,7 @@ export type SiteResponse = {
|
|
|
292
292
|
created_at: string;
|
|
293
293
|
updated_at: string;
|
|
294
294
|
maintenance_mode_enabled?: boolean;
|
|
295
|
-
maintenance_mode_message?: unknown
|
|
295
|
+
maintenance_mode_message?: unknown;
|
|
296
296
|
deployment_mode?: "managed" | "headless_cms" | "headless_full" | null;
|
|
297
297
|
is_sdk_site?: boolean | null;
|
|
298
298
|
businessAddress?: BusinessAddress | null;
|
|
@@ -383,6 +383,18 @@ export type SdkTemplate = {
|
|
|
383
383
|
bindings: Record<string, unknown> | null;
|
|
384
384
|
}>;
|
|
385
385
|
};
|
|
386
|
+
export type SdkEntrySlotContent = {
|
|
387
|
+
entrySlotId: string;
|
|
388
|
+
slotKey: string;
|
|
389
|
+
blocks: Array<{
|
|
390
|
+
id: string;
|
|
391
|
+
blockId?: string;
|
|
392
|
+
kind: string;
|
|
393
|
+
purpose: string;
|
|
394
|
+
orderIndex?: number | null;
|
|
395
|
+
content: Record<string, unknown> | null;
|
|
396
|
+
}>;
|
|
397
|
+
};
|
|
386
398
|
export type PageResponse = {
|
|
387
399
|
page: SdkRuntimePage;
|
|
388
400
|
templates?: SdkTemplate[];
|
|
@@ -391,6 +403,7 @@ export type PageResponse = {
|
|
|
391
403
|
} | {
|
|
392
404
|
entry: SdkRuntimeEntry;
|
|
393
405
|
templates: SdkTemplate[];
|
|
406
|
+
entrySlots?: SdkEntrySlotContent[];
|
|
394
407
|
contentTypeSchema: Record<string, unknown> | null;
|
|
395
408
|
mediaAssets?: SdkRuntimeMediaAsset[];
|
|
396
409
|
type: "entry";
|
|
@@ -502,6 +515,30 @@ export type PublicBookingService = {
|
|
|
502
515
|
export type PublicBookingServicesResponse = {
|
|
503
516
|
services: PublicBookingService[];
|
|
504
517
|
};
|
|
518
|
+
export type PublicEventTicketTypeRecord = {
|
|
519
|
+
id: string;
|
|
520
|
+
siteId: string;
|
|
521
|
+
eventSeriesId: string;
|
|
522
|
+
name: string;
|
|
523
|
+
description: string | null;
|
|
524
|
+
priceAmount: number;
|
|
525
|
+
isActive: boolean;
|
|
526
|
+
sortOrder: number;
|
|
527
|
+
capacityMode: "limited" | "unlimited";
|
|
528
|
+
capacityLimit: number | null;
|
|
529
|
+
saleStartsAt: string | null;
|
|
530
|
+
saleEndsAt: string | null;
|
|
531
|
+
availability: {
|
|
532
|
+
kind: "available";
|
|
533
|
+
remainingCapacity: number | null;
|
|
534
|
+
} | {
|
|
535
|
+
kind: "unavailable";
|
|
536
|
+
reason: "inactive" | "not_on_sale_yet" | "sale_ended" | "sold_out" | "event_sold_out";
|
|
537
|
+
remainingCapacity: number | null;
|
|
538
|
+
};
|
|
539
|
+
createdAt: string;
|
|
540
|
+
updatedAt: string;
|
|
541
|
+
};
|
|
505
542
|
export type PublicEventsResponse = Array<{
|
|
506
543
|
kind?: "event" | "course_session";
|
|
507
544
|
id: string;
|
|
@@ -532,9 +569,6 @@ export type PublicEventsResponse = Array<{
|
|
|
532
569
|
};
|
|
533
570
|
};
|
|
534
571
|
} | null;
|
|
535
|
-
tags?: string[];
|
|
536
|
-
ctaLabel?: string | null;
|
|
537
|
-
badges?: string[];
|
|
538
572
|
};
|
|
539
573
|
slug: string;
|
|
540
574
|
path: string;
|
|
@@ -567,9 +601,7 @@ export type PublicEventsResponse = Array<{
|
|
|
567
601
|
profilePath: string | null;
|
|
568
602
|
}>;
|
|
569
603
|
status?: "active" | "draft" | "archived";
|
|
570
|
-
|
|
571
|
-
price: number | null;
|
|
572
|
-
currency: string;
|
|
604
|
+
pricing: PublicEventPricing<PublicEventTicketTypeRecord>;
|
|
573
605
|
paymentTerms: {
|
|
574
606
|
allowedOptions: Array<{
|
|
575
607
|
kind: "upfront";
|
|
@@ -580,31 +612,6 @@ export type PublicEventsResponse = Array<{
|
|
|
580
612
|
plan: Record<string, unknown>;
|
|
581
613
|
}>;
|
|
582
614
|
};
|
|
583
|
-
pricingMode?: "single" | "ticket_types";
|
|
584
|
-
ticketTypes?: Array<{
|
|
585
|
-
id: string;
|
|
586
|
-
siteId: string;
|
|
587
|
-
eventSeriesId: string;
|
|
588
|
-
name: string;
|
|
589
|
-
description: string | null;
|
|
590
|
-
priceAmount: number;
|
|
591
|
-
isActive: boolean;
|
|
592
|
-
sortOrder: number;
|
|
593
|
-
capacityMode: "limited" | "unlimited";
|
|
594
|
-
capacityLimit: number | null;
|
|
595
|
-
saleStartsAt: string | null;
|
|
596
|
-
saleEndsAt: string | null;
|
|
597
|
-
availability: {
|
|
598
|
-
kind: "available";
|
|
599
|
-
remainingCapacity: number | null;
|
|
600
|
-
} | {
|
|
601
|
-
kind: "unavailable";
|
|
602
|
-
reason: "inactive" | "not_on_sale_yet" | "sale_ended" | "sold_out" | "event_sold_out";
|
|
603
|
-
remainingCapacity: number | null;
|
|
604
|
-
};
|
|
605
|
-
createdAt: string;
|
|
606
|
-
updatedAt: string;
|
|
607
|
-
}>;
|
|
608
615
|
accessRestriction: "none" | "category";
|
|
609
616
|
allowedCategoryIds: string[];
|
|
610
617
|
requireGuestDetails?: boolean;
|
|
@@ -706,9 +713,7 @@ export type PublicProductsResponse = {
|
|
|
706
713
|
slug: string;
|
|
707
714
|
} | null;
|
|
708
715
|
summary: string | null;
|
|
709
|
-
|
|
710
|
-
ctaLabel: string | null;
|
|
711
|
-
body: unknown | null;
|
|
716
|
+
body: unknown;
|
|
712
717
|
gallery: Array<{
|
|
713
718
|
url: string;
|
|
714
719
|
alt: string | null;
|
|
@@ -20,6 +20,7 @@ export type PageRendererDataContext = {
|
|
|
20
20
|
imageResolveContext?: ResolveImageUrlContextInput;
|
|
21
21
|
apiBaseUrl?: string;
|
|
22
22
|
portalToken?: string | null;
|
|
23
|
+
previewToken?: string | null;
|
|
23
24
|
};
|
|
24
25
|
export type SdkConfigForRenderer = {
|
|
25
26
|
customBlocks?: SdkCustomBlock[];
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { type BlockProps } from './Block.shared';
|
|
9
9
|
export type { BlockOverrideComponent, BlockProps } from './Block.shared';
|
|
10
|
-
export declare function Block(props: BlockProps): import("react
|
|
10
|
+
export declare function Block(props: BlockProps): import("react").JSX.Element;
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { type BlockProps } from './Block.shared';
|
|
8
8
|
export type { BlockOverrideComponent, BlockProps } from './Block.shared';
|
|
9
|
-
export declare function Block(props: BlockProps): import("react
|
|
9
|
+
export declare function Block(props: BlockProps): import("react").JSX.Element;
|
|
@@ -85,4 +85,4 @@ export type LayoutProps = {
|
|
|
85
85
|
* </Layout>
|
|
86
86
|
* ```
|
|
87
87
|
*/
|
|
88
|
-
export declare function Layout({ siteData: providedSiteData, client, siteId, slug, domain, children, header, footer, headerVariant, hasPortalSession, previewStage, useThemeScope, }: LayoutProps): Promise<import("react
|
|
88
|
+
export declare function Layout({ siteData: providedSiteData, client, siteId, slug, domain, children, header, footer, headerVariant, hasPortalSession, previewStage, useThemeScope, }: LayoutProps): Promise<import("react").JSX.Element>;
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
import type { OccurrenceContextData } from '../../contracts';
|
|
8
8
|
import { type PageProps } from './pageShared';
|
|
9
9
|
export type { OccurrenceContextData, PageProps };
|
|
10
|
-
export declare function Page(props: PageProps): import("react
|
|
10
|
+
export declare function Page(props: PageProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type PageHydrationBootstrapConfig } from './pageShared';
|
|
2
|
-
export declare function PageHydrationBootstrap(props: PageHydrationBootstrapConfig): import("react
|
|
2
|
+
export declare function PageHydrationBootstrap(props: PageHydrationBootstrapConfig): import("react").JSX.Element;
|
|
@@ -45,6 +45,11 @@ export type PageProps = {
|
|
|
45
45
|
* When provided, the reserved `/portal` customer route can make authenticated API calls.
|
|
46
46
|
*/
|
|
47
47
|
portalToken?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Preview token for preview-aware client-side block runtime calls.
|
|
50
|
+
* Optional because normal published rendering does not have or need one.
|
|
51
|
+
*/
|
|
52
|
+
previewToken?: string | null;
|
|
48
53
|
/**
|
|
49
54
|
* Additional context data for content entry pages.
|
|
50
55
|
* Used to pass occurrence context and content entry data to blocks.
|
|
@@ -84,4 +89,4 @@ export type PageHydrationBootstrapConfig = {
|
|
|
84
89
|
mediaAssets?: readonly MediaAssetIndexItem[];
|
|
85
90
|
};
|
|
86
91
|
export declare function toPageHydrationBootstrapConfig(props: Pick<PageProps, 'siteId' | 'supabaseUrl' | 'mediaAssets'>): PageHydrationBootstrapConfig;
|
|
87
|
-
export declare function PageContent({ page, theme, themeTokens: providedTokens, siteId, resolvedData, routeMap, pagesByIdentifier, entriesByIdentifier, wrapBlock, registry, usePlaceholders, blockOverrides, sdkConfig, customBlocks, supabaseUrl, mediaAssets, apiBaseUrl, portalToken, dataContext, useThemeScope, }: PageProps): ReactElement;
|
|
92
|
+
export declare function PageContent({ page, theme, themeTokens: providedTokens, siteId, resolvedData, routeMap, pagesByIdentifier, entriesByIdentifier, wrapBlock, registry, usePlaceholders, blockOverrides, sdkConfig, customBlocks, supabaseUrl, mediaAssets, apiBaseUrl, portalToken, previewToken, dataContext, useThemeScope, }: PageProps): ReactElement;
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
* the SDK's public type surface must remain SDK-owned so consumers don't need
|
|
6
6
|
* to install `@riverbankcms/blocks`.
|
|
7
7
|
*/
|
|
8
|
-
import
|
|
8
|
+
import { applyBindings as blocksApplyBindings, applyBindingsToContent as blocksApplyBindingsToContent, normalizeBindingOutput as blocksNormalizeBindingOutput, getPath as blocksGetPath, applyTransform as blocksApplyTransform, extractFirstParagraph as blocksExtractFirstParagraph, isBindingDescriptorLike as blocksIsBindingDescriptorLike, isRecord as blocksIsRecord } from '../../../../blocks/src/bindings/index';
|
|
9
|
+
import type { BindingSource, BindingDescriptor, BindingInput, BindingContext } from '../../contracts';
|
|
9
10
|
export type { BindingSource, BindingDescriptor, BindingInput, BindingMap, BindingContext } from '../../contracts';
|
|
10
11
|
export declare const TRANSFORMS: {
|
|
11
12
|
RICHTEXT_FIRST_PARAGRAPH: "richtext.firstParagraph";
|
|
@@ -13,15 +14,15 @@ export declare const TRANSFORMS: {
|
|
|
13
14
|
DATE_FORMAT_LONG: "date.formatLong";
|
|
14
15
|
};
|
|
15
16
|
export declare const BINDING_SOURCES: BindingSource[];
|
|
16
|
-
export declare const isRecord:
|
|
17
|
+
export declare const isRecord: typeof blocksIsRecord;
|
|
17
18
|
export declare const isBindingDescriptor: (value: unknown) => value is BindingDescriptor;
|
|
18
|
-
export declare const isBindingDescriptorLike:
|
|
19
|
+
export declare const isBindingDescriptorLike: typeof blocksIsBindingDescriptorLike;
|
|
19
20
|
export declare const normalizeBindingInput: (value: BindingInput) => BindingDescriptor | null;
|
|
20
|
-
export declare const normalizeBindingOutput:
|
|
21
|
-
export declare const applyBindings:
|
|
22
|
-
export declare const applyBindingsToContent:
|
|
21
|
+
export declare const normalizeBindingOutput: typeof blocksNormalizeBindingOutput;
|
|
22
|
+
export declare const applyBindings: typeof blocksApplyBindings;
|
|
23
|
+
export declare const applyBindingsToContent: typeof blocksApplyBindingsToContent;
|
|
23
24
|
export declare const resolveBindingValue: (descriptor: BindingDescriptor, context: BindingContext) => unknown;
|
|
24
|
-
export declare const getPath:
|
|
25
|
-
export declare const applyTransform:
|
|
26
|
-
export declare const extractFirstParagraph:
|
|
25
|
+
export declare const getPath: typeof blocksGetPath;
|
|
26
|
+
export declare const applyTransform: typeof blocksApplyTransform;
|
|
27
|
+
export declare const extractFirstParagraph: typeof blocksExtractFirstParagraph;
|
|
27
28
|
export declare const formatDate: (value: unknown, options?: Intl.DateTimeFormatOptions) => string | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { BlockApiConfig } from '../../../../../blocks/src/api';
|
|
2
|
+
export type RouteIslandApiConfigInput = Readonly<{
|
|
3
|
+
apiBaseUrl: string;
|
|
4
|
+
portalToken?: string | null;
|
|
5
|
+
previewToken?: string | null;
|
|
6
|
+
siteId: string;
|
|
7
|
+
stage?: 'preview' | 'published';
|
|
8
|
+
}>;
|
|
9
|
+
export declare function buildRouteIslandApiConfig({ apiBaseUrl, portalToken, previewToken, siteId, stage, }: RouteIslandApiConfigInput): BlockApiConfig;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Media } from '../../contracts';
|
|
2
2
|
import type { PublicTeamMemberSummary } from '../../../../api/src/index';
|
|
3
|
-
import type { BookingFlexibleBalanceConfig, BookingInstalmentPlanConfig, LocationCoordinates } from '../../../../core/src/index';
|
|
3
|
+
import type { BookingFlexibleBalanceConfig, BookingInstalmentPlanConfig, LocationCoordinates, PublicCoursePriceDisplay, PublicEventPriceDisplay, PublicEventPricing, PublicEventPricingType } from '../../../../core/src/index';
|
|
4
4
|
import type { AccordionIslandProps as BlocksAccordionIslandProps, BookingFormConfig as BlocksBookingFormConfig, BookingFormInteractiveIslandProps as BlocksBookingFormIslandProps, BookingFormService as BlocksBookingFormService, CarouselIslandProps as BlocksCarouselIslandProps, CourseRegistrationInteractiveIslandProps as BlocksCourseRegistrationIslandProps, CartDisplay as BlocksCartDisplay, CartInteractiveIslandProps as BlocksCartIslandProps, CartLineDisplay as BlocksCartLineDisplay, CheckoutDisplay as BlocksCheckoutDisplay, CheckoutInteractiveIslandProps as BlocksCheckoutIslandProps, EventCalendarInteractiveIslandProps as BlocksEventCalendarIslandProps, EventCombinedInteractiveIslandProps as BlocksEventCombinedIslandProps, EventDetailsContentEntry as BlocksEventDetailsContentEntry, EventDetailsIslandProps as BlocksEventDetailsIslandProps, EventDetailsOccurrenceContext as BlocksEventDetailsOccurrenceContext, LocationMapIslandProps as BlocksLocationMapIslandProps, EventRegistrationInteractiveIslandProps as BlocksEventRegistrationIslandProps, EventListingDisplay as BlocksEventListingDisplay, EventListingHydration as BlocksEventListingHydration, EventListingInteractiveIslandProps as BlocksEventListingIslandProps, FormInteractiveIslandProps as BlocksFormIslandProps, HeaderSectionIslandProps as BlocksHeaderSectionIslandProps, MembershipCardDisplay as BlocksMembershipCardDisplay, NewsletterFormInteractiveIslandProps as BlocksNewsletterFormIslandProps, PassCardDisplay as BlocksPassCardDisplay, PassesMembershipsDisplay as BlocksPassesMembershipsDisplay, ProductCardDisplay as BlocksProductCardDisplay, ProductDetailDisplay as BlocksProductDetailDisplay, ProductDetailInteractiveIslandProps as BlocksProductDetailIslandProps, ProductListDisplay as BlocksProductListDisplay, ProductListInteractiveIslandProps as BlocksProductListIslandProps, ProductVariantOptionDisplay as BlocksProductVariantOptionDisplay, ShopInteractiveIslandProps as BlocksShopIslandProps } from '../../../../blocks/src/contracts/index';
|
|
5
5
|
export type ResponsiveSlidesToShow = {
|
|
6
6
|
mobile?: number | string;
|
|
@@ -47,48 +47,8 @@ export type EventCategory = {
|
|
|
47
47
|
name: string;
|
|
48
48
|
color: string | null;
|
|
49
49
|
};
|
|
50
|
-
export type PricingType =
|
|
51
|
-
export type PublicCoursePriceDisplay
|
|
52
|
-
kind: 'free';
|
|
53
|
-
currency: string;
|
|
54
|
-
} | {
|
|
55
|
-
kind: 'exact';
|
|
56
|
-
amount: number;
|
|
57
|
-
currency: string;
|
|
58
|
-
} | {
|
|
59
|
-
kind: 'from';
|
|
60
|
-
amount: number;
|
|
61
|
-
currency: string;
|
|
62
|
-
} | {
|
|
63
|
-
kind: 'unavailable';
|
|
64
|
-
currency: string;
|
|
65
|
-
};
|
|
66
|
-
export type PublicEventPriceDisplay = {
|
|
67
|
-
kind: 'free';
|
|
68
|
-
currency: string;
|
|
69
|
-
} | {
|
|
70
|
-
kind: 'exact';
|
|
71
|
-
amount: number;
|
|
72
|
-
currency: string;
|
|
73
|
-
} | {
|
|
74
|
-
kind: 'from';
|
|
75
|
-
amount: number;
|
|
76
|
-
currency: string;
|
|
77
|
-
} | {
|
|
78
|
-
kind: 'mixed';
|
|
79
|
-
paidFromAmount: number;
|
|
80
|
-
currency: string;
|
|
81
|
-
} | {
|
|
82
|
-
kind: 'pass_only';
|
|
83
|
-
} | {
|
|
84
|
-
kind: 'membership_only';
|
|
85
|
-
} | {
|
|
86
|
-
kind: 'unavailable';
|
|
87
|
-
currency: string;
|
|
88
|
-
} | {
|
|
89
|
-
kind: 'course';
|
|
90
|
-
display: PublicCoursePriceDisplay;
|
|
91
|
-
};
|
|
50
|
+
export type PricingType = PublicEventPricingType;
|
|
51
|
+
export type { PublicCoursePriceDisplay, PublicEventPriceDisplay, PublicEventPricing, };
|
|
92
52
|
export type AccessRestriction = 'none' | 'category';
|
|
93
53
|
export type PublicEventTicketTypeAvailability = {
|
|
94
54
|
kind: 'available';
|
|
@@ -170,9 +130,6 @@ export type PublicEvent = {
|
|
|
170
130
|
cardTitleOverride?: string | null;
|
|
171
131
|
summary?: string | null;
|
|
172
132
|
image?: Media | null;
|
|
173
|
-
tags?: string[];
|
|
174
|
-
ctaLabel?: string | null;
|
|
175
|
-
badges?: string[];
|
|
176
133
|
};
|
|
177
134
|
slug: string;
|
|
178
135
|
path: string;
|
|
@@ -190,13 +147,8 @@ export type PublicEvent = {
|
|
|
190
147
|
teamMembers?: PublicTeamMemberSummary[];
|
|
191
148
|
status?: 'active' | 'draft' | 'archived';
|
|
192
149
|
timeZone: string;
|
|
193
|
-
|
|
194
|
-
price: number | null;
|
|
195
|
-
currency: string;
|
|
196
|
-
priceDisplay: PublicEventPriceDisplay;
|
|
150
|
+
pricing: PublicEventPricing<PublicEventTicketType>;
|
|
197
151
|
paymentTerms: BookingPaymentTerms;
|
|
198
|
-
pricingMode?: 'single' | 'ticket_types';
|
|
199
|
-
ticketTypes?: PublicEventTicketType[];
|
|
200
152
|
accessRestriction: AccessRestriction;
|
|
201
153
|
allowedCategoryIds: string[];
|
|
202
154
|
requireGuestDetails?: boolean;
|
|
@@ -227,7 +179,7 @@ export type PublicCourse = {
|
|
|
227
179
|
id: string;
|
|
228
180
|
title: string;
|
|
229
181
|
slug: string;
|
|
230
|
-
description: unknown
|
|
182
|
+
description: unknown;
|
|
231
183
|
enrollmentOpen: boolean;
|
|
232
184
|
priceCents: number | null;
|
|
233
185
|
currency: string;
|
|
@@ -292,9 +244,7 @@ export type PublicProduct = {
|
|
|
292
244
|
slug: string;
|
|
293
245
|
} | null;
|
|
294
246
|
summary: string | null;
|
|
295
|
-
|
|
296
|
-
ctaLabel: string | null;
|
|
297
|
-
body: unknown | null;
|
|
247
|
+
body: unknown;
|
|
298
248
|
gallery: Array<{
|
|
299
249
|
url: string;
|
|
300
250
|
alt: string | null;
|
|
@@ -313,7 +263,6 @@ export type ShopDisplayConfig = {
|
|
|
313
263
|
showDescriptions?: boolean;
|
|
314
264
|
showSummary?: boolean;
|
|
315
265
|
showBody?: boolean;
|
|
316
|
-
showBadges?: boolean;
|
|
317
266
|
showPrices?: boolean;
|
|
318
267
|
showValidityPeriod?: boolean;
|
|
319
268
|
showPricePerCredit?: boolean | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { SystemBlockContentByKind, SystemBlockShortKind, Theme, ThemeTokens } from '../contracts';
|
|
2
|
+
import type { EntrySubrouteContextData, OccurrenceContextData, SystemBlockContentByKind, SystemBlockShortKind, Theme, ThemeTokens } from '../contracts';
|
|
3
3
|
import type { ResolveImageUrlContext } from '../contracts';
|
|
4
4
|
/**
|
|
5
5
|
* Props passed to block override components.
|
|
@@ -15,6 +15,11 @@ export type BlockOverrideProps<TContent = Record<string, unknown>, TData = Recor
|
|
|
15
15
|
siteId?: string;
|
|
16
16
|
apiBaseUrl?: string;
|
|
17
17
|
portalToken?: string | null;
|
|
18
|
+
previewToken?: string | null;
|
|
19
|
+
stage?: 'published' | 'preview';
|
|
20
|
+
occurrenceContext?: OccurrenceContextData | null;
|
|
21
|
+
entrySubrouteContext?: EntrySubrouteContextData | null;
|
|
22
|
+
contentEntry?: Record<string, unknown> | null;
|
|
18
23
|
supabaseUrl?: string;
|
|
19
24
|
imageResolveContext?: ResolveImageUrlContext;
|
|
20
25
|
blockId: string | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { RichTextPrimitiveProps } from '../../contracts';
|
|
2
3
|
/**
|
|
3
4
|
* SDK-owned RichText primitive.
|
|
@@ -5,4 +6,4 @@ import type { RichTextPrimitiveProps } from '../../contracts';
|
|
|
5
6
|
* Runtime is delegated to `@riverbankcms/blocks`, but the exported type surface
|
|
6
7
|
* must remain SDK-owned so external consumers don't need `@riverbankcms/blocks`.
|
|
7
8
|
*/
|
|
8
|
-
export declare function RichText(props: RichTextPrimitiveProps):
|
|
9
|
+
export declare function RichText(props: RichTextPrimitiveProps): React.JSX.Element;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
20
|
export { createRiverbankClient } from './client/index';
|
|
21
|
-
export type { RiverbankClient, RiverbankClientConfig, SiteResponse, PageResponse, EntriesResponse, EntryResponse, } from './client/types';
|
|
21
|
+
export type { RiverbankClient, RiverbankClientConfig, SiteResponse, PageResponse, EntriesResponse, GetEntriesByIdentifiersParams, EntryResponse, } from './client/types';
|
|
22
22
|
export { loadPage } from './rendering/helpers/loadPage';
|
|
23
23
|
export type { LoadPageParams, LoadPageResult, RuntimeSdkConfig } from './rendering/helpers/loadPage';
|
|
24
24
|
export { loadContent, isPageContent, isEntryContent } from './rendering/helpers/loadContent';
|
|
@@ -91,7 +91,7 @@ export interface ThemeBridgeProviderProps {
|
|
|
91
91
|
* Optionally generates component CSS for buttons, cards, and inputs when those
|
|
92
92
|
* component buckets are explicitly enabled.
|
|
93
93
|
*/
|
|
94
|
-
export declare function ThemeBridgeProvider({ config, children, className, }: ThemeBridgeProviderProps):
|
|
94
|
+
export declare function ThemeBridgeProvider({ config, children, className, }: ThemeBridgeProviderProps): React.JSX.Element;
|
|
95
95
|
/**
|
|
96
96
|
* Hook to access generated CSS variables from theme config.
|
|
97
97
|
* Useful for custom components that need theme values.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* `@riverbankcms/blocks` (which is not a public dependency). This list is a
|
|
8
8
|
* stable public contract; keep it in sync with the internal blocks runtime.
|
|
9
9
|
*/
|
|
10
|
-
export declare const SYSTEM_BLOCK_KINDS: readonly ["block.hero", "block.intro", "block.columns", "block.collection", "block.feature-cards", "block.media-text", "block.cta-full", "block.single-button", "block.body-text", "block.location-map", "block.faq", "block.testimonials", "block.team-members", "block.embed", "block.blog-post", "block.blog-listing", "block.site-header", "block.site-footer", "block.form", "block.appointment-booking", "block.event-registration", "block.event-details", "block.course-registration", "block.course-details", "block.event-spotlight", "block.event-listing", "block.event-calendar", "block.offerings-preview", "block.shop", "block.product-list", "block.product-detail", "block.cart", "block.checkout", "block.gifting", "block.newsletter-signup", "block.image-gallery", "block.video-grid", "block.audio-player", "block.file-download"];
|
|
10
|
+
export declare const SYSTEM_BLOCK_KINDS: readonly ["block.hero", "block.intro", "block.columns", "block.collection", "block.feature-cards", "block.media-text", "block.cta-full", "block.single-button", "block.body-text", "block.location-map", "block.faq", "block.testimonials", "block.team-members", "block.embed", "block.blog-post", "block.blog-listing", "block.site-header", "block.site-footer", "block.form", "block.contact-newsletter", "block.appointment-booking", "block.event-registration", "block.event-details", "block.course-registration", "block.course-details", "block.event-spotlight", "block.event-listing", "block.event-calendar", "block.offerings-preview", "block.shop", "block.product-list", "block.product-detail", "block.cart", "block.checkout", "block.gifting", "block.newsletter-signup", "block.image-gallery", "block.video-grid", "block.audio-player", "block.file-download"];
|
|
11
11
|
export type SystemBlockKind = (typeof SYSTEM_BLOCK_KINDS)[number];
|
|
12
12
|
export type CustomBlockKind = `custom.${string}`;
|
|
13
13
|
export type BlockKind = SystemBlockKind | CustomBlockKind;
|