sanity 5.10.0 → 5.11.0-next.2
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/lib/_chunks-dts/ActiveWorkspaceMatcherContext.d.ts +210 -210
- package/lib/_chunks-dts/index.d.ts +9 -9
- package/lib/_chunks-es/package.js +1 -1
- package/lib/_chunks-es/version.js +1 -1
- package/lib/_singletons.d.ts +102 -102
- package/lib/index.js +38 -5
- package/lib/index.js.map +1 -1
- package/lib/presentation.d.ts +2 -2
- package/lib/router.d.ts +4 -4
- package/package.json +11 -11
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react580 from "react";
|
|
2
2
|
import { CSSProperties, Component, ComponentProps, ComponentType, Dispatch, ElementType, ErrorInfo, FC, FocusEvent, FocusEventHandler, FormEvent, FormEventHandler, HTMLAttributes, HTMLProps, KeyboardEvent, MutableRefObject, PropsWithChildren, PureComponent, ReactNode, Ref, RefAttributes, RefObject, SVGProps, SetStateAction } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _sanity_types45 from "@sanity/types";
|
|
4
4
|
import { ArraySchemaType, AssetMetadataType, AssetSource, AssetSourceSpec, BlockDecoratorDefinition, BlockListDefinition, BlockStyleDefinition, BooleanSchemaType, ConditionalProperty, CrossDatasetReferenceSchemaType, CrossDatasetReferenceValue, CrossDatasetType, CurrentUser, DeprecatedProperty, FieldGroup, File as File$1, FileAsset, FileSchemaType, FileValue, FormNodeValidation, GeopointValue, GlobalDocumentReferenceType, I18nTextRecord, Image, ImageAsset, ImageSchemaType, ImageUrlFitMode, ImageValue, IndexTuple, InitialValueProperty, InitialValueResolverContext, IntrinsicTypeName, KeyedObject, KeyedSegment, MendozaEffectPair, NumberSchemaType, ObjectField, ObjectFieldType, ObjectSchemaType, PatchOperations, Path, PathSegment, PortableTextBlock, PortableTextObject, PortableTextTextBlock, PrepareViewOptions, PreviewValue, Reference, ReferenceSchemaType, ReferenceValue, Role, RuleClass, SanityDocument, SanityDocumentLike, Schema, SchemaType, SchemaTypeDefinition, SearchStrategy, SlugSchemaType, SlugValue, SortOrdering, StrictVersionLayeringOptions, StringSchemaType, TextSchemaType, TransactionLogEventWithEffects, TransactionLogEventWithMutations, UploadState, User, ValidationMarker } from "@sanity/types";
|
|
5
5
|
import { BifurClient } from "@sanity/bifur-client";
|
|
6
6
|
import * as _sanity_client0 from "@sanity/client";
|
|
7
7
|
import { ClientConfig, ClientPerspective, QueryParams, ReleaseDocument, ReleaseDocument as ReleaseDocument$1, SanityClient, SanityDocument as SanityDocument$1, SingleActionResult, SingleMutationResult, StackablePerspective } from "@sanity/client";
|
|
8
|
-
import * as
|
|
8
|
+
import * as _sanity_ui22 from "@sanity/ui";
|
|
9
9
|
import { AvatarPosition, AvatarProps, AvatarSize, AvatarStatus, BadgeProps, BadgeTone, BoxProps, ButtonProps, ButtonTone, CardProps, DialogProps, HotkeysProps, MenuButtonProps, MenuItem, Placement, PopoverProps, ResponsivePaddingProps, ResponsiveWidthProps, Text, TextProps, ThemeColorSchemeKey, ToastParams, TooltipProps } from "@sanity/ui";
|
|
10
10
|
import { FlatNamespace, KeyPrefix, Namespace, TFunction, TFunction as TFunction$1, i18n as i18n$1 } from "i18next";
|
|
11
11
|
import { Observable, OperatorFunction, Subject } from "rxjs";
|
|
@@ -13,7 +13,7 @@ import { IntentLinkProps, IntentParameters, Router, RouterState, SearchParam } f
|
|
|
13
13
|
import { ScrollToOptions } from "@tanstack/react-virtual";
|
|
14
14
|
import * as _sanity_telemetry39 from "@sanity/telemetry";
|
|
15
15
|
import { DRAFTS_FOLDER, DraftId, PublishedId, VERSION_FOLDER, getDraftId, getPublishedId, getVersionFromId, getVersionId, isDraftId, isPublishedId, isVersionId } from "@sanity/client/csm";
|
|
16
|
-
import * as
|
|
16
|
+
import * as sanity__singletons2 from "sanity/_singletons";
|
|
17
17
|
import { DocumentLimitUpsellContextValue, FieldActionsContextValue, HoveredFieldContextValue, LocaleContextValue, SchedulesContext, SingleDocReleaseContextValue } from "sanity/_singletons";
|
|
18
18
|
import { Mutation } from "@sanity/mutator";
|
|
19
19
|
import { CanvasResource, FrameMessages, MediaResource, StudioResource, WindowMessages } from "@sanity/message-protocol";
|
|
@@ -312,7 +312,7 @@ declare class CorsOriginError extends Error {
|
|
|
312
312
|
/** @internal */
|
|
313
313
|
type BetaBadgeProps = Omit<BadgeProps, 'mode' | 'tone'>;
|
|
314
314
|
/** @internal */
|
|
315
|
-
declare function BetaBadge(props: BetaBadgeProps & Omit<HTMLProps<HTMLDivElement>, 'ref'>):
|
|
315
|
+
declare function BetaBadge(props: BetaBadgeProps & Omit<HTMLProps<HTMLDivElement>, 'ref'>): react580.JSX.Element;
|
|
316
316
|
/** @internal */
|
|
317
317
|
type CommandListElementType = 'input' | 'list';
|
|
318
318
|
/** @internal */
|
|
@@ -394,7 +394,7 @@ interface CommandListProps<T = any> extends ResponsivePaddingProps {
|
|
|
394
394
|
*
|
|
395
395
|
* @internal
|
|
396
396
|
*/
|
|
397
|
-
declare const CommandList:
|
|
397
|
+
declare const CommandList: react580.NamedExoticComponent<CommandListProps<any> & react580.RefAttributes<CommandListHandle>>;
|
|
398
398
|
type BaseButtonProps = Pick<ButtonProps, 'as' | 'icon' | 'iconRight' | 'justify' | 'loading' | 'mode' | 'paddingY' | 'paddingLeft' | 'selected' | 'tone' | 'type' | 'width'> & {
|
|
399
399
|
size?: 'default' | 'large';
|
|
400
400
|
radius?: 'full';
|
|
@@ -419,13 +419,13 @@ type ButtonProps$1 = BaseButtonProps & (ButtonWithText | IconButton);
|
|
|
419
419
|
*
|
|
420
420
|
* @internal
|
|
421
421
|
*/
|
|
422
|
-
declare const Button:
|
|
422
|
+
declare const Button: react580.ForwardRefExoticComponent<(Omit<Pick<ButtonProps, "as" | "icon" | "iconRight" | "justify" | "loading" | "mode" | "paddingLeft" | "paddingY" | "selected" | "tone" | "type" | "width"> & {
|
|
423
423
|
size?: "default" | "large" | undefined;
|
|
424
424
|
radius?: "full" | undefined;
|
|
425
425
|
} & ButtonWithText & Omit<HTMLProps<HTMLButtonElement>, "as" | "size" | "title">, "ref"> | Omit<Pick<ButtonProps, "as" | "icon" | "iconRight" | "justify" | "loading" | "mode" | "paddingLeft" | "paddingY" | "selected" | "tone" | "type" | "width"> & {
|
|
426
426
|
size?: "default" | "large" | undefined;
|
|
427
427
|
radius?: "full" | undefined;
|
|
428
|
-
} & IconButton & Omit<HTMLProps<HTMLButtonElement>, "as" | "size" | "title">, "ref">) &
|
|
428
|
+
} & IconButton & Omit<HTMLProps<HTMLButtonElement>, "as" | "size" | "title">, "ref">) & react580.RefAttributes<HTMLButtonElement>>;
|
|
429
429
|
/** @internal */
|
|
430
430
|
type MenuButtonProps$1 = Omit<MenuButtonProps, 'popover'> & {
|
|
431
431
|
popover?: Omit<PopoverProps, 'animate' | 'content' | 'open'>;
|
|
@@ -442,7 +442,7 @@ type ContextMenuButtonProps = Pick<ButtonProps$1, 'mode' | 'selected' | 'size' |
|
|
|
442
442
|
*
|
|
443
443
|
* @internal
|
|
444
444
|
*/
|
|
445
|
-
declare const ContextMenuButton:
|
|
445
|
+
declare const ContextMenuButton: react580.ForwardRefExoticComponent<ContextMenuButtonProps & Pick<HTMLProps<HTMLButtonElement>, "disabled" | "hidden" | "onClick"> & react580.RefAttributes<HTMLButtonElement>>;
|
|
446
446
|
/**
|
|
447
447
|
* Indicates the type of document variant, either `draft`, `version` or `published`.
|
|
448
448
|
* Draft documents are prefixed with `drafts.`.
|
|
@@ -462,7 +462,7 @@ declare function getDocumentVariantType(documentId: string): DocumentVariantType
|
|
|
462
462
|
/**
|
|
463
463
|
* @internal
|
|
464
464
|
*/
|
|
465
|
-
declare const Chip:
|
|
465
|
+
declare const Chip: react580.ForwardRefExoticComponent<Omit<Omit<_sanity_ui22.ButtonProps & Omit<react580.HTMLProps<HTMLButtonElement>, "as" | "width">, "ref"> & react580.RefAttributes<HTMLButtonElement>, "ref"> & react580.RefAttributes<unknown>>;
|
|
466
466
|
/**
|
|
467
467
|
*
|
|
468
468
|
* Checks if the document ID `documentId` has the same ID as `equalsDocumentId`,
|
|
@@ -633,7 +633,7 @@ type ReleasesNavMenuItemPropsGetter = (content: {
|
|
|
633
633
|
/**
|
|
634
634
|
* @internal
|
|
635
635
|
*/
|
|
636
|
-
declare const VersionChip:
|
|
636
|
+
declare const VersionChip: react580.NamedExoticComponent<{
|
|
637
637
|
disabled?: boolean | undefined;
|
|
638
638
|
selected: boolean;
|
|
639
639
|
tooltipContent?: ReactNode;
|
|
@@ -660,7 +660,7 @@ declare const ReleaseAvatarIcon: ({
|
|
|
660
660
|
tone
|
|
661
661
|
}: {
|
|
662
662
|
tone: "caution" | "critical" | "default" | "neutral" | "positive" | "primary" | "suggest";
|
|
663
|
-
}) =>
|
|
663
|
+
}) => react580.JSX.Element;
|
|
664
664
|
/** @internal */
|
|
665
665
|
declare function ReleaseAvatar({
|
|
666
666
|
fontSize,
|
|
@@ -679,12 +679,12 @@ declare const VersionInlineBadge: ({
|
|
|
679
679
|
$tone
|
|
680
680
|
}: PropsWithChildren<{
|
|
681
681
|
$tone?: "caution" | "critical" | "default" | "neutral" | "positive" | "primary" | "suggest" | undefined;
|
|
682
|
-
}>) =>
|
|
682
|
+
}>) => react580.JSX.Element;
|
|
683
683
|
/**
|
|
684
684
|
* @internal
|
|
685
685
|
*/
|
|
686
686
|
declare const getVersionInlineBadge: (release?: TargetPerspective | undefined) => FC<{
|
|
687
|
-
children?:
|
|
687
|
+
children?: react580.ReactNode;
|
|
688
688
|
}>;
|
|
689
689
|
interface ObserveDocumentAPIConfig {
|
|
690
690
|
dataset?: string;
|
|
@@ -1005,7 +1005,7 @@ declare const ChangeFieldWrapper: (props: {
|
|
|
1005
1005
|
path: Path;
|
|
1006
1006
|
children: ReactNode;
|
|
1007
1007
|
hasRevertHover: boolean;
|
|
1008
|
-
}) =>
|
|
1008
|
+
}) => react580.JSX.Element;
|
|
1009
1009
|
/** @internal */
|
|
1010
1010
|
interface ChangeIndicatorProps {
|
|
1011
1011
|
path: Path;
|
|
@@ -1014,7 +1014,7 @@ interface ChangeIndicatorProps {
|
|
|
1014
1014
|
withHoverEffect?: boolean;
|
|
1015
1015
|
}
|
|
1016
1016
|
/** @internal */
|
|
1017
|
-
declare function ChangeIndicator(props: ChangeIndicatorProps & Omit<HTMLProps<HTMLDivElement>, 'as'>):
|
|
1017
|
+
declare function ChangeIndicator(props: ChangeIndicatorProps & Omit<HTMLProps<HTMLDivElement>, 'as'>): react580.JSX.Element;
|
|
1018
1018
|
/** @internal */
|
|
1019
1019
|
interface ConnectorContextValue {
|
|
1020
1020
|
isReviewChangesOpen: boolean;
|
|
@@ -1038,7 +1038,7 @@ declare function ChangeConnectorRoot({
|
|
|
1038
1038
|
onOpenReviewChanges,
|
|
1039
1039
|
onSetFocus,
|
|
1040
1040
|
...restProps
|
|
1041
|
-
}: ChangeConnectorRootProps):
|
|
1041
|
+
}: ChangeConnectorRootProps): react580.JSX.Element;
|
|
1042
1042
|
/** @internal */
|
|
1043
1043
|
type Reported<Value> = [string, Value];
|
|
1044
1044
|
/** @internal */
|
|
@@ -1078,11 +1078,11 @@ interface TrackedArea {
|
|
|
1078
1078
|
type ChangeIndicatorTrackerContextValue = TrackedChange;
|
|
1079
1079
|
declare function ChangeIndicatorsTrackerComponent(props: {
|
|
1080
1080
|
children: React.ReactNode;
|
|
1081
|
-
}):
|
|
1081
|
+
}): react580.JSX.Element;
|
|
1082
1082
|
/**
|
|
1083
1083
|
* @internal
|
|
1084
1084
|
*/
|
|
1085
|
-
declare const ChangeIndicatorsTracker:
|
|
1085
|
+
declare const ChangeIndicatorsTracker: react580.MemoExoticComponent<typeof ChangeIndicatorsTrackerComponent>;
|
|
1086
1086
|
/**
|
|
1087
1087
|
* @internal
|
|
1088
1088
|
*/
|
|
@@ -1107,11 +1107,11 @@ interface CommentDeleteDialogProps {
|
|
|
1107
1107
|
* @beta
|
|
1108
1108
|
* @hidden
|
|
1109
1109
|
*/
|
|
1110
|
-
declare function CommentDeleteDialog(props: CommentDeleteDialogProps):
|
|
1110
|
+
declare function CommentDeleteDialog(props: CommentDeleteDialogProps): react580.JSX.Element;
|
|
1111
1111
|
/**
|
|
1112
1112
|
* @internal
|
|
1113
1113
|
*/
|
|
1114
|
-
declare const CommentDisabledIcon:
|
|
1114
|
+
declare const CommentDisabledIcon: react580.ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & react580.RefAttributes<SVGSVGElement>>;
|
|
1115
1115
|
/**
|
|
1116
1116
|
*
|
|
1117
1117
|
* @deprecated Calling `useClient()` without specifying an API version is deprecated - specify a date to prevent breaking changes, e.g. `useClient({apiVersion: "2025-02-07"})`.
|
|
@@ -1206,8 +1206,8 @@ declare function useDialogStack({
|
|
|
1206
1206
|
path?: Path;
|
|
1207
1207
|
}): {
|
|
1208
1208
|
/** Unique ID for this dialog instance */dialogId: string; /** The current top dialog entry */
|
|
1209
|
-
topEntry:
|
|
1210
|
-
stack:
|
|
1209
|
+
topEntry: sanity__singletons2.DialogStackEntry | null; /** The full stack of dialog entries (each has id and path) */
|
|
1210
|
+
stack: sanity__singletons2.DialogStackEntry[]; /** Check if this dialog is on top */
|
|
1211
1211
|
isTop: boolean; /** Close dialogs */
|
|
1212
1212
|
close: (options?: {
|
|
1213
1213
|
toParent?: boolean | undefined;
|
|
@@ -3512,7 +3512,7 @@ interface LocaleSource {
|
|
|
3512
3512
|
* @internal
|
|
3513
3513
|
* @hidden
|
|
3514
3514
|
*/
|
|
3515
|
-
declare function LocaleProvider(props: PropsWithChildren):
|
|
3515
|
+
declare function LocaleProvider(props: PropsWithChildren): react580.JSX.Element;
|
|
3516
3516
|
/**
|
|
3517
3517
|
* @internal
|
|
3518
3518
|
* @hidden
|
|
@@ -3528,7 +3528,7 @@ declare function LocaleProviderBase({
|
|
|
3528
3528
|
sourceId: string;
|
|
3529
3529
|
locales: Locale[];
|
|
3530
3530
|
i18next: i18n$1;
|
|
3531
|
-
}>):
|
|
3531
|
+
}>): react580.JSX.Element;
|
|
3532
3532
|
/**
|
|
3533
3533
|
* Defines a resource bundle for a given locale and namespace.
|
|
3534
3534
|
*
|
|
@@ -3732,7 +3732,7 @@ interface TranslationProps {
|
|
|
3732
3732
|
*
|
|
3733
3733
|
* @public
|
|
3734
3734
|
*/
|
|
3735
|
-
declare function Translate(props: TranslationProps):
|
|
3735
|
+
declare function Translate(props: TranslationProps): react580.JSX.Element;
|
|
3736
3736
|
declare module '@sanity/types' {
|
|
3737
3737
|
/**
|
|
3738
3738
|
* Extended validation context that includes internationalization
|
|
@@ -3862,7 +3862,7 @@ interface CommentsAuthoringPathProviderProps {
|
|
|
3862
3862
|
* the component re-renders, for example, when the form is temporarily set to `readOnly`
|
|
3863
3863
|
* while reconnecting.
|
|
3864
3864
|
*/
|
|
3865
|
-
declare function CommentsAuthoringPathProvider(props: CommentsAuthoringPathProviderProps):
|
|
3865
|
+
declare function CommentsAuthoringPathProvider(props: CommentsAuthoringPathProviderProps): react580.JSX.Element;
|
|
3866
3866
|
/**
|
|
3867
3867
|
* @beta
|
|
3868
3868
|
* @hidden
|
|
@@ -4160,7 +4160,7 @@ interface CommentsProviderProps {
|
|
|
4160
4160
|
/**
|
|
4161
4161
|
* @beta
|
|
4162
4162
|
*/
|
|
4163
|
-
declare const CommentsProvider:
|
|
4163
|
+
declare const CommentsProvider: react580.NamedExoticComponent<CommentsProviderProps>;
|
|
4164
4164
|
interface CommentsEnabledProviderProps {
|
|
4165
4165
|
children: ReactNode;
|
|
4166
4166
|
documentId: string;
|
|
@@ -4170,7 +4170,7 @@ interface CommentsEnabledProviderProps {
|
|
|
4170
4170
|
* @beta
|
|
4171
4171
|
* @hidden
|
|
4172
4172
|
*/
|
|
4173
|
-
declare const CommentsEnabledProvider:
|
|
4173
|
+
declare const CommentsEnabledProvider: react580.NamedExoticComponent<CommentsEnabledProviderProps>;
|
|
4174
4174
|
/**
|
|
4175
4175
|
* @beta
|
|
4176
4176
|
* @hidden
|
|
@@ -4183,14 +4183,14 @@ interface CommentsIntentProviderProps {
|
|
|
4183
4183
|
* @beta
|
|
4184
4184
|
* @hidden
|
|
4185
4185
|
*/
|
|
4186
|
-
declare const CommentsIntentProvider:
|
|
4186
|
+
declare const CommentsIntentProvider: react580.NamedExoticComponent<CommentsIntentProviderProps>;
|
|
4187
4187
|
interface CommentsSelectedPathProviderProps {
|
|
4188
4188
|
children: React.ReactNode;
|
|
4189
4189
|
}
|
|
4190
4190
|
/**
|
|
4191
4191
|
* @internal
|
|
4192
4192
|
*/
|
|
4193
|
-
declare const CommentsSelectedPathProvider:
|
|
4193
|
+
declare const CommentsSelectedPathProvider: react580.NamedExoticComponent<CommentsSelectedPathProviderProps>;
|
|
4194
4194
|
/**
|
|
4195
4195
|
* @internal
|
|
4196
4196
|
*/
|
|
@@ -4233,7 +4233,7 @@ declare function ActiveWorkspaceMatcher({
|
|
|
4233
4233
|
LoadingComponent,
|
|
4234
4234
|
NotFoundComponent,
|
|
4235
4235
|
unstable_history: historyProp
|
|
4236
|
-
}: ActiveWorkspaceMatcherProps):
|
|
4236
|
+
}: ActiveWorkspaceMatcherProps): react580.JSX.Element;
|
|
4237
4237
|
/** @internal */
|
|
4238
4238
|
interface WorkspaceLike {
|
|
4239
4239
|
name?: string;
|
|
@@ -4304,7 +4304,7 @@ declare function WorkspacesProvider({
|
|
|
4304
4304
|
children,
|
|
4305
4305
|
basePath,
|
|
4306
4306
|
LoadingComponent
|
|
4307
|
-
}: WorkspacesProviderProps):
|
|
4307
|
+
}: WorkspacesProviderProps): react580.JSX.Element;
|
|
4308
4308
|
/** @internal */
|
|
4309
4309
|
type NormalizedWorkspace = {
|
|
4310
4310
|
workspace: WorkspacesContextValue[number];
|
|
@@ -4350,7 +4350,7 @@ interface AddonDatasetSetupProviderProps {
|
|
|
4350
4350
|
* @beta
|
|
4351
4351
|
* @hidden
|
|
4352
4352
|
*/
|
|
4353
|
-
declare function AddonDatasetProvider(props: AddonDatasetSetupProviderProps): string | number | bigint | boolean |
|
|
4353
|
+
declare function AddonDatasetProvider(props: AddonDatasetSetupProviderProps): string | number | bigint | boolean | react580.JSX.Element | Iterable<react580.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react580.ReactNode> | react580.ReactElement<unknown, string | react580.JSXElementConstructor<any>> | react580.ReactPortal | null | undefined> | null | undefined;
|
|
4354
4354
|
/**
|
|
4355
4355
|
* @beta
|
|
4356
4356
|
* @hidden
|
|
@@ -4452,7 +4452,7 @@ declare function ColorSchemeProvider({
|
|
|
4452
4452
|
children,
|
|
4453
4453
|
onSchemeChange,
|
|
4454
4454
|
scheme: schemeProp
|
|
4455
|
-
}: ColorSchemeProviderProps):
|
|
4455
|
+
}: ColorSchemeProviderProps): react580.JSX.Element;
|
|
4456
4456
|
/**
|
|
4457
4457
|
* Uses useSyncExternalStore to ensure that localStorage is accessed in a SSR hydration compatible way
|
|
4458
4458
|
* @internal
|
|
@@ -4460,7 +4460,7 @@ declare function ColorSchemeProvider({
|
|
|
4460
4460
|
declare function ColorSchemeLocalStorageProvider({
|
|
4461
4461
|
children,
|
|
4462
4462
|
onSchemeChange
|
|
4463
|
-
}: Pick<ColorSchemeProviderProps, 'children' | 'onSchemeChange'>):
|
|
4463
|
+
}: Pick<ColorSchemeProviderProps, 'children' | 'onSchemeChange'>): react580.JSX.Element;
|
|
4464
4464
|
/**
|
|
4465
4465
|
* If the `scheme` prop is provided we don't need to setup any logic to handle localStorage
|
|
4466
4466
|
* @internal
|
|
@@ -4505,7 +4505,7 @@ declare function Filters({
|
|
|
4505
4505
|
showTypeFilter
|
|
4506
4506
|
}: {
|
|
4507
4507
|
showTypeFilter?: boolean;
|
|
4508
|
-
}):
|
|
4508
|
+
}): react580.JSX.Element;
|
|
4509
4509
|
interface SearchHeaderProps {
|
|
4510
4510
|
ariaInputLabel?: string;
|
|
4511
4511
|
onClose?: () => void;
|
|
@@ -4513,7 +4513,7 @@ interface SearchHeaderProps {
|
|
|
4513
4513
|
/**
|
|
4514
4514
|
* @internal
|
|
4515
4515
|
*/
|
|
4516
|
-
declare const SearchHeader:
|
|
4516
|
+
declare const SearchHeader: react580.ForwardRefExoticComponent<SearchHeaderProps & react580.RefAttributes<HTMLInputElement>>;
|
|
4517
4517
|
type ItemSelectHandler = (item: Pick<SanityDocumentLike, '_id' | '_type' | 'title'>) => void;
|
|
4518
4518
|
/**
|
|
4519
4519
|
* @internal
|
|
@@ -4541,7 +4541,7 @@ declare function SearchPopover({
|
|
|
4541
4541
|
onOpen,
|
|
4542
4542
|
previewPerspective,
|
|
4543
4543
|
open
|
|
4544
|
-
}: SearchPopoverProps):
|
|
4544
|
+
}: SearchPopoverProps): react580.JSX.Element;
|
|
4545
4545
|
interface SearchResultItemPreviewProps {
|
|
4546
4546
|
documentId: string;
|
|
4547
4547
|
documentType: string;
|
|
@@ -4562,7 +4562,7 @@ declare function SearchResultItemPreview({
|
|
|
4562
4562
|
schemaType,
|
|
4563
4563
|
showBadge,
|
|
4564
4564
|
perspective
|
|
4565
|
-
}: SearchResultItemPreviewProps):
|
|
4565
|
+
}: SearchResultItemPreviewProps): react580.JSX.Element;
|
|
4566
4566
|
/**
|
|
4567
4567
|
* @internal
|
|
4568
4568
|
*/
|
|
@@ -4811,12 +4811,12 @@ declare const searchOperators: {
|
|
|
4811
4811
|
arrayCountRange: SearchOperatorBuilder<"arrayCountRange", OperatorNumberRangeValue> | ValuelessSearchOperatorBuilder<"arrayCountRange">;
|
|
4812
4812
|
arrayListIncludes: SearchOperatorBuilder<"arrayListIncludes", string | number> | ValuelessSearchOperatorBuilder<"arrayListIncludes">;
|
|
4813
4813
|
arrayListNotIncludes: SearchOperatorBuilder<"arrayListNotIncludes", string | number> | ValuelessSearchOperatorBuilder<"arrayListNotIncludes">;
|
|
4814
|
-
arrayReferenceIncludes: SearchOperatorBuilder<"arrayReferenceIncludes",
|
|
4815
|
-
arrayReferenceNotIncludes: SearchOperatorBuilder<"arrayReferenceNotIncludes",
|
|
4816
|
-
assetFileEqual: SearchOperatorBuilder<"assetFileEqual",
|
|
4817
|
-
assetFileNotEqual: SearchOperatorBuilder<"assetFileNotEqual",
|
|
4818
|
-
assetImageEqual: SearchOperatorBuilder<"assetImageEqual",
|
|
4819
|
-
assetImageNotEqual: SearchOperatorBuilder<"assetImageNotEqual",
|
|
4814
|
+
arrayReferenceIncludes: SearchOperatorBuilder<"arrayReferenceIncludes", _sanity_types45.Reference> | ValuelessSearchOperatorBuilder<"arrayReferenceIncludes">;
|
|
4815
|
+
arrayReferenceNotIncludes: SearchOperatorBuilder<"arrayReferenceNotIncludes", _sanity_types45.Reference> | ValuelessSearchOperatorBuilder<"arrayReferenceNotIncludes">;
|
|
4816
|
+
assetFileEqual: SearchOperatorBuilder<"assetFileEqual", _sanity_types45.Reference> | ValuelessSearchOperatorBuilder<"assetFileEqual">;
|
|
4817
|
+
assetFileNotEqual: SearchOperatorBuilder<"assetFileNotEqual", _sanity_types45.Reference> | ValuelessSearchOperatorBuilder<"assetFileNotEqual">;
|
|
4818
|
+
assetImageEqual: SearchOperatorBuilder<"assetImageEqual", _sanity_types45.Reference> | ValuelessSearchOperatorBuilder<"assetImageEqual">;
|
|
4819
|
+
assetImageNotEqual: SearchOperatorBuilder<"assetImageNotEqual", _sanity_types45.Reference> | ValuelessSearchOperatorBuilder<"assetImageNotEqual">;
|
|
4820
4820
|
booleanEqual: SearchOperatorBuilder<"booleanEqual", boolean> | ValuelessSearchOperatorBuilder<"booleanEqual">;
|
|
4821
4821
|
defined: SearchOperatorBuilder<"defined", unknown> | ValuelessSearchOperatorBuilder<"defined">;
|
|
4822
4822
|
notDefined: SearchOperatorBuilder<"notDefined", unknown> | ValuelessSearchOperatorBuilder<"notDefined">;
|
|
@@ -4831,11 +4831,11 @@ declare const searchOperators: {
|
|
|
4831
4831
|
portableTextMatches: SearchOperatorBuilder<"portableTextMatches", string | number> | ValuelessSearchOperatorBuilder<"portableTextMatches">;
|
|
4832
4832
|
portableTextNotEqual: SearchOperatorBuilder<"portableTextNotEqual", string | number> | ValuelessSearchOperatorBuilder<"portableTextNotEqual">;
|
|
4833
4833
|
portableTextNotMatches: SearchOperatorBuilder<"portableTextNotMatches", string | number> | ValuelessSearchOperatorBuilder<"portableTextNotMatches">;
|
|
4834
|
-
referenceEqual: SearchOperatorBuilder<"referenceEqual",
|
|
4835
|
-
referenceNotEqual: SearchOperatorBuilder<"referenceNotEqual",
|
|
4836
|
-
referencesAssetFile: SearchOperatorBuilder<"referencesAssetFile",
|
|
4837
|
-
referencesAssetImage: SearchOperatorBuilder<"referencesAssetImage",
|
|
4838
|
-
referencesDocument: SearchOperatorBuilder<"referencesDocument",
|
|
4834
|
+
referenceEqual: SearchOperatorBuilder<"referenceEqual", _sanity_types45.Reference> | ValuelessSearchOperatorBuilder<"referenceEqual">;
|
|
4835
|
+
referenceNotEqual: SearchOperatorBuilder<"referenceNotEqual", _sanity_types45.Reference> | ValuelessSearchOperatorBuilder<"referenceNotEqual">;
|
|
4836
|
+
referencesAssetFile: SearchOperatorBuilder<"referencesAssetFile", _sanity_types45.Reference> | ValuelessSearchOperatorBuilder<"referencesAssetFile">;
|
|
4837
|
+
referencesAssetImage: SearchOperatorBuilder<"referencesAssetImage", _sanity_types45.Reference> | ValuelessSearchOperatorBuilder<"referencesAssetImage">;
|
|
4838
|
+
referencesDocument: SearchOperatorBuilder<"referencesDocument", _sanity_types45.Reference> | ValuelessSearchOperatorBuilder<"referencesDocument">;
|
|
4839
4839
|
slugEqual: SearchOperatorBuilder<"slugEqual", string | number> | ValuelessSearchOperatorBuilder<"slugEqual">;
|
|
4840
4840
|
slugMatches: SearchOperatorBuilder<"slugMatches", string | number> | ValuelessSearchOperatorBuilder<"slugMatches">;
|
|
4841
4841
|
slugNotEqual: SearchOperatorBuilder<"slugNotEqual", string | number> | ValuelessSearchOperatorBuilder<"slugNotEqual">;
|
|
@@ -4855,7 +4855,7 @@ type SearchOperatorType = keyof DefaultOperators;
|
|
|
4855
4855
|
/**
|
|
4856
4856
|
* @internal
|
|
4857
4857
|
*/
|
|
4858
|
-
declare const operatorDefinitions: (SearchOperatorBuilder<"arrayCountEqual", number> | SearchOperatorBuilder<"arrayCountGt", number> | SearchOperatorBuilder<"arrayCountGte", number> | SearchOperatorBuilder<"arrayCountLt", number> | SearchOperatorBuilder<"arrayCountLte", number> | SearchOperatorBuilder<"arrayCountNotEqual", number> | SearchOperatorBuilder<"arrayCountRange", OperatorNumberRangeValue> | SearchOperatorBuilder<"arrayListIncludes", string | number> | SearchOperatorBuilder<"arrayListNotIncludes", string | number> | SearchOperatorBuilder<"arrayReferenceIncludes",
|
|
4858
|
+
declare const operatorDefinitions: (SearchOperatorBuilder<"arrayCountEqual", number> | SearchOperatorBuilder<"arrayCountGt", number> | SearchOperatorBuilder<"arrayCountGte", number> | SearchOperatorBuilder<"arrayCountLt", number> | SearchOperatorBuilder<"arrayCountLte", number> | SearchOperatorBuilder<"arrayCountNotEqual", number> | SearchOperatorBuilder<"arrayCountRange", OperatorNumberRangeValue> | SearchOperatorBuilder<"arrayListIncludes", string | number> | SearchOperatorBuilder<"arrayListNotIncludes", string | number> | SearchOperatorBuilder<"arrayReferenceIncludes", _sanity_types45.Reference> | SearchOperatorBuilder<"arrayReferenceNotIncludes", _sanity_types45.Reference> | SearchOperatorBuilder<"assetFileEqual", _sanity_types45.Reference> | SearchOperatorBuilder<"assetFileNotEqual", _sanity_types45.Reference> | SearchOperatorBuilder<"assetImageEqual", _sanity_types45.Reference> | SearchOperatorBuilder<"assetImageNotEqual", _sanity_types45.Reference> | SearchOperatorBuilder<"booleanEqual", boolean> | SearchOperatorBuilder<"dateAfter", OperatorDateDirectionValue> | SearchOperatorBuilder<"dateBefore", OperatorDateDirectionValue> | SearchOperatorBuilder<"dateEqual", OperatorDateEqualValue> | SearchOperatorBuilder<"dateLast", OperatorDateLastValue> | SearchOperatorBuilder<"dateNotEqual", OperatorDateEqualValue> | SearchOperatorBuilder<"dateRange", OperatorDateRangeValue> | SearchOperatorBuilder<"dateTimeAfter", OperatorDateDirectionValue> | SearchOperatorBuilder<"dateTimeBefore", OperatorDateDirectionValue> | SearchOperatorBuilder<"dateTimeEqual", OperatorDateEqualValue> | SearchOperatorBuilder<"dateTimeLast", OperatorDateLastValue> | SearchOperatorBuilder<"dateTimeNotEqual", OperatorDateEqualValue> | SearchOperatorBuilder<"dateTimeRange", OperatorDateRangeValue> | SearchOperatorBuilder<"defined", unknown> | SearchOperatorBuilder<"notDefined", unknown> | SearchOperatorBuilder<"numberEqual", number> | SearchOperatorBuilder<"numberGt", number> | SearchOperatorBuilder<"numberGte", number> | SearchOperatorBuilder<"numberLt", number> | SearchOperatorBuilder<"numberLte", number> | SearchOperatorBuilder<"numberNotEqual", number> | SearchOperatorBuilder<"numberRange", OperatorNumberRangeValue> | SearchOperatorBuilder<"portableTextEqual", string | number> | SearchOperatorBuilder<"portableTextMatches", string | number> | SearchOperatorBuilder<"portableTextNotEqual", string | number> | SearchOperatorBuilder<"portableTextNotMatches", string | number> | SearchOperatorBuilder<"referenceEqual", _sanity_types45.Reference> | SearchOperatorBuilder<"referenceNotEqual", _sanity_types45.Reference> | SearchOperatorBuilder<"referencesAssetFile", _sanity_types45.Reference> | SearchOperatorBuilder<"referencesAssetImage", _sanity_types45.Reference> | SearchOperatorBuilder<"referencesDocument", _sanity_types45.Reference> | SearchOperatorBuilder<"slugEqual", string | number> | SearchOperatorBuilder<"slugMatches", string | number> | SearchOperatorBuilder<"slugNotEqual", string | number> | SearchOperatorBuilder<"slugNotMatches", string | number> | SearchOperatorBuilder<"stringEqual", string | number> | SearchOperatorBuilder<"stringListEqual", string | number> | SearchOperatorBuilder<"stringListNotEqual", string | number> | SearchOperatorBuilder<"stringMatches", string | number> | SearchOperatorBuilder<"stringNotEqual", string | number> | SearchOperatorBuilder<"stringNotMatches", string | number> | ValuelessSearchOperatorBuilder<"arrayCountEqual"> | ValuelessSearchOperatorBuilder<"arrayCountGt"> | ValuelessSearchOperatorBuilder<"arrayCountGte"> | ValuelessSearchOperatorBuilder<"arrayCountLt"> | ValuelessSearchOperatorBuilder<"arrayCountLte"> | ValuelessSearchOperatorBuilder<"arrayCountNotEqual"> | ValuelessSearchOperatorBuilder<"arrayCountRange"> | ValuelessSearchOperatorBuilder<"arrayListIncludes"> | ValuelessSearchOperatorBuilder<"arrayListNotIncludes"> | ValuelessSearchOperatorBuilder<"arrayReferenceIncludes"> | ValuelessSearchOperatorBuilder<"arrayReferenceNotIncludes"> | ValuelessSearchOperatorBuilder<"assetFileEqual"> | ValuelessSearchOperatorBuilder<"assetFileNotEqual"> | ValuelessSearchOperatorBuilder<"assetImageEqual"> | ValuelessSearchOperatorBuilder<"assetImageNotEqual"> | ValuelessSearchOperatorBuilder<"booleanEqual"> | ValuelessSearchOperatorBuilder<"dateAfter"> | ValuelessSearchOperatorBuilder<"dateBefore"> | ValuelessSearchOperatorBuilder<"dateEqual"> | ValuelessSearchOperatorBuilder<"dateLast"> | ValuelessSearchOperatorBuilder<"dateNotEqual"> | ValuelessSearchOperatorBuilder<"dateRange"> | ValuelessSearchOperatorBuilder<"dateTimeAfter"> | ValuelessSearchOperatorBuilder<"dateTimeBefore"> | ValuelessSearchOperatorBuilder<"dateTimeEqual"> | ValuelessSearchOperatorBuilder<"dateTimeLast"> | ValuelessSearchOperatorBuilder<"dateTimeNotEqual"> | ValuelessSearchOperatorBuilder<"dateTimeRange"> | ValuelessSearchOperatorBuilder<"defined"> | ValuelessSearchOperatorBuilder<"notDefined"> | ValuelessSearchOperatorBuilder<"numberEqual"> | ValuelessSearchOperatorBuilder<"numberGt"> | ValuelessSearchOperatorBuilder<"numberGte"> | ValuelessSearchOperatorBuilder<"numberLt"> | ValuelessSearchOperatorBuilder<"numberLte"> | ValuelessSearchOperatorBuilder<"numberNotEqual"> | ValuelessSearchOperatorBuilder<"numberRange"> | ValuelessSearchOperatorBuilder<"portableTextEqual"> | ValuelessSearchOperatorBuilder<"portableTextMatches"> | ValuelessSearchOperatorBuilder<"portableTextNotEqual"> | ValuelessSearchOperatorBuilder<"portableTextNotMatches"> | ValuelessSearchOperatorBuilder<"referenceEqual"> | ValuelessSearchOperatorBuilder<"referenceNotEqual"> | ValuelessSearchOperatorBuilder<"referencesAssetFile"> | ValuelessSearchOperatorBuilder<"referencesAssetImage"> | ValuelessSearchOperatorBuilder<"referencesDocument"> | ValuelessSearchOperatorBuilder<"slugEqual"> | ValuelessSearchOperatorBuilder<"slugMatches"> | ValuelessSearchOperatorBuilder<"slugNotEqual"> | ValuelessSearchOperatorBuilder<"slugNotMatches"> | ValuelessSearchOperatorBuilder<"stringEqual"> | ValuelessSearchOperatorBuilder<"stringListEqual"> | ValuelessSearchOperatorBuilder<"stringListNotEqual"> | ValuelessSearchOperatorBuilder<"stringMatches"> | ValuelessSearchOperatorBuilder<"stringNotEqual"> | ValuelessSearchOperatorBuilder<"stringNotMatches">)[];
|
|
4859
4859
|
type Operator<TOperators = string> = OperatorDivider | OperatorItem<TOperators>;
|
|
4860
4860
|
type OperatorDivider = {
|
|
4861
4861
|
type: 'divider';
|
|
@@ -5096,7 +5096,7 @@ declare function SearchProvider({
|
|
|
5096
5096
|
fullscreen,
|
|
5097
5097
|
disabledDocumentIds,
|
|
5098
5098
|
canDisableAction
|
|
5099
|
-
}: SearchProviderProps):
|
|
5099
|
+
}: SearchProviderProps): react580.JSX.Element;
|
|
5100
5100
|
/**
|
|
5101
5101
|
* @internal
|
|
5102
5102
|
*/
|
|
@@ -5121,7 +5121,7 @@ interface SearchButtonProps {
|
|
|
5121
5121
|
/**
|
|
5122
5122
|
* @internal
|
|
5123
5123
|
*/
|
|
5124
|
-
declare const SearchButton:
|
|
5124
|
+
declare const SearchButton: react580.ForwardRefExoticComponent<SearchButtonProps & react580.RefAttributes<HTMLButtonElement>>;
|
|
5125
5125
|
interface SearchDialogProps {
|
|
5126
5126
|
onClose: () => void;
|
|
5127
5127
|
onOpen: () => void;
|
|
@@ -5134,11 +5134,11 @@ declare function SearchDialog({
|
|
|
5134
5134
|
onClose,
|
|
5135
5135
|
onOpen,
|
|
5136
5136
|
open
|
|
5137
|
-
}: SearchDialogProps):
|
|
5137
|
+
}: SearchDialogProps): react580.JSX.Element;
|
|
5138
5138
|
/**
|
|
5139
5139
|
* @hidden
|
|
5140
5140
|
* @beta */
|
|
5141
|
-
declare function StudioLogo(props: LogoProps):
|
|
5141
|
+
declare function StudioLogo(props: LogoProps): react580.JSX.Element;
|
|
5142
5142
|
/**
|
|
5143
5143
|
* @hidden
|
|
5144
5144
|
* @beta */
|
|
@@ -5230,11 +5230,11 @@ interface StudioComponentsPluginOptions {
|
|
|
5230
5230
|
/**
|
|
5231
5231
|
* @hidden
|
|
5232
5232
|
* @beta */
|
|
5233
|
-
declare function StudioNavbar(props: Omit<NavbarProps, 'renderDefault'>):
|
|
5233
|
+
declare function StudioNavbar(props: Omit<NavbarProps, 'renderDefault'>): react580.JSX.Element;
|
|
5234
5234
|
/**
|
|
5235
5235
|
* @hidden
|
|
5236
5236
|
* @beta */
|
|
5237
|
-
declare function StudioToolMenu(props: ToolMenuProps):
|
|
5237
|
+
declare function StudioToolMenu(props: ToolMenuProps): react580.JSX.Element | null;
|
|
5238
5238
|
/**
|
|
5239
5239
|
* @hidden
|
|
5240
5240
|
* @beta */
|
|
@@ -5245,7 +5245,7 @@ interface ToolLinkProps {
|
|
|
5245
5245
|
/**
|
|
5246
5246
|
* @hidden
|
|
5247
5247
|
* @beta */
|
|
5248
|
-
declare const ToolLink:
|
|
5248
|
+
declare const ToolLink: react580.ForwardRefExoticComponent<Omit<ToolLinkProps & Omit<HTMLProps<HTMLAnchorElement>, "href" | "name">, "ref"> & react580.RefAttributes<HTMLAnchorElement>>;
|
|
5249
5249
|
/**
|
|
5250
5250
|
* @hidden
|
|
5251
5251
|
* @beta */
|
|
@@ -5546,7 +5546,7 @@ type SourceProviderProps = {
|
|
|
5546
5546
|
declare function SourceProvider({
|
|
5547
5547
|
children,
|
|
5548
5548
|
...props
|
|
5549
|
-
}: SourceProviderProps):
|
|
5549
|
+
}: SourceProviderProps): react580.JSX.Element;
|
|
5550
5550
|
/**
|
|
5551
5551
|
* @internal
|
|
5552
5552
|
* @deprecated INTERNAL USE ONLY
|
|
@@ -5658,7 +5658,7 @@ declare function StudioAnnouncementsCard({
|
|
|
5658
5658
|
preHeader,
|
|
5659
5659
|
onCardClick,
|
|
5660
5660
|
onCardDismiss
|
|
5661
|
-
}: StudioAnnouncementCardProps):
|
|
5661
|
+
}: StudioAnnouncementCardProps): react580.JSX.Element;
|
|
5662
5662
|
declare const audienceRoles: readonly ["administrator", "editor", "viewer", "contributor", "developer", "custom"];
|
|
5663
5663
|
type AudienceRole = (typeof audienceRoles)[number];
|
|
5664
5664
|
interface StudioAnnouncementDocument {
|
|
@@ -5698,7 +5698,7 @@ declare function StudioAnnouncementsDialog({
|
|
|
5698
5698
|
announcements,
|
|
5699
5699
|
onClose,
|
|
5700
5700
|
mode
|
|
5701
|
-
}: StudioAnnouncementDialogProps):
|
|
5701
|
+
}: StudioAnnouncementDialogProps): react580.JSX.Element;
|
|
5702
5702
|
/**
|
|
5703
5703
|
* @internal
|
|
5704
5704
|
* @hidden
|
|
@@ -5741,12 +5741,12 @@ interface NavbarContextValue {
|
|
|
5741
5741
|
*</StudioProvider>
|
|
5742
5742
|
* ```
|
|
5743
5743
|
*/
|
|
5744
|
-
declare function StudioLayout():
|
|
5744
|
+
declare function StudioLayout(): react580.JSX.Element;
|
|
5745
5745
|
/**
|
|
5746
5746
|
* @internal
|
|
5747
5747
|
* The default Studio Layout component
|
|
5748
5748
|
* */
|
|
5749
|
-
declare function StudioLayoutComponent():
|
|
5749
|
+
declare function StudioLayoutComponent(): react580.JSX.Element;
|
|
5750
5750
|
/**
|
|
5751
5751
|
* @hidden
|
|
5752
5752
|
* @beta */
|
|
@@ -5764,7 +5764,7 @@ declare function StudioProvider({
|
|
|
5764
5764
|
scheme,
|
|
5765
5765
|
unstable_history: history,
|
|
5766
5766
|
unstable_noAuthBoundary: noAuthBoundary
|
|
5767
|
-
}: StudioProviderProps):
|
|
5767
|
+
}: StudioProviderProps): react580.JSX.Element;
|
|
5768
5768
|
interface UpsellDialogActionsInfo {
|
|
5769
5769
|
feature: 'comments' | 'scheduled_publishing' | 'ai_assist' | 'tasks';
|
|
5770
5770
|
type: 'modal' | 'inspector';
|
|
@@ -5809,7 +5809,7 @@ interface DescriptionSerializerProps {
|
|
|
5809
5809
|
* Not meant for public consumption.
|
|
5810
5810
|
* @internal
|
|
5811
5811
|
*/
|
|
5812
|
-
declare function UpsellDescriptionSerializer(props: DescriptionSerializerProps):
|
|
5812
|
+
declare function UpsellDescriptionSerializer(props: DescriptionSerializerProps): react580.JSX.Element;
|
|
5813
5813
|
/** @internal */
|
|
5814
5814
|
interface WorkspaceProviderProps {
|
|
5815
5815
|
workspace: Workspace;
|
|
@@ -5844,7 +5844,7 @@ declare function ErrorMessage({
|
|
|
5844
5844
|
message,
|
|
5845
5845
|
path,
|
|
5846
5846
|
stack
|
|
5847
|
-
}: ErrorMessageProps):
|
|
5847
|
+
}: ErrorMessageProps): react580.JSX.Element;
|
|
5848
5848
|
interface WorkspaceLoaderProps {
|
|
5849
5849
|
children: ReactNode;
|
|
5850
5850
|
ConfigErrorsComponent: ComponentType;
|
|
@@ -5860,7 +5860,7 @@ declare function useWorkspaceLoader(activeWorkspace: WorkspaceSummary): Workspac
|
|
|
5860
5860
|
declare function WorkspaceLoaderBoundary({
|
|
5861
5861
|
ConfigErrorsComponent,
|
|
5862
5862
|
...props
|
|
5863
|
-
}: WorkspaceLoaderProps):
|
|
5863
|
+
}: WorkspaceLoaderProps): react580.JSX.Element;
|
|
5864
5864
|
/**
|
|
5865
5865
|
* @beta
|
|
5866
5866
|
* @hidden
|
|
@@ -5937,7 +5937,7 @@ interface CommentsListProps {
|
|
|
5937
5937
|
* @beta
|
|
5938
5938
|
* @hidden
|
|
5939
5939
|
*/
|
|
5940
|
-
declare const CommentsList:
|
|
5940
|
+
declare const CommentsList: react580.NamedExoticComponent<CommentsListProps & react580.RefAttributes<HTMLDivElement>>;
|
|
5941
5941
|
/**
|
|
5942
5942
|
* @internal
|
|
5943
5943
|
*/
|
|
@@ -5980,7 +5980,7 @@ interface CommentInputHandle {
|
|
|
5980
5980
|
* @internal
|
|
5981
5981
|
* @hidden
|
|
5982
5982
|
*/
|
|
5983
|
-
declare const CommentInput:
|
|
5983
|
+
declare const CommentInput: react580.ForwardRefExoticComponent<CommentInputProps & react580.RefAttributes<CommentInputHandle>>;
|
|
5984
5984
|
interface CommentInputContextValue {
|
|
5985
5985
|
canSubmit?: boolean;
|
|
5986
5986
|
closeMentions: () => void;
|
|
@@ -6010,7 +6010,7 @@ interface CommentInlineHighlightSpanProps {
|
|
|
6010
6010
|
/**
|
|
6011
6011
|
* @internal
|
|
6012
6012
|
*/
|
|
6013
|
-
declare const CommentInlineHighlightSpan:
|
|
6013
|
+
declare const CommentInlineHighlightSpan: react580.ForwardRefExoticComponent<Omit<CommentInlineHighlightSpanProps & react580.HTMLProps<HTMLSpanElement>, "ref"> & react580.RefAttributes<HTMLSpanElement>>;
|
|
6014
6014
|
/**
|
|
6015
6015
|
* @internal
|
|
6016
6016
|
* @hidden
|
|
@@ -6148,11 +6148,11 @@ interface CollapseMenuProps {
|
|
|
6148
6148
|
onMenuClose?: () => void;
|
|
6149
6149
|
}
|
|
6150
6150
|
/** @internal */
|
|
6151
|
-
declare const CollapseMenu:
|
|
6151
|
+
declare const CollapseMenu: react580.ForwardRefExoticComponent<CollapseMenuProps & react580.RefAttributes<any>>;
|
|
6152
6152
|
/** @internal */
|
|
6153
|
-
declare const AutoCollapseMenu:
|
|
6154
|
-
menuOptions:
|
|
6155
|
-
} &
|
|
6153
|
+
declare const AutoCollapseMenu: react580.ForwardRefExoticComponent<Omit<CollapseMenuProps, "children" | "collapsed"> & {
|
|
6154
|
+
menuOptions: react580.JSX.Element[];
|
|
6155
|
+
} & react580.RefAttributes<HTMLDivElement>>;
|
|
6156
6156
|
/** @internal */
|
|
6157
6157
|
interface CommonProps extends Omit<ButtonProps$1, 'text' | 'iconRight'> {
|
|
6158
6158
|
as?: ElementType | keyof React.JSX.IntrinsicElements;
|
|
@@ -6168,7 +6168,7 @@ interface CollapseMenuButtonProps extends CommonProps {
|
|
|
6168
6168
|
text: string;
|
|
6169
6169
|
}
|
|
6170
6170
|
/** @internal */
|
|
6171
|
-
declare const CollapseMenuButton:
|
|
6171
|
+
declare const CollapseMenuButton: react580.ForwardRefExoticComponent<Omit<CollapseMenuButtonProps & Omit<HTMLProps<HTMLButtonElement>, "as" | "size">, "ref"> & react580.RefAttributes<HTMLButtonElement>>;
|
|
6172
6172
|
/** @internal */
|
|
6173
6173
|
declare function useOnScroll(callback: Subscriber<Event>): void;
|
|
6174
6174
|
/** @internal */
|
|
@@ -6185,7 +6185,7 @@ interface ScrollContainerProps<T extends ElementType> extends Omit<HTMLProps<T>,
|
|
|
6185
6185
|
*
|
|
6186
6186
|
* @internal
|
|
6187
6187
|
*/
|
|
6188
|
-
declare const ScrollContainer:
|
|
6188
|
+
declare const ScrollContainer: react580.NamedExoticComponent<Omit<ScrollContainerProps<ElementType>, "ref"> & react580.RefAttributes<HTMLDivElement>>;
|
|
6189
6189
|
/** @internal */
|
|
6190
6190
|
type ScrollEventHandler = (event: Event) => void;
|
|
6191
6191
|
/** @internal */
|
|
@@ -6627,7 +6627,7 @@ interface EventsProviderProps {
|
|
|
6627
6627
|
declare function EventsProvider({
|
|
6628
6628
|
value,
|
|
6629
6629
|
children
|
|
6630
|
-
}: EventsProviderProps):
|
|
6630
|
+
}: EventsProviderProps): react580.JSX.Element;
|
|
6631
6631
|
/**
|
|
6632
6632
|
* @internal
|
|
6633
6633
|
*/
|
|
@@ -6845,7 +6845,7 @@ declare function useDiffAnnotationColor(diff: Diff$1, path?: string | Path): Use
|
|
|
6845
6845
|
declare function ChangeBreadcrumb(props: {
|
|
6846
6846
|
change?: FieldChangeNode;
|
|
6847
6847
|
titlePath: ChangeTitlePath;
|
|
6848
|
-
}):
|
|
6848
|
+
}): react580.JSX.Element;
|
|
6849
6849
|
/** @internal */
|
|
6850
6850
|
interface ChangeListProps {
|
|
6851
6851
|
schemaType: ObjectSchemaType;
|
|
@@ -6866,7 +6866,7 @@ interface ChangeResolverProps {
|
|
|
6866
6866
|
addParentWrapper?: boolean;
|
|
6867
6867
|
}
|
|
6868
6868
|
/** @internal */
|
|
6869
|
-
declare function ChangeResolver(props: ChangeResolverProps):
|
|
6869
|
+
declare function ChangeResolver(props: ChangeResolverProps): react580.JSX.Element | null;
|
|
6870
6870
|
/**
|
|
6871
6871
|
* @internal
|
|
6872
6872
|
* */
|
|
@@ -6874,12 +6874,12 @@ declare function ChangesError({
|
|
|
6874
6874
|
error
|
|
6875
6875
|
}: {
|
|
6876
6876
|
error?: Error | null;
|
|
6877
|
-
}):
|
|
6877
|
+
}): react580.JSX.Element;
|
|
6878
6878
|
/** @internal */
|
|
6879
6879
|
declare function ChangeTitleSegment(props: {
|
|
6880
6880
|
change?: FieldChangeNode;
|
|
6881
6881
|
segment: string | FromToIndex;
|
|
6882
|
-
}):
|
|
6882
|
+
}): react580.JSX.Element;
|
|
6883
6883
|
/**
|
|
6884
6884
|
* @internal
|
|
6885
6885
|
* mapping of events types with a readable key for translation
|
|
@@ -6897,7 +6897,7 @@ interface DiffCardProps {
|
|
|
6897
6897
|
} | boolean;
|
|
6898
6898
|
}
|
|
6899
6899
|
/** @internal */
|
|
6900
|
-
declare const DiffCard:
|
|
6900
|
+
declare const DiffCard: react580.ForwardRefExoticComponent<Omit<DiffCardProps & Omit<HTMLProps<HTMLElement>, "as" | "height">, "ref"> & react580.RefAttributes<unknown>>;
|
|
6901
6901
|
/** @internal */
|
|
6902
6902
|
interface DiffErrorBoundaryProps {
|
|
6903
6903
|
children: ReactNode;
|
|
@@ -6914,7 +6914,7 @@ declare class DiffErrorBoundary extends Component<DiffErrorBoundaryProps, DiffEr
|
|
|
6914
6914
|
};
|
|
6915
6915
|
state: DiffErrorBoundaryState;
|
|
6916
6916
|
componentDidCatch(error: Error): void;
|
|
6917
|
-
render(): string | number | bigint | boolean |
|
|
6917
|
+
render(): string | number | bigint | boolean | react580.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | react580.ReactElement<unknown, string | react580.JSXElementConstructor<any>> | react580.ReactPortal | null | undefined> | null | undefined;
|
|
6918
6918
|
}
|
|
6919
6919
|
/** @internal */
|
|
6920
6920
|
type FieldPreviewComponent<T = any> = ComponentType<{
|
|
@@ -6933,7 +6933,7 @@ interface DiffFromToProps {
|
|
|
6933
6933
|
schemaType: SchemaType;
|
|
6934
6934
|
}
|
|
6935
6935
|
/** @internal */
|
|
6936
|
-
declare function DiffFromTo(props: DiffFromToProps):
|
|
6936
|
+
declare function DiffFromTo(props: DiffFromToProps): react580.JSX.Element;
|
|
6937
6937
|
/** @internal */
|
|
6938
6938
|
interface DiffInspectWrapperProps {
|
|
6939
6939
|
children: ReactNode;
|
|
@@ -6949,7 +6949,7 @@ declare function DiffStringSegment(props: {
|
|
|
6949
6949
|
/** @internal */
|
|
6950
6950
|
declare function DiffString(props: {
|
|
6951
6951
|
diff: StringDiff$1;
|
|
6952
|
-
}):
|
|
6952
|
+
}): react580.JSX.Element;
|
|
6953
6953
|
/** @internal */
|
|
6954
6954
|
interface DiffTooltipProps extends TooltipProps$1 {
|
|
6955
6955
|
children: React.JSX.Element;
|
|
@@ -6964,7 +6964,7 @@ interface DiffTooltipWithAnnotationsProps extends TooltipProps$1 {
|
|
|
6964
6964
|
description?: ReactNode;
|
|
6965
6965
|
}
|
|
6966
6966
|
/** @internal */
|
|
6967
|
-
declare function DiffTooltip(props: DiffTooltipProps | DiffTooltipWithAnnotationsProps):
|
|
6967
|
+
declare function DiffTooltip(props: DiffTooltipProps | DiffTooltipWithAnnotationsProps): react580.JSX.Element;
|
|
6968
6968
|
interface TimelineItemProps {
|
|
6969
6969
|
event: DocumentGroupEvent;
|
|
6970
6970
|
showChangesBy: 'tooltip' | 'inline' | 'hidden';
|
|
@@ -6975,7 +6975,7 @@ interface TimelineItemProps {
|
|
|
6975
6975
|
declare function Event$1({
|
|
6976
6976
|
event,
|
|
6977
6977
|
showChangesBy
|
|
6978
|
-
}: TimelineItemProps):
|
|
6978
|
+
}: TimelineItemProps): react580.JSX.Element;
|
|
6979
6979
|
/** @internal */
|
|
6980
6980
|
declare const FallbackDiff: DiffComponent<Diff$1<unknown, Record<string, unknown>>>;
|
|
6981
6981
|
/** @internal */
|
|
@@ -6984,7 +6984,7 @@ declare function FieldChange(props: {
|
|
|
6984
6984
|
readOnly?: boolean;
|
|
6985
6985
|
hidden?: boolean;
|
|
6986
6986
|
addParentWrapper?: boolean;
|
|
6987
|
-
} & HTMLAttributes<HTMLDivElement>):
|
|
6987
|
+
} & HTMLAttributes<HTMLDivElement>): react580.JSX.Element | null;
|
|
6988
6988
|
/** @internal */
|
|
6989
6989
|
type FromToProps = {
|
|
6990
6990
|
align?: 'top' | 'center' | 'bottom';
|
|
@@ -6993,13 +6993,13 @@ type FromToProps = {
|
|
|
6993
6993
|
to?: ReactNode;
|
|
6994
6994
|
} & Omit<HTMLProps<HTMLDivElement>, 'children' | 'as' | 'height' | 'wrap'>;
|
|
6995
6995
|
/** @internal */
|
|
6996
|
-
declare const FromTo:
|
|
6996
|
+
declare const FromTo: react580.ForwardRefExoticComponent<Omit<FromToProps, "ref"> & react580.RefAttributes<HTMLDivElement>>;
|
|
6997
6997
|
/** @internal */
|
|
6998
6998
|
type FromToArrowDirection = 'down' | 'right';
|
|
6999
6999
|
/** @internal */
|
|
7000
7000
|
declare function FromToArrow(props: {
|
|
7001
7001
|
direction?: FromToArrowDirection;
|
|
7002
|
-
} & TextProps & Omit<HTMLProps<HTMLDivElement>, 'children' | 'ref'>):
|
|
7002
|
+
} & TextProps & Omit<HTMLProps<HTMLDivElement>, 'children' | 'ref'>): react580.JSX.Element;
|
|
7003
7003
|
/** @internal */
|
|
7004
7004
|
declare function GroupChange(props: {
|
|
7005
7005
|
change: GroupChangeNode;
|
|
@@ -7015,13 +7015,13 @@ interface MetaInfoProps {
|
|
|
7015
7015
|
markRemoved?: boolean;
|
|
7016
7016
|
}
|
|
7017
7017
|
/** @internal */
|
|
7018
|
-
declare function MetaInfo(props: MetaInfoProps):
|
|
7018
|
+
declare function MetaInfo(props: MetaInfoProps): react580.JSX.Element;
|
|
7019
7019
|
/** @internal */
|
|
7020
|
-
declare function NoChanges():
|
|
7020
|
+
declare function NoChanges(): react580.JSX.Element;
|
|
7021
7021
|
/** @internal */
|
|
7022
|
-
declare const RevertChangesButton:
|
|
7022
|
+
declare const RevertChangesButton: react580.ForwardRefExoticComponent<Omit<ButtonProps$1, "tooltipProps"> & Omit<HTMLProps<HTMLButtonElement>, "ref"> & {
|
|
7023
7023
|
changeCount: number;
|
|
7024
|
-
} &
|
|
7024
|
+
} & react580.RefAttributes<HTMLButtonElement>>;
|
|
7025
7025
|
interface RevertChangesConfirmDialogProps {
|
|
7026
7026
|
open: boolean;
|
|
7027
7027
|
onConfirm: () => void;
|
|
@@ -7038,13 +7038,13 @@ declare function RevertChangesConfirmDialog({
|
|
|
7038
7038
|
onCancel,
|
|
7039
7039
|
changeCount,
|
|
7040
7040
|
referenceElement
|
|
7041
|
-
}: RevertChangesConfirmDialogProps):
|
|
7041
|
+
}: RevertChangesConfirmDialogProps): react580.JSX.Element;
|
|
7042
7042
|
/** @internal */
|
|
7043
7043
|
declare function ValueError({
|
|
7044
7044
|
error
|
|
7045
7045
|
}: {
|
|
7046
7046
|
error: FieldValueError;
|
|
7047
|
-
}):
|
|
7047
|
+
}): react580.JSX.Element;
|
|
7048
7048
|
/** @internal */
|
|
7049
7049
|
type DocumentChangeContextInstance = {
|
|
7050
7050
|
documentId: string;
|
|
@@ -7160,7 +7160,7 @@ declare function PerspectiveProvider({
|
|
|
7160
7160
|
children: React.ReactNode;
|
|
7161
7161
|
selectedPerspectiveName: 'published' | ReleaseId | undefined;
|
|
7162
7162
|
excludedPerspectives?: string[];
|
|
7163
|
-
}):
|
|
7163
|
+
}): react580.JSX.Element;
|
|
7164
7164
|
interface ExcludedPerspectiveValue {
|
|
7165
7165
|
excludedPerspectives: string[];
|
|
7166
7166
|
toggleExcludedPerspective: (perspectiveId: string) => void;
|
|
@@ -7235,7 +7235,7 @@ interface Props$2 {
|
|
|
7235
7235
|
* @deprecated we will be dropping support for scheduled publishing on a future major version
|
|
7236
7236
|
* @internal
|
|
7237
7237
|
*/
|
|
7238
|
-
declare function EditScheduleForm(props: PropsWithChildren<Props$2>):
|
|
7238
|
+
declare function EditScheduleForm(props: PropsWithChildren<Props$2>): react580.JSX.Element;
|
|
7239
7239
|
/**
|
|
7240
7240
|
* @internal
|
|
7241
7241
|
*/
|
|
@@ -7386,18 +7386,18 @@ interface DocumentActionDescription extends GroupableActionDescription<DocumentA
|
|
|
7386
7386
|
}
|
|
7387
7387
|
declare function useScheduleAction(props: DocumentActionProps): {
|
|
7388
7388
|
disabled: true;
|
|
7389
|
-
icon:
|
|
7389
|
+
icon: react580.ForwardRefExoticComponent<Omit<react580.SVGProps<SVGSVGElement>, "ref"> & react580.RefAttributes<SVGSVGElement>>;
|
|
7390
7390
|
label: string;
|
|
7391
|
-
title:
|
|
7392
|
-
onHandle?: undefined;
|
|
7391
|
+
title: react580.JSX.Element;
|
|
7393
7392
|
dialog?: undefined;
|
|
7393
|
+
onHandle?: undefined;
|
|
7394
7394
|
} | {
|
|
7395
7395
|
dialog: false | DocumentActionModalDialogProps;
|
|
7396
7396
|
disabled: boolean;
|
|
7397
7397
|
label: string;
|
|
7398
|
-
icon:
|
|
7398
|
+
icon: react580.ForwardRefExoticComponent<Omit<react580.SVGProps<SVGSVGElement>, "ref"> & react580.RefAttributes<SVGSVGElement>>;
|
|
7399
7399
|
onHandle: () => void;
|
|
7400
|
-
title: "" |
|
|
7400
|
+
title: "" | react580.JSX.Element | null;
|
|
7401
7401
|
} | null;
|
|
7402
7402
|
declare namespace useScheduleAction {
|
|
7403
7403
|
var action: ("delete" | "discardChanges" | "discardVersion" | "duplicate" | "editInCanvas" | "linkToCanvas" | "publish" | "restore" | "schedule" | "unlinkFromCanvas" | "unpublish" | "unpublishVersion") | undefined;
|
|
@@ -7424,7 +7424,7 @@ interface GetHookCollectionStateProps<Args, State> {
|
|
|
7424
7424
|
resetRef?: React.Ref<() => void>;
|
|
7425
7425
|
}
|
|
7426
7426
|
/** @internal */
|
|
7427
|
-
declare function GetHookCollectionState<Args, State>(props: GetHookCollectionStateProps<Args, State>):
|
|
7427
|
+
declare function GetHookCollectionState<Args, State>(props: GetHookCollectionStateProps<Args, State>): react580.JSX.Element;
|
|
7428
7428
|
/**
|
|
7429
7429
|
* @hidden
|
|
7430
7430
|
* @beta */
|
|
@@ -7477,7 +7477,7 @@ interface SingleDocReleaseProviderProps {
|
|
|
7477
7477
|
declare function SingleDocReleaseProvider({
|
|
7478
7478
|
children,
|
|
7479
7479
|
onSetScheduledDraftPerspective
|
|
7480
|
-
}: SingleDocReleaseProviderProps):
|
|
7480
|
+
}: SingleDocReleaseProviderProps): react580.JSX.Element;
|
|
7481
7481
|
/**
|
|
7482
7482
|
* Hook to get the single doc release context
|
|
7483
7483
|
* @internal
|
|
@@ -8286,7 +8286,7 @@ declare function DocumentStatus({
|
|
|
8286
8286
|
published,
|
|
8287
8287
|
versions,
|
|
8288
8288
|
singleLine
|
|
8289
|
-
}: DocumentStatusProps$1):
|
|
8289
|
+
}: DocumentStatusProps$1): react580.JSX.Element;
|
|
8290
8290
|
/**
|
|
8291
8291
|
* @internal
|
|
8292
8292
|
*/
|
|
@@ -8356,7 +8356,7 @@ declare function DocumentStatusIndicator({
|
|
|
8356
8356
|
draft,
|
|
8357
8357
|
published,
|
|
8358
8358
|
versions
|
|
8359
|
-
}: DocumentStatusProps):
|
|
8359
|
+
}: DocumentStatusProps): react580.JSX.Element;
|
|
8360
8360
|
/**
|
|
8361
8361
|
* @internal
|
|
8362
8362
|
*/
|
|
@@ -8412,7 +8412,7 @@ declare function Hotkeys({
|
|
|
8412
8412
|
makePlatformAware,
|
|
8413
8413
|
keys: hotKeys,
|
|
8414
8414
|
...props
|
|
8415
|
-
}: HotkeysProps$1):
|
|
8415
|
+
}: HotkeysProps$1): react580.JSX.Element;
|
|
8416
8416
|
/** @internal */
|
|
8417
8417
|
interface InsufficientPermissionsMessageProps {
|
|
8418
8418
|
currentUser?: CurrentUser | null;
|
|
@@ -8422,13 +8422,13 @@ interface InsufficientPermissionsMessageProps {
|
|
|
8422
8422
|
declare function InsufficientPermissionsMessage({
|
|
8423
8423
|
currentUser,
|
|
8424
8424
|
context
|
|
8425
|
-
}: InsufficientPermissionsMessageProps):
|
|
8425
|
+
}: InsufficientPermissionsMessageProps): react580.JSX.Element;
|
|
8426
8426
|
/**
|
|
8427
8427
|
*
|
|
8428
8428
|
* @hidden
|
|
8429
8429
|
* @beta
|
|
8430
8430
|
*/
|
|
8431
|
-
declare function IntentButton(props: IntentLinkProps & ButtonProps$1 & Omit<HTMLProps<HTMLButtonElement>, 'ref' | 'size' | 'as'>):
|
|
8431
|
+
declare function IntentButton(props: IntentLinkProps & ButtonProps$1 & Omit<HTMLProps<HTMLButtonElement>, 'ref' | 'size' | 'as'>): react580.JSX.Element;
|
|
8432
8432
|
interface LoadingTestProps {
|
|
8433
8433
|
/** Absolutely positions this component when `true`. */
|
|
8434
8434
|
fill?: boolean;
|
|
@@ -8452,7 +8452,7 @@ declare function LoadingBlock({
|
|
|
8452
8452
|
fill,
|
|
8453
8453
|
showText,
|
|
8454
8454
|
title
|
|
8455
|
-
}: LoadingTestProps):
|
|
8455
|
+
}: LoadingTestProps): react580.JSX.Element;
|
|
8456
8456
|
interface PopoverDialogProps {
|
|
8457
8457
|
children: ReactNode;
|
|
8458
8458
|
header?: ReactNode;
|
|
@@ -8462,7 +8462,7 @@ interface PopoverDialogProps {
|
|
|
8462
8462
|
containerRef?: Dispatch<SetStateAction<HTMLDivElement | null>>;
|
|
8463
8463
|
}
|
|
8464
8464
|
/** @internal */
|
|
8465
|
-
declare function PopoverDialog(props: PopoverDialogProps):
|
|
8465
|
+
declare function PopoverDialog(props: PopoverDialogProps): react580.JSX.Element;
|
|
8466
8466
|
/** @internal */
|
|
8467
8467
|
interface PreviewCardContextValue {
|
|
8468
8468
|
selected?: boolean;
|
|
@@ -8470,7 +8470,7 @@ interface PreviewCardContextValue {
|
|
|
8470
8470
|
/** @internal */
|
|
8471
8471
|
declare function usePreviewCard(): PreviewCardContextValue;
|
|
8472
8472
|
/** @internal */
|
|
8473
|
-
declare const PreviewCard:
|
|
8473
|
+
declare const PreviewCard: react580.ForwardRefExoticComponent<Omit<CardProps & Omit<HTMLProps<HTMLDivElement>, "height">, "ref"> & react580.RefAttributes<HTMLDivElement>>;
|
|
8474
8474
|
/**
|
|
8475
8475
|
* This is a workaround for a circular import issue.
|
|
8476
8476
|
* Calling `styled(PreviewCard)` at program load time triggered a build error with the commonjs bundle because it tried
|
|
@@ -8478,7 +8478,7 @@ declare const PreviewCard: react576.ForwardRefExoticComponent<Omit<CardProps & O
|
|
|
8478
8478
|
* The workaround is to colocate the styled component with the component itself.
|
|
8479
8479
|
* @internal
|
|
8480
8480
|
*/
|
|
8481
|
-
declare const ReferenceInputPreviewCard: styled_components_dist_types6.IStyledComponentBase<"web", styled_components4.FastOmit<Omit<CardProps & Omit<HTMLProps<HTMLDivElement>, "height">, "ref"> &
|
|
8481
|
+
declare const ReferenceInputPreviewCard: styled_components_dist_types6.IStyledComponentBase<"web", styled_components4.FastOmit<Omit<CardProps & Omit<HTMLProps<HTMLDivElement>, "height">, "ref"> & react580.RefAttributes<HTMLDivElement>, never>> & string & Omit<react580.ForwardRefExoticComponent<Omit<CardProps & Omit<HTMLProps<HTMLDivElement>, "height">, "ref"> & react580.RefAttributes<HTMLDivElement>>, keyof react580.Component<any, {}, any>>;
|
|
8482
8482
|
/**
|
|
8483
8483
|
* Portable text preview layout key
|
|
8484
8484
|
*
|
|
@@ -8565,7 +8565,7 @@ type CompactPreviewProps = Omit<PreviewProps<'compact'>, 'renderDefault'>;
|
|
|
8565
8565
|
/**
|
|
8566
8566
|
* @hidden
|
|
8567
8567
|
* @beta */
|
|
8568
|
-
declare function CompactPreview(props: CompactPreviewProps):
|
|
8568
|
+
declare function CompactPreview(props: CompactPreviewProps): react580.JSX.Element;
|
|
8569
8569
|
/**
|
|
8570
8570
|
* @hidden
|
|
8571
8571
|
* @beta */
|
|
@@ -8586,7 +8586,7 @@ interface DefaultPreviewProps extends Omit<PreviewProps<'default'>, 'renderDefau
|
|
|
8586
8586
|
/**
|
|
8587
8587
|
* @hidden
|
|
8588
8588
|
* @beta */
|
|
8589
|
-
declare function DefaultPreview(props: DefaultPreviewProps):
|
|
8589
|
+
declare function DefaultPreview(props: DefaultPreviewProps): react580.JSX.Element;
|
|
8590
8590
|
/**
|
|
8591
8591
|
* @hidden
|
|
8592
8592
|
* @beta */
|
|
@@ -8594,7 +8594,7 @@ type DetailPreviewProps = PreviewProps<'detail'>;
|
|
|
8594
8594
|
/**
|
|
8595
8595
|
* @hidden
|
|
8596
8596
|
* @beta */
|
|
8597
|
-
declare function DetailPreview(props: DetailPreviewProps):
|
|
8597
|
+
declare function DetailPreview(props: DetailPreviewProps): react580.JSX.Element;
|
|
8598
8598
|
/**
|
|
8599
8599
|
* @hidden
|
|
8600
8600
|
* @beta */
|
|
@@ -8602,7 +8602,7 @@ type MediaPreviewProps = Omit<PreviewProps<'media'>, 'renderDefault'>;
|
|
|
8602
8602
|
/**
|
|
8603
8603
|
* @hidden
|
|
8604
8604
|
* @beta */
|
|
8605
|
-
declare function MediaPreview(props: MediaPreviewProps):
|
|
8605
|
+
declare function MediaPreview(props: MediaPreviewProps): react580.JSX.Element;
|
|
8606
8606
|
/**
|
|
8607
8607
|
* @hidden
|
|
8608
8608
|
* @beta */
|
|
@@ -8610,11 +8610,11 @@ type BlockImagePreviewProps = Omit<PreviewProps<'blockImage'>, 'renderDefault'>;
|
|
|
8610
8610
|
/**
|
|
8611
8611
|
* @hidden
|
|
8612
8612
|
* @beta */
|
|
8613
|
-
declare function BlockImagePreview(props: BlockImagePreviewProps):
|
|
8613
|
+
declare function BlockImagePreview(props: BlockImagePreviewProps): react580.JSX.Element;
|
|
8614
8614
|
/**
|
|
8615
8615
|
* @hidden
|
|
8616
8616
|
* @beta */
|
|
8617
|
-
declare function BlockPreview(props: Omit<PreviewProps<'block'>, 'renderDefault'>):
|
|
8617
|
+
declare function BlockPreview(props: Omit<PreviewProps<'block'>, 'renderDefault'>): react580.JSX.Element;
|
|
8618
8618
|
/**
|
|
8619
8619
|
* @hidden
|
|
8620
8620
|
* @beta */
|
|
@@ -8622,7 +8622,7 @@ type InlinePreviewProps = Omit<PreviewProps<'inline'>, 'renderDefault'>;
|
|
|
8622
8622
|
/**
|
|
8623
8623
|
* @hidden
|
|
8624
8624
|
* @beta */
|
|
8625
|
-
declare function InlinePreview(props: InlinePreviewProps):
|
|
8625
|
+
declare function InlinePreview(props: InlinePreviewProps): react580.JSX.Element;
|
|
8626
8626
|
interface MediaProps {
|
|
8627
8627
|
border?: boolean;
|
|
8628
8628
|
dimensions: PreviewMediaDimensions;
|
|
@@ -8653,19 +8653,19 @@ interface TemplatePreviewProps {
|
|
|
8653
8653
|
/**
|
|
8654
8654
|
* @hidden
|
|
8655
8655
|
* @beta */
|
|
8656
|
-
declare function TemplatePreview(props: TemplatePreviewProps):
|
|
8656
|
+
declare function TemplatePreview(props: TemplatePreviewProps): react580.JSX.Element;
|
|
8657
8657
|
/**
|
|
8658
8658
|
* @hidden
|
|
8659
8659
|
* @beta */
|
|
8660
8660
|
declare function CircularProgress(props: {
|
|
8661
8661
|
/** Percentage */value: number;
|
|
8662
|
-
}):
|
|
8662
|
+
}): react580.JSX.Element;
|
|
8663
8663
|
/**
|
|
8664
8664
|
* @hidden
|
|
8665
8665
|
* @beta */
|
|
8666
8666
|
declare function LinearProgress(props: {
|
|
8667
8667
|
/** Percentage */value: number;
|
|
8668
|
-
}):
|
|
8668
|
+
}): react580.JSX.Element;
|
|
8669
8669
|
/**
|
|
8670
8670
|
* @internal
|
|
8671
8671
|
*/
|
|
@@ -8678,7 +8678,7 @@ interface RelativeTimeProps extends RelativeTimeOptions {
|
|
|
8678
8678
|
declare function RelativeTime({
|
|
8679
8679
|
time,
|
|
8680
8680
|
...options
|
|
8681
|
-
}: RelativeTimeProps):
|
|
8681
|
+
}: RelativeTimeProps): react580.JSX.Element;
|
|
8682
8682
|
interface ResizableProps {
|
|
8683
8683
|
minWidth: number;
|
|
8684
8684
|
maxWidth: number;
|
|
@@ -8689,7 +8689,7 @@ interface ResizableProps {
|
|
|
8689
8689
|
* @internal
|
|
8690
8690
|
* Provides a resizable container with a resizer handle.
|
|
8691
8691
|
*/
|
|
8692
|
-
declare function Resizable(props: ResizableProps & BoxProps & Omit<HTMLProps<HTMLDivElement>, 'as'>):
|
|
8692
|
+
declare function Resizable(props: ResizableProps & BoxProps & Omit<HTMLProps<HTMLDivElement>, 'as'>): react580.JSX.Element;
|
|
8693
8693
|
/**
|
|
8694
8694
|
* @hidden
|
|
8695
8695
|
* @beta */
|
|
@@ -8745,18 +8745,18 @@ type StatusButtonProps = ButtonProps$1 & {
|
|
|
8745
8745
|
'iconRight'?: undefined;
|
|
8746
8746
|
};
|
|
8747
8747
|
/** @hidden @beta */
|
|
8748
|
-
declare const StatusButton:
|
|
8748
|
+
declare const StatusButton: react580.ForwardRefExoticComponent<(StatusButtonProps & Omit<HTMLProps<HTMLButtonElement>, "disabled" | "ref" | "size" | "title">) & react580.RefAttributes<HTMLButtonElement>>;
|
|
8749
8749
|
/** @internal */
|
|
8750
8750
|
interface TextWithToneProps extends ComponentProps<typeof Text> {
|
|
8751
8751
|
tone: ButtonTone;
|
|
8752
8752
|
dimmed?: boolean;
|
|
8753
8753
|
}
|
|
8754
8754
|
/** @internal */
|
|
8755
|
-
declare const TextWithTone:
|
|
8755
|
+
declare const TextWithTone: react580.ForwardRefExoticComponent<Omit<TextWithToneProps, "ref"> & react580.RefAttributes<HTMLDivElement>>;
|
|
8756
8756
|
/** @internal */
|
|
8757
|
-
declare const TooltipOfDisabled:
|
|
8757
|
+
declare const TooltipOfDisabled: react580.ForwardRefExoticComponent<Omit<_sanity_ui22.TooltipProps, "arrow" | "padding" | "shadow"> & {
|
|
8758
8758
|
hotkeys?: string[] | undefined;
|
|
8759
|
-
} &
|
|
8759
|
+
} & react580.RefAttributes<HTMLDivElement>>;
|
|
8760
8760
|
/** @internal */
|
|
8761
8761
|
interface ToastParams$1 {
|
|
8762
8762
|
closable?: boolean;
|
|
@@ -8770,7 +8770,7 @@ interface ToastParams$1 {
|
|
|
8770
8770
|
* @internal
|
|
8771
8771
|
* @deprecated -- Refactor the component so it can call `useToast` instead
|
|
8772
8772
|
*/
|
|
8773
|
-
declare const ImperativeToast:
|
|
8773
|
+
declare const ImperativeToast: react580.ForwardRefExoticComponent<react580.RefAttributes<unknown>>;
|
|
8774
8774
|
/**
|
|
8775
8775
|
* TODO: Rename to `ZOffsetsContextValue`
|
|
8776
8776
|
*
|
|
@@ -8824,7 +8824,7 @@ declare function LegacyLayerProvider({
|
|
|
8824
8824
|
}: {
|
|
8825
8825
|
children: ReactNode;
|
|
8826
8826
|
zOffset: ZIndexContextValueKey;
|
|
8827
|
-
}):
|
|
8827
|
+
}): react580.JSX.Element;
|
|
8828
8828
|
interface AvatarSkeletonProps {
|
|
8829
8829
|
$size?: AvatarSize;
|
|
8830
8830
|
}
|
|
@@ -8832,7 +8832,7 @@ interface AvatarSkeletonProps {
|
|
|
8832
8832
|
* A loading skeleton element representing a user avatar
|
|
8833
8833
|
* @beta
|
|
8834
8834
|
*/
|
|
8835
|
-
declare const AvatarSkeleton: styled_components_dist_types6.IStyledComponentBase<"web", styled_components_dist_types6.Substitute<Omit<
|
|
8835
|
+
declare const AvatarSkeleton: styled_components_dist_types6.IStyledComponentBase<"web", styled_components_dist_types6.Substitute<Omit<_sanity_ui22.SkeletonProps & react580.HTMLProps<HTMLDivElement>, "ref"> & react580.RefAttributes<HTMLDivElement>, AvatarSkeletonProps>> & string & Omit<react580.ForwardRefExoticComponent<Omit<_sanity_ui22.SkeletonProps & react580.HTMLProps<HTMLDivElement>, "ref"> & react580.RefAttributes<HTMLDivElement>>, keyof react580.Component<any, {}, any>>;
|
|
8836
8836
|
/**
|
|
8837
8837
|
* @hidden
|
|
8838
8838
|
* @beta */
|
|
@@ -8849,7 +8849,7 @@ interface UserAvatarProps {
|
|
|
8849
8849
|
/**
|
|
8850
8850
|
* @hidden
|
|
8851
8851
|
* @beta */
|
|
8852
|
-
declare function UserAvatar(props: UserAvatarProps):
|
|
8852
|
+
declare function UserAvatar(props: UserAvatarProps): react580.JSX.Element;
|
|
8853
8853
|
/**
|
|
8854
8854
|
* @internal
|
|
8855
8855
|
* @deprecated - Will be removed in 4.0.0, use the `useReferringDocuments(<documentId>)` hook instead
|
|
@@ -8867,7 +8867,7 @@ declare function WithReferringDocuments({
|
|
|
8867
8867
|
*/
|
|
8868
8868
|
documentStore?: DocumentStore;
|
|
8869
8869
|
id: string;
|
|
8870
|
-
}):
|
|
8870
|
+
}): react580.JSX.Element;
|
|
8871
8871
|
/**
|
|
8872
8872
|
* TODO: Rename to `useZOffsets`
|
|
8873
8873
|
*
|
|
@@ -9535,7 +9535,7 @@ interface FormCallbacksValue {
|
|
|
9535
9535
|
onFieldGroupSelect: (path: Path, fieldGroupName: string) => void;
|
|
9536
9536
|
}
|
|
9537
9537
|
/** @internal */
|
|
9538
|
-
declare const FormCallbacksProvider:
|
|
9538
|
+
declare const FormCallbacksProvider: react580.NamedExoticComponent<FormCallbacksValue & {
|
|
9539
9539
|
children: ReactNode;
|
|
9540
9540
|
}>;
|
|
9541
9541
|
/** @internal */
|
|
@@ -9599,7 +9599,7 @@ declare function useReferenceInputOptions(): ReferenceInputOptions;
|
|
|
9599
9599
|
*/
|
|
9600
9600
|
declare function ReferenceInputOptionsProvider(props: ReferenceInputOptions & {
|
|
9601
9601
|
children: ReactNode;
|
|
9602
|
-
}):
|
|
9602
|
+
}): react580.JSX.Element;
|
|
9603
9603
|
/** @internal */
|
|
9604
9604
|
declare const defaultRenderAnnotation: RenderAnnotationCallback;
|
|
9605
9605
|
/** @internal */
|
|
@@ -9648,7 +9648,7 @@ interface FormBuilderProps extends Omit<ObjectFormNode, 'level' | 'path' | 'pres
|
|
|
9648
9648
|
/**
|
|
9649
9649
|
* @alpha
|
|
9650
9650
|
*/
|
|
9651
|
-
declare function FormBuilder(props: FormBuilderProps):
|
|
9651
|
+
declare function FormBuilder(props: FormBuilderProps): react580.JSX.Element;
|
|
9652
9652
|
/**
|
|
9653
9653
|
* @alpha This API might change.
|
|
9654
9654
|
*/
|
|
@@ -9683,7 +9683,7 @@ interface FormProviderProps {
|
|
|
9683
9683
|
*
|
|
9684
9684
|
* @alpha This API might change.
|
|
9685
9685
|
*/
|
|
9686
|
-
declare function FormProvider(props: FormProviderProps):
|
|
9686
|
+
declare function FormProvider(props: FormProviderProps): react580.JSX.Element;
|
|
9687
9687
|
/**
|
|
9688
9688
|
*
|
|
9689
9689
|
* @hidden
|
|
@@ -9695,7 +9695,7 @@ type StudioCrossDatasetReferenceInputProps = ObjectInputProps<CrossDatasetRefere
|
|
|
9695
9695
|
* @hidden
|
|
9696
9696
|
* @beta
|
|
9697
9697
|
*/
|
|
9698
|
-
declare function StudioCrossDatasetReferenceInput(props: StudioCrossDatasetReferenceInputProps):
|
|
9698
|
+
declare function StudioCrossDatasetReferenceInput(props: StudioCrossDatasetReferenceInputProps): react580.JSX.Element;
|
|
9699
9699
|
/**
|
|
9700
9700
|
*
|
|
9701
9701
|
* @hidden
|
|
@@ -9707,7 +9707,7 @@ type StudioReferenceInputProps = ObjectInputProps<Reference, ReferenceSchemaType
|
|
|
9707
9707
|
* @hidden
|
|
9708
9708
|
* @beta
|
|
9709
9709
|
*/
|
|
9710
|
-
declare function StudioReferenceInput(props: StudioReferenceInputProps):
|
|
9710
|
+
declare function StudioReferenceInput(props: StudioReferenceInputProps): react580.JSX.Element;
|
|
9711
9711
|
/**
|
|
9712
9712
|
*
|
|
9713
9713
|
* @hidden
|
|
@@ -9803,7 +9803,7 @@ type FileInputProps = Omit<BaseFileInputProps, 'assetSources' | 'directUploads'
|
|
|
9803
9803
|
/**
|
|
9804
9804
|
* @hidden
|
|
9805
9805
|
* @beta */
|
|
9806
|
-
declare function StudioFileInput(props: FileInputProps):
|
|
9806
|
+
declare function StudioFileInput(props: FileInputProps): react580.JSX.Element;
|
|
9807
9807
|
/**
|
|
9808
9808
|
* @hidden
|
|
9809
9809
|
* @beta
|
|
@@ -9831,7 +9831,7 @@ type ImageInputProps = Omit<BaseImageInputProps, 'assetSources' | 'directUploads
|
|
|
9831
9831
|
/**
|
|
9832
9832
|
* @hidden
|
|
9833
9833
|
* @beta */
|
|
9834
|
-
declare function StudioImageInput(props: ImageInputProps):
|
|
9834
|
+
declare function StudioImageInput(props: ImageInputProps): react580.JSX.Element;
|
|
9835
9835
|
/**
|
|
9836
9836
|
* @internal
|
|
9837
9837
|
*/
|
|
@@ -11771,7 +11771,7 @@ declare module '@sanity/types' {
|
|
|
11771
11771
|
*/
|
|
11772
11772
|
declare function Preview(props: RenderPreviewCallbackProps & {
|
|
11773
11773
|
perspectiveStack?: PerspectiveStack;
|
|
11774
|
-
}):
|
|
11774
|
+
}): react580.JSX.Element;
|
|
11775
11775
|
/**
|
|
11776
11776
|
* This component is responsible for converting renderPreview() calls into an element.
|
|
11777
11777
|
* It:
|
|
@@ -11794,7 +11794,7 @@ interface SanityDefaultPreviewProps extends Omit<PreviewProps, 'renderDefault'>
|
|
|
11794
11794
|
* Used in cases where no custom preview component is provided
|
|
11795
11795
|
* @internal
|
|
11796
11796
|
* */
|
|
11797
|
-
declare const SanityDefaultPreview:
|
|
11797
|
+
declare const SanityDefaultPreview: react580.NamedExoticComponent<SanityDefaultPreviewProps>;
|
|
11798
11798
|
/**
|
|
11799
11799
|
* @internal
|
|
11800
11800
|
* @beta
|
|
@@ -11888,9 +11888,9 @@ declare function getPreviewValueWithFallback({
|
|
|
11888
11888
|
original,
|
|
11889
11889
|
fallback
|
|
11890
11890
|
}: Sources): Partial<SanityDocument> | PreviewValue | {
|
|
11891
|
-
title:
|
|
11892
|
-
subtitle:
|
|
11893
|
-
media: () =>
|
|
11891
|
+
title: react580.JSX.Element;
|
|
11892
|
+
subtitle: react580.JSX.Element;
|
|
11893
|
+
media: () => react580.JSX.Element;
|
|
11894
11894
|
};
|
|
11895
11895
|
/** @internal */
|
|
11896
11896
|
declare function prepareForPreview(rawValue: unknown, type: PreviewableType, viewOptions?: PrepareViewOptions): PreviewValue & {
|
|
@@ -13034,7 +13034,7 @@ interface ResourceCacheProviderProps {
|
|
|
13034
13034
|
/** @internal */
|
|
13035
13035
|
declare function ResourceCacheProvider({
|
|
13036
13036
|
children
|
|
13037
|
-
}: ResourceCacheProviderProps):
|
|
13037
|
+
}: ResourceCacheProviderProps): react580.JSX.Element;
|
|
13038
13038
|
/** @internal */
|
|
13039
13039
|
declare function useResourceCache(): ResourceCache;
|
|
13040
13040
|
/** @internal */
|
|
@@ -13061,7 +13061,7 @@ interface DocumentPreviewPresenceProps {
|
|
|
13061
13061
|
presence: Omit<DocumentPresence, 'path'>[];
|
|
13062
13062
|
}
|
|
13063
13063
|
/** @internal */
|
|
13064
|
-
declare function DocumentPreviewPresence(props: DocumentPreviewPresenceProps):
|
|
13064
|
+
declare function DocumentPreviewPresence(props: DocumentPreviewPresenceProps): react580.JSX.Element;
|
|
13065
13065
|
/** @internal */
|
|
13066
13066
|
type Position = 'top' | 'bottom' | 'inside' | null;
|
|
13067
13067
|
/** @internal */
|
|
@@ -13121,14 +13121,14 @@ interface FieldPresenceInnerProps {
|
|
|
13121
13121
|
animateArrowFrom?: AvatarPosition;
|
|
13122
13122
|
}
|
|
13123
13123
|
/** @internal */
|
|
13124
|
-
declare const FieldPresenceInner:
|
|
13124
|
+
declare const FieldPresenceInner: react580.NamedExoticComponent<FieldPresenceInnerProps>;
|
|
13125
13125
|
/** @internal */
|
|
13126
13126
|
interface FieldPresenceProps {
|
|
13127
13127
|
presence: FormNodePresence[];
|
|
13128
13128
|
maxAvatars: number;
|
|
13129
13129
|
}
|
|
13130
13130
|
/** @internal */
|
|
13131
|
-
declare function FieldPresence(props: FieldPresenceProps):
|
|
13131
|
+
declare function FieldPresence(props: FieldPresenceProps): react580.JSX.Element;
|
|
13132
13132
|
/**
|
|
13133
13133
|
* @internal
|
|
13134
13134
|
* @hidden
|
|
@@ -13144,7 +13144,7 @@ interface PresenceOverlayProps {
|
|
|
13144
13144
|
declare function PresenceOverlay({
|
|
13145
13145
|
children,
|
|
13146
13146
|
margins
|
|
13147
|
-
}: PresenceOverlayProps):
|
|
13147
|
+
}: PresenceOverlayProps): react580.JSX.Element;
|
|
13148
13148
|
/** @internal */
|
|
13149
13149
|
interface PresenceScopeProps {
|
|
13150
13150
|
readOnly?: boolean;
|
|
@@ -13152,7 +13152,7 @@ interface PresenceScopeProps {
|
|
|
13152
13152
|
children: ReactNode;
|
|
13153
13153
|
}
|
|
13154
13154
|
/** @internal */
|
|
13155
|
-
declare function PresenceScope(props: PresenceScopeProps):
|
|
13155
|
+
declare function PresenceScope(props: PresenceScopeProps): react580.JSX.Element;
|
|
13156
13156
|
/** @internal */
|
|
13157
13157
|
interface FormFieldProps {
|
|
13158
13158
|
/**
|
|
@@ -13187,7 +13187,7 @@ interface FormFieldProps {
|
|
|
13187
13187
|
deprecated?: DeprecatedProperty;
|
|
13188
13188
|
}
|
|
13189
13189
|
/** @internal */
|
|
13190
|
-
declare const FormField:
|
|
13190
|
+
declare const FormField: react580.NamedExoticComponent<FormFieldProps & Omit<HTMLProps<HTMLDivElement>, "as" | "height" | "ref">>;
|
|
13191
13191
|
/** @internal */
|
|
13192
13192
|
interface FormFieldHeaderTextProps {
|
|
13193
13193
|
/**
|
|
@@ -13209,7 +13209,7 @@ interface FormFieldHeaderTextProps {
|
|
|
13209
13209
|
suffix?: ReactNode;
|
|
13210
13210
|
}
|
|
13211
13211
|
/** @internal */
|
|
13212
|
-
declare const FormFieldHeaderText:
|
|
13212
|
+
declare const FormFieldHeaderText: react580.NamedExoticComponent<FormFieldHeaderTextProps>;
|
|
13213
13213
|
/** @internal */
|
|
13214
13214
|
interface FormFieldSetProps {
|
|
13215
13215
|
/**
|
|
@@ -13248,7 +13248,7 @@ interface FormFieldSetProps {
|
|
|
13248
13248
|
deprecated?: DeprecatedProperty;
|
|
13249
13249
|
}
|
|
13250
13250
|
/** @internal */
|
|
13251
|
-
declare const FormFieldSet:
|
|
13251
|
+
declare const FormFieldSet: react580.ForwardRefExoticComponent<FormFieldSetProps & Omit<HTMLProps<HTMLDivElement>, "as" | "height" | "ref"> & react580.RefAttributes<HTMLDivElement>>;
|
|
13252
13252
|
/** @internal */
|
|
13253
13253
|
interface FieldStatusProps {
|
|
13254
13254
|
children?: ReactNode;
|
|
@@ -13260,7 +13260,7 @@ declare function FormFieldStatus({
|
|
|
13260
13260
|
children,
|
|
13261
13261
|
maxAvatars,
|
|
13262
13262
|
position
|
|
13263
|
-
}: FieldStatusProps):
|
|
13263
|
+
}: FieldStatusProps): react580.JSX.Element;
|
|
13264
13264
|
/** @internal */
|
|
13265
13265
|
interface FormFieldValidationStatusProps {
|
|
13266
13266
|
/**
|
|
@@ -13279,7 +13279,7 @@ interface FormFieldValidationStatusProps {
|
|
|
13279
13279
|
placement?: Placement;
|
|
13280
13280
|
}
|
|
13281
13281
|
/** @internal */
|
|
13282
|
-
declare function FormFieldValidationStatus(props: FormFieldValidationStatusProps):
|
|
13282
|
+
declare function FormFieldValidationStatus(props: FormFieldValidationStatusProps): react580.JSX.Element;
|
|
13283
13283
|
/** @internal */
|
|
13284
13284
|
interface FormFieldValidationWarning {
|
|
13285
13285
|
type: 'warning';
|
|
@@ -13306,9 +13306,9 @@ type FormInputRelativePathArg = {
|
|
|
13306
13306
|
relativePath: Path;
|
|
13307
13307
|
};
|
|
13308
13308
|
/** @internal */
|
|
13309
|
-
declare const FormInput:
|
|
13309
|
+
declare const FormInput: react580.NamedExoticComponent<(ArrayOfObjectsInputProps<{
|
|
13310
13310
|
_key: string;
|
|
13311
|
-
},
|
|
13311
|
+
}, _sanity_types45.ArraySchemaType<unknown>> | ObjectInputProps<Record<string, any>, _sanity_types45.ObjectSchemaType>) & ((FormInputAbsolutePathArg | FormInputRelativePathArg) & {
|
|
13312
13312
|
/**
|
|
13313
13313
|
* Whether to include the field around the input. Defaults to false
|
|
13314
13314
|
*/
|
|
@@ -13330,7 +13330,7 @@ interface FormValueContextValue {
|
|
|
13330
13330
|
declare function FormValueProvider(props: {
|
|
13331
13331
|
value: FormDocumentValue | undefined;
|
|
13332
13332
|
children: ReactNode;
|
|
13333
|
-
}):
|
|
13333
|
+
}): react580.JSX.Element;
|
|
13334
13334
|
/**
|
|
13335
13335
|
* React hook that returns the value of the field specified by a path.
|
|
13336
13336
|
* @public
|
|
@@ -13356,7 +13356,7 @@ declare function useFormValue(path: Path): unknown;
|
|
|
13356
13356
|
declare function GetFormValueProvider(props: {
|
|
13357
13357
|
value: FormDocumentValue | undefined;
|
|
13358
13358
|
children: ReactNode;
|
|
13359
|
-
}):
|
|
13359
|
+
}): react580.JSX.Element;
|
|
13360
13360
|
declare namespace GetFormValueProvider {
|
|
13361
13361
|
var displayName: string;
|
|
13362
13362
|
}
|
|
@@ -13381,14 +13381,14 @@ declare namespace GetFormValueProvider {
|
|
|
13381
13381
|
* }
|
|
13382
13382
|
* ```
|
|
13383
13383
|
*/
|
|
13384
|
-
declare function useGetFormValue():
|
|
13384
|
+
declare function useGetFormValue(): sanity__singletons2.GetFormValueContextValue;
|
|
13385
13385
|
/** @internal */
|
|
13386
13386
|
interface FieldActionMenuProps {
|
|
13387
13387
|
nodes: DocumentFieldActionNode[];
|
|
13388
13388
|
onMenuOpenChange: (open: boolean) => void;
|
|
13389
13389
|
}
|
|
13390
13390
|
/** @internal */
|
|
13391
|
-
declare const FieldActionMenu:
|
|
13391
|
+
declare const FieldActionMenu: react580.NamedExoticComponent<FieldActionMenuProps>;
|
|
13392
13392
|
type FieldActionsProviderProps = PropsWithChildren<{
|
|
13393
13393
|
actions: DocumentFieldActionNode[]; /** @internal @deprecated DO NOT USE */
|
|
13394
13394
|
__internal_comments?: FieldCommentsProps;
|
|
@@ -13397,7 +13397,7 @@ type FieldActionsProviderProps = PropsWithChildren<{
|
|
|
13397
13397
|
path: Path;
|
|
13398
13398
|
}>;
|
|
13399
13399
|
/** @internal */
|
|
13400
|
-
declare const FieldActionsProvider:
|
|
13400
|
+
declare const FieldActionsProvider: react580.NamedExoticComponent<FieldActionsProviderProps>;
|
|
13401
13401
|
/** @internal */
|
|
13402
13402
|
interface FieldActionsProps {
|
|
13403
13403
|
actions: DocumentFieldAction[];
|
|
@@ -13426,12 +13426,12 @@ interface FieldActionsProps {
|
|
|
13426
13426
|
*
|
|
13427
13427
|
* @internal
|
|
13428
13428
|
*/
|
|
13429
|
-
declare const FieldActionsResolver:
|
|
13429
|
+
declare const FieldActionsResolver: react580.NamedExoticComponent<FieldActionsProps>;
|
|
13430
13430
|
/** @internal */
|
|
13431
13431
|
declare function useFieldActions(): FieldActionsContextValue;
|
|
13432
13432
|
/** @internal */
|
|
13433
|
-
declare const HoveredFieldProvider:
|
|
13434
|
-
children?:
|
|
13433
|
+
declare const HoveredFieldProvider: react580.NamedExoticComponent<{
|
|
13434
|
+
children?: react580.ReactNode;
|
|
13435
13435
|
}>;
|
|
13436
13436
|
/** @internal */
|
|
13437
13437
|
declare function useHoveredField(): HoveredFieldContextValue;
|
|
@@ -13502,13 +13502,13 @@ didUpdate: (previous: T | undefined, current: T) => void, compare?: (previous: T
|
|
|
13502
13502
|
/**
|
|
13503
13503
|
* @hidden
|
|
13504
13504
|
* @beta */
|
|
13505
|
-
declare function ArrayOfObjectsFunctions<Item extends ObjectItem, TSchemaType extends ArraySchemaType>(props: ArrayInputFunctionsProps<Item, TSchemaType>):
|
|
13505
|
+
declare function ArrayOfObjectsFunctions<Item extends ObjectItem, TSchemaType extends ArraySchemaType>(props: ArrayInputFunctionsProps<Item, TSchemaType>): react580.JSX.Element | null;
|
|
13506
13506
|
/**
|
|
13507
13507
|
*
|
|
13508
13508
|
* @hidden
|
|
13509
13509
|
* @beta
|
|
13510
13510
|
*/
|
|
13511
|
-
declare function ArrayOfObjectsInput(props: ArrayOfObjectsInputProps):
|
|
13511
|
+
declare function ArrayOfObjectsInput(props: ArrayOfObjectsInputProps): react580.JSX.Element;
|
|
13512
13512
|
/**
|
|
13513
13513
|
* @internal
|
|
13514
13514
|
*/
|
|
@@ -13536,7 +13536,7 @@ interface VirtualizerScrollInstanceProviderProps extends VirtualizerScrollInstan
|
|
|
13536
13536
|
*
|
|
13537
13537
|
* @internal
|
|
13538
13538
|
*/
|
|
13539
|
-
declare function VirtualizerScrollInstanceProvider(props: VirtualizerScrollInstanceProviderProps):
|
|
13539
|
+
declare function VirtualizerScrollInstanceProvider(props: VirtualizerScrollInstanceProviderProps): react580.JSX.Element;
|
|
13540
13540
|
/**
|
|
13541
13541
|
* @hidden
|
|
13542
13542
|
* Array of predefined object options input
|
|
@@ -13546,13 +13546,13 @@ declare function VirtualizerScrollInstanceProvider(props: VirtualizerScrollInsta
|
|
|
13546
13546
|
* @hidden
|
|
13547
13547
|
* @beta
|
|
13548
13548
|
*/
|
|
13549
|
-
declare function ArrayOfObjectOptionsInput(props: ArrayOfObjectsInputProps):
|
|
13549
|
+
declare function ArrayOfObjectOptionsInput(props: ArrayOfObjectsInputProps): react580.JSX.Element;
|
|
13550
13550
|
/**
|
|
13551
13551
|
*
|
|
13552
13552
|
* @hidden
|
|
13553
13553
|
* @beta
|
|
13554
13554
|
*/
|
|
13555
|
-
declare function ArrayOfOptionsInput(props: ArrayOfObjectsInputProps | ArrayOfPrimitivesInputProps):
|
|
13555
|
+
declare function ArrayOfOptionsInput(props: ArrayOfObjectsInputProps | ArrayOfPrimitivesInputProps): react580.JSX.Element;
|
|
13556
13556
|
/**
|
|
13557
13557
|
* Array of predefined primitive options input
|
|
13558
13558
|
* Note: this input can only handle primitive values
|
|
@@ -13561,11 +13561,11 @@ declare function ArrayOfOptionsInput(props: ArrayOfObjectsInputProps | ArrayOfPr
|
|
|
13561
13561
|
* @hidden
|
|
13562
13562
|
* @beta
|
|
13563
13563
|
*/
|
|
13564
|
-
declare function ArrayOfPrimitiveOptionsInput(props: ArrayOfPrimitivesInputProps):
|
|
13564
|
+
declare function ArrayOfPrimitiveOptionsInput(props: ArrayOfPrimitivesInputProps): react580.JSX.Element;
|
|
13565
13565
|
/**
|
|
13566
13566
|
* @hidden
|
|
13567
13567
|
* @beta */
|
|
13568
|
-
declare function ArrayOfPrimitivesFunctions<MemberType extends string | boolean | number, SchemaType extends ArraySchemaType>(props: ArrayInputFunctionsProps<MemberType, SchemaType>):
|
|
13568
|
+
declare function ArrayOfPrimitivesFunctions<MemberType extends string | boolean | number, SchemaType extends ArraySchemaType>(props: ArrayInputFunctionsProps<MemberType, SchemaType>): react580.JSX.Element | null;
|
|
13569
13569
|
type PrimitiveValue = string | number | boolean;
|
|
13570
13570
|
interface State {
|
|
13571
13571
|
disableTransition: boolean;
|
|
@@ -13589,7 +13589,7 @@ declare class ArrayOfPrimitivesInput extends PureComponent<ArrayOfPrimitivesInpu
|
|
|
13589
13589
|
handleItemMoveEnd: () => void;
|
|
13590
13590
|
focus(): void;
|
|
13591
13591
|
getSnapshotBeforeUpdate(prevProps: ArrayOfPrimitivesInputProps): {
|
|
13592
|
-
prevFocusedIndex:
|
|
13592
|
+
prevFocusedIndex: _sanity_types45.PathSegment;
|
|
13593
13593
|
restoreSelection: {
|
|
13594
13594
|
text: string;
|
|
13595
13595
|
start: number | null;
|
|
@@ -13607,8 +13607,8 @@ declare class ArrayOfPrimitivesInput extends PureComponent<ArrayOfPrimitivesInpu
|
|
|
13607
13607
|
};
|
|
13608
13608
|
prevFocusedIndex: number;
|
|
13609
13609
|
}): void;
|
|
13610
|
-
renderArrayItem: (props: Omit<PrimitiveItemProps, "renderDefault">) =>
|
|
13611
|
-
render():
|
|
13610
|
+
renderArrayItem: (props: Omit<PrimitiveItemProps, "renderDefault">) => react580.JSX.Element;
|
|
13611
|
+
render(): react580.JSX.Element;
|
|
13612
13612
|
}
|
|
13613
13613
|
/**
|
|
13614
13614
|
* Universal array input that will introspect its schemaType and delegate to the right implementation
|
|
@@ -13618,13 +13618,13 @@ declare class ArrayOfPrimitivesInput extends PureComponent<ArrayOfPrimitivesInpu
|
|
|
13618
13618
|
* @hidden
|
|
13619
13619
|
* @beta
|
|
13620
13620
|
*/
|
|
13621
|
-
declare function UniversalArrayInput(props: ArrayOfObjectsInputProps | ArrayOfPrimitivesInputProps):
|
|
13621
|
+
declare function UniversalArrayInput(props: ArrayOfObjectsInputProps | ArrayOfPrimitivesInputProps): react580.JSX.Element;
|
|
13622
13622
|
/**
|
|
13623
13623
|
*
|
|
13624
13624
|
* @hidden
|
|
13625
13625
|
* @beta
|
|
13626
13626
|
*/
|
|
13627
|
-
declare function BooleanInput(props: BooleanInputProps):
|
|
13627
|
+
declare function BooleanInput(props: BooleanInputProps): react580.JSX.Element;
|
|
13628
13628
|
/**
|
|
13629
13629
|
* Used to preview a referenced type
|
|
13630
13630
|
* Takes the reference type as props
|
|
@@ -13643,7 +13643,7 @@ declare function CrossDatasetReferencePreview(props: {
|
|
|
13643
13643
|
projectId: string;
|
|
13644
13644
|
refType?: CrossDatasetType;
|
|
13645
13645
|
showTypeLabel: boolean;
|
|
13646
|
-
}):
|
|
13646
|
+
}): react580.JSX.Element;
|
|
13647
13647
|
/**
|
|
13648
13648
|
* @hidden
|
|
13649
13649
|
* @beta */
|
|
@@ -13651,7 +13651,7 @@ type DateInputProps = StringInputProps;
|
|
|
13651
13651
|
/**
|
|
13652
13652
|
* @hidden
|
|
13653
13653
|
* @beta */
|
|
13654
|
-
declare function DateInput(props: DateInputProps):
|
|
13654
|
+
declare function DateInput(props: DateInputProps): react580.JSX.Element;
|
|
13655
13655
|
/**
|
|
13656
13656
|
* @hidden
|
|
13657
13657
|
* @beta */
|
|
@@ -13659,7 +13659,7 @@ type DateTimeInputProps = StringInputProps;
|
|
|
13659
13659
|
/**
|
|
13660
13660
|
* @hidden
|
|
13661
13661
|
* @beta */
|
|
13662
|
-
declare function DateTimeInput(props: DateTimeInputProps):
|
|
13662
|
+
declare function DateTimeInput(props: DateTimeInputProps): react580.JSX.Element;
|
|
13663
13663
|
interface CalendarLabels {
|
|
13664
13664
|
ariaLabel: string;
|
|
13665
13665
|
goToTomorrow: string;
|
|
@@ -13693,7 +13693,7 @@ type EmailInputProps = StringInputProps;
|
|
|
13693
13693
|
* @hidden
|
|
13694
13694
|
* @beta
|
|
13695
13695
|
*/
|
|
13696
|
-
declare function EmailInput(props: EmailInputProps):
|
|
13696
|
+
declare function EmailInput(props: EmailInputProps): react580.JSX.Element;
|
|
13697
13697
|
/**
|
|
13698
13698
|
* @hidden
|
|
13699
13699
|
* @beta
|
|
@@ -13704,11 +13704,11 @@ type AssetAccessPolicy = 'checking' | 'private' | 'public' | 'unknown';
|
|
|
13704
13704
|
* @hidden
|
|
13705
13705
|
* @beta
|
|
13706
13706
|
*/
|
|
13707
|
-
declare function NumberInput(props: NumberInputProps):
|
|
13707
|
+
declare function NumberInput(props: NumberInputProps): react580.JSX.Element;
|
|
13708
13708
|
/**
|
|
13709
13709
|
* @hidden
|
|
13710
13710
|
* @beta */
|
|
13711
|
-
declare const ObjectInput:
|
|
13711
|
+
declare const ObjectInput: react580.NamedExoticComponent<ObjectInputProps<Record<string, any>, _sanity_types45.ObjectSchemaType>>;
|
|
13712
13712
|
/** @internal */
|
|
13713
13713
|
interface PortableTextMemberItem {
|
|
13714
13714
|
kind: 'annotation' | 'textBlock' | 'objectBlock' | 'inlineObject';
|
|
@@ -13769,24 +13769,24 @@ interface Props extends Omit<HTMLProps<HTMLButtonElement>, 'as' | 'size' | 'widt
|
|
|
13769
13769
|
/**
|
|
13770
13770
|
* @internal
|
|
13771
13771
|
*/
|
|
13772
|
-
declare function CreateButton(props: Props):
|
|
13772
|
+
declare function CreateButton(props: Props): react580.JSX.Element;
|
|
13773
13773
|
/**
|
|
13774
13774
|
* @internal
|
|
13775
13775
|
*/
|
|
13776
|
-
declare const ReferenceAutocomplete:
|
|
13776
|
+
declare const ReferenceAutocomplete: react580.ForwardRefExoticComponent<Omit<_sanity_ui22.AutocompleteProps<_sanity_ui22.BaseAutocompleteOption> & Omit<react580.HTMLProps<HTMLInputElement>, "aria-activedescendant" | "aria-autocomplete" | "aria-expanded" | "aria-owns" | "as" | "autoCapitalize" | "autoComplete" | "autoCorrect" | "id" | "inputMode" | "onChange" | "onSelect" | "popover" | "prefix" | "ref" | "role" | "spellCheck" | "type" | "value"> & {
|
|
13777
13777
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
13778
13778
|
} & {
|
|
13779
13779
|
path: Path;
|
|
13780
13780
|
referenceElement: HTMLDivElement | null;
|
|
13781
13781
|
searchString?: string | undefined;
|
|
13782
13782
|
portalRef?: RefObject<HTMLDivElement | null> | undefined;
|
|
13783
|
-
}, "ref"> &
|
|
13783
|
+
}, "ref"> & react580.RefAttributes<HTMLInputElement>>;
|
|
13784
13784
|
/**
|
|
13785
13785
|
*
|
|
13786
13786
|
* @hidden
|
|
13787
13787
|
* @beta
|
|
13788
13788
|
*/
|
|
13789
|
-
declare function SelectInput(props: StringInputProps):
|
|
13789
|
+
declare function SelectInput(props: StringInputProps): react580.JSX.Element;
|
|
13790
13790
|
/**
|
|
13791
13791
|
*
|
|
13792
13792
|
* @hidden
|
|
@@ -13798,12 +13798,12 @@ type SlugInputProps = ObjectInputProps<SlugValue, SlugSchemaType>;
|
|
|
13798
13798
|
* @hidden
|
|
13799
13799
|
* @beta
|
|
13800
13800
|
*/
|
|
13801
|
-
declare function SlugInput(props: SlugInputProps):
|
|
13801
|
+
declare function SlugInput(props: SlugInputProps): react580.JSX.Element;
|
|
13802
13802
|
/**
|
|
13803
13803
|
* @hidden
|
|
13804
13804
|
* @beta
|
|
13805
13805
|
*/
|
|
13806
|
-
declare function StringInput(props: StringInputProps):
|
|
13806
|
+
declare function StringInput(props: StringInputProps): react580.JSX.Element;
|
|
13807
13807
|
/**
|
|
13808
13808
|
*
|
|
13809
13809
|
* @hidden
|
|
@@ -13815,7 +13815,7 @@ type TagsArrayInputProps = ArrayOfPrimitivesInputProps<string>;
|
|
|
13815
13815
|
* @hidden
|
|
13816
13816
|
* @beta
|
|
13817
13817
|
*/
|
|
13818
|
-
declare function TagsArrayInput(props: TagsArrayInputProps):
|
|
13818
|
+
declare function TagsArrayInput(props: TagsArrayInputProps): react580.JSX.Element;
|
|
13819
13819
|
/**
|
|
13820
13820
|
*
|
|
13821
13821
|
* @hidden
|
|
@@ -13827,7 +13827,7 @@ type TelephoneInputProps = StringInputProps;
|
|
|
13827
13827
|
* @hidden
|
|
13828
13828
|
* @beta
|
|
13829
13829
|
*/
|
|
13830
|
-
declare function TelephoneInput(props: TelephoneInputProps):
|
|
13830
|
+
declare function TelephoneInput(props: TelephoneInputProps): react580.JSX.Element;
|
|
13831
13831
|
/**
|
|
13832
13832
|
*
|
|
13833
13833
|
* @hidden
|
|
@@ -13839,7 +13839,7 @@ type TextInputProps = StringInputProps<TextSchemaType>;
|
|
|
13839
13839
|
* @hidden
|
|
13840
13840
|
* @beta
|
|
13841
13841
|
*/
|
|
13842
|
-
declare function TextInput(props: TextInputProps):
|
|
13842
|
+
declare function TextInput(props: TextInputProps): react580.JSX.Element;
|
|
13843
13843
|
/**
|
|
13844
13844
|
*
|
|
13845
13845
|
* @hidden
|
|
@@ -13851,7 +13851,7 @@ type UrlInputProps = StringInputProps;
|
|
|
13851
13851
|
* @hidden
|
|
13852
13852
|
* @beta
|
|
13853
13853
|
*/
|
|
13854
|
-
declare function UrlInput(props: UrlInputProps):
|
|
13854
|
+
declare function UrlInput(props: UrlInputProps): react580.JSX.Element;
|
|
13855
13855
|
/** @internal */
|
|
13856
13856
|
interface ArrayOfObjectsMemberProps {
|
|
13857
13857
|
member: ArrayOfObjectsMember;
|
|
@@ -13867,7 +13867,7 @@ interface ArrayOfObjectsMemberProps {
|
|
|
13867
13867
|
* Convenience component for rendering an "array of objects"-item
|
|
13868
13868
|
* @internal
|
|
13869
13869
|
*/
|
|
13870
|
-
declare function ArrayOfObjectsInputMember(props: ArrayOfObjectsMemberProps):
|
|
13870
|
+
declare function ArrayOfObjectsInputMember(props: ArrayOfObjectsMemberProps): react580.JSX.Element | null;
|
|
13871
13871
|
/** @internal */
|
|
13872
13872
|
interface ArrayOfObjectsInputMembersProps {
|
|
13873
13873
|
members: ArrayOfObjectsMember[];
|
|
@@ -13883,7 +13883,7 @@ interface ArrayOfObjectsInputMembersProps {
|
|
|
13883
13883
|
* Convenience component for wrapping an array of objects
|
|
13884
13884
|
* @internal
|
|
13885
13885
|
*/
|
|
13886
|
-
declare function ArrayOfObjectsInputMembers(props: ArrayOfObjectsInputMembersProps):
|
|
13886
|
+
declare function ArrayOfObjectsInputMembers(props: ArrayOfObjectsInputMembersProps): react580.JSX.Element;
|
|
13887
13887
|
/**
|
|
13888
13888
|
*
|
|
13889
13889
|
* @hidden
|
|
@@ -13904,7 +13904,7 @@ interface MemberItemProps {
|
|
|
13904
13904
|
* @hidden
|
|
13905
13905
|
* @beta
|
|
13906
13906
|
*/
|
|
13907
|
-
declare function ArrayOfObjectsItem(props: MemberItemProps):
|
|
13907
|
+
declare function ArrayOfObjectsItem(props: MemberItemProps): react580.JSX.Element;
|
|
13908
13908
|
/**
|
|
13909
13909
|
*
|
|
13910
13910
|
* @hidden
|
|
@@ -13920,11 +13920,11 @@ interface PrimitiveMemberItemProps {
|
|
|
13920
13920
|
* @hidden
|
|
13921
13921
|
* @beta
|
|
13922
13922
|
*/
|
|
13923
|
-
declare function ArrayOfPrimitivesItem(props: PrimitiveMemberItemProps):
|
|
13923
|
+
declare function ArrayOfPrimitivesItem(props: PrimitiveMemberItemProps): react580.JSX.Element;
|
|
13924
13924
|
/** @internal */
|
|
13925
13925
|
declare function MemberItemError(props: {
|
|
13926
13926
|
member: ArrayItemError;
|
|
13927
|
-
}):
|
|
13927
|
+
}): react580.JSX.Element;
|
|
13928
13928
|
/** @internal */
|
|
13929
13929
|
interface MemberFieldProps {
|
|
13930
13930
|
member: FieldMember;
|
|
@@ -13937,13 +13937,13 @@ interface MemberFieldProps {
|
|
|
13937
13937
|
renderPreview: RenderPreviewCallback;
|
|
13938
13938
|
}
|
|
13939
13939
|
/** @internal */
|
|
13940
|
-
declare const MemberField:
|
|
13940
|
+
declare const MemberField: react580.NamedExoticComponent<MemberFieldProps>;
|
|
13941
13941
|
/** @internal */
|
|
13942
13942
|
declare function MemberFieldError(props: {
|
|
13943
13943
|
member: FieldError;
|
|
13944
|
-
}):
|
|
13944
|
+
}): react580.JSX.Element;
|
|
13945
13945
|
/** @internal */
|
|
13946
|
-
declare const MemberFieldSet:
|
|
13946
|
+
declare const MemberFieldSet: react580.NamedExoticComponent<{
|
|
13947
13947
|
member: FieldSetMember;
|
|
13948
13948
|
renderAnnotation?: RenderAnnotationCallback | undefined;
|
|
13949
13949
|
renderBlock?: RenderBlockCallback | undefined;
|
|
@@ -13965,7 +13965,7 @@ interface ObjectInputMemberProps {
|
|
|
13965
13965
|
renderPreview: RenderPreviewCallback;
|
|
13966
13966
|
}
|
|
13967
13967
|
/** @internal */
|
|
13968
|
-
declare const ObjectInputMember:
|
|
13968
|
+
declare const ObjectInputMember: react580.NamedExoticComponent<ObjectInputMemberProps>;
|
|
13969
13969
|
/** @internal */
|
|
13970
13970
|
interface ObjectMembersProps {
|
|
13971
13971
|
members: ObjectMember[];
|
|
@@ -13981,7 +13981,7 @@ interface ObjectMembersProps {
|
|
|
13981
13981
|
* Convenience component for wrapping an object input
|
|
13982
13982
|
* @internal
|
|
13983
13983
|
*/
|
|
13984
|
-
declare function ObjectInputMembers(props: ObjectMembersProps):
|
|
13984
|
+
declare function ObjectInputMembers(props: ObjectMembersProps): react580.JSX.Element;
|
|
13985
13985
|
/**
|
|
13986
13986
|
* @deprecated Use ObjectInputMembers instead
|
|
13987
13987
|
* @internal
|
|
@@ -14078,7 +14078,7 @@ type PatchTransformer = (patches: FormPatch[]) => FormPatch[];
|
|
|
14078
14078
|
/**
|
|
14079
14079
|
* @hidden
|
|
14080
14080
|
* @beta */
|
|
14081
|
-
declare const TransformPatches:
|
|
14081
|
+
declare const TransformPatches: react580.NamedExoticComponent<{
|
|
14082
14082
|
transform: PatchTransformer;
|
|
14083
14083
|
} & {
|
|
14084
14084
|
children: ReactNode;
|
|
@@ -15556,7 +15556,7 @@ declare class ConfigResolutionError extends Error {
|
|
|
15556
15556
|
* Creates an icon element based on the input title
|
|
15557
15557
|
* @internal
|
|
15558
15558
|
*/
|
|
15559
|
-
declare function createDefaultIcon(title: string, subtitle: string):
|
|
15559
|
+
declare function createDefaultIcon(title: string, subtitle: string): react580.JSX.Element;
|
|
15560
15560
|
/**
|
|
15561
15561
|
* @hidden
|
|
15562
15562
|
* @beta */
|