@riverbankcms/sdk 0.81.0 → 0.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -3
- package/dist/{PreviewEditorSidebar-O4NDX5TP.css → PreviewEditorSidebar-JA4VIPSZ.css} +1 -1
- package/dist/{PreviewEditorSidebar-RDCMEXIJ.mjs → PreviewEditorSidebar-LHGK6RIO.mjs} +40 -499
- package/dist/{SdkPreviewModeRuntime-PBGALTMK.css → PreviewEditorUI-36T7QYV4.css} +1 -1
- package/dist/{PreviewEditorUI-NYGQ6K7B.mjs → PreviewEditorUI-AXZG2SDC.mjs} +4 -6
- package/dist/{PreviewEditorUI-4JVDBZBS.css → SdkPreviewModeRuntime-FXKI6XNL.css} +1 -1
- package/dist/SdkPreviewModeRuntime-RNVRHFFR.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +838 -262
- package/dist/_dts/altcha/src/AltchaWidget.d.ts +1 -1
- package/dist/_dts/api/src/analytics.d.ts +1 -1
- package/dist/_dts/api/src/bookingConfig.d.ts +4 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +3 -3
- package/dist/_dts/api/src/courses.d.ts +1 -1
- package/dist/_dts/api/src/event-destination-policy.d.ts +17 -0
- package/dist/_dts/api/src/index.d.ts +4 -0
- package/dist/_dts/api/src/navigation/boundaries.d.ts +64 -0
- package/dist/_dts/api/src/navigation.d.ts +2 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +6 -54
- package/dist/_dts/api/src/siteGeneration.d.ts +1 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +7 -6
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/block-form/src/context/BlockContext.d.ts +1 -1
- package/dist/_dts/block-form/src/context/DisplayLabelResolverContext.d.ts +1 -1
- package/dist/_dts/block-form/src/context/FieldPreviewResolverContext.d.ts +2 -2
- package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +1 -1
- package/dist/_dts/block-form/src/palette/PaletteContext.d.ts +1 -1
- package/dist/_dts/block-form/src/sdk-config/SdkConfigContext.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/BackgroundColorWidget/BackgroundColorWidget.d.ts +2 -1
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/BooleanField/BooleanField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/Field.d.ts +2 -2
- package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +3 -3
- package/dist/_dts/block-form/src/widgets/NumberField/NumberField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/PresetOrCustomField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SdkSelectField/SdkSelectField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SelectField/SelectField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SelectWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SliderField/SliderField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/TextField/TextField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/TextInputWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/ToggleWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/stringDefaultValue.d.ts +1 -0
- package/dist/_dts/blocks/src/PageRenderer.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +8 -16
- package/dist/_dts/blocks/src/index.d.ts +2 -2
- package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +7 -7
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/content/components/Text.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +3 -0
- package/dist/_dts/blocks/src/primitives/layout/Grid.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/layout/Inline.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/layout/Stack.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +302 -151
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +6 -20
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +54 -54
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +4 -2
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +28 -0
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +592 -602
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +592 -604
- package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +592 -592
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +3 -0
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +6 -2
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/linkedContentEntries.d.ts +38 -0
- package/dist/_dts/blocks/src/system/defineBlock.d.ts +3 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +71 -56
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +12 -24
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +6 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/ImageResolveContext.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/cart.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/cart.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +1 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/view.d.ts +10 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/BookingModeStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/CourseRegistrationWizard.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/ErrorStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/MembershipHero.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PortalAuthSidebar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/SuccessStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/WaitlistStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/components.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.client.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/CoursePricingDisplay.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSummaryBar.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizard.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardContent.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventSelectionStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/OrderSummary.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PastOccurrenceNotice.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SelectableOptionCard.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDerivations.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +12 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DateTimeTile.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DayEventsModal.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.shared.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-list.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-list.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-add-feedback.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.server.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +0 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/spinner.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/ActionRow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/CheckIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/ClockIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/CrossIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/FeedbackMessage.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/FieldValidationMessage.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/MembershipHero.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/StateIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/TerminalPanel.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
- package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +1 -1
- package/dist/_dts/content-editor/src/components/EditableBlockProvider.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +6 -1
- package/dist/_dts/content-editor/src/primitives/PreviewTextEditor.d.ts +6 -1
- package/dist/_dts/content-editor/src/primitives/shared/activePreviewField.d.ts +2 -0
- package/dist/_dts/content-editor/src/primitives/shared/index.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/shared/storeBinding.d.ts +3 -1
- package/dist/_dts/content-editor/src/primitives/shared/types.d.ts +5 -0
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +7 -2
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +0 -40
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +0 -40
- package/dist/_dts/content-model/src/templates/defaults.d.ts +0 -1
- package/dist/_dts/core/src/event-pricing.d.ts +72 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +27 -2
- package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +1 -1
- package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/EditorPrimitivesProvider.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/InlineFieldContext.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/SaveContext.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/RichTextToolbar.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/BlockTypeDropdown.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/LinkPopover.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/ToolbarIconButton.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/FormProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/AddBlockDivider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockListContext.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockThumbnail.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockTile.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/EmptyState.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/EnhancedBlockPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/HeaderActions.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonVariantField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeSelectField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkSummary.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewGroupOrderField.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewWidgetProvider.d.ts +10 -0
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/index.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/orderDomain.d.ts +29 -0
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/useImagePicker.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionWidgetProvider.d.ts +1 -1
- package/dist/_dts/media-editor/src/CropDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/CropDialogShell.d.ts +1 -1
- package/dist/_dts/media-editor/src/FileAssetPreview.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaPreview.d.ts +1 -1
- package/dist/_dts/media-editor/src/context.d.ts +1 -1
- package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -1
- package/dist/_dts/media-editor/src/provider.d.ts +1 -1
- package/dist/_dts/media-react/src/components/AuthenticatedImage.d.ts +1 -1
- package/dist/_dts/media-react/src/components/MediaLibrary.d.ts +1 -1
- package/dist/_dts/media-react/src/components/MediaPickerMini.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/PreviewShellSmoke.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +5 -3
- package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/layout/PreviewLayoutContext.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/MaintenanceModeBadge.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/OnboardingThemeSwitcher.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewAuthBanner.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewAuthInit.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewConfirmationDialog.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignCoordinatorContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignHistoryOrderContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorGuidanceCard.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewQueryProvider.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewSidebarSection.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewViewportControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewZoomControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeButton.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +14 -3
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SubrouteNoticePanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/linkedEntryEditEvents.d.ts +5 -1
- package/dist/_dts/preview-next/src/client/preview/previewChromePlacement.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeControls.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +24 -5
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/themeOverlay.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewModeRuntime.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +5 -3
- package/dist/_dts/sdk/src/__mocks__/next-cache.d.ts +4 -3
- package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +6 -14
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +31 -0
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/sync/validation.d.ts +7 -7
- package/dist/_dts/sdk/src/client/types.d.ts +36 -4
- package/dist/_dts/sdk/src/client.d.ts +1 -1
- package/dist/_dts/sdk/src/config/content-types.d.ts +3 -14
- package/dist/_dts/sdk/src/config/content-validation.d.ts +9 -214
- package/dist/_dts/sdk/src/config/types.d.ts +9 -0
- package/dist/_dts/sdk/src/config/validation.d.ts +21 -21
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +2 -2
- package/dist/_dts/sdk/src/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +6 -6
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +4 -3
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +29 -37
- package/dist/_dts/sdk/src/rendering/components/Block.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Block.server.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Page.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Page.server.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/PageHydrationBootstrap.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +10 -9
- package/dist/_dts/sdk/src/rendering/islands/enhancers/routeIslandApiConfig.d.ts +9 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +6 -57
- package/dist/_dts/sdk/src/rendering/primitives/RichText.d.ts +2 -1
- package/dist/_dts/sdk/src/server.d.ts +1 -1
- package/dist/_dts/sdk/src/theme-bridge/ThemeBridgeProvider.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +69 -21
- package/dist/_dts/theme-core/src/ClientThemeScope.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +3 -2
- package/dist/_dts/theme-core/src/ThemeScope.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeScopeCore.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +7 -7
- package/dist/_dts/theme-core/src/buttons/types.d.ts +17 -17
- package/dist/_dts/theme-core/src/cards/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +201 -192
- package/dist/_dts/theme-core/src/mock-themes/components/PaletteCard.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/components/swatch.d.ts +1 -1
- package/dist/_dts/theme-core/src/navigation/presets.d.ts +1 -1
- package/dist/_dts/theme-core/src/navigation/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/schema.d.ts +233 -223
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +27 -0
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +14 -14
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +7 -7
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +30 -0
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +2 -0
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
- package/dist/_dts/ui/src/async-boundary.d.ts +1 -1
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button-group.d.ts +3 -3
- package/dist/_dts/ui/src/calendar.d.ts +2 -2
- package/dist/_dts/ui/src/card.d.ts +6 -6
- package/dist/_dts/ui/src/combobox.d.ts +1 -1
- package/dist/_dts/ui/src/command-multi-select.d.ts +1 -1
- package/dist/_dts/ui/src/content-spinner.d.ts +1 -1
- package/dist/_dts/ui/src/delayed-spinner.d.ts +1 -1
- package/dist/_dts/ui/src/dev-toolbar.d.ts +1 -1
- package/dist/_dts/ui/src/dialog.d.ts +10 -10
- package/dist/_dts/ui/src/dropdown-menu.d.ts +1 -1
- package/dist/_dts/ui/src/editor-drawer.d.ts +1 -1
- package/dist/_dts/ui/src/empty-state.d.ts +1 -1
- package/dist/_dts/ui/src/filter-button-group.d.ts +1 -1
- package/dist/_dts/ui/src/fixed-bottom-surface.d.ts +1 -1
- package/dist/_dts/ui/src/form.d.ts +7 -7
- package/dist/_dts/ui/src/label.d.ts +1 -1
- package/dist/_dts/ui/src/menubar.d.ts +16 -16
- package/dist/_dts/ui/src/navigation-tabs.d.ts +2 -2
- package/dist/_dts/ui/src/number-input.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorChooserDialog.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorSlotButton.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorSwatchButton.d.ts +1 -1
- package/dist/_dts/ui/src/palette/PaletteTokenEditor.d.ts +1 -1
- package/dist/_dts/ui/src/resizable-split-pane.d.ts +1 -1
- package/dist/_dts/ui/src/select.d.ts +10 -10
- package/dist/_dts/ui/src/separator.d.ts +1 -1
- package/dist/_dts/ui/src/sheet.d.ts +9 -9
- package/dist/_dts/ui/src/spinner.d.ts +1 -1
- package/dist/_dts/ui/src/tooltip.d.ts +4 -4
- package/dist/{chunk-4T5JIPWY.mjs → chunk-2BUMISSH.mjs} +1 -1
- package/dist/{chunk-3PTVPAT4.mjs → chunk-6FWNF3DJ.mjs} +237 -43
- package/dist/{chunk-E3NZYEKF.mjs → chunk-FIREV57T.mjs} +13 -2
- package/dist/{chunk-3QWQ2MUQ.mjs → chunk-G35HOQEN.mjs} +2997 -2255
- package/dist/{chunk-3VT7LZY2.mjs → chunk-HKB6XVIP.mjs} +2 -2
- package/dist/{chunk-WUHKQBB6.mjs → chunk-XQR6THQJ.mjs} +20801 -17561
- package/dist/cli/index.mjs +3274 -2518
- package/dist/cli/init-docs/content/workflow-custom-block.md +5 -0
- package/dist/client/{accordion-SFIIZWNH.mjs → accordion-G34C45TW.mjs} +2 -2
- package/dist/client/{bookingForm-CFKZVWGA.mjs → bookingForm-BLBVKSAQ.mjs} +12 -12
- package/dist/client/bookings.mjs +40 -41
- package/dist/client/{carousel-ELXWSBLA.mjs → carousel-7ZVTBRMD.mjs} +3 -3
- package/dist/client/{cart-6SSCPYY5.mjs → cart-Q6S6LZUO.mjs} +8 -7
- package/dist/client/{checkout-UFQ34HPV.mjs → checkout-5QJLDE4I.mjs} +8 -7
- package/dist/client/{chunk-G56BSZAM.mjs → chunk-5PQH4Y75.mjs} +3 -3
- package/dist/client/{chunk-PA2LJH2M.mjs → chunk-CHAB5ACD.mjs} +5 -4
- package/dist/client/{chunk-IUEDYLFJ.mjs → chunk-CSZGLBYR.mjs} +1 -1
- package/dist/client/{chunk-3PEDD5KJ.mjs → chunk-DVNUDUVT.mjs} +1 -1
- package/dist/client/{chunk-76JUETXQ.mjs → chunk-EQKYMX4N.mjs} +215 -121
- package/dist/client/{chunk-YLMKMCSJ.mjs → chunk-GFSQNTRW.mjs} +1 -3
- package/dist/client/chunk-L4J5Y62O.mjs +18 -0
- package/dist/client/{chunk-NX6X3GRF.mjs → chunk-RJHTCTCZ.mjs} +226 -188
- package/dist/client/{chunk-7BXX7WXH.mjs → chunk-S3MKFGOG.mjs} +59 -1
- package/dist/client/{chunk-RMWMT3ZD.mjs → chunk-SBBSMFFG.mjs} +1 -1
- package/dist/client/{chunk-TCJS3NY5.mjs → chunk-U2EW7RSR.mjs} +1 -1
- package/dist/client/{chunk-NP47RHIX.mjs → chunk-WJFHDTYF.mjs} +17 -34
- package/dist/client/{chunk-V6XI4M2Q.mjs → chunk-ZF4XEWDM.mjs} +1 -1
- package/dist/client/client.mjs +61332 -60062
- package/dist/client/{courseRegistration-HJIISAAG.mjs → courseRegistration-VUG2JJDB.mjs} +13 -12
- package/dist/client/{eventCalendar-F6YVUCZR.mjs → eventCalendar-E7D2LD4N.mjs} +14 -14
- package/dist/client/{eventCombined-B5DSTIOK.mjs → eventCombined-FUZ2Z3CS.mjs} +14 -14
- package/dist/client/{eventDetails-SEJDDHQC.mjs → eventDetails-QRITJAOW.mjs} +9 -9
- package/dist/client/{eventListing-TPMWIIBO.mjs → eventListing-INMQMJZ5.mjs} +14 -14
- package/dist/client/{eventRegistration-QU6W2PV6.mjs → eventRegistration-TOOJD4WU.mjs} +17 -15
- package/dist/client/{form-LVTYNTDE.mjs → form-BOWN7ZNQ.mjs} +3 -3
- package/dist/client/{headerSection-SO3MFC4U.mjs → headerSection-HFQNZOUU.mjs} +4 -4
- package/dist/client/hooks.mjs +26534 -26159
- package/dist/client/{locationMap-5E5FLAKO.mjs → locationMap-VUZGC7Y5.mjs} +2 -2
- package/dist/client/{newsletterForm-GN32JEBQ.mjs → newsletterForm-X2XQTPCB.mjs} +3 -3
- package/dist/client/{productDetail-Q346KSVR.mjs → productDetail-TA7D2G2B.mjs} +8 -7
- package/dist/client/{productList-DTDMQYGZ.mjs → productList-AZOLOZKM.mjs} +8 -7
- package/dist/client/rendering/client.mjs +1534 -1185
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +10674 -9455
- package/dist/client/{shop-OFUW7KPN.mjs → shop-ZDLO7IIG.mjs} +8 -7
- package/dist/client/spam-protection.mjs +3 -5
- package/dist/preview-next/client/runtime.css +1 -1
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/{sdk-runtime-2GIX6I7X.mjs → sdk-runtime-CTWKNBDQ.mjs} +6 -6
- package/dist/{sdk-runtime-EEMNSB7J.css → sdk-runtime-JD4A6SU6.css} +1 -1
- package/dist/server/components.mjs +7129 -6548
- package/dist/server/config-validation.mjs +26217 -25941
- package/dist/server/config.mjs +26217 -25941
- package/dist/server/data.mjs +26514 -26139
- package/dist/server/index.mjs +108 -56
- package/dist/server/next.mjs +30233 -29506
- package/dist/server/page-converter.mjs +2325 -846
- package/dist/server/prebuild.mjs +2 -1
- package/dist/server/rendering/server.mjs +8133 -7457
- package/dist/server/rendering.mjs +12160 -11484
- package/dist/server/routing.mjs +29684 -29263
- package/dist/server/server.mjs +26525 -26099
- package/dist/server/theme-bridge.mjs +142 -79
- package/dist/server/theme.mjs +129 -130
- package/dist/styles/index.css +132 -68
- package/package.json +16 -16
- package/dist/SdkPreviewModeRuntime-AKCSCZEC.mjs +0 -8
|
@@ -18,13 +18,13 @@ export declare const componentBorderSchema: z.ZodObject<{
|
|
|
18
18
|
width: z.ZodDefault<z.ZodEnum<{
|
|
19
19
|
medium: "medium";
|
|
20
20
|
none: "none";
|
|
21
|
-
thick: "thick";
|
|
22
21
|
thin: "thin";
|
|
22
|
+
thick: "thick";
|
|
23
23
|
hairline: "hairline";
|
|
24
24
|
}>>;
|
|
25
25
|
style: z.ZodDefault<z.ZodEnum<{
|
|
26
|
-
dashed: "dashed";
|
|
27
26
|
solid: "solid";
|
|
27
|
+
dashed: "dashed";
|
|
28
28
|
}>>;
|
|
29
29
|
colorToken: z.ZodOptional<z.ZodString>;
|
|
30
30
|
}, z.core.$strip>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type ThemeColorToken } from '../tokens';
|
|
2
|
+
export type BackgroundTextLegibilityRole = 'body' | 'large';
|
|
3
|
+
export declare const BACKGROUND_BODY_TEXT_MIN_CONTRAST_RATIO = 4.5;
|
|
4
|
+
export declare const BACKGROUND_LARGE_TEXT_MIN_CONTRAST_RATIO = 3;
|
|
5
|
+
export declare const backgroundTextLegibilityMinContrastRatio: {
|
|
6
|
+
readonly body: 4.5;
|
|
7
|
+
readonly large: 3;
|
|
8
|
+
};
|
|
9
|
+
export type ThemeBackgroundTextLegibilityPlan = Readonly<{
|
|
10
|
+
kind: 'theme-foreground-token';
|
|
11
|
+
foregroundToken: string;
|
|
12
|
+
minContrastRatio: 4.5 | 3;
|
|
13
|
+
}>;
|
|
14
|
+
export type ThemeChromeTextLegibilityPlan = Readonly<{
|
|
15
|
+
kind: 'theme-color-token';
|
|
16
|
+
foregroundToken: ThemeColorToken;
|
|
17
|
+
minContrastRatio: 4.5 | 3;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const backgroundAppearanceQuickColorTokenNames: readonly ["background", "surface", "muted", "primary", "secondary", "accent"];
|
|
20
|
+
export declare const backgroundAppearanceBaseColorTokenNames: readonly ["background", "surface", "surfaceAlt", "muted", "primary", "secondary", "accent", "neutral"];
|
|
21
|
+
export declare const backgroundAppearanceShadeableColorTokenNames: readonly ["primary", "secondary", "accent", "neutral"];
|
|
22
|
+
export declare const backgroundAppearanceColorTokenNames: readonly ("surface" | "primary" | "secondary" | "background" | "accent" | "muted" | "surfaceAlt" | "neutral" | "neutral-600" | "neutral-500" | "neutral-800" | "neutral-700" | "neutral-900" | "primary-500" | "primary-400" | "neutral-950" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "secondary-500" | "accent-400" | "neutral-400" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "secondary-400" | "accent-500" | "primary-50" | "primary-900" | "secondary-50" | "secondary-900" | "accent-50" | "accent-900" | "primary-800" | "primary-700" | "primary-100" | "primary-200" | "primary-950" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-700" | "secondary-800" | "secondary-950" | "accent-100" | "accent-200" | "accent-300" | "accent-700" | "accent-800" | "accent-950")[];
|
|
23
|
+
export declare const backgroundAppearanceAdvancedColorTokenNames: ("surface" | "primary" | "secondary" | "background" | "accent" | "muted" | "surfaceAlt" | "neutral" | "neutral-600" | "neutral-500" | "neutral-800" | "neutral-700" | "neutral-900" | "primary-500" | "primary-400" | "neutral-950" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "secondary-500" | "accent-400" | "neutral-400" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "secondary-400" | "accent-500" | "primary-50" | "primary-900" | "secondary-50" | "secondary-900" | "accent-50" | "accent-900" | "primary-800" | "primary-700" | "primary-100" | "primary-200" | "primary-950" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-700" | "secondary-800" | "secondary-950" | "accent-100" | "accent-200" | "accent-300" | "accent-700" | "accent-800" | "accent-950")[];
|
|
24
|
+
export declare function parseBackgroundAppearanceColorToken(value: unknown): ThemeColorToken | null;
|
|
25
|
+
export declare function foregroundTokenForBackgroundAppearanceColorToken(token: ThemeColorToken): string;
|
|
26
|
+
export declare function planThemeBackgroundTextLegibility(backgroundToken: ThemeColorToken, role?: BackgroundTextLegibilityRole): ThemeBackgroundTextLegibilityPlan;
|
|
27
|
+
export declare function planThemeChromeTextLegibility(backgroundToken: ThemeColorToken, role?: BackgroundTextLegibilityRole): ThemeChromeTextLegibilityPlan;
|
|
@@ -122,9 +122,9 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
|
|
|
122
122
|
}, z.core.$strict>, z.ZodObject<{
|
|
123
123
|
kind: z.ZodLiteral<"panel">;
|
|
124
124
|
treatment: z.ZodEnum<{
|
|
125
|
-
inset: "inset";
|
|
126
125
|
editorial: "editorial";
|
|
127
126
|
raised: "raised";
|
|
127
|
+
inset: "inset";
|
|
128
128
|
}>;
|
|
129
129
|
}, z.core.$strict>, z.ZodObject<{
|
|
130
130
|
kind: z.ZodLiteral<"flush-panel">;
|
|
@@ -133,19 +133,19 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
|
|
|
133
133
|
}>;
|
|
134
134
|
bleed: z.ZodEnum<{
|
|
135
135
|
both: "both";
|
|
136
|
-
end: "end";
|
|
137
136
|
start: "start";
|
|
137
|
+
end: "end";
|
|
138
138
|
}>;
|
|
139
139
|
}, z.core.$strict>], "kind">;
|
|
140
140
|
itemSurface: z.ZodEnum<{
|
|
141
141
|
flat: "flat";
|
|
142
142
|
none: "none";
|
|
143
143
|
default: "default";
|
|
144
|
-
inset: "inset";
|
|
145
144
|
editorial: "editorial";
|
|
146
145
|
raised: "raised";
|
|
147
146
|
"color-blocked": "color-blocked";
|
|
148
147
|
outlined: "outlined";
|
|
148
|
+
inset: "inset";
|
|
149
149
|
}>;
|
|
150
150
|
transitionAfter: z.ZodEnum<{
|
|
151
151
|
none: "none";
|
|
@@ -163,8 +163,8 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
|
|
|
163
163
|
}>;
|
|
164
164
|
emphasis: z.ZodEnum<{
|
|
165
165
|
medium: "medium";
|
|
166
|
-
high: "high";
|
|
167
166
|
low: "low";
|
|
167
|
+
high: "high";
|
|
168
168
|
}>;
|
|
169
169
|
sectionHeight: z.ZodOptional<z.ZodEnum<{
|
|
170
170
|
default: "default";
|
|
@@ -182,8 +182,8 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
|
|
|
182
182
|
"bottom-left": "bottom-left";
|
|
183
183
|
}>>;
|
|
184
184
|
heroTypographyScale: z.ZodOptional<z.ZodEnum<{
|
|
185
|
-
poster: "poster";
|
|
186
185
|
display: "display";
|
|
186
|
+
poster: "poster";
|
|
187
187
|
editorial: "editorial";
|
|
188
188
|
quiet: "quiet";
|
|
189
189
|
}>>;
|
|
@@ -286,12 +286,12 @@ export declare const blockRuntimeStyleAuthoritySchema: z.ZodObject<{
|
|
|
286
286
|
unit: z.ZodLiteral<"block-runtime-fields">;
|
|
287
287
|
blockId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBlockId, string>>;
|
|
288
288
|
fields: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
289
|
+
_frameStyles: "_frameStyles";
|
|
289
290
|
_sectionStyles: "_sectionStyles";
|
|
290
291
|
_containerStyles: "_containerStyles";
|
|
291
|
-
_frameStyles: "_frameStyles";
|
|
292
292
|
_cardStyles: "_cardStyles";
|
|
293
293
|
styleGroup: "styleGroup";
|
|
294
|
-
}>>, z.ZodTransform<NonEmptyRuntimeStyleFieldNames, ("
|
|
294
|
+
}>>, z.ZodTransform<NonEmptyRuntimeStyleFieldNames, ("_frameStyles" | "_sectionStyles" | "_containerStyles" | "_cardStyles" | "styleGroup")[]>>;
|
|
295
295
|
authority: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
296
296
|
kind: z.ZodLiteral<"theme-v2">;
|
|
297
297
|
source: z.ZodEnum<{
|
|
@@ -338,9 +338,9 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
|
|
|
338
338
|
}, z.core.$strict>, z.ZodObject<{
|
|
339
339
|
kind: z.ZodLiteral<"panel">;
|
|
340
340
|
treatment: z.ZodEnum<{
|
|
341
|
-
inset: "inset";
|
|
342
341
|
editorial: "editorial";
|
|
343
342
|
raised: "raised";
|
|
343
|
+
inset: "inset";
|
|
344
344
|
}>;
|
|
345
345
|
}, z.core.$strict>, z.ZodObject<{
|
|
346
346
|
kind: z.ZodLiteral<"flush-panel">;
|
|
@@ -349,19 +349,19 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
|
|
|
349
349
|
}>;
|
|
350
350
|
bleed: z.ZodEnum<{
|
|
351
351
|
both: "both";
|
|
352
|
-
end: "end";
|
|
353
352
|
start: "start";
|
|
353
|
+
end: "end";
|
|
354
354
|
}>;
|
|
355
355
|
}, z.core.$strict>], "kind">;
|
|
356
356
|
itemSurface: z.ZodEnum<{
|
|
357
357
|
flat: "flat";
|
|
358
358
|
none: "none";
|
|
359
359
|
default: "default";
|
|
360
|
-
inset: "inset";
|
|
361
360
|
editorial: "editorial";
|
|
362
361
|
raised: "raised";
|
|
363
362
|
"color-blocked": "color-blocked";
|
|
364
363
|
outlined: "outlined";
|
|
364
|
+
inset: "inset";
|
|
365
365
|
}>;
|
|
366
366
|
transitionAfter: z.ZodEnum<{
|
|
367
367
|
none: "none";
|
|
@@ -379,8 +379,8 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
|
|
|
379
379
|
}>;
|
|
380
380
|
emphasis: z.ZodEnum<{
|
|
381
381
|
medium: "medium";
|
|
382
|
-
high: "high";
|
|
383
382
|
low: "low";
|
|
383
|
+
high: "high";
|
|
384
384
|
}>;
|
|
385
385
|
sectionHeight: z.ZodOptional<z.ZodEnum<{
|
|
386
386
|
default: "default";
|
|
@@ -398,8 +398,8 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
|
|
|
398
398
|
"bottom-left": "bottom-left";
|
|
399
399
|
}>>;
|
|
400
400
|
heroTypographyScale: z.ZodOptional<z.ZodEnum<{
|
|
401
|
-
poster: "poster";
|
|
402
401
|
display: "display";
|
|
402
|
+
poster: "poster";
|
|
403
403
|
editorial: "editorial";
|
|
404
404
|
quiet: "quiet";
|
|
405
405
|
}>>;
|
|
@@ -480,12 +480,12 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
|
|
|
480
480
|
unit: z.ZodLiteral<"block-runtime-fields">;
|
|
481
481
|
blockId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBlockId, string>>;
|
|
482
482
|
fields: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
483
|
+
_frameStyles: "_frameStyles";
|
|
483
484
|
_sectionStyles: "_sectionStyles";
|
|
484
485
|
_containerStyles: "_containerStyles";
|
|
485
|
-
_frameStyles: "_frameStyles";
|
|
486
486
|
_cardStyles: "_cardStyles";
|
|
487
487
|
styleGroup: "styleGroup";
|
|
488
|
-
}>>, z.ZodTransform<NonEmptyRuntimeStyleFieldNames, ("
|
|
488
|
+
}>>, z.ZodTransform<NonEmptyRuntimeStyleFieldNames, ("_frameStyles" | "_sectionStyles" | "_containerStyles" | "_cardStyles" | "styleGroup")[]>>;
|
|
489
489
|
authority: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
490
490
|
kind: z.ZodLiteral<"theme-v2">;
|
|
491
491
|
source: z.ZodEnum<{
|
|
@@ -5,8 +5,8 @@ export declare const generatedContentFrameIntentSchema: z.ZodDiscriminatedUnion<
|
|
|
5
5
|
}, z.core.$strict>, z.ZodObject<{
|
|
6
6
|
kind: z.ZodLiteral<"panel">;
|
|
7
7
|
treatment: z.ZodEnum<{
|
|
8
|
-
inset: "inset";
|
|
9
8
|
raised: "raised";
|
|
9
|
+
inset: "inset";
|
|
10
10
|
}>;
|
|
11
11
|
}, z.core.$strict>, z.ZodObject<{
|
|
12
12
|
kind: z.ZodLiteral<"flush-panel">;
|
|
@@ -60,8 +60,8 @@ export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
|
|
|
60
60
|
}, z.core.$strict>, z.ZodObject<{
|
|
61
61
|
kind: z.ZodLiteral<"panel">;
|
|
62
62
|
treatment: z.ZodEnum<{
|
|
63
|
-
inset: "inset";
|
|
64
63
|
raised: "raised";
|
|
64
|
+
inset: "inset";
|
|
65
65
|
}>;
|
|
66
66
|
}, z.core.$strict>, z.ZodObject<{
|
|
67
67
|
kind: z.ZodLiteral<"flush-panel">;
|
|
@@ -83,11 +83,11 @@ export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
|
|
|
83
83
|
flat: "flat";
|
|
84
84
|
none: "none";
|
|
85
85
|
default: "default";
|
|
86
|
-
inset: "inset";
|
|
87
86
|
editorial: "editorial";
|
|
88
87
|
raised: "raised";
|
|
89
88
|
"color-blocked": "color-blocked";
|
|
90
89
|
outlined: "outlined";
|
|
90
|
+
inset: "inset";
|
|
91
91
|
}>;
|
|
92
92
|
}, z.core.$strict>], "kind">;
|
|
93
93
|
transitionAfter: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -110,8 +110,8 @@ export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
|
|
|
110
110
|
kind: z.ZodLiteral<"explicit">;
|
|
111
111
|
value: z.ZodEnum<{
|
|
112
112
|
medium: "medium";
|
|
113
|
-
high: "high";
|
|
114
113
|
low: "low";
|
|
114
|
+
high: "high";
|
|
115
115
|
}>;
|
|
116
116
|
}, z.core.$strict>], "kind">;
|
|
117
117
|
}, z.core.$strict>;
|
|
@@ -212,8 +212,8 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
|
|
|
212
212
|
}, z.core.$strict>, z.ZodObject<{
|
|
213
213
|
kind: z.ZodLiteral<"panel">;
|
|
214
214
|
treatment: z.ZodEnum<{
|
|
215
|
-
inset: "inset";
|
|
216
215
|
raised: "raised";
|
|
216
|
+
inset: "inset";
|
|
217
217
|
}>;
|
|
218
218
|
}, z.core.$strict>, z.ZodObject<{
|
|
219
219
|
kind: z.ZodLiteral<"flush-panel">;
|
|
@@ -235,11 +235,11 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
|
|
|
235
235
|
flat: "flat";
|
|
236
236
|
none: "none";
|
|
237
237
|
default: "default";
|
|
238
|
-
inset: "inset";
|
|
239
238
|
editorial: "editorial";
|
|
240
239
|
raised: "raised";
|
|
241
240
|
"color-blocked": "color-blocked";
|
|
242
241
|
outlined: "outlined";
|
|
242
|
+
inset: "inset";
|
|
243
243
|
}>;
|
|
244
244
|
}, z.core.$strict>], "kind">;
|
|
245
245
|
transitionAfter: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -262,8 +262,8 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
|
|
|
262
262
|
kind: z.ZodLiteral<"explicit">;
|
|
263
263
|
value: z.ZodEnum<{
|
|
264
264
|
medium: "medium";
|
|
265
|
-
high: "high";
|
|
266
265
|
low: "low";
|
|
266
|
+
high: "high";
|
|
267
267
|
}>;
|
|
268
268
|
}, z.core.$strict>], "kind">;
|
|
269
269
|
}, z.core.$strict>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './accessibleSurfaces';
|
|
2
2
|
export * from './appearancePresets';
|
|
3
3
|
export * from './blockFlow';
|
|
4
|
+
export * from './backgroundAppearance';
|
|
4
5
|
export * from './compositionBudget';
|
|
5
6
|
export * from './contentTemplateDesignIntent';
|
|
6
7
|
export * from './contentTemplateRuntimeCompiler';
|
|
@@ -26,6 +27,7 @@ export * from './records';
|
|
|
26
27
|
export * from './resolver';
|
|
27
28
|
export * from './runtimeCompiler';
|
|
28
29
|
export * from './sectionTransitions';
|
|
30
|
+
export * from './siteChromeBackgrounds';
|
|
29
31
|
export * from './siteStyleThemeCompiler';
|
|
30
32
|
export * from './siteStyleBlockPolicies';
|
|
31
33
|
export * from './sourceCatalogs';
|
|
@@ -42,16 +42,16 @@ export declare const logoContainsTextSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
42
42
|
kind: z.ZodLiteral<"contains-text">;
|
|
43
43
|
confidence: z.ZodEnum<{
|
|
44
44
|
medium: "medium";
|
|
45
|
-
high: "high";
|
|
46
45
|
low: "low";
|
|
46
|
+
high: "high";
|
|
47
47
|
}>;
|
|
48
48
|
text: z.ZodOptional<z.ZodString>;
|
|
49
49
|
}, z.core.$strip>, z.ZodObject<{
|
|
50
50
|
kind: z.ZodLiteral<"no-text">;
|
|
51
51
|
confidence: z.ZodEnum<{
|
|
52
52
|
medium: "medium";
|
|
53
|
-
high: "high";
|
|
54
53
|
low: "low";
|
|
54
|
+
high: "high";
|
|
55
55
|
}>;
|
|
56
56
|
}, z.core.$strip>, z.ZodObject<{
|
|
57
57
|
kind: z.ZodLiteral<"unknown">;
|
|
@@ -88,16 +88,16 @@ export declare const logoFactsSchema: z.ZodObject<{
|
|
|
88
88
|
kind: z.ZodLiteral<"contains-text">;
|
|
89
89
|
confidence: z.ZodEnum<{
|
|
90
90
|
medium: "medium";
|
|
91
|
-
high: "high";
|
|
92
91
|
low: "low";
|
|
92
|
+
high: "high";
|
|
93
93
|
}>;
|
|
94
94
|
text: z.ZodOptional<z.ZodString>;
|
|
95
95
|
}, z.core.$strip>, z.ZodObject<{
|
|
96
96
|
kind: z.ZodLiteral<"no-text">;
|
|
97
97
|
confidence: z.ZodEnum<{
|
|
98
98
|
medium: "medium";
|
|
99
|
-
high: "high";
|
|
100
99
|
low: "low";
|
|
100
|
+
high: "high";
|
|
101
101
|
}>;
|
|
102
102
|
}, z.core.$strip>, z.ZodObject<{
|
|
103
103
|
kind: z.ZodLiteral<"unknown">;
|
|
@@ -8,5 +8,7 @@ export declare const themeV2NormalEditorRawStyleFieldNames: readonly ["_frameSty
|
|
|
8
8
|
export declare const themeV2CompilerOwnedFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_cardStyles", "styleGroup", "_contentCardStyles", "_heroLayoutStyles", "_textCardStyles"];
|
|
9
9
|
export declare const pageDesignEditorBackgroundOverrideOwner: "page-design-editor";
|
|
10
10
|
export type PageDesignEditorBackgroundOverrideOwner = typeof pageDesignEditorBackgroundOverrideOwner;
|
|
11
|
+
export declare const siteChromeBackgroundOverrideOwner: "site-chrome-editor";
|
|
12
|
+
export type SiteChromeBackgroundOverrideOwner = typeof siteChromeBackgroundOverrideOwner;
|
|
11
13
|
export declare function isThemeV2NormalEditorRawStyleFieldName(fieldName: string): boolean;
|
|
12
14
|
export declare function isThemeV2NormalEditorRawStylePath(fieldPath: string): boolean;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Theme } from '../schema';
|
|
2
|
+
import type { ThemeColorToken } from '../tokens';
|
|
3
|
+
export type SiteChromeSurface = 'header' | 'footer';
|
|
4
|
+
export type SiteChromeBackgroundColorToken = ThemeColorToken & {
|
|
5
|
+
readonly __siteChromeBackgroundColorToken: true;
|
|
6
|
+
};
|
|
7
|
+
export type SiteChromeBackgroundOverride = Readonly<{
|
|
8
|
+
kind: 'default';
|
|
9
|
+
}> | Readonly<{
|
|
10
|
+
kind: 'color';
|
|
11
|
+
token: SiteChromeBackgroundColorToken;
|
|
12
|
+
}>;
|
|
13
|
+
export type SiteChromeBackgroundPreferences = Readonly<{
|
|
14
|
+
header: SiteChromeBackgroundOverride;
|
|
15
|
+
footer: SiteChromeBackgroundOverride;
|
|
16
|
+
}>;
|
|
17
|
+
export type SiteChromeBackgroundCycleDirection = 'prev' | 'next';
|
|
18
|
+
export declare const siteChromeBackgroundColorTokens: readonly SiteChromeBackgroundColorToken[];
|
|
19
|
+
export declare const quickSiteChromeBackgroundColorTokens: readonly SiteChromeBackgroundColorToken[];
|
|
20
|
+
export declare const advancedSiteChromeBackgroundColorTokens: SiteChromeBackgroundColorToken[];
|
|
21
|
+
export declare const defaultSiteChromeBackgroundOverride: SiteChromeBackgroundOverride;
|
|
22
|
+
export declare function defaultSiteChromeBackgroundPreferences(): SiteChromeBackgroundPreferences;
|
|
23
|
+
export declare function parseSiteChromeBackgroundColorToken(value: unknown): SiteChromeBackgroundColorToken | null;
|
|
24
|
+
export declare function siteChromeBackgroundPreferencesFromTheme(theme: Theme | null | undefined): SiteChromeBackgroundPreferences;
|
|
25
|
+
export declare function applySiteChromeBackgroundPreferences(theme: Theme, preferences: SiteChromeBackgroundPreferences): Theme;
|
|
26
|
+
export declare function canCustomizeSiteChromeBackground(theme: Theme | null | undefined, surface: SiteChromeSurface): boolean;
|
|
27
|
+
export declare function siteChromeBackgroundOverrideLabel(override: SiteChromeBackgroundOverride): string;
|
|
28
|
+
export declare function formatSiteChromeBackgroundTokenLabel(token: SiteChromeBackgroundColorToken): string;
|
|
29
|
+
export declare function siteChromeBackgroundOverrideEquals(left: SiteChromeBackgroundOverride, right: SiteChromeBackgroundOverride): boolean;
|
|
30
|
+
export declare function cycleSiteChromeBackgroundOverride(current: SiteChromeBackgroundOverride, direction: SiteChromeBackgroundCycleDirection): SiteChromeBackgroundOverride;
|
|
@@ -22,8 +22,8 @@ export declare const styleTagsSchema: z.ZodObject<{
|
|
|
22
22
|
}>>;
|
|
23
23
|
motion: z.ZodOptional<z.ZodEnum<{
|
|
24
24
|
standard: "standard";
|
|
25
|
-
expressive: "expressive";
|
|
26
25
|
subtle: "subtle";
|
|
26
|
+
expressive: "expressive";
|
|
27
27
|
}>>;
|
|
28
28
|
era: z.ZodOptional<z.ZodEnum<{
|
|
29
29
|
editorial: "editorial";
|
|
@@ -45,8 +45,8 @@ export declare const themeTokenRecipesSchema: z.ZodObject<{
|
|
|
45
45
|
}>;
|
|
46
46
|
motion: z.ZodEnum<{
|
|
47
47
|
none: "none";
|
|
48
|
-
expressive: "expressive";
|
|
49
48
|
subtle: "subtle";
|
|
49
|
+
expressive: "expressive";
|
|
50
50
|
}>;
|
|
51
51
|
}, z.core.$strip>;
|
|
52
52
|
export declare const defaultThemeTokenRecipes: {
|
|
@@ -439,6 +439,7 @@ export type DesignedBlockDesignCapabilityInput = Readonly<{
|
|
|
439
439
|
tileTreatments?: NonEmptyReadonlyArray<TileTreatment>;
|
|
440
440
|
eventListTreatments?: NonEmptyReadonlyArray<EventListTreatment>;
|
|
441
441
|
eyebrowTreatments?: NonEmptyReadonlyArray<EyebrowTreatment>;
|
|
442
|
+
headingDecorations?: NonEmptyReadonlyArray<HeadingDecorationFamily>;
|
|
442
443
|
accordionIconSets?: NonEmptyReadonlyArray<AccordionIconSet>;
|
|
443
444
|
headingDecorationCapability?: HeadingDecorationCapability;
|
|
444
445
|
}>;
|
|
@@ -454,6 +455,7 @@ export type DesignedBlockDesignCapability = Readonly<{
|
|
|
454
455
|
tileTreatments: NonEmptyReadonlyArray<TileTreatment>;
|
|
455
456
|
eventListTreatments: NonEmptyReadonlyArray<EventListTreatment>;
|
|
456
457
|
eyebrowTreatments: NonEmptyReadonlyArray<EyebrowTreatment>;
|
|
458
|
+
headingDecorations?: NonEmptyReadonlyArray<HeadingDecorationFamily>;
|
|
457
459
|
accordionIconSets?: NonEmptyReadonlyArray<AccordionIconSet>;
|
|
458
460
|
headingDecorationCapability: HeadingDecorationCapability;
|
|
459
461
|
}>;
|
|
@@ -13,13 +13,13 @@ export declare const paletteTokenNameSchema: z.ZodEnum<{
|
|
|
13
13
|
primary: "primary";
|
|
14
14
|
secondary: "secondary";
|
|
15
15
|
warning: "warning";
|
|
16
|
-
border: "border";
|
|
17
16
|
background: "background";
|
|
18
|
-
muted: "muted";
|
|
19
17
|
accent: "accent";
|
|
18
|
+
muted: "muted";
|
|
19
|
+
border: "border";
|
|
20
20
|
destructive: "destructive";
|
|
21
|
-
primaryForeground: "primaryForeground";
|
|
22
21
|
surfaceAlt: "surfaceAlt";
|
|
22
|
+
primaryForeground: "primaryForeground";
|
|
23
23
|
}>;
|
|
24
24
|
export declare const themeColorBaseTokenNames: readonly ["primary", "primaryForeground", "secondary", "accent", "success", "warning", "destructive", "background", "surface", "surfaceAlt", "muted", "text", "border", "text", "heading", "mutedText", "surface", "background", "foreground", "border", "primary", "secondary", "accent", "success", "warning", "info", "error", "destructive", "scrim", "shadow", "onPrimary", "onSecondary", "onAccent", "onSuccess", "onWarning", "onInfo", "onError", "onDestructive", "onSurface", "white", "neutral", "primaryText", "secondaryForeground", "accentForeground"];
|
|
25
25
|
export declare const themeColorShadeSteps: readonly ["50", "100", "200", "300", "400", "500", "600", "700", "800", "900", "950"];
|
|
@@ -10,5 +10,5 @@ export interface AsyncBoundaryProps {
|
|
|
10
10
|
resetKeys?: unknown[];
|
|
11
11
|
onReset?: () => void;
|
|
12
12
|
}
|
|
13
|
-
export declare function AsyncBoundary({ children, fallback, errorFallback, resetKeys, onReset, }: AsyncBoundaryProps): import("react
|
|
13
|
+
export declare function AsyncBoundary({ children, fallback, errorFallback, resetKeys, onReset, }: AsyncBoundaryProps): import("react").JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -5,5 +5,5 @@ declare const badgeVariants: (props?: ({
|
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
7
7
|
}
|
|
8
|
-
declare function Badge({ className, variant, ...props }: BadgeProps):
|
|
8
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): React.JSX.Element;
|
|
9
9
|
export { Badge, badgeVariants };
|
|
@@ -4,9 +4,9 @@ import { Separator } from './separator';
|
|
|
4
4
|
declare const buttonGroupVariants: (props?: ({
|
|
5
5
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
-
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>):
|
|
7
|
+
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): React.JSX.Element;
|
|
8
8
|
declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<'div'> & {
|
|
9
9
|
asChild?: boolean;
|
|
10
|
-
}):
|
|
11
|
-
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>):
|
|
10
|
+
}): React.JSX.Element;
|
|
11
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): React.JSX.Element;
|
|
12
12
|
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants, };
|
|
@@ -4,6 +4,6 @@ import type { DayButtonProps } from "react-day-picker";
|
|
|
4
4
|
import { Button } from "./button";
|
|
5
5
|
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
|
|
6
6
|
buttonVariant?: React.ComponentProps<typeof Button>["variant"];
|
|
7
|
-
}):
|
|
8
|
-
declare function CalendarDayButton({ className, day, modifiers, ...props }: DayButtonProps):
|
|
7
|
+
}): React.JSX.Element;
|
|
8
|
+
declare function CalendarDayButton({ className, day, modifiers, ...props }: DayButtonProps): React.JSX.Element;
|
|
9
9
|
export { Calendar, CalendarDayButton };
|
|
@@ -13,10 +13,10 @@ export type CardProps = React.ComponentProps<'div'> & {
|
|
|
13
13
|
radius?: CardRadius;
|
|
14
14
|
};
|
|
15
15
|
declare function Card({ className, variant, size, radius, ...props }: CardProps): React.ReactElement;
|
|
16
|
-
declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>):
|
|
17
|
-
declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>):
|
|
18
|
-
declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>):
|
|
19
|
-
declare function CardAction({ className, ...props }: React.ComponentProps<'div'>):
|
|
20
|
-
declare function CardContent({ className, ...props }: React.ComponentProps<'div'>):
|
|
21
|
-
declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>):
|
|
16
|
+
declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
17
|
+
declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
18
|
+
declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
19
|
+
declare function CardAction({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
20
|
+
declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
21
|
+
declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
22
22
|
export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
|
|
@@ -21,4 +21,4 @@ export type ComboboxProps<T = unknown> = Readonly<{
|
|
|
21
21
|
renderItem?: (entry: ComboboxItem<T>, selected: boolean) => ReactNode;
|
|
22
22
|
showClear?: boolean;
|
|
23
23
|
}>;
|
|
24
|
-
export declare function Combobox<T = unknown>({ items, value, onSelect, id, 'aria-describedby': ariaDescribedby, searchInputAriaLabel, placeholder, emptyMessage, clearLabel, search, className, disabled, renderItem, showClear, }: ComboboxProps<T>): import("react
|
|
24
|
+
export declare function Combobox<T = unknown>({ items, value, onSelect, id, 'aria-describedby': ariaDescribedby, searchInputAriaLabel, placeholder, emptyMessage, clearLabel, search, className, disabled, renderItem, showClear, }: ComboboxProps<T>): import("react").JSX.Element;
|
|
@@ -25,4 +25,4 @@ export type CommandMultiSelectProps = Readonly<{
|
|
|
25
25
|
searchPlaceholder?: string;
|
|
26
26
|
searchInputAriaLabel?: string;
|
|
27
27
|
}>;
|
|
28
|
-
export declare function CommandMultiSelect({ items, values, onValuesChange, placeholder, "aria-describedby": ariaDescribedBy, disabled, emptyLabel, isLoading, loadingLabel, error, emptySelectionLabel, selectedSummary, showBadges, helpText, className, triggerClassName, popoverContentClassName, showSearch, searchPlaceholder, searchInputAriaLabel, }: CommandMultiSelectProps): import("react
|
|
28
|
+
export declare function CommandMultiSelect({ items, values, onValuesChange, placeholder, "aria-describedby": ariaDescribedBy, disabled, emptyLabel, isLoading, loadingLabel, error, emptySelectionLabel, selectedSummary, showBadges, helpText, className, triggerClassName, popoverContentClassName, showSearch, searchPlaceholder, searchInputAriaLabel, }: CommandMultiSelectProps): import("react").JSX.Element;
|
|
@@ -10,4 +10,4 @@ export interface ContentSpinnerProps {
|
|
|
10
10
|
* the server. `loading.tsx` files are shown during SSR streaming — a
|
|
11
11
|
* `DelayedSpinner` would render nothing until hydration + delay.
|
|
12
12
|
*/
|
|
13
|
-
export declare function ContentSpinner({ className, size }: ContentSpinnerProps): import("react
|
|
13
|
+
export declare function ContentSpinner({ className, size }: ContentSpinnerProps): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ export interface DelayedSpinnerProps extends SpinnerProps {
|
|
|
4
4
|
delay?: number;
|
|
5
5
|
keepMounted?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare function DelayedSpinner({ active, delay, keepMounted, className, ...props }: DelayedSpinnerProps): import("react
|
|
7
|
+
export declare function DelayedSpinner({ active, delay, keepMounted, className, ...props }: DelayedSpinnerProps): import("react").JSX.Element | null;
|
|
@@ -14,4 +14,4 @@ export interface DevToolbarShellProps {
|
|
|
14
14
|
onOpenChange?: (open: boolean) => void;
|
|
15
15
|
buttonStyle?: CSSProperties;
|
|
16
16
|
}
|
|
17
|
-
export declare function DevToolbarShell({ triggerLabel, triggerIcon, badge, header, children, footer, side, offsetCssVar, buttonClassName, sheetContentClassName, defaultOpen, onOpenChange, buttonStyle, }: DevToolbarShellProps): import("react
|
|
17
|
+
export declare function DevToolbarShell({ triggerLabel, triggerIcon, badge, header, children, footer, side, offsetCssVar, buttonClassName, sheetContentClassName, defaultOpen, onOpenChange, buttonStyle, }: DevToolbarShellProps): import("react").JSX.Element | null;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
3
|
-
declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>):
|
|
4
|
-
declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>):
|
|
5
|
-
declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>):
|
|
6
|
-
declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>):
|
|
7
|
-
declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>):
|
|
3
|
+
declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): React.JSX.Element;
|
|
4
|
+
declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): React.JSX.Element;
|
|
5
|
+
declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): React.JSX.Element;
|
|
6
|
+
declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): React.JSX.Element;
|
|
7
|
+
declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): React.JSX.Element;
|
|
8
8
|
declare function DialogContent({ className, children, showCloseButton, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
9
9
|
showCloseButton?: boolean;
|
|
10
|
-
}):
|
|
11
|
-
declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">):
|
|
12
|
-
declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">):
|
|
13
|
-
declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>):
|
|
14
|
-
declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>):
|
|
10
|
+
}): React.JSX.Element;
|
|
11
|
+
declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
12
|
+
declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
13
|
+
declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): React.JSX.Element;
|
|
14
|
+
declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): React.JSX.Element;
|
|
15
15
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
|
|
@@ -25,7 +25,7 @@ declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMe
|
|
|
25
25
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
26
26
|
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
27
27
|
declare const DropdownMenuShortcut: {
|
|
28
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>):
|
|
28
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
29
29
|
displayName: string;
|
|
30
30
|
};
|
|
31
31
|
export { menuHoverInteractionClassName, menuItemInteractionClassName, menuTriggerInteractionClassName, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
|
|
@@ -18,4 +18,4 @@ export type EditorDrawerProps = {
|
|
|
18
18
|
className?: string;
|
|
19
19
|
style?: CSSProperties;
|
|
20
20
|
};
|
|
21
|
-
export declare function EditorDrawer({ open, onOpenChange, sections, headerSlot, footerSlot, activeSectionId, onActiveSectionChange, className, style, }: EditorDrawerProps):
|
|
21
|
+
export declare function EditorDrawer({ open, onOpenChange, sections, headerSlot, footerSlot, activeSectionId, onActiveSectionChange, className, style, }: EditorDrawerProps): React.JSX.Element;
|
|
@@ -18,4 +18,4 @@ export type EmptyStateProps = {
|
|
|
18
18
|
/**
|
|
19
19
|
* EmptyState component for consistent no-results and empty data displays.
|
|
20
20
|
*/
|
|
21
|
-
export declare function EmptyState({ title, description, icon: Icon, action, className, variant, }: EmptyStateProps): import("react
|
|
21
|
+
export declare function EmptyState({ title, description, icon: Icon, action, className, variant, }: EmptyStateProps): import("react").JSX.Element;
|
|
@@ -12,4 +12,4 @@ export type FilterButtonGroupProps<TValue extends string> = {
|
|
|
12
12
|
options: Array<FilterButtonGroupOption<TValue>>;
|
|
13
13
|
className?: string;
|
|
14
14
|
};
|
|
15
|
-
export declare function FilterButtonGroup<TValue extends string>({ value, onValueChange, options, className, ...props }: FilterButtonGroupProps<TValue>):
|
|
15
|
+
export declare function FilterButtonGroup<TValue extends string>({ value, onValueChange, options, className, ...props }: FilterButtonGroupProps<TValue>): React.JSX.Element;
|
|
@@ -9,5 +9,5 @@ export type FixedBottomSurfaceProps = PropsWithChildren<{
|
|
|
9
9
|
offsetCssVar?: string | null;
|
|
10
10
|
reserveOffsetCssVar?: string | null;
|
|
11
11
|
}>;
|
|
12
|
-
export declare function FixedBottomSurface({ children, className, contentClassName, variant, width, offsetCssVar, reserveOffsetCssVar, }: FixedBottomSurfaceProps): import("react
|
|
12
|
+
export declare function FixedBottomSurface({ children, className, contentClassName, variant, width, offsetCssVar, reserveOffsetCssVar, }: FixedBottomSurfaceProps): import("react").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -2,8 +2,8 @@ import * as React from "react";
|
|
|
2
2
|
import type { LabelProps } from "@radix-ui/react-label";
|
|
3
3
|
import { Slot } from "@radix-ui/react-slot";
|
|
4
4
|
import { type ControllerProps, type FieldPath, type FieldValues } from "react-hook-form";
|
|
5
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(
|
|
6
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) =>
|
|
5
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, handleSubmit, unregister, control, register, setFocus, subscribe, }: import("react-hook-form").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
6
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React.JSX.Element;
|
|
7
7
|
declare const useFormField: () => {
|
|
8
8
|
invalid: boolean;
|
|
9
9
|
isDirty: boolean;
|
|
@@ -16,9 +16,9 @@ declare const useFormField: () => {
|
|
|
16
16
|
formDescriptionId: string;
|
|
17
17
|
formMessageId: string;
|
|
18
18
|
};
|
|
19
|
-
declare function FormItem({ className, ...props }: React.ComponentProps<"div">):
|
|
20
|
-
declare function FormLabel({ className, ...props }: LabelProps):
|
|
21
|
-
declare function FormControl({ ...props }: React.ComponentProps<typeof Slot>):
|
|
22
|
-
declare function FormDescription({ className, ...props }: React.ComponentProps<"p">):
|
|
23
|
-
declare function FormMessage({ className, ...props }: React.ComponentProps<"p">):
|
|
19
|
+
declare function FormItem({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
20
|
+
declare function FormLabel({ className, ...props }: LabelProps): React.JSX.Element;
|
|
21
|
+
declare function FormControl({ ...props }: React.ComponentProps<typeof Slot>): React.JSX.Element;
|
|
22
|
+
declare function FormDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
|
|
23
|
+
declare function FormMessage({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element | null;
|
|
24
24
|
export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
3
|
-
declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>):
|
|
3
|
+
declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): React.JSX.Element;
|
|
4
4
|
export { Label };
|