@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
|
@@ -1463,11 +1463,12 @@ export type Database = {
|
|
|
1463
1463
|
block_id: string | null;
|
|
1464
1464
|
created_at: string;
|
|
1465
1465
|
draft_content_id: string | null;
|
|
1466
|
+
entry_slot_id: string | null;
|
|
1466
1467
|
id: string;
|
|
1467
1468
|
identifier: string;
|
|
1468
1469
|
kind: string;
|
|
1469
1470
|
order_index: number;
|
|
1470
|
-
page_id: string;
|
|
1471
|
+
page_id: string | null;
|
|
1471
1472
|
published_content_id: string | null;
|
|
1472
1473
|
purpose: string;
|
|
1473
1474
|
site_id: string;
|
|
@@ -1478,11 +1479,12 @@ export type Database = {
|
|
|
1478
1479
|
block_id?: string | null;
|
|
1479
1480
|
created_at?: string;
|
|
1480
1481
|
draft_content_id?: string | null;
|
|
1482
|
+
entry_slot_id?: string | null;
|
|
1481
1483
|
id?: string;
|
|
1482
1484
|
identifier: string;
|
|
1483
1485
|
kind: string;
|
|
1484
1486
|
order_index?: number;
|
|
1485
|
-
page_id
|
|
1487
|
+
page_id?: string | null;
|
|
1486
1488
|
published_content_id?: string | null;
|
|
1487
1489
|
purpose: string;
|
|
1488
1490
|
site_id: string;
|
|
@@ -1493,11 +1495,12 @@ export type Database = {
|
|
|
1493
1495
|
block_id?: string | null;
|
|
1494
1496
|
created_at?: string;
|
|
1495
1497
|
draft_content_id?: string | null;
|
|
1498
|
+
entry_slot_id?: string | null;
|
|
1496
1499
|
id?: string;
|
|
1497
1500
|
identifier?: string;
|
|
1498
1501
|
kind?: string;
|
|
1499
1502
|
order_index?: number;
|
|
1500
|
-
page_id?: string;
|
|
1503
|
+
page_id?: string | null;
|
|
1501
1504
|
published_content_id?: string | null;
|
|
1502
1505
|
purpose?: string;
|
|
1503
1506
|
site_id?: string;
|
|
@@ -1512,6 +1515,13 @@ export type Database = {
|
|
|
1512
1515
|
referencedRelation: "content_versions";
|
|
1513
1516
|
referencedColumns: ["id"];
|
|
1514
1517
|
},
|
|
1518
|
+
{
|
|
1519
|
+
foreignKeyName: "blocks_entry_slot_id_fkey";
|
|
1520
|
+
columns: ["entry_slot_id"];
|
|
1521
|
+
isOneToOne: false;
|
|
1522
|
+
referencedRelation: "entry_block_slots";
|
|
1523
|
+
referencedColumns: ["id"];
|
|
1524
|
+
},
|
|
1515
1525
|
{
|
|
1516
1526
|
foreignKeyName: "blocks_page_id_fkey";
|
|
1517
1527
|
columns: ["page_id"];
|
|
@@ -4519,6 +4529,7 @@ export type Database = {
|
|
|
4519
4529
|
deleted_at: string | null;
|
|
4520
4530
|
deleted_by: string | null;
|
|
4521
4531
|
design_state: Json | null;
|
|
4532
|
+
entry_slot_id: string | null;
|
|
4522
4533
|
id: string;
|
|
4523
4534
|
owner_kind: Database["public"]["Enums"]["content_owner_kind"];
|
|
4524
4535
|
page_id: string | null;
|
|
@@ -4536,6 +4547,7 @@ export type Database = {
|
|
|
4536
4547
|
deleted_at?: string | null;
|
|
4537
4548
|
deleted_by?: string | null;
|
|
4538
4549
|
design_state?: Json | null;
|
|
4550
|
+
entry_slot_id?: string | null;
|
|
4539
4551
|
id?: string;
|
|
4540
4552
|
owner_kind?: Database["public"]["Enums"]["content_owner_kind"];
|
|
4541
4553
|
page_id?: string | null;
|
|
@@ -4553,6 +4565,7 @@ export type Database = {
|
|
|
4553
4565
|
deleted_at?: string | null;
|
|
4554
4566
|
deleted_by?: string | null;
|
|
4555
4567
|
design_state?: Json | null;
|
|
4568
|
+
entry_slot_id?: string | null;
|
|
4556
4569
|
id?: string;
|
|
4557
4570
|
owner_kind?: Database["public"]["Enums"]["content_owner_kind"];
|
|
4558
4571
|
page_id?: string | null;
|
|
@@ -4584,6 +4597,13 @@ export type Database = {
|
|
|
4584
4597
|
referencedRelation: "content_entries";
|
|
4585
4598
|
referencedColumns: ["id"];
|
|
4586
4599
|
},
|
|
4600
|
+
{
|
|
4601
|
+
foreignKeyName: "content_versions_entry_slot_id_fkey";
|
|
4602
|
+
columns: ["entry_slot_id"];
|
|
4603
|
+
isOneToOne: false;
|
|
4604
|
+
referencedRelation: "entry_block_slots";
|
|
4605
|
+
referencedColumns: ["id"];
|
|
4606
|
+
},
|
|
4587
4607
|
{
|
|
4588
4608
|
foreignKeyName: "content_versions_page_id_fkey";
|
|
4589
4609
|
columns: ["page_id"];
|
|
@@ -6722,6 +6742,80 @@ export type Database = {
|
|
|
6722
6742
|
}
|
|
6723
6743
|
];
|
|
6724
6744
|
};
|
|
6745
|
+
entry_block_slots: {
|
|
6746
|
+
Row: {
|
|
6747
|
+
content_entry_id: string;
|
|
6748
|
+
created_at: string;
|
|
6749
|
+
created_by: string | null;
|
|
6750
|
+
deleted_at: string | null;
|
|
6751
|
+
deleted_by: string | null;
|
|
6752
|
+
draft_composition_version_id: string | null;
|
|
6753
|
+
id: string;
|
|
6754
|
+
published_composition_version_id: string | null;
|
|
6755
|
+
site_id: string;
|
|
6756
|
+
slot_key: string;
|
|
6757
|
+
updated_at: string;
|
|
6758
|
+
updated_by: string | null;
|
|
6759
|
+
};
|
|
6760
|
+
Insert: {
|
|
6761
|
+
content_entry_id: string;
|
|
6762
|
+
created_at?: string;
|
|
6763
|
+
created_by?: string | null;
|
|
6764
|
+
deleted_at?: string | null;
|
|
6765
|
+
deleted_by?: string | null;
|
|
6766
|
+
draft_composition_version_id?: string | null;
|
|
6767
|
+
id?: string;
|
|
6768
|
+
published_composition_version_id?: string | null;
|
|
6769
|
+
site_id: string;
|
|
6770
|
+
slot_key: string;
|
|
6771
|
+
updated_at?: string;
|
|
6772
|
+
updated_by?: string | null;
|
|
6773
|
+
};
|
|
6774
|
+
Update: {
|
|
6775
|
+
content_entry_id?: string;
|
|
6776
|
+
created_at?: string;
|
|
6777
|
+
created_by?: string | null;
|
|
6778
|
+
deleted_at?: string | null;
|
|
6779
|
+
deleted_by?: string | null;
|
|
6780
|
+
draft_composition_version_id?: string | null;
|
|
6781
|
+
id?: string;
|
|
6782
|
+
published_composition_version_id?: string | null;
|
|
6783
|
+
site_id?: string;
|
|
6784
|
+
slot_key?: string;
|
|
6785
|
+
updated_at?: string;
|
|
6786
|
+
updated_by?: string | null;
|
|
6787
|
+
};
|
|
6788
|
+
Relationships: [
|
|
6789
|
+
{
|
|
6790
|
+
foreignKeyName: "entry_block_slots_content_entry_id_fkey";
|
|
6791
|
+
columns: ["content_entry_id"];
|
|
6792
|
+
isOneToOne: false;
|
|
6793
|
+
referencedRelation: "content_entries";
|
|
6794
|
+
referencedColumns: ["id"];
|
|
6795
|
+
},
|
|
6796
|
+
{
|
|
6797
|
+
foreignKeyName: "entry_block_slots_draft_composition_version_id_fkey";
|
|
6798
|
+
columns: ["draft_composition_version_id"];
|
|
6799
|
+
isOneToOne: false;
|
|
6800
|
+
referencedRelation: "content_versions";
|
|
6801
|
+
referencedColumns: ["id"];
|
|
6802
|
+
},
|
|
6803
|
+
{
|
|
6804
|
+
foreignKeyName: "entry_block_slots_published_composition_version_id_fkey";
|
|
6805
|
+
columns: ["published_composition_version_id"];
|
|
6806
|
+
isOneToOne: false;
|
|
6807
|
+
referencedRelation: "content_versions";
|
|
6808
|
+
referencedColumns: ["id"];
|
|
6809
|
+
},
|
|
6810
|
+
{
|
|
6811
|
+
foreignKeyName: "entry_block_slots_site_id_fkey";
|
|
6812
|
+
columns: ["site_id"];
|
|
6813
|
+
isOneToOne: false;
|
|
6814
|
+
referencedRelation: "sites";
|
|
6815
|
+
referencedColumns: ["id"];
|
|
6816
|
+
}
|
|
6817
|
+
];
|
|
6818
|
+
};
|
|
6725
6819
|
event_attendee_guests: {
|
|
6726
6820
|
Row: {
|
|
6727
6821
|
attendee_id: string;
|
|
@@ -15534,6 +15628,32 @@ export type Database = {
|
|
|
15534
15628
|
target_kind: string;
|
|
15535
15629
|
}[];
|
|
15536
15630
|
};
|
|
15631
|
+
commit_content_draft_version: {
|
|
15632
|
+
Args: {
|
|
15633
|
+
p_data: Json;
|
|
15634
|
+
p_design_state: Json;
|
|
15635
|
+
p_expected_draft_updated_at: string;
|
|
15636
|
+
p_expected_draft_version_id: string;
|
|
15637
|
+
p_owner_id: string;
|
|
15638
|
+
p_owner_kind: Database["public"]["Enums"]["content_owner_kind"];
|
|
15639
|
+
p_site_id: string;
|
|
15640
|
+
p_user_id: string;
|
|
15641
|
+
p_version: number;
|
|
15642
|
+
};
|
|
15643
|
+
Returns: {
|
|
15644
|
+
block_id: string;
|
|
15645
|
+
content_entry_id: string;
|
|
15646
|
+
data: Json;
|
|
15647
|
+
design_state: Json;
|
|
15648
|
+
entry_slot_id: string;
|
|
15649
|
+
id: string;
|
|
15650
|
+
owner_kind: Database["public"]["Enums"]["content_owner_kind"];
|
|
15651
|
+
page_id: string;
|
|
15652
|
+
stage: Database["public"]["Enums"]["content_stage"];
|
|
15653
|
+
updated_at: string;
|
|
15654
|
+
version: number;
|
|
15655
|
+
}[];
|
|
15656
|
+
};
|
|
15537
15657
|
complete_demo_lifecycle_job_lease: {
|
|
15538
15658
|
Args: {
|
|
15539
15659
|
p_error_message?: string;
|
|
@@ -16531,7 +16651,7 @@ export type Database = {
|
|
|
16531
16651
|
billing_interval: "monthly" | "annual";
|
|
16532
16652
|
cancellation_context_category: "customer_requested" | "schedule_conflict" | "duplicate_or_admin_error" | "non_payment" | "policy_or_eligibility" | "other" | "legacy_client_unspecified";
|
|
16533
16653
|
content_entry_status: "draft" | "scheduled" | "published" | "archived";
|
|
16534
|
-
content_owner_kind: "block" | "entry" | "page";
|
|
16654
|
+
content_owner_kind: "block" | "entry" | "page" | "entry_slot";
|
|
16535
16655
|
content_stage: "draft" | "published";
|
|
16536
16656
|
gsc_property_type: "domain" | "url_prefix";
|
|
16537
16657
|
impersonation_scope: "read" | "write";
|
|
@@ -17244,13 +17364,13 @@ export type Enums<DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["En
|
|
|
17244
17364
|
} ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never = never> = DefaultSchemaEnumNameOrOptions extends {
|
|
17245
17365
|
schema: keyof DatabaseWithoutInternals;
|
|
17246
17366
|
} ? DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"][EnumName] : DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] ? DefaultSchema["Enums"][DefaultSchemaEnumNameOrOptions] : never;
|
|
17247
|
-
export type CompositeTypes<PublicCompositeTypeNameOrOptions extends
|
|
17367
|
+
export type CompositeTypes<PublicCompositeTypeNameOrOptions extends {
|
|
17248
17368
|
schema: keyof DatabaseWithoutInternals;
|
|
17249
17369
|
}, CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
|
|
17250
17370
|
schema: keyof DatabaseWithoutInternals;
|
|
17251
17371
|
} ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never = never> = PublicCompositeTypeNameOrOptions extends {
|
|
17252
17372
|
schema: keyof DatabaseWithoutInternals;
|
|
17253
|
-
} ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] :
|
|
17373
|
+
} ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : never;
|
|
17254
17374
|
export declare const Constants: {
|
|
17255
17375
|
readonly graphql_public: {
|
|
17256
17376
|
readonly Enums: {};
|
|
@@ -17266,7 +17386,7 @@ export declare const Constants: {
|
|
|
17266
17386
|
readonly billing_interval: readonly ["monthly", "annual"];
|
|
17267
17387
|
readonly cancellation_context_category: readonly ["customer_requested", "schedule_conflict", "duplicate_or_admin_error", "non_payment", "policy_or_eligibility", "other", "legacy_client_unspecified"];
|
|
17268
17388
|
readonly content_entry_status: readonly ["draft", "scheduled", "published", "archived"];
|
|
17269
|
-
readonly content_owner_kind: readonly ["block", "entry", "page"];
|
|
17389
|
+
readonly content_owner_kind: readonly ["block", "entry", "page", "entry_slot"];
|
|
17270
17390
|
readonly content_stage: readonly ["draft", "published"];
|
|
17271
17391
|
readonly gsc_property_type: readonly ["domain", "url_prefix"];
|
|
17272
17392
|
readonly impersonation_scope: readonly ["read", "write"];
|
|
@@ -120,9 +120,9 @@ export declare const bookingQuestionsFormSettingsSchema: z.ZodObject<{
|
|
|
120
120
|
confirmationVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodNull]>;
|
|
121
121
|
}, z.core.$strict>>;
|
|
122
122
|
audienceHint: z.ZodOptional<z.ZodEnum<{
|
|
123
|
+
mixed: "mixed";
|
|
123
124
|
courses: "courses";
|
|
124
125
|
events: "events";
|
|
125
|
-
mixed: "mixed";
|
|
126
126
|
appointments: "appointments";
|
|
127
127
|
}>>;
|
|
128
128
|
customerTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -216,9 +216,9 @@ export declare const formSettingsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
216
216
|
confirmationVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodNull]>;
|
|
217
217
|
}, z.core.$strict>>;
|
|
218
218
|
audienceHint: z.ZodOptional<z.ZodEnum<{
|
|
219
|
+
mixed: "mixed";
|
|
219
220
|
courses: "courses";
|
|
220
221
|
events: "events";
|
|
221
|
-
mixed: "mixed";
|
|
222
222
|
appointments: "appointments";
|
|
223
223
|
}>>;
|
|
224
224
|
customerTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -319,9 +319,9 @@ export declare const formSettingsInputSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
319
319
|
confirmationVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodNull]>;
|
|
320
320
|
}, z.core.$strict>>;
|
|
321
321
|
audienceHint: z.ZodOptional<z.ZodEnum<{
|
|
322
|
+
mixed: "mixed";
|
|
322
323
|
courses: "courses";
|
|
323
324
|
events: "events";
|
|
324
|
-
mixed: "mixed";
|
|
325
325
|
appointments: "appointments";
|
|
326
326
|
}>>;
|
|
327
327
|
customerTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -1015,9 +1015,9 @@ export declare const createFormPayloadSchema: z.ZodObject<{
|
|
|
1015
1015
|
confirmationVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodNull]>;
|
|
1016
1016
|
}, z.core.$strict>>;
|
|
1017
1017
|
audienceHint: z.ZodOptional<z.ZodEnum<{
|
|
1018
|
+
mixed: "mixed";
|
|
1018
1019
|
courses: "courses";
|
|
1019
1020
|
events: "events";
|
|
1020
|
-
mixed: "mixed";
|
|
1021
1021
|
appointments: "appointments";
|
|
1022
1022
|
}>>;
|
|
1023
1023
|
customerTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -22,5 +22,5 @@ type EditorChromeProps = {
|
|
|
22
22
|
onRetryFailedSaves?: () => void | Promise<void>;
|
|
23
23
|
historyControls?: EditorHistoryBarControls;
|
|
24
24
|
};
|
|
25
|
-
export declare function EditorChrome({ toolbarOverrides, onPublish, onDiscard, publishMenuItems, actionsSlot, messageOverride, messageVariant, actionButtonSize, showStatusBar, showToggle, menuItems: menuItemsOverride, mobileMenuItems, status, lastSavedAt, draftSyncState, hasFailedSaves, onRetryFailedSaves, historyControls, }: EditorChromeProps): import("react
|
|
25
|
+
export declare function EditorChrome({ toolbarOverrides, onPublish, onDiscard, publishMenuItems, actionsSlot, messageOverride, messageVariant, actionButtonSize, showStatusBar, showToggle, menuItems: menuItemsOverride, mobileMenuItems, status, lastSavedAt, draftSyncState, hasFailedSaves, onRetryFailedSaves, historyControls, }: EditorChromeProps): import("react").JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const InlineTextEditor: () => import("react
|
|
1
|
+
export declare const InlineTextEditor: () => import("react").JSX.Element;
|
|
@@ -16,5 +16,5 @@ export declare function EditorPrimitivesProvider({ canEdit, saveField, onSave, i
|
|
|
16
16
|
onSave?: (args: SaveArgs) => Promise<void>;
|
|
17
17
|
inlineFieldAdapter?: InlineFieldAdapter | null;
|
|
18
18
|
children: React.ReactNode;
|
|
19
|
-
}):
|
|
19
|
+
}): React.JSX.Element;
|
|
20
20
|
export {};
|
|
@@ -7,5 +7,5 @@ export type InlineFieldAdapter = {
|
|
|
7
7
|
export declare function InlineFieldProvider({ adapter, children, }: {
|
|
8
8
|
adapter?: InlineFieldAdapter | null;
|
|
9
9
|
children: ReactNode;
|
|
10
|
-
}): import("react
|
|
10
|
+
}): import("react").JSX.Element;
|
|
11
11
|
export declare function useInlineFieldAdapter(): InlineFieldAdapter | null;
|
|
@@ -7,6 +7,6 @@ type SaveFn = (args: SaveArgs) => Promise<void>;
|
|
|
7
7
|
export declare function EditorSaveProvider({ save, children }: {
|
|
8
8
|
save: SaveFn;
|
|
9
9
|
children: React.ReactNode;
|
|
10
|
-
}):
|
|
10
|
+
}): React.JSX.Element;
|
|
11
11
|
export declare function useSaveField(): SaveFn;
|
|
12
12
|
export {};
|
|
@@ -23,4 +23,4 @@ export type RichTextEditorSurfaceProps = Readonly<{
|
|
|
23
23
|
renderContent?: (content: ReactNode) => ReactNode;
|
|
24
24
|
}>;
|
|
25
25
|
export declare function shouldHandleRichTextActivationKey(container: HTMLElement, target: EventTarget | null): boolean;
|
|
26
|
-
export declare function RichTextEditorSurface({ editor, config, isEmpty, className, contentClassName, placeholderClassName, placeholderText, linkItems, onRequestLinkItems, onPickImage, toolbarTone, toolbarAlwaysVisible, toolbarPortalToChrome, hideToolbar, hideContent, onClick, renderContent, }: RichTextEditorSurfaceProps): import("react
|
|
26
|
+
export declare function RichTextEditorSurface({ editor, config, isEmpty, className, contentClassName, placeholderClassName, placeholderText, linkItems, onRequestLinkItems, onPickImage, toolbarTone, toolbarAlwaysVisible, toolbarPortalToChrome, hideToolbar, hideContent, onClick, renderContent, }: RichTextEditorSurfaceProps): import("react").JSX.Element;
|
|
@@ -12,5 +12,5 @@ interface RichTextToolbarProps {
|
|
|
12
12
|
tone?: 'light' | 'dark';
|
|
13
13
|
portalToChrome?: boolean;
|
|
14
14
|
}
|
|
15
|
-
export declare function RichTextToolbar({ editor, buttons, onPickImage, linkItems, onRequestLinkItems, alwaysVisible, tone, portalToChrome, }: RichTextToolbarProps): import("react
|
|
15
|
+
export declare function RichTextToolbar({ editor, buttons, onPickImage, linkItems, onRequestLinkItems, alwaysVisible, tone, portalToChrome, }: RichTextToolbarProps): import("react").JSX.Element | null;
|
|
16
16
|
export {};
|
|
@@ -7,4 +7,4 @@ type LinkPopoverProps = {
|
|
|
7
7
|
loadItems?: () => Promise<RichTextRoutableItem[]>;
|
|
8
8
|
};
|
|
9
9
|
export { type RichTextRoutableItem };
|
|
10
|
-
export declare function LinkPopover({ editor, tone, initialItems, loadItems }: LinkPopoverProps): import("react
|
|
10
|
+
export declare function LinkPopover({ editor, tone, initialItems, loadItems }: LinkPopoverProps): import("react").JSX.Element;
|
|
@@ -7,6 +7,7 @@ import { type EditorStructuralCommand } from '../../core/src/index';
|
|
|
7
7
|
import { type CustomBlockRegistryEntry, type SdkConfigForBlockPicker } from './block-editor/sdkBlockMerger';
|
|
8
8
|
import { type BlockActionPresentation } from './block-editor/actionPresentation';
|
|
9
9
|
import { type ReorderControlMode } from './block-editor/reorderControlMode';
|
|
10
|
+
import { type BlockEditorOwner } from './block-editor/owner';
|
|
10
11
|
import type { ArrayKeysManager, BlockEditorHandle, BlockItem, BlockFocusRequest, UiSlice, DraftsSlice } from './block-editor/types';
|
|
11
12
|
import type { BlockDraftSaveability, FieldWidgetComponent } from '../../block-form/src/client/index';
|
|
12
13
|
type UiState = {
|
|
@@ -35,7 +36,7 @@ type UiState = {
|
|
|
35
36
|
};
|
|
36
37
|
export type BlockEditorProps = {
|
|
37
38
|
siteId: string;
|
|
38
|
-
|
|
39
|
+
owner: BlockEditorOwner;
|
|
39
40
|
blocks: BlockItem[];
|
|
40
41
|
recoveryConflictBlockIds?: readonly string[];
|
|
41
42
|
recoveryConflictReviewRequestId?: number | null;
|
|
@@ -43,6 +44,7 @@ export type BlockEditorProps = {
|
|
|
43
44
|
apiClient: ApiClient;
|
|
44
45
|
enableReordering?: boolean;
|
|
45
46
|
enableCreation?: boolean;
|
|
47
|
+
enableDeletion?: boolean;
|
|
46
48
|
onBlockSave?: (blockId: string, content: Record<string, unknown>) => void;
|
|
47
49
|
onBlocksChange?: (blocks: BlockItem[]) => void;
|
|
48
50
|
theme?: Theme | null;
|
|
@@ -53,6 +55,9 @@ export type BlockEditorProps = {
|
|
|
53
55
|
enabledContentTypes?: string[];
|
|
54
56
|
sdkConfig?: SdkConfigForBlockPicker | null;
|
|
55
57
|
customBlocks?: readonly CustomBlockRegistryEntry[];
|
|
58
|
+
allowedBlockKinds?: readonly string[] | null;
|
|
59
|
+
emptyUnavailableMessage?: string;
|
|
60
|
+
initialCollapsed?: boolean;
|
|
56
61
|
reorderControlMode?: ReorderControlMode;
|
|
57
62
|
actionPresentation?: BlockActionPresentation;
|
|
58
63
|
};
|
|
@@ -6,6 +6,7 @@ import { type EditorBlockId } from '../../core/src/index';
|
|
|
6
6
|
import type { ArrayKeysManager, DraftsSlice, UiStore as BlockEditorUiStore } from './block-editor/types';
|
|
7
7
|
type UiStoreState = {
|
|
8
8
|
setActivePreviewField: (field: {
|
|
9
|
+
kind: 'block';
|
|
9
10
|
blockId: EditorBlockId;
|
|
10
11
|
fieldPath: string;
|
|
11
12
|
} | null) => void;
|
|
@@ -32,7 +33,7 @@ type BlockFormFocusSignal = {
|
|
|
32
33
|
fieldPath?: string | null;
|
|
33
34
|
itemIndex?: number | null;
|
|
34
35
|
};
|
|
35
|
-
export declare function BlockForm({ siteId: _siteId, block, manifest, uiStore, hasRecoveryConflict, focusSignal, onFocusHandled, onSaveSuccess
|
|
36
|
+
export declare function BlockForm({ siteId: _siteId, block, manifest, uiStore, hasRecoveryConflict, focusSignal, onFocusHandled, onSaveSuccess, theme, widgetOverrides, hideThemeV2RawStyleFields, pageDesignBlock, }: {
|
|
36
37
|
siteId: string;
|
|
37
38
|
block: BlockItem;
|
|
38
39
|
manifest: BlockManifest;
|
|
@@ -45,5 +46,5 @@ export declare function BlockForm({ siteId: _siteId, block, manifest, uiStore, h
|
|
|
45
46
|
widgetOverrides?: Record<string, FieldWidgetComponent>;
|
|
46
47
|
hideThemeV2RawStyleFields?: boolean;
|
|
47
48
|
pageDesignBlock?: PageDesignEditorBlock | null;
|
|
48
|
-
}): import("react
|
|
49
|
+
}): import("react").JSX.Element | null;
|
|
49
50
|
export {};
|
|
@@ -55,4 +55,4 @@ export type FormProviderProps = {
|
|
|
55
55
|
* 3. MediaEditorProvider - Media upload and repository
|
|
56
56
|
* 4. RichTextWidgetProvider - Rich text theme and image picker
|
|
57
57
|
*/
|
|
58
|
-
export declare function FormProvider({ siteId, theme, mediaConfig, linkConfig, referenceConfig, onPickImage, children, }: FormProviderProps): import("react
|
|
58
|
+
export declare function FormProvider({ siteId, theme, mediaConfig, linkConfig, referenceConfig, onPickImage, children, }: FormProviderProps): import("react").JSX.Element;
|
|
@@ -53,5 +53,5 @@ export declare function BlockCard({ siteId, block, manifest, isFirst, isLast, is
|
|
|
53
53
|
iconStyleGuideEditHref?: string | null;
|
|
54
54
|
onGenerateIconSet?: (input: GeneratedIconSetGenerateInput) => Promise<GeneratedIconSetGenerateResult>;
|
|
55
55
|
onApplyGeneratedIconSet?: (preview: GeneratedIconSetPreview) => GeneratedIconSetPreview | void | Promise<GeneratedIconSetPreview | void>;
|
|
56
|
-
}): import("react
|
|
56
|
+
}): import("react").JSX.Element;
|
|
57
57
|
export {};
|
|
@@ -24,4 +24,4 @@ export declare function BlockCardBody({ siteId, block, manifest, uiStore, hasRec
|
|
|
24
24
|
iconStyleGuideEditHref?: string | null;
|
|
25
25
|
onGenerateIconSet?: (input: GeneratedIconSetGenerateInput) => Promise<GeneratedIconSetGenerateResult>;
|
|
26
26
|
onApplyGeneratedIconSet?: (preview: GeneratedIconSetPreview) => GeneratedIconSetPreview | void | Promise<GeneratedIconSetPreview | void>;
|
|
27
|
-
}): import("react
|
|
27
|
+
}): import("react").JSX.Element;
|
|
@@ -37,5 +37,5 @@ export declare function BlockCardHeader({ block, manifest, isFirst, isLast, isMo
|
|
|
37
37
|
iconStyleGuideEditHref?: string | null;
|
|
38
38
|
onGenerateIconSet?: (input: GeneratedIconSetGenerateInput) => Promise<GeneratedIconSetGenerateResult>;
|
|
39
39
|
onApplyGeneratedIconSet?: (preview: GeneratedIconSetPreview) => GeneratedIconSetPreview | void | Promise<GeneratedIconSetPreview | void>;
|
|
40
|
-
}): import("react
|
|
40
|
+
}): import("react").JSX.Element;
|
|
41
41
|
export {};
|
|
@@ -21,5 +21,5 @@ type BlockListProviderProps = {
|
|
|
21
21
|
value: BlockListContextValue;
|
|
22
22
|
children: ReactNode;
|
|
23
23
|
};
|
|
24
|
-
export declare function BlockListProvider({ value, children }: BlockListProviderProps): import("react
|
|
24
|
+
export declare function BlockListProvider({ value, children }: BlockListProviderProps): import("react").JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -5,4 +5,4 @@ export declare function BlockPickerDialog({ open, onOpenChange, creatingBlockNam
|
|
|
5
5
|
creatingBlockName: string | null;
|
|
6
6
|
descriptors: BlockDescriptor[];
|
|
7
7
|
onSelect: (descriptor: BlockDescriptor) => void;
|
|
8
|
-
}): import("react
|
|
8
|
+
}): import("react").JSX.Element;
|
|
@@ -14,4 +14,4 @@ export type BlockThumbnailProps = {
|
|
|
14
14
|
* - Text blocks: Show Lucide icon with colored background
|
|
15
15
|
* - Default: Show icon from manifest with category-based gradient
|
|
16
16
|
*/
|
|
17
|
-
export declare function BlockThumbnail({ blockKind, manifest, content }: BlockThumbnailProps): import("react
|
|
17
|
+
export declare function BlockThumbnail({ blockKind, manifest, content }: BlockThumbnailProps): import("react").JSX.Element;
|
|
@@ -9,9 +9,9 @@ type BlockTileProps = {
|
|
|
9
9
|
* Visual tile component for displaying a block option.
|
|
10
10
|
* Used in the block picker for both grid and list views.
|
|
11
11
|
*/
|
|
12
|
-
export declare function BlockTile({ block, onClick, isLoading, disabled }: BlockTileProps): import("react
|
|
12
|
+
export declare function BlockTile({ block, onClick, isLoading, disabled }: BlockTileProps): import("react").JSX.Element;
|
|
13
13
|
/**
|
|
14
14
|
* Compact version for recently used section
|
|
15
15
|
*/
|
|
16
|
-
export declare function BlockTileCompact({ block, onClick, isLoading, disabled }: BlockTileProps): import("react
|
|
16
|
+
export declare function BlockTileCompact({ block, onClick, isLoading, disabled }: BlockTileProps): import("react").JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -12,5 +12,5 @@ type EnhancedBlockPickerDialogProps = {
|
|
|
12
12
|
/**
|
|
13
13
|
* Enhanced block picker with search, categories, and recommendations
|
|
14
14
|
*/
|
|
15
|
-
export declare function EnhancedBlockPickerDialog({ open, onOpenChange, creatingBlockName, descriptors, siteId, existingBlockNames, enabledContentTypes, onSelect, }: EnhancedBlockPickerDialogProps): import("react
|
|
15
|
+
export declare function EnhancedBlockPickerDialog({ open, onOpenChange, creatingBlockName, descriptors, siteId, existingBlockNames, enabledContentTypes, onSelect, }: EnhancedBlockPickerDialogProps): import("react").JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -13,5 +13,5 @@ export declare function FeatureCardIconsPanel({ block, uiStore, currentStyleGuid
|
|
|
13
13
|
iconStyleGuideEditHref?: string | null;
|
|
14
14
|
onGenerateIconSet?: (input: GeneratedIconSetGenerateInput) => Promise<GeneratedIconSetGenerateResult>;
|
|
15
15
|
onApplyGeneratedIconSet?: (preview: GeneratedIconSetPreview) => GeneratedIconSetPreview | void | Promise<GeneratedIconSetPreview | void>;
|
|
16
|
-
}): import("react
|
|
16
|
+
}): import("react").JSX.Element | null;
|
|
17
17
|
export {};
|
|
@@ -39,4 +39,4 @@ export declare function GeneratedIconSetDialog({ open, onOpenChange, cards, styl
|
|
|
39
39
|
styleGuideEditHref?: string | null;
|
|
40
40
|
onGenerate?: (input: GeneratedIconSetGenerateInput) => Promise<GeneratedIconSetGenerateResult>;
|
|
41
41
|
onApply?: (preview: GeneratedIconSetPreview) => GeneratedIconSetApplyResult | void | Promise<GeneratedIconSetApplyResult | void>;
|
|
42
|
-
}): import("react
|
|
42
|
+
}): import("react").JSX.Element;
|
|
@@ -8,7 +8,7 @@ import type { FieldWidgetComponent } from '../../../block-form/src/client/index'
|
|
|
8
8
|
import { type BlockActionPresentation } from './actionPresentation';
|
|
9
9
|
import { type ReorderControlMode } from './reorderControlMode';
|
|
10
10
|
import type { GeneratedIconSetGenerateInput, GeneratedIconSetGenerateResult, GeneratedIconSetPreview } from './GeneratedIconSetDialog';
|
|
11
|
-
export declare const SortableBlockItem: import("react").
|
|
11
|
+
export declare const SortableBlockItem: import("react").MemoExoticComponent<({ siteId, block, onMove, onDuplicate, onDelete, isFirst, isLast, isMoving, isDraggable, collapsed, onCollapsedChange, highlighted, hasRecoveryConflict, focusSignal, onFocusHandled, onBlockSave, theme, widgetOverrides, uiStore, sdkConfig, customBlocks, hideThemeV2RawStyleFields, pageDesignBlock, reorderControlMode, actionPresentation, currentStyleGuideVersionId, iconStyleGuideSummary, iconStyleGuideEditHref, onGenerateIconSet, onApplyGeneratedIconSet, }: {
|
|
12
12
|
siteId: string;
|
|
13
13
|
block: BlockItem;
|
|
14
14
|
onMove: (blockId: string, direction: number) => void;
|
|
@@ -39,4 +39,4 @@ export declare const SortableBlockItem: import("react").NamedExoticComponent<{
|
|
|
39
39
|
iconStyleGuideEditHref?: string | null;
|
|
40
40
|
onGenerateIconSet?: (input: GeneratedIconSetGenerateInput) => Promise<GeneratedIconSetGenerateResult>;
|
|
41
41
|
onApplyGeneratedIconSet?: (preview: GeneratedIconSetPreview) => GeneratedIconSetPreview | void | Promise<GeneratedIconSetPreview | void>;
|
|
42
|
-
}>;
|
|
42
|
+
}) => import("react").JSX.Element>;
|
|
@@ -2,6 +2,7 @@ import type { ApiClient } from '../../../../api/src/request';
|
|
|
2
2
|
import type { BlockDescriptor } from '../../../../blocks/src/index';
|
|
3
3
|
import type { EditorInsertBlockCommand } from '../../../../core/src/index';
|
|
4
4
|
import type { BlockItem, BlockFocusTarget } from '../types';
|
|
5
|
+
import { type BlockEditorOwner } from '../owner';
|
|
5
6
|
type UiStore = {
|
|
6
7
|
getState: () => {
|
|
7
8
|
history: {
|
|
@@ -9,11 +10,11 @@ type UiStore = {
|
|
|
9
10
|
};
|
|
10
11
|
};
|
|
11
12
|
};
|
|
12
|
-
export declare function useBlockCreation({ allowCreation, apiClient, siteId,
|
|
13
|
+
export declare function useBlockCreation({ allowCreation, apiClient, siteId, owner, blockList, setBlockList, onBlocksChange, triggerFocus, uiStore, }: {
|
|
13
14
|
allowCreation: boolean;
|
|
14
15
|
apiClient: ApiClient;
|
|
15
16
|
siteId: string;
|
|
16
|
-
|
|
17
|
+
owner: BlockEditorOwner;
|
|
17
18
|
blockList: BlockItem[];
|
|
18
19
|
setBlockList: (next: BlockItem[]) => void;
|
|
19
20
|
onBlocksChange?: (blocks: BlockItem[]) => void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ApiClient } from '../../../../api/src/request';
|
|
2
2
|
import { type EditorInsertBlockCommand } from '../../../../core/src/index';
|
|
3
3
|
import type { BlockItem, BlockFocusTarget } from '../types';
|
|
4
|
+
import { type BlockEditorOwner } from '../owner';
|
|
4
5
|
type UiStore = {
|
|
5
6
|
getState: () => {
|
|
6
7
|
history: {
|
|
@@ -8,11 +9,11 @@ type UiStore = {
|
|
|
8
9
|
};
|
|
9
10
|
};
|
|
10
11
|
};
|
|
11
|
-
export declare function useBlockDuplication({ allowCreation, apiClient, siteId,
|
|
12
|
+
export declare function useBlockDuplication({ allowCreation, apiClient, siteId, owner, blockList, setBlockList, onBlocksChange, triggerFocus, setErrorMessage, uiStore, }: {
|
|
12
13
|
allowCreation: boolean;
|
|
13
14
|
apiClient: ApiClient;
|
|
14
15
|
siteId: string;
|
|
15
|
-
|
|
16
|
+
owner: BlockEditorOwner;
|
|
16
17
|
blockList: BlockItem[];
|
|
17
18
|
setBlockList: (next: BlockItem[]) => void;
|
|
18
19
|
onBlocksChange?: (blocks: BlockItem[]) => void;
|
|
@@ -2,6 +2,7 @@ import type { ApiClient } from '../../../../api/src/request';
|
|
|
2
2
|
import { createEditorReorderBlocksCommand } from '../../../../core/src/index';
|
|
3
3
|
import type { DragEndEvent } from '@dnd-kit/core';
|
|
4
4
|
import type { BlockItem } from '../types';
|
|
5
|
+
import { type BlockEditorOwner } from '../owner';
|
|
5
6
|
type UiStore = {
|
|
6
7
|
getState: () => {
|
|
7
8
|
history: {
|
|
@@ -14,11 +15,11 @@ type UiStore = {
|
|
|
14
15
|
};
|
|
15
16
|
subscribe: (listener: () => void) => () => void;
|
|
16
17
|
};
|
|
17
|
-
export declare function useBlockReorder({ allowReordering, apiClient, siteId,
|
|
18
|
+
export declare function useBlockReorder({ allowReordering, apiClient, siteId, owner, blockList, setBlockList, onBlocksChange, setErrorMessage, uiStore, }: {
|
|
18
19
|
allowReordering: boolean;
|
|
19
20
|
apiClient: ApiClient;
|
|
20
21
|
siteId: string;
|
|
21
|
-
|
|
22
|
+
owner: BlockEditorOwner;
|
|
22
23
|
blockList: BlockItem[];
|
|
23
24
|
setBlockList: (next: BlockItem[]) => void;
|
|
24
25
|
onBlocksChange?: (blocks: BlockItem[]) => void;
|