@riverbankcms/sdk 0.80.0 → 0.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -3
- package/dist/{PreviewEditorSidebar-O4NDX5TP.css → PreviewEditorSidebar-JA4VIPSZ.css} +1 -1
- package/dist/{PreviewEditorSidebar-QZG37QIF.mjs → PreviewEditorSidebar-LHGK6RIO.mjs} +760 -711
- package/dist/{SdkPreviewModeRuntime-PBGALTMK.css → PreviewEditorUI-36T7QYV4.css} +1 -1
- package/dist/{PreviewEditorUI-AXIKSMZA.mjs → PreviewEditorUI-AXZG2SDC.mjs} +167 -28
- package/dist/{PreviewEditorUI-4JVDBZBS.css → SdkPreviewModeRuntime-FXKI6XNL.css} +1 -1
- package/dist/SdkPreviewModeRuntime-RNVRHFFR.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +838 -262
- package/dist/_dts/altcha/src/AltchaWidget.d.ts +1 -1
- package/dist/_dts/api/src/analytics.d.ts +1 -1
- package/dist/_dts/api/src/bookingConfig.d.ts +4 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +15 -3
- package/dist/_dts/api/src/contentTypes.d.ts +6 -0
- package/dist/_dts/api/src/courses.d.ts +1 -1
- package/dist/_dts/api/src/event-destination-policy.d.ts +17 -0
- package/dist/_dts/api/src/index.d.ts +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 +17 -12
- package/dist/_dts/api/src/siteGeneration.d.ts +1 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +7 -6
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +3 -1
- package/dist/_dts/block-form/src/backend/types.d.ts +3 -3
- package/dist/_dts/block-form/src/context/BlockContext.d.ts +1 -1
- package/dist/_dts/block-form/src/context/DisplayLabelResolverContext.d.ts +1 -1
- package/dist/_dts/block-form/src/context/FieldPreviewResolverContext.d.ts +2 -2
- package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +1 -1
- package/dist/_dts/block-form/src/palette/PaletteContext.d.ts +1 -1
- package/dist/_dts/block-form/src/sdk-config/SdkConfigContext.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/BackgroundColorWidget/BackgroundColorWidget.d.ts +2 -1
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/BooleanField/BooleanField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/Field.d.ts +2 -2
- package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +3 -3
- package/dist/_dts/block-form/src/widgets/NumberField/NumberField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/PresetOrCustomField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SdkSelectField/SdkSelectField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SelectField/SelectField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SelectWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SliderField/SliderField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/TextField/TextField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/TextInputWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/ToggleWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/stringDefaultValue.d.ts +1 -0
- package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +28 -44
- package/dist/_dts/blocks/src/index.d.ts +6 -4
- 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 +4 -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/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +397 -111
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +6 -15
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +20 -1
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/hero.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +54 -54
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +21 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +162 -0
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +592 -602
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +592 -604
- package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +3 -0
- package/dist/_dts/blocks/src/system/componentFactory.d.ts +1 -0
- package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +19 -5
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/data/linkedContentEntries.d.ts +102 -0
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/defineBlock.d.ts +3 -1
- package/dist/_dts/blocks/src/system/designCapabilities.d.ts +2 -2
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +6 -1
- package/dist/_dts/blocks/src/system/fragments/library/faqHeading.d.ts +0 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +71 -56
- package/dist/_dts/blocks/src/system/media/slotContracts.d.ts +2 -0
- package/dist/_dts/blocks/src/system/node/types.d.ts +8 -1
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
- 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 +56 -74
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +27 -36
- package/dist/_dts/blocks/src/system/runtime/headingDecoration.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +45 -14
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +2 -9
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.d.ts +1 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/ImageResolveContext.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/cart.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/cart.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +1 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/view.d.ts +10 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/BookingModeStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/CourseRegistrationWizard.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/ErrorStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/MembershipHero.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PortalAuthSidebar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/SuccessStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/WaitlistStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/components.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.client.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/CoursePricingDisplay.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSummaryBar.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizard.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardContent.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventSelectionStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/OrderSummary.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PastOccurrenceNotice.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SelectableOptionCard.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDerivations.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +12 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +21 -16
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +21 -16
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +17 -28
- 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/EventPaginatedListView.client.d.ts +2 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekAgendaView.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +50 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.shared.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +29 -14
- 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 +23 -0
- 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 +13 -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/registry/_utils/sectionForegroundStyles.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +4 -2
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
- package/dist/_dts/calendar/src/grid.d.ts +27 -0
- package/dist/_dts/calendar/src/index.d.ts +2 -2
- package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +1 -1
- package/dist/_dts/content-editor/src/components/EditableBlockProvider.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/useAutosaveTriggers.d.ts +3 -1
- package/dist/_dts/content-editor/src/editorTransactionState.d.ts +1 -0
- package/dist/_dts/content-editor/src/hooks/autosaveScopePlanning.d.ts +26 -0
- package/dist/_dts/content-editor/src/hooks/publishability.d.ts +1 -0
- package/dist/_dts/content-editor/src/hooks/useLinkedEntryAutosave.d.ts +23 -0
- package/dist/_dts/content-editor/src/hooks/useReactiveToolbar.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +2 -2
- package/dist/_dts/content-editor/src/index.d.ts +3 -1
- package/dist/_dts/content-editor/src/lib/json.d.ts +2 -0
- package/dist/_dts/content-editor/src/linkedEntries/domain.d.ts +8 -0
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +6 -1
- package/dist/_dts/content-editor/src/primitives/PreviewTextEditor.d.ts +6 -1
- package/dist/_dts/content-editor/src/primitives/shared/activePreviewField.d.ts +2 -0
- package/dist/_dts/content-editor/src/primitives/shared/index.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/shared/storeBinding.d.ts +3 -1
- package/dist/_dts/content-editor/src/primitives/shared/types.d.ts +5 -0
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +58 -0
- package/dist/_dts/content-editor/src/ui/editorTransactionState.d.ts +93 -0
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +67 -5
- package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +2 -0
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
- 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 +43 -40
- package/dist/_dts/content-model/src/metadataConfig.d.ts +87 -47
- package/dist/_dts/content-model/src/templates/defaults.d.ts +0 -1
- package/dist/_dts/core/src/branded.d.ts +5 -0
- package/dist/_dts/core/src/event-pricing.d.ts +72 -0
- package/dist/_dts/core/src/index.d.ts +1 -0
- package/dist/_dts/core/src/stable-json.d.ts +1 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +27 -2
- package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
- package/dist/_dts/editor/src/EditorProvider.d.ts +26 -0
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +26 -0
- package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +45 -0
- package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +25 -0
- package/dist/_dts/editor/src/components/EditingToggle.d.ts +9 -0
- package/dist/_dts/editor/src/hooks/useEditableElement.d.ts +18 -0
- package/dist/_dts/editor/src/index.d.ts +29 -0
- package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +1 -0
- package/dist/_dts/editor/src/lib/utils.d.ts +1 -0
- package/dist/_dts/editor/src/primitives/EditorPrimitivesProvider.d.ts +20 -0
- package/dist/_dts/editor/src/primitives/InlineFieldContext.d.ts +11 -0
- package/dist/_dts/editor/src/primitives/SaveContext.d.ts +12 -0
- package/dist/_dts/editor/src/primitives/helpers.d.ts +1 -0
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +26 -0
- package/dist/_dts/editor/src/primitives/rich-text/RichTextToolbar.d.ts +16 -0
- package/dist/_dts/editor/src/primitives/rich-text/config.d.ts +23 -0
- package/dist/_dts/editor/src/primitives/rich-text/extensions/RichTextImage.d.ts +2 -0
- package/dist/_dts/editor/src/primitives/rich-text/extensions/RichTextLink.d.ts +1 -0
- package/dist/_dts/editor/src/primitives/rich-text/imageActions.d.ts +22 -0
- package/dist/_dts/editor/src/primitives/rich-text/sanitize.d.ts +23 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/BlockTypeDropdown.d.ts +6 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/LinkPopover.d.ts +10 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/ToolbarIconButton.d.ts +11 -0
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/linkPopoverUtils.d.ts +58 -0
- package/dist/_dts/editor/src/primitives/rich-text/useRichTextEditor.d.ts +19 -0
- package/dist/_dts/editor/src/primitives/rich-text/utils.d.ts +20 -0
- package/dist/_dts/editor/src/utils/optimisticTokens.d.ts +27 -0
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/FormProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/AddBlockDivider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +4 -4
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +5 -5
- 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 +4 -4
- package/dist/_dts/editor-blocks/src/block-editor/actionPresentation.d.ts +15 -0
- package/dist/_dts/editor-blocks/src/block-editor/blockHeaderActionPlan.d.ts +49 -0
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonVariantField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeSelectField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/index.d.ts +2 -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 +2 -2
- package/dist/_dts/editor-blocks/src/widgets/rich-text/useImagePicker.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionWidgetProvider.d.ts +14 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/index.d.ts +6 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +51 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/types.d.ts +20 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +5 -0
- package/dist/_dts/media-core/src/index.d.ts +1 -0
- package/dist/_dts/media-core/src/renderableMediaAsset.d.ts +18 -0
- 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 +4 -1
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +2 -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/index.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 +7 -4
- package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +7 -3
- package/dist/_dts/preview-next/src/client/blocks/blockCustomizePopoverRows.d.ts +25 -0
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +4 -30
- package/dist/_dts/preview-next/src/client/blocks/linkedEntryRenderOverlay.d.ts +11 -0
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +3 -9
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/index.d.ts +0 -1
- 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/LinkedEntryEditEventBridge.d.ts +1 -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 +6 -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 +20 -0
- 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 +13 -0
- 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 +3 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewQueryProvider.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +21 -20
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewSidebarSection.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewViewportControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewZoomControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeButton.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +60 -6
- 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 +14 -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 +9 -0
- package/dist/_dts/preview-next/src/client/preview/previewChromePlacement.d.ts +51 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeControls.d.ts +68 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +8 -1
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +11 -9
- package/dist/_dts/preview-next/src/client/preview/previewDesignHistoryOrder.d.ts +18 -0
- package/dist/_dts/preview-next/src/client/preview/previewUndoDomains.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +41 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +120 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +30 -0
- package/dist/_dts/preview-next/src/client/preview/siteStyleHistoryState.d.ts +55 -0
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +1 -0
- 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/widgetAdapters.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +8 -5
- package/dist/_dts/preview-next/src/constants.d.ts +0 -1
- package/dist/_dts/sdk/src/__mocks__/next-cache.d.ts +4 -3
- package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/config-loader.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +6 -12
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +31 -0
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/sync/validation.d.ts +7 -7
- package/dist/_dts/sdk/src/client/types.d.ts +36 -4
- package/dist/_dts/sdk/src/client.d.ts +1 -1
- package/dist/_dts/sdk/src/config/content-types.d.ts +3 -14
- package/dist/_dts/sdk/src/config/content-validation.d.ts +9 -214
- package/dist/_dts/sdk/src/config/types.d.ts +10 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +24 -24
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +30 -4
- 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 +39 -37
- package/dist/_dts/sdk/src/rendering/components/Block.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Block.server.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Page.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Page.server.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/PageHydrationBootstrap.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +10 -9
- package/dist/_dts/sdk/src/rendering/islands/enhancers/routeIslandApiConfig.d.ts +9 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +6 -15
- package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +4 -0
- 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 +69 -21
- package/dist/_dts/theme-core/src/ClientThemeScope.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +3 -2
- package/dist/_dts/theme-core/src/ThemeScope.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeScopeCore.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/constants.d.ts +26 -1
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
- package/dist/_dts/theme-core/src/buttons/personalities/joy-stamp.d.ts +22 -0
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +8 -7
- package/dist/_dts/theme-core/src/buttons/types.d.ts +26 -17
- package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +44 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
- package/dist/_dts/theme-core/src/interactive/types.d.ts +10 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +228 -198
- 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 +27 -0
- package/dist/_dts/theme-core/src/schema.d.ts +273 -226
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +4 -1
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +87 -31
- package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +6 -2
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +27 -0
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +87 -31
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +30 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +32 -16
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +13 -9
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +5 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +3 -23
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +276 -4
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +33 -3
- package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +508 -0
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +30 -0
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +10 -10
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +26 -6
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +16 -1
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
- package/dist/_dts/ui/src/async-boundary.d.ts +1 -1
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button-group.d.ts +3 -3
- package/dist/_dts/ui/src/calendar.d.ts +2 -2
- package/dist/_dts/ui/src/card.d.ts +6 -6
- package/dist/_dts/ui/src/combobox.d.ts +1 -1
- package/dist/_dts/ui/src/command-multi-select.d.ts +1 -1
- package/dist/_dts/ui/src/content-spinner.d.ts +1 -1
- package/dist/_dts/ui/src/delayed-spinner.d.ts +1 -1
- package/dist/_dts/ui/src/dev-toolbar.d.ts +1 -1
- package/dist/_dts/ui/src/dialog.d.ts +10 -10
- package/dist/_dts/ui/src/dropdown-menu.d.ts +1 -1
- package/dist/_dts/ui/src/editor-drawer.d.ts +1 -1
- package/dist/_dts/ui/src/empty-state.d.ts +1 -1
- package/dist/_dts/ui/src/filter-button-group.d.ts +1 -1
- package/dist/_dts/ui/src/fixed-bottom-surface.d.ts +1 -1
- package/dist/_dts/ui/src/form.d.ts +7 -7
- package/dist/_dts/ui/src/label.d.ts +1 -1
- package/dist/_dts/ui/src/menubar.d.ts +16 -16
- package/dist/_dts/ui/src/navigation-tabs.d.ts +2 -2
- package/dist/_dts/ui/src/number-input.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorChooserDialog.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorSlotButton.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorSwatchButton.d.ts +1 -1
- package/dist/_dts/ui/src/palette/PaletteTokenEditor.d.ts +1 -1
- package/dist/_dts/ui/src/resizable-split-pane.d.ts +1 -1
- package/dist/_dts/ui/src/select.d.ts +10 -10
- package/dist/_dts/ui/src/separator.d.ts +1 -1
- package/dist/_dts/ui/src/sheet.d.ts +9 -9
- package/dist/_dts/ui/src/spinner.d.ts +1 -1
- package/dist/_dts/ui/src/tooltip.d.ts +4 -4
- package/dist/{chunk-MPBNEVPB.mjs → chunk-2BUMISSH.mjs} +1 -1
- package/dist/{chunk-7PCYG6YV.mjs → chunk-6FWNF3DJ.mjs} +2086 -1128
- package/dist/{chunk-BBLZSQEY.mjs → chunk-FIREV57T.mjs} +14 -9
- package/dist/{chunk-5NZGBSJF.mjs → chunk-G35HOQEN.mjs} +2608 -2397
- package/dist/{chunk-HTB4BMKD.mjs → chunk-HKB6XVIP.mjs} +321 -113
- package/dist/{chunk-GYXKAUFV.mjs → chunk-XQR6THQJ.mjs} +27831 -17740
- package/dist/cli/index.mjs +4581 -2802
- package/dist/cli/init-docs/content/workflow-custom-block.md +5 -0
- package/dist/client/{accordion-QFZMNB7O.mjs → accordion-G34C45TW.mjs} +2 -2
- package/dist/client/{bookingForm-NCIXFWIG.mjs → bookingForm-BLBVKSAQ.mjs} +12 -12
- package/dist/client/bookings.mjs +321 -60
- package/dist/client/{carousel-EO4BJMWD.mjs → carousel-7ZVTBRMD.mjs} +3 -3
- package/dist/client/{cart-FTYCLYUW.mjs → cart-Q6S6LZUO.mjs} +8 -7
- package/dist/client/{checkout-NFGLVCOX.mjs → checkout-5QJLDE4I.mjs} +8 -7
- package/dist/client/{chunk-IWFZSQNZ.mjs → chunk-5PQH4Y75.mjs} +3 -3
- package/dist/client/{chunk-Y37KDO7P.mjs → chunk-CHAB5ACD.mjs} +5 -4
- package/dist/client/{chunk-VDS5YFLX.mjs → chunk-CSZGLBYR.mjs} +1 -1
- package/dist/client/{chunk-3PEDD5KJ.mjs → chunk-DVNUDUVT.mjs} +1 -1
- package/dist/client/{chunk-6GVVWSPU.mjs → chunk-EQKYMX4N.mjs} +348 -301
- package/dist/client/{chunk-YLMKMCSJ.mjs → chunk-GFSQNTRW.mjs} +1 -3
- package/dist/client/chunk-L4J5Y62O.mjs +18 -0
- package/dist/client/{chunk-PUOELU4O.mjs → chunk-RJHTCTCZ.mjs} +550 -262
- package/dist/client/{chunk-AUJ5DBZJ.mjs → chunk-S3MKFGOG.mjs} +170 -28
- package/dist/client/{chunk-CE7IBGVW.mjs → chunk-SBBSMFFG.mjs} +1 -1
- package/dist/client/{chunk-4W66ALYT.mjs → chunk-U2EW7RSR.mjs} +1 -1
- package/dist/client/{chunk-PYRBIURC.mjs → chunk-WJFHDTYF.mjs} +17 -34
- package/dist/client/{chunk-T6UIP6UZ.mjs → chunk-ZF4XEWDM.mjs} +1 -1
- package/dist/client/client.mjs +13449 -9393
- package/dist/client/{courseRegistration-2EORROPS.mjs → courseRegistration-VUG2JJDB.mjs} +13 -12
- package/dist/client/{eventCalendar-WZI4VL6N.mjs → eventCalendar-E7D2LD4N.mjs} +14 -14
- package/dist/client/{eventCombined-QCB2TCNL.mjs → eventCombined-FUZ2Z3CS.mjs} +14 -14
- package/dist/client/{eventDetails-TFTATAPH.mjs → eventDetails-QRITJAOW.mjs} +9 -9
- package/dist/client/{eventListing-A2CQEHEQ.mjs → eventListing-INMQMJZ5.mjs} +14 -14
- package/dist/client/{eventRegistration-OELPVLUY.mjs → eventRegistration-TOOJD4WU.mjs} +17 -15
- package/dist/client/{form-NTIFD6WQ.mjs → form-BOWN7ZNQ.mjs} +3 -3
- package/dist/client/{headerSection-7TBNKCLA.mjs → headerSection-HFQNZOUU.mjs} +55 -14
- package/dist/client/hooks.mjs +26989 -25527
- package/dist/client/{locationMap-LRLB5A3H.mjs → locationMap-VUZGC7Y5.mjs} +2 -2
- package/dist/client/{newsletterForm-XI52RZSN.mjs → newsletterForm-X2XQTPCB.mjs} +3 -3
- package/dist/client/{productDetail-GSNKBFLY.mjs → productDetail-TA7D2G2B.mjs} +8 -7
- package/dist/client/{productList-BGCGT4KZ.mjs → productList-AZOLOZKM.mjs} +8 -7
- package/dist/client/rendering/client.mjs +5518 -3869
- package/dist/client/rendering/islands.mjs +32 -20
- package/dist/client/rendering.mjs +14494 -10485
- package/dist/client/{shop-RQHUCLNY.mjs → shop-ZDLO7IIG.mjs} +8 -7
- package/dist/client/spam-protection.mjs +3 -5
- package/dist/preview-next/client/runtime.css +1 -1
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/constants.mjs +0 -2
- package/dist/preview-next/index.mjs +0 -2
- package/dist/{sdk-runtime-A4LHT2RS.mjs → sdk-runtime-CTWKNBDQ.mjs} +6 -6
- package/dist/{sdk-runtime-EEMNSB7J.css → sdk-runtime-JD4A6SU6.css} +1 -1
- package/dist/server/components.mjs +10475 -7369
- package/dist/server/config-validation.mjs +26616 -25360
- package/dist/server/config.mjs +26616 -25360
- package/dist/server/data.mjs +27048 -25586
- package/dist/server/index.mjs +109 -56
- package/dist/server/next.mjs +15424 -12076
- package/dist/server/page-converter.mjs +5570 -3107
- package/dist/server/prebuild.mjs +2 -1
- package/dist/server/rendering/server.mjs +10850 -7549
- package/dist/server/rendering.mjs +10855 -7554
- package/dist/server/routing.mjs +30134 -28531
- package/dist/server/server.mjs +27369 -25856
- package/dist/server/theme-bridge.mjs +902 -167
- package/dist/server/theme.mjs +197 -133
- package/dist/styles/index.css +606 -133
- package/package.json +16 -16
- package/dist/SdkPreviewModeRuntime-XE5M4UKM.mjs +0 -8
- package/dist/_dts/editor-blocks/src/block-editor/actionControlMode.d.ts +0 -2
- package/dist/_dts/preview-next/src/client/preview/previewSurface.d.ts +0 -3
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { type ShopInteractiveRender } from './shop.interactive';
|
|
2
3
|
type CommerceShopRender = Extract<ShopInteractiveRender, {
|
|
3
4
|
mode: 'product-list' | 'product-detail' | 'cart' | 'checkout';
|
|
@@ -6,20 +7,20 @@ export declare function ProductListController(props: Readonly<{
|
|
|
6
7
|
render: Extract<CommerceShopRender, {
|
|
7
8
|
mode: 'product-list';
|
|
8
9
|
}>;
|
|
9
|
-
}>):
|
|
10
|
+
}>): React.JSX.Element;
|
|
10
11
|
export declare function ProductDetailController(props: Readonly<{
|
|
11
12
|
render: Extract<CommerceShopRender, {
|
|
12
13
|
mode: 'product-detail';
|
|
13
14
|
}>;
|
|
14
|
-
}>):
|
|
15
|
+
}>): React.JSX.Element;
|
|
15
16
|
export declare function CartController(props: Readonly<{
|
|
16
17
|
render: Extract<CommerceShopRender, {
|
|
17
18
|
mode: 'cart';
|
|
18
19
|
}>;
|
|
19
|
-
}>):
|
|
20
|
+
}>): React.JSX.Element;
|
|
20
21
|
export declare function CheckoutController(props: Readonly<{
|
|
21
22
|
render: Extract<CommerceShopRender, {
|
|
22
23
|
mode: 'checkout';
|
|
23
24
|
}>;
|
|
24
|
-
}>):
|
|
25
|
+
}>): React.JSX.Element;
|
|
25
26
|
export {};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { CartInteractiveIslandProps, ProductDetailInteractiveIslandProps, ProductListInteractiveIslandProps, CheckoutInteractiveIslandProps } from './shop.interactive';
|
|
2
3
|
export declare function ProductListServerContent(props: Readonly<{
|
|
3
4
|
render: ProductListInteractiveIslandProps['render'];
|
|
4
|
-
}>):
|
|
5
|
+
}>): React.JSX.Element;
|
|
5
6
|
export declare function ProductDetailServerContent(props: Readonly<{
|
|
6
7
|
render: ProductDetailInteractiveIslandProps['render'];
|
|
7
|
-
}>):
|
|
8
|
+
}>): React.JSX.Element;
|
|
8
9
|
export declare function CartServerContent(props: Readonly<{
|
|
9
10
|
render: CartInteractiveIslandProps['render'];
|
|
10
|
-
}>):
|
|
11
|
+
}>): React.JSX.Element;
|
|
11
12
|
export declare function CheckoutServerContent(props: Readonly<{
|
|
12
13
|
render: CheckoutInteractiveIslandProps['render'];
|
|
13
|
-
}>):
|
|
14
|
+
}>): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { PublicMembershipProduct, PublicPassProduct } from '../../blocks/shop';
|
|
2
3
|
import { resolvePassBuyButtonText, type ShopInteractiveIslandProps } from './shop.interactive';
|
|
3
4
|
export type ShopClientProps = ShopInteractiveIslandProps;
|
|
4
5
|
export type { PublicPassProduct, PublicMembershipProduct };
|
|
5
6
|
export { resolvePassBuyButtonText };
|
|
6
|
-
export declare function ShopClient(props: ShopClientProps):
|
|
7
|
+
export declare function ShopClient(props: ShopClientProps): React.JSX.Element;
|
|
7
8
|
export default ShopClient;
|
|
@@ -18,7 +18,6 @@ export type PassesMembershipsHydration = Readonly<{
|
|
|
18
18
|
export type ProductListHydration = Readonly<{
|
|
19
19
|
products: readonly PublicProduct[];
|
|
20
20
|
showSummary: boolean;
|
|
21
|
-
showBadges: boolean;
|
|
22
21
|
showPrices: boolean;
|
|
23
22
|
addButtonText: string;
|
|
24
23
|
}>;
|
|
@@ -26,7 +25,6 @@ export type ProductDetailHydration = Readonly<{
|
|
|
26
25
|
products: readonly PublicProduct[];
|
|
27
26
|
productId: string | null;
|
|
28
27
|
showSummary: boolean;
|
|
29
|
-
showBadges: boolean;
|
|
30
28
|
showBody: boolean;
|
|
31
29
|
addButtonText: string;
|
|
32
30
|
}>;
|
|
@@ -205,7 +203,6 @@ export declare const productListBlockRuntime: Readonly<{
|
|
|
205
203
|
path: string | null;
|
|
206
204
|
summary: string | null;
|
|
207
205
|
priceLabel: string | null;
|
|
208
|
-
badges: readonly string[];
|
|
209
206
|
image: Readonly<{
|
|
210
207
|
url: string;
|
|
211
208
|
alt: string | null;
|
|
@@ -224,7 +221,6 @@ export declare const productListBlockRuntime: Readonly<{
|
|
|
224
221
|
hydration: Readonly<{
|
|
225
222
|
products: readonly PublicProduct[];
|
|
226
223
|
showSummary: boolean;
|
|
227
|
-
showBadges: boolean;
|
|
228
224
|
showPrices: boolean;
|
|
229
225
|
addButtonText: string;
|
|
230
226
|
}>;
|
|
@@ -250,7 +246,6 @@ export declare const productListBlockRuntime: Readonly<{
|
|
|
250
246
|
path: string | null;
|
|
251
247
|
summary: string | null;
|
|
252
248
|
priceLabel: string | null;
|
|
253
|
-
badges: readonly string[];
|
|
254
249
|
image: Readonly<{
|
|
255
250
|
url: string;
|
|
256
251
|
alt: string | null;
|
|
@@ -269,7 +264,6 @@ export declare const productListBlockRuntime: Readonly<{
|
|
|
269
264
|
hydration: Readonly<{
|
|
270
265
|
products: readonly PublicProduct[];
|
|
271
266
|
showSummary: boolean;
|
|
272
|
-
showBadges: boolean;
|
|
273
267
|
showPrices: boolean;
|
|
274
268
|
addButtonText: string;
|
|
275
269
|
}>;
|
|
@@ -289,7 +283,6 @@ export declare const productListBlockRuntime: Readonly<{
|
|
|
289
283
|
path: string | null;
|
|
290
284
|
summary: string | null;
|
|
291
285
|
priceLabel: string | null;
|
|
292
|
-
badges: readonly string[];
|
|
293
286
|
image: Readonly<{
|
|
294
287
|
url: string;
|
|
295
288
|
alt: string | null;
|
|
@@ -308,7 +301,6 @@ export declare const productListBlockRuntime: Readonly<{
|
|
|
308
301
|
hydration: Readonly<{
|
|
309
302
|
products: readonly PublicProduct[];
|
|
310
303
|
showSummary: boolean;
|
|
311
|
-
showBadges: boolean;
|
|
312
304
|
showPrices: boolean;
|
|
313
305
|
addButtonText: string;
|
|
314
306
|
}>;
|
|
@@ -324,7 +316,6 @@ export declare const productDetailBlockRuntime: Readonly<{
|
|
|
324
316
|
products: readonly PublicProduct[];
|
|
325
317
|
productId: string | null;
|
|
326
318
|
showSummary: boolean;
|
|
327
|
-
showBadges: boolean;
|
|
328
319
|
showBody: boolean;
|
|
329
320
|
addButtonText: string;
|
|
330
321
|
}>;
|
|
@@ -341,7 +332,6 @@ export declare const productDetailBlockRuntime: Readonly<{
|
|
|
341
332
|
products: readonly PublicProduct[];
|
|
342
333
|
productId: string | null;
|
|
343
334
|
showSummary: boolean;
|
|
344
|
-
showBadges: boolean;
|
|
345
335
|
showBody: boolean;
|
|
346
336
|
addButtonText: string;
|
|
347
337
|
}>;
|
|
@@ -352,7 +342,6 @@ export declare const productDetailBlockRuntime: Readonly<{
|
|
|
352
342
|
products: readonly PublicProduct[];
|
|
353
343
|
productId: string | null;
|
|
354
344
|
showSummary: boolean;
|
|
355
|
-
showBadges: boolean;
|
|
356
345
|
showBody: boolean;
|
|
357
346
|
addButtonText: string;
|
|
358
347
|
}>;
|
|
@@ -613,7 +602,6 @@ export declare const productListInteractiveIslandPropsCodec: Readonly<{
|
|
|
613
602
|
path: string | null;
|
|
614
603
|
summary: string | null;
|
|
615
604
|
priceLabel: string | null;
|
|
616
|
-
badges: readonly string[];
|
|
617
605
|
image: Readonly<{
|
|
618
606
|
url: string;
|
|
619
607
|
alt: string | null;
|
|
@@ -632,7 +620,6 @@ export declare const productListInteractiveIslandPropsCodec: Readonly<{
|
|
|
632
620
|
hydration: Readonly<{
|
|
633
621
|
products: readonly PublicProduct[];
|
|
634
622
|
showSummary: boolean;
|
|
635
|
-
showBadges: boolean;
|
|
636
623
|
showPrices: boolean;
|
|
637
624
|
addButtonText: string;
|
|
638
625
|
}>;
|
|
@@ -661,7 +648,6 @@ export declare const productListInteractiveIslandPropsCodec: Readonly<{
|
|
|
661
648
|
path: string | null;
|
|
662
649
|
summary: string | null;
|
|
663
650
|
priceLabel: string | null;
|
|
664
|
-
badges: readonly string[];
|
|
665
651
|
image: Readonly<{
|
|
666
652
|
url: string;
|
|
667
653
|
alt: string | null;
|
|
@@ -680,7 +666,6 @@ export declare const productListInteractiveIslandPropsCodec: Readonly<{
|
|
|
680
666
|
hydration: Readonly<{
|
|
681
667
|
products: readonly PublicProduct[];
|
|
682
668
|
showSummary: boolean;
|
|
683
|
-
showBadges: boolean;
|
|
684
669
|
showPrices: boolean;
|
|
685
670
|
addButtonText: string;
|
|
686
671
|
}>;
|
|
@@ -702,7 +687,6 @@ export declare const productDetailInteractiveIslandPropsCodec: Readonly<{
|
|
|
702
687
|
products: readonly PublicProduct[];
|
|
703
688
|
productId: string | null;
|
|
704
689
|
showSummary: boolean;
|
|
705
|
-
showBadges: boolean;
|
|
706
690
|
showBody: boolean;
|
|
707
691
|
addButtonText: string;
|
|
708
692
|
}>;
|
|
@@ -722,7 +706,6 @@ export declare const productDetailInteractiveIslandPropsCodec: Readonly<{
|
|
|
722
706
|
products: readonly PublicProduct[];
|
|
723
707
|
productId: string | null;
|
|
724
708
|
showSummary: boolean;
|
|
725
|
-
showBadges: boolean;
|
|
726
709
|
showBody: boolean;
|
|
727
710
|
addButtonText: string;
|
|
728
711
|
}>;
|
|
@@ -8,5 +8,5 @@ type ShopProps = Readonly<{
|
|
|
8
8
|
checkoutEndpoint?: string;
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
}> & ShopDisplayConfig;
|
|
11
|
-
export declare function ShopSSR({ blockId, siteId, apiBaseUrl, stage, children, checkoutEndpoint: _checkoutEndpoint, ...rest }: ShopProps):
|
|
11
|
+
export declare function ShopSSR({ blockId, siteId, apiBaseUrl, stage, children, checkoutEndpoint: _checkoutEndpoint, ...rest }: ShopProps): React.JSX.Element;
|
|
12
12
|
export default ShopSSR;
|
|
@@ -8,4 +8,4 @@ export type SpinnerNodeProps = {
|
|
|
8
8
|
strokeWidth?: number;
|
|
9
9
|
srLabel?: string;
|
|
10
10
|
} & Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'>;
|
|
11
|
-
export declare function SpinnerNode({ className, size, color, strokeWidth, srLabel, style, ...rest }: SpinnerNodeProps):
|
|
11
|
+
export declare function SpinnerNode({ className, size, color, strokeWidth, srLabel, style, ...rest }: SpinnerNodeProps): React.JSX.Element;
|
|
@@ -3,8 +3,13 @@ import type { NodeDefinition } from "../node";
|
|
|
3
3
|
import { bindingSchema } from "../node";
|
|
4
4
|
import { type ThemeTokens } from "../theme";
|
|
5
5
|
import type { TransformRegistry, RouteMap, PageIdentifierMap, EntryIdentifierMap } from "../transforms";
|
|
6
|
+
import type { ResolveImageUrlContext } from "./nodes/media";
|
|
6
7
|
export type ViewModel = Record<string, unknown>;
|
|
7
8
|
export type ComponentRegistry = Record<string, React.ElementType>;
|
|
9
|
+
export type PreviewTextFieldConstraints = Readonly<{
|
|
10
|
+
maxLength?: number;
|
|
11
|
+
}>;
|
|
12
|
+
export type PreviewFieldConstraintsMap = Readonly<Record<string, PreviewTextFieldConstraints | undefined>>;
|
|
8
13
|
export type ResolverContext = {
|
|
9
14
|
viewModel: ViewModel;
|
|
10
15
|
registry: ComponentRegistry;
|
|
@@ -22,12 +27,20 @@ export type ResolverContext = {
|
|
|
22
27
|
blockBindings?: Record<string, unknown>;
|
|
23
28
|
editableRouteMetadataFieldIds?: ReadonlyArray<string>;
|
|
24
29
|
fragmentRegistry?: Record<string, unknown>;
|
|
30
|
+
fieldConstraints?: PreviewFieldConstraintsMap;
|
|
31
|
+
imageResolveContext?: ResolveImageUrlContext;
|
|
25
32
|
};
|
|
26
33
|
/** @internal Exported for testing */
|
|
27
34
|
export type ScopeEntry = {
|
|
28
35
|
name: string;
|
|
29
36
|
value: unknown;
|
|
30
37
|
basePathSegments?: Array<string | number>;
|
|
38
|
+
repeater?: Readonly<{
|
|
39
|
+
kind: 'item';
|
|
40
|
+
itemName: string;
|
|
41
|
+
indexName: string;
|
|
42
|
+
index: number;
|
|
43
|
+
}>;
|
|
31
44
|
};
|
|
32
45
|
/** @internal Exported for testing */
|
|
33
46
|
export type InternalContext = ResolverContext & {
|
|
@@ -5,5 +5,5 @@ export type ActionRowProps = Readonly<{
|
|
|
5
5
|
className?: string;
|
|
6
6
|
align?: ActionRowAlignment;
|
|
7
7
|
}>;
|
|
8
|
-
export declare function ActionRow({ children, className, align, }: ActionRowProps): import("react
|
|
8
|
+
export declare function ActionRow({ children, className, align, }: ActionRowProps): import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -8,5 +8,5 @@ type CheckIconProps = {
|
|
|
8
8
|
/** Stroke width for the SVG (default: 2) */
|
|
9
9
|
strokeWidth?: number;
|
|
10
10
|
};
|
|
11
|
-
export declare function CheckIcon({ className, strokeWidth }: CheckIconProps): import("react
|
|
11
|
+
export declare function CheckIcon({ className, strokeWidth }: CheckIconProps): import("react").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -8,5 +8,5 @@ type ClockIconProps = {
|
|
|
8
8
|
/** Stroke width for the SVG (default: 2) */
|
|
9
9
|
strokeWidth?: number;
|
|
10
10
|
};
|
|
11
|
-
export declare function ClockIcon({ className, strokeWidth }: ClockIconProps): import("react
|
|
11
|
+
export declare function ClockIcon({ className, strokeWidth }: ClockIconProps): import("react").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -8,5 +8,5 @@ type CrossIconProps = {
|
|
|
8
8
|
/** Stroke width for the SVG (default: 2) */
|
|
9
9
|
strokeWidth?: number;
|
|
10
10
|
};
|
|
11
|
-
export declare function CrossIcon({ className, strokeWidth }: CrossIconProps): import("react
|
|
11
|
+
export declare function CrossIcon({ className, strokeWidth }: CrossIconProps): import("react").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -11,4 +11,4 @@ export type FeedbackMessageProps = Readonly<{
|
|
|
11
11
|
role?: 'alert' | 'status';
|
|
12
12
|
live?: FeedbackLiveMode;
|
|
13
13
|
}>;
|
|
14
|
-
export declare function FeedbackMessage({ tone, children, className, title, titleClassName, bodyClassName, role, live, }: FeedbackMessageProps): import("react
|
|
14
|
+
export declare function FeedbackMessage({ tone, children, className, title, titleClassName, bodyClassName, role, live, }: FeedbackMessageProps): import("react").JSX.Element;
|
|
@@ -16,4 +16,4 @@ export type FieldValidationControlInput = Readonly<{
|
|
|
16
16
|
describedBy?: string;
|
|
17
17
|
}>;
|
|
18
18
|
export declare function getFieldValidationControlProps({ message, messageId, describedBy, }: FieldValidationControlInput): FieldValidationControlProps;
|
|
19
|
-
export declare function FieldValidationMessage({ id, children, className, live, }: FieldValidationMessageProps): import("react
|
|
19
|
+
export declare function FieldValidationMessage({ id, children, className, live, }: FieldValidationMessageProps): import("react").JSX.Element;
|
|
@@ -12,5 +12,5 @@ type MembershipHeroProps = {
|
|
|
12
12
|
/** Optional callback for "booking for someone else" */
|
|
13
13
|
onBookForSomeoneElse?: () => void;
|
|
14
14
|
};
|
|
15
|
-
export declare function MembershipHero({ membershipName, classPrefix, onBookForSomeoneElse, }: MembershipHeroProps): import("react
|
|
15
|
+
export declare function MembershipHero({ membershipName, classPrefix, onBookForSomeoneElse, }: MembershipHeroProps): import("react").JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -10,5 +10,5 @@ type StateIconProps = {
|
|
|
10
10
|
* Layout is provided by shared `rb-state-icon` CSS; color variants are
|
|
11
11
|
* block-scoped (e.g., scoped to `[data-block="course-registration"]`).
|
|
12
12
|
*/
|
|
13
|
-
export declare function StateIcon({ variant, children }: StateIconProps): import("react
|
|
13
|
+
export declare function StateIcon({ variant, children }: StateIconProps): import("react").JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -23,4 +23,4 @@ export type StepIndicatorProps = StepIndicatorBaseProps & {
|
|
|
23
23
|
/** CSS class prefix (e.g., 'cr' or 'er') */
|
|
24
24
|
classPrefix: string;
|
|
25
25
|
};
|
|
26
|
-
export declare function StepIndicator({ currentStep, totalSteps, stepLabels, classPrefix, }: StepIndicatorProps): import("react
|
|
26
|
+
export declare function StepIndicator({ currentStep, totalSteps, stepLabels, classPrefix, }: StepIndicatorProps): import("react").JSX.Element;
|
|
@@ -18,4 +18,4 @@ export type TerminalPanelProps = Readonly<{
|
|
|
18
18
|
role?: 'alert' | 'status';
|
|
19
19
|
live?: FeedbackLiveMode;
|
|
20
20
|
}>;
|
|
21
|
-
export declare function TerminalPanel({ tone, title, titleAs: Title, body, secondaryBody, icon, actions, className, titleClassName, bodyClassName, secondaryBodyClassName, iconClassName, actionsClassName, role, live, }: TerminalPanelProps): import("react
|
|
21
|
+
export declare function TerminalPanel({ tone, title, titleAs: Title, body, secondaryBody, icon, actions, className, titleClassName, bodyClassName, secondaryBodyClassName, iconClassName, actionsClassName, role, live, }: TerminalPanelProps): import("react").JSX.Element;
|
|
@@ -147,14 +147,16 @@ type SectionHeadingColorOptions = {
|
|
|
147
147
|
*/
|
|
148
148
|
export declare const sectionHeadingColorStyleTransform: TransformDefinition<SectionHeadingColorOptions>;
|
|
149
149
|
/**
|
|
150
|
-
* Resolves section
|
|
150
|
+
* Resolves section foreground colors from the background object.
|
|
151
151
|
*
|
|
152
152
|
* The value should be the full `_sectionStyles.background` object.
|
|
153
153
|
* Outputs:
|
|
154
154
|
* - `color` and `--section-text-color` from background.textColor
|
|
155
155
|
* - `--section-heading-color` from background.headingColor (falls back to textColor if not set)
|
|
156
|
+
* - `--section-link-color` from background.linkColor (falls back to textColor if not set)
|
|
157
|
+
* - `--section-supporting-color` from background.supportingColor (falls back to textColor if not set)
|
|
156
158
|
*
|
|
157
|
-
* This combined transform replaces separate
|
|
159
|
+
* This combined transform replaces separate foreground color transforms
|
|
158
160
|
* when both need to be applied to the same style prop.
|
|
159
161
|
*/
|
|
160
162
|
export declare const sectionColorsStyleTransform: TransformDefinition<Record<string, never>>;
|
|
@@ -125,7 +125,7 @@ export declare function bindProp(from: string, opts?: {
|
|
|
125
125
|
readonly $bind: {
|
|
126
126
|
readonly pick?: "value" | "collection" | "context" | undefined;
|
|
127
127
|
readonly fallback?: {} | null | undefined;
|
|
128
|
-
readonly transforms?: TransformStep<"date.formatShort" | "
|
|
128
|
+
readonly transforms?: TransformStep<"date.formatShort" | "string.uppercase" | "value.fallback" | "value.csv" | "layout.maxWidthClass" | "layout.headerRootClass" | "layout.footerRootClass" | "layout.headerRootStyle" | "layout.headerSectionBackground" | "layout.footerRootStyle" | "ui.headerNavLinkClass" | "ui.headingClassFromAlignment" | "ui.bodyClassFromAlignment" | "ui.stackAlignFromAlignment" | "ui.sectionStateTone" | "ui.heroContentWrapperClass" | "ui.heroCtaJustify" | "ui.heroStackJustifyFromVerticalAlignment" | "ui.heroGridClassFromVerticalAlignment" | "ui.conditionalClass" | "ui.twoColumnContainerClass" | "ui.twoColumnFlexBasis" | "media.fromUrl" | "content.interpolateRichTextTokens" | "boxStyles.semanticGap" | "boxStyles.semanticGapValue" | "boxStyles.cardVariantClass" | "layout.headerLogoClass" | "layout.headerLogoMediaClass" | "layout.headerLogoTextVisible" | "layout.footerBottomBarClass" | "layout.footerBottomBarContainerClass" | "layout.footerBottomBarStyle" | "layout.footerSplitNavSingleClass" | "layout.footerSimpleRootClass" | "layout.footerSimpleNavClass" | "layout.footerSplitMainClass" | "layout.footerLogoClass" | "layout.footerLogoMediaClass" | "layout.footerLogoTextVisible">[] | undefined;
|
|
129
129
|
readonly from: string;
|
|
130
130
|
};
|
|
131
131
|
};
|
|
@@ -6,6 +6,21 @@
|
|
|
6
6
|
* cells with `groupItemsByDate` from `./group`.
|
|
7
7
|
*/
|
|
8
8
|
export type WeekStart = 'sunday' | 'monday';
|
|
9
|
+
export type CalendarViewportKind = 'month' | 'week';
|
|
10
|
+
export type WeekCalendarDays = readonly [Date, Date, Date, Date, Date, Date, Date];
|
|
11
|
+
export type MonthCalendarViewport = Readonly<{
|
|
12
|
+
kind: 'month';
|
|
13
|
+
anchorDate: Date;
|
|
14
|
+
days: readonly Date[];
|
|
15
|
+
title: string;
|
|
16
|
+
}>;
|
|
17
|
+
export type WeekCalendarViewport = Readonly<{
|
|
18
|
+
kind: 'week';
|
|
19
|
+
anchorDate: Date;
|
|
20
|
+
days: WeekCalendarDays;
|
|
21
|
+
title: string;
|
|
22
|
+
}>;
|
|
23
|
+
export type CalendarViewport = MonthCalendarViewport | WeekCalendarViewport;
|
|
9
24
|
export declare const DAY_NAMES: readonly ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
|
|
10
25
|
export declare const MONTH_NAMES: readonly ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
|
11
26
|
/**
|
|
@@ -31,6 +46,10 @@ export declare function getEndOfMonth(date: Date): Date;
|
|
|
31
46
|
* in non-leap years).
|
|
32
47
|
*/
|
|
33
48
|
export declare function addMonths(date: Date, months: number): Date;
|
|
49
|
+
/** Add (or subtract) days while preserving local time-of-day fields. */
|
|
50
|
+
export declare function addDays(date: Date, days: number): Date;
|
|
51
|
+
/** Shift a calendar anchor by the natural unit for a viewport kind. */
|
|
52
|
+
export declare function shiftCalendarAnchorDate(date: Date, view: CalendarViewportKind, steps: number): Date;
|
|
34
53
|
/**
|
|
35
54
|
* Get an inclusive 3-month window around `date`, returned as ISO strings
|
|
36
55
|
* with UTC midnight bounds. Suitable for prefetching event windows when
|
|
@@ -47,6 +66,8 @@ export declare function getThreeMonthRange(date: Date): {
|
|
|
47
66
|
export declare function getMonthCalendarDays(year: number, month: number, startOfWeek: WeekStart): Date[];
|
|
48
67
|
/** Build the 7 dates of the week containing `baseDate`. */
|
|
49
68
|
export declare function getWeekCalendarDays(baseDate: Date, startOfWeek: WeekStart): Date[];
|
|
69
|
+
/** Build the 7 dates of the week containing `baseDate` as a fixed-width tuple. */
|
|
70
|
+
export declare function getWeekCalendarDayTuple(baseDate: Date, startOfWeek: WeekStart): WeekCalendarDays;
|
|
50
71
|
/**
|
|
51
72
|
* Day-name labels reordered for the chosen week start. Pass a custom
|
|
52
73
|
* `dayNames` array (length 7, Sunday-first) to localize.
|
|
@@ -58,3 +79,9 @@ export declare function getOrderedDayNames(startOfWeek: WeekStart, dayNames?: re
|
|
|
58
79
|
* - week: "January 5 - 11, 2025" or "December 30 - January 5, 2025"
|
|
59
80
|
*/
|
|
60
81
|
export declare function formatCalendarTitle(viewDate: Date, view: 'month' | 'week', days: Date[], monthNames?: readonly string[]): string;
|
|
82
|
+
export declare function buildCalendarViewport(input: Readonly<{
|
|
83
|
+
view: CalendarViewportKind;
|
|
84
|
+
anchorDate: Date;
|
|
85
|
+
startOfWeek: WeekStart;
|
|
86
|
+
monthNames?: readonly string[];
|
|
87
|
+
}>): CalendarViewport;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type { WeekStart } from './grid';
|
|
2
|
-
export { getMonthCalendarDays, getWeekCalendarDays, getOrderedDayNames, formatCalendarTitle, formatDateKey, isToday, isSameLocalDay, addMonths, getStartOfMonth, getEndOfMonth, getThreeMonthRange, DAY_NAMES, MONTH_NAMES, MAX_EVENTS_PER_DAY, } from './grid';
|
|
1
|
+
export type { CalendarViewport, CalendarViewportKind, MonthCalendarViewport, WeekCalendarDays, WeekCalendarViewport, WeekStart, } from './grid';
|
|
2
|
+
export { addDays, buildCalendarViewport, getMonthCalendarDays, getWeekCalendarDays, getWeekCalendarDayTuple, getOrderedDayNames, formatCalendarTitle, formatDateKey, isToday, isSameLocalDay, addMonths, shiftCalendarAnchorDate, getStartOfMonth, getEndOfMonth, getThreeMonthRange, DAY_NAMES, MONTH_NAMES, MAX_EVENTS_PER_DAY, } from './grid';
|
|
3
3
|
export type { TimetableInput, TimetableModel, TimetableDay, TimetableCell, TimetableBounds, TimetableDiagnostic, InvalidItemReason, TimetableView, } from './timetable';
|
|
4
4
|
export { buildTimetableModel } from './timetable';
|
|
5
5
|
export type { GroupItemsByDateAccessors } from './group';
|
|
@@ -22,4 +22,4 @@ export type ContentFieldsFormProps<TValues extends Record<string, unknown>> = {
|
|
|
22
22
|
error: string;
|
|
23
23
|
}) => ReactNode;
|
|
24
24
|
};
|
|
25
|
-
export declare function ContentFieldsForm<TValues extends Record<string, unknown>>({ siteId, manifest, form: formSpec, initialValues: _initialValues, paletteTokens, widgets, mediaProvider: MediaProvider, errorComponent: ErrorComponent, }: ContentFieldsFormProps<TValues>): import("react
|
|
25
|
+
export declare function ContentFieldsForm<TValues extends Record<string, unknown>>({ siteId, manifest, form: formSpec, initialValues: _initialValues, paletteTokens, widgets, mediaProvider: MediaProvider, errorComponent: ErrorComponent, }: ContentFieldsFormProps<TValues>): import("react").JSX.Element;
|
|
@@ -6,6 +6,6 @@ type BlockDataContextValue = {
|
|
|
6
6
|
export declare function EditableBlockProvider({ blockId, children }: {
|
|
7
7
|
blockId: string;
|
|
8
8
|
children: ReactNode;
|
|
9
|
-
}): import("react
|
|
9
|
+
}): import("react").JSX.Element;
|
|
10
10
|
export declare function useBlockData(): BlockDataContextValue | null;
|
|
11
11
|
export {};
|
|
@@ -110,7 +110,7 @@ type EntryControllerProviderProps = PageInternalProps | ContentInternalProps;
|
|
|
110
110
|
* - `useEntryEditorController()` - Access entry, form, actions, toolbar
|
|
111
111
|
* - `useEditorUiStore()` - Subscribe to draft/autosave/focus state with selectors
|
|
112
112
|
*/
|
|
113
|
-
export declare function EntryControllerProvider(props: EntryControllerProviderProps): import("react
|
|
113
|
+
export declare function EntryControllerProvider(props: EntryControllerProviderProps): import("react").JSX.Element;
|
|
114
114
|
export declare function useEntryEditorController(): EntryControllerContextValue;
|
|
115
115
|
export declare function useEntryController(): EntryControllerContextValue;
|
|
116
116
|
/**
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { useStoreAutosave } from '../hooks/useStoreAutosave';
|
|
2
2
|
import type { useBlockAutosave } from '../hooks/useBlockAutosave';
|
|
3
|
+
import type { AutosaveHandle } from '../hooks/useSimpleAutosave';
|
|
3
4
|
import type { createEditorUiStore } from '../ui/editorUiStore';
|
|
4
5
|
type UseAutosaveTriggersProps = {
|
|
5
6
|
uiStore: ReturnType<typeof createEditorUiStore>;
|
|
6
7
|
metadataAutosave: ReturnType<typeof useStoreAutosave>;
|
|
7
8
|
blockAutosave: ReturnType<typeof useBlockAutosave>;
|
|
9
|
+
linkedEntryAutosave?: AutosaveHandle | null;
|
|
8
10
|
/** Content autosave - only provided for content entries (not pages) */
|
|
9
11
|
contentAutosave?: ReturnType<typeof useStoreAutosave> | null;
|
|
10
12
|
hasRoute: boolean;
|
|
@@ -23,5 +25,5 @@ type UseAutosaveTriggersProps = {
|
|
|
23
25
|
* transition tracking. When a user continues editing during/after save,
|
|
24
26
|
* status stays 'pending' but version increments, so we still trigger.
|
|
25
27
|
*/
|
|
26
|
-
export declare function useAutosaveTriggers({ uiStore, metadataAutosave, blockAutosave, contentAutosave, hasRoute, enableTriggers, }: UseAutosaveTriggersProps): void;
|
|
28
|
+
export declare function useAutosaveTriggers({ uiStore, metadataAutosave, blockAutosave, linkedEntryAutosave, contentAutosave, hasRoute, enableTriggers, }: UseAutosaveTriggersProps): void;
|
|
27
29
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ui/editorTransactionState';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { EditorSyncState } from '../../../core/src/index';
|
|
2
|
+
import type { LinkedContentEntryId } from '../linkedEntries/domain';
|
|
3
|
+
import type { AutosaveStatus } from '../ui/stores/types';
|
|
4
|
+
export { unsafeAsLinkedContentEntryId, type LinkedContentEntryId, } from '../linkedEntries/domain';
|
|
5
|
+
export type EditorAutosaveScope = Readonly<{
|
|
6
|
+
kind: 'metadata';
|
|
7
|
+
}> | Readonly<{
|
|
8
|
+
kind: 'content';
|
|
9
|
+
}> | Readonly<{
|
|
10
|
+
kind: 'blocks';
|
|
11
|
+
}> | Readonly<{
|
|
12
|
+
kind: 'linkedEntry';
|
|
13
|
+
entryId: LinkedContentEntryId;
|
|
14
|
+
}>;
|
|
15
|
+
export type EditorAutosaveSchedulerKey = 'metadata' | 'content' | 'blocks' | 'linkedEntries';
|
|
16
|
+
export type AutosaveScopeSnapshot = Readonly<{
|
|
17
|
+
scope: EditorAutosaveScope;
|
|
18
|
+
syncState: EditorSyncState;
|
|
19
|
+
}>;
|
|
20
|
+
export type AutosaveStatusByScheduler = Readonly<Record<EditorAutosaveSchedulerKey, AutosaveStatus>>;
|
|
21
|
+
export declare function autosaveScopeKey(scope: EditorAutosaveScope): string;
|
|
22
|
+
export declare function autosaveSchedulerKey(scope: EditorAutosaveScope): EditorAutosaveSchedulerKey;
|
|
23
|
+
export declare function uniqueAutosaveSchedulerKeys(scopes: readonly EditorAutosaveScope[]): EditorAutosaveSchedulerKey[];
|
|
24
|
+
export declare function deriveDirtyAutosaveScopes(snapshots: readonly AutosaveScopeSnapshot[]): EditorAutosaveScope[];
|
|
25
|
+
export declare function hasAutosaveStatusFailure(statuses: AutosaveStatusByScheduler): boolean;
|
|
26
|
+
export declare function allAutosaveStatusesComplete(statuses: AutosaveStatusByScheduler): boolean;
|
|
@@ -31,6 +31,7 @@ export type PublishabilityAutosaveState = Readonly<{
|
|
|
31
31
|
metadata: AutosaveStatus;
|
|
32
32
|
content: AutosaveStatus;
|
|
33
33
|
blocks: AutosaveStatus;
|
|
34
|
+
linkedEntries: AutosaveStatus;
|
|
34
35
|
}>;
|
|
35
36
|
export type DerivePublishabilityInput = Readonly<{
|
|
36
37
|
unpublishedState: EditorUnpublishedState;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ApiClient } from '../services';
|
|
2
|
+
import type { LinkedContentEntryId, LinkedContentTypeKey } from '../linkedEntries/domain';
|
|
3
|
+
import type { EditorUiStoreInstance } from '../ui/editorUiStore';
|
|
4
|
+
export type PendingLinkedEntrySave = Readonly<{
|
|
5
|
+
entryId: LinkedContentEntryId;
|
|
6
|
+
contentTypeKey: LinkedContentTypeKey;
|
|
7
|
+
content: Record<string, unknown>;
|
|
8
|
+
optimisticHash: string | null;
|
|
9
|
+
acknowledgedVersion: number;
|
|
10
|
+
}>;
|
|
11
|
+
export type LinkedEntrySaveResult = Readonly<{
|
|
12
|
+
entryId: LinkedContentEntryId;
|
|
13
|
+
content: Record<string, unknown>;
|
|
14
|
+
optimisticHash: string | null;
|
|
15
|
+
}>;
|
|
16
|
+
export type LinkedEntryAutosaveOptions = Readonly<{
|
|
17
|
+
uiStore: EditorUiStoreInstance;
|
|
18
|
+
apiClient: ApiClient;
|
|
19
|
+
siteId: string;
|
|
20
|
+
saveLinkedEntry?: (save: PendingLinkedEntrySave) => Promise<LinkedEntrySaveResult>;
|
|
21
|
+
}>;
|
|
22
|
+
export declare function collectPendingLinkedEntrySaves(uiStore: EditorUiStoreInstance): PendingLinkedEntrySave[];
|
|
23
|
+
export declare function useLinkedEntryAutosave({ uiStore, apiClient, siteId, saveLinkedEntry, }: LinkedEntryAutosaveOptions): import("./useSimpleAutosave").AutosaveHandle;
|
|
@@ -23,8 +23,8 @@ type AutosaveConfig<TValues, TPayload> = {
|
|
|
23
23
|
enabled?: boolean;
|
|
24
24
|
/** UI store instance for updating autosave status */
|
|
25
25
|
uiStore: EditorUiStoreInstance;
|
|
26
|
-
/** Which autosave
|
|
27
|
-
type: 'metadata' | 'blocks' | 'content';
|
|
26
|
+
/** Which autosave scheduler this hook updates */
|
|
27
|
+
type: 'metadata' | 'blocks' | 'content' | 'linkedEntries';
|
|
28
28
|
};
|
|
29
29
|
export type AutosaveHandle = {
|
|
30
30
|
trigger: () => void;
|
|
@@ -4,6 +4,8 @@ export { useDebouncedLatestSave, type DebouncedLatestSaveConfig, type DebouncedL
|
|
|
4
4
|
export { useSimpleAutosave, useMultiAutosave } from './hooks/useSimpleAutosave';
|
|
5
5
|
export { useStoreAutosave, type StoreAutosaveConfig, type AutosaveScope } from './hooks/useStoreAutosave';
|
|
6
6
|
export { useBlockAutosave, type BlockAutosaveOptions } from './hooks/useBlockAutosave';
|
|
7
|
+
export { collectPendingLinkedEntrySaves, useLinkedEntryAutosave, type LinkedEntryAutosaveOptions, type LinkedEntrySaveResult, type PendingLinkedEntrySave, } from './hooks/useLinkedEntryAutosave';
|
|
8
|
+
export { unsafeAsLinkedContentEntryId, unsafeAsLinkedContentTypeKey, type LinkedContentEntryId, type LinkedContentTypeKey, } from './linkedEntries/domain';
|
|
7
9
|
export { useEntryActions, type EntryActionsOptions } from './hooks/useEntryActions';
|
|
8
10
|
export { useReactiveToolbar } from './hooks/useReactiveToolbar';
|
|
9
11
|
export { isInvalidSaveability, selectHasInvalidBlocks } from './hooks/invalidBlockSelectors';
|
|
@@ -16,7 +18,7 @@ export { EditableBlockProvider, useBlockData } from './components/EditableBlockP
|
|
|
16
18
|
export { ContentFieldsForm, type ContentFieldsFormProps } from './components/ContentFieldsForm';
|
|
17
19
|
export { useUISelector } from './ui/useUISelector';
|
|
18
20
|
export { EditorUiStoreProvider, useEditorUiStore, useEditorUiStoreInstance, useOptionalEditorUiStoreInstance, createEditorUiStore } from './ui/editorUiStore';
|
|
19
|
-
export type { ActivePreviewField, EditorUiStoreInstance, EditorUiState, PreviewSidebarTab, ViewportMode, ViewportWidth, ViewportState, ZoomLevel, } from './ui/editorUiStore';
|
|
21
|
+
export type { ActivePreviewField, EditorUiStoreInstance, EditorUiState, EditorPreviewInspectorStore, EditorLinkedEntrySnapshot, PreviewInspection, PreviewSidebarTab, ViewportMode, ViewportWidth, ViewportState, ZoomLevel, } from './ui/editorUiStore';
|
|
20
22
|
export { PreviewTextEditor } from './primitives/PreviewTextEditor';
|
|
21
23
|
export { PreviewRichTextEditor } from './primitives/PreviewRichTextEditor';
|
|
22
24
|
export { useStoreBinding, parseEditorPath } from './primitives/shared';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type LinkedContentEntryId = string & {
|
|
2
|
+
readonly __linkedContentEntryId: unique symbol;
|
|
3
|
+
};
|
|
4
|
+
export type LinkedContentTypeKey = string & {
|
|
5
|
+
readonly __linkedContentTypeKey: unique symbol;
|
|
6
|
+
};
|
|
7
|
+
export declare function unsafeAsLinkedContentEntryId(value: string): LinkedContentEntryId;
|
|
8
|
+
export declare function unsafeAsLinkedContentTypeKey(value: string): LinkedContentTypeKey;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { RichTextPrimitiveProps } from "../../../blocks/src/index";
|
|
2
|
+
import type { PreviewLinkedEntryFieldBinding } from '../../../blocks/src/system/data/index';
|
|
3
|
+
type PreviewRichTextEditorProps = RichTextPrimitiveProps & {
|
|
4
|
+
onLinkedEntryFieldFocus?: (binding: PreviewLinkedEntryFieldBinding) => void;
|
|
5
|
+
};
|
|
2
6
|
/**
|
|
3
7
|
* Memoized version to prevent unnecessary re-renders.
|
|
4
8
|
* Only re-renders when path, doc, variant, or className props actually change.
|
|
5
9
|
*/
|
|
6
|
-
export declare const PreviewRichTextEditor: import("react").MemoExoticComponent<({ path, className, doc, variant }:
|
|
10
|
+
export declare const PreviewRichTextEditor: import("react").MemoExoticComponent<({ path, linkedEntryField, onLinkedEntryFieldFocus, className, doc, variant }: PreviewRichTextEditorProps) => import("react").JSX.Element>;
|
|
11
|
+
export {};
|