sanity 5.9.0-next.21 → 5.9.0-next.22
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 +190 -190
- package/lib/_chunks-dts/index.d.ts +9 -9
- package/lib/_chunks-dts/types2.d.ts +25 -25
- package/lib/_chunks-es/package.js +1 -1
- package/lib/_chunks-es/version.js +1 -1
- package/lib/_singletons.d.ts +102 -102
- package/package.json +12 -12
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react612 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
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_ui15 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";
|
|
@@ -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'>): react612.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: react612.NamedExoticComponent<CommandListProps<any> & react612.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: react612.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">) & react612.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: react612.ForwardRefExoticComponent<ContextMenuButtonProps & Pick<HTMLProps<HTMLButtonElement>, "disabled" | "hidden" | "onClick"> & react612.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: react612.ForwardRefExoticComponent<Omit<Omit<_sanity_ui15.ButtonProps & Omit<react612.HTMLProps<HTMLButtonElement>, "as" | "width">, "ref"> & react612.RefAttributes<HTMLButtonElement>, "ref"> & react612.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: react612.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
|
+
}) => react612.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
|
+
}>) => react612.JSX.Element;
|
|
683
683
|
/**
|
|
684
684
|
* @internal
|
|
685
685
|
*/
|
|
686
686
|
declare const getVersionInlineBadge: (release?: TargetPerspective | undefined) => FC<{
|
|
687
|
-
children?:
|
|
687
|
+
children?: react612.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
|
+
}) => react612.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'>): react612.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): react612.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
|
+
}): react612.JSX.Element;
|
|
1082
1082
|
/**
|
|
1083
1083
|
* @internal
|
|
1084
1084
|
*/
|
|
1085
|
-
declare const ChangeIndicatorsTracker:
|
|
1085
|
+
declare const ChangeIndicatorsTracker: react612.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): react612.JSX.Element;
|
|
1111
1111
|
/**
|
|
1112
1112
|
* @internal
|
|
1113
1113
|
*/
|
|
1114
|
-
declare const CommentDisabledIcon:
|
|
1114
|
+
declare const CommentDisabledIcon: react612.ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & react612.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"})`.
|
|
@@ -3509,7 +3509,7 @@ interface LocaleSource {
|
|
|
3509
3509
|
* @internal
|
|
3510
3510
|
* @hidden
|
|
3511
3511
|
*/
|
|
3512
|
-
declare function LocaleProvider(props: PropsWithChildren):
|
|
3512
|
+
declare function LocaleProvider(props: PropsWithChildren): react612.JSX.Element;
|
|
3513
3513
|
/**
|
|
3514
3514
|
* @internal
|
|
3515
3515
|
* @hidden
|
|
@@ -3525,7 +3525,7 @@ declare function LocaleProviderBase({
|
|
|
3525
3525
|
sourceId: string;
|
|
3526
3526
|
locales: Locale[];
|
|
3527
3527
|
i18next: i18n$1;
|
|
3528
|
-
}>):
|
|
3528
|
+
}>): react612.JSX.Element;
|
|
3529
3529
|
/**
|
|
3530
3530
|
* Defines a resource bundle for a given locale and namespace.
|
|
3531
3531
|
*
|
|
@@ -3729,7 +3729,7 @@ interface TranslationProps {
|
|
|
3729
3729
|
*
|
|
3730
3730
|
* @public
|
|
3731
3731
|
*/
|
|
3732
|
-
declare function Translate(props: TranslationProps):
|
|
3732
|
+
declare function Translate(props: TranslationProps): react612.JSX.Element;
|
|
3733
3733
|
declare module '@sanity/types' {
|
|
3734
3734
|
/**
|
|
3735
3735
|
* Extended validation context that includes internationalization
|
|
@@ -3859,7 +3859,7 @@ interface CommentsAuthoringPathProviderProps {
|
|
|
3859
3859
|
* the component re-renders, for example, when the form is temporarily set to `readOnly`
|
|
3860
3860
|
* while reconnecting.
|
|
3861
3861
|
*/
|
|
3862
|
-
declare function CommentsAuthoringPathProvider(props: CommentsAuthoringPathProviderProps):
|
|
3862
|
+
declare function CommentsAuthoringPathProvider(props: CommentsAuthoringPathProviderProps): react612.JSX.Element;
|
|
3863
3863
|
/**
|
|
3864
3864
|
* @beta
|
|
3865
3865
|
* @hidden
|
|
@@ -4157,7 +4157,7 @@ interface CommentsProviderProps {
|
|
|
4157
4157
|
/**
|
|
4158
4158
|
* @beta
|
|
4159
4159
|
*/
|
|
4160
|
-
declare const CommentsProvider:
|
|
4160
|
+
declare const CommentsProvider: react612.NamedExoticComponent<CommentsProviderProps>;
|
|
4161
4161
|
interface CommentsEnabledProviderProps {
|
|
4162
4162
|
children: ReactNode;
|
|
4163
4163
|
documentId: string;
|
|
@@ -4167,7 +4167,7 @@ interface CommentsEnabledProviderProps {
|
|
|
4167
4167
|
* @beta
|
|
4168
4168
|
* @hidden
|
|
4169
4169
|
*/
|
|
4170
|
-
declare const CommentsEnabledProvider:
|
|
4170
|
+
declare const CommentsEnabledProvider: react612.NamedExoticComponent<CommentsEnabledProviderProps>;
|
|
4171
4171
|
/**
|
|
4172
4172
|
* @beta
|
|
4173
4173
|
* @hidden
|
|
@@ -4180,14 +4180,14 @@ interface CommentsIntentProviderProps {
|
|
|
4180
4180
|
* @beta
|
|
4181
4181
|
* @hidden
|
|
4182
4182
|
*/
|
|
4183
|
-
declare const CommentsIntentProvider:
|
|
4183
|
+
declare const CommentsIntentProvider: react612.NamedExoticComponent<CommentsIntentProviderProps>;
|
|
4184
4184
|
interface CommentsSelectedPathProviderProps {
|
|
4185
4185
|
children: React.ReactNode;
|
|
4186
4186
|
}
|
|
4187
4187
|
/**
|
|
4188
4188
|
* @internal
|
|
4189
4189
|
*/
|
|
4190
|
-
declare const CommentsSelectedPathProvider:
|
|
4190
|
+
declare const CommentsSelectedPathProvider: react612.NamedExoticComponent<CommentsSelectedPathProviderProps>;
|
|
4191
4191
|
/**
|
|
4192
4192
|
* @internal
|
|
4193
4193
|
*/
|
|
@@ -4230,7 +4230,7 @@ declare function ActiveWorkspaceMatcher({
|
|
|
4230
4230
|
LoadingComponent,
|
|
4231
4231
|
NotFoundComponent,
|
|
4232
4232
|
unstable_history: historyProp
|
|
4233
|
-
}: ActiveWorkspaceMatcherProps):
|
|
4233
|
+
}: ActiveWorkspaceMatcherProps): react612.JSX.Element;
|
|
4234
4234
|
/** @internal */
|
|
4235
4235
|
interface WorkspaceLike {
|
|
4236
4236
|
name?: string;
|
|
@@ -4301,7 +4301,7 @@ declare function WorkspacesProvider({
|
|
|
4301
4301
|
children,
|
|
4302
4302
|
basePath,
|
|
4303
4303
|
LoadingComponent
|
|
4304
|
-
}: WorkspacesProviderProps):
|
|
4304
|
+
}: WorkspacesProviderProps): react612.JSX.Element;
|
|
4305
4305
|
/** @internal */
|
|
4306
4306
|
type NormalizedWorkspace = {
|
|
4307
4307
|
workspace: WorkspacesContextValue[number];
|
|
@@ -4347,7 +4347,7 @@ interface AddonDatasetSetupProviderProps {
|
|
|
4347
4347
|
* @beta
|
|
4348
4348
|
* @hidden
|
|
4349
4349
|
*/
|
|
4350
|
-
declare function AddonDatasetProvider(props: AddonDatasetSetupProviderProps): string | number | bigint | boolean |
|
|
4350
|
+
declare function AddonDatasetProvider(props: AddonDatasetSetupProviderProps): string | number | bigint | boolean | react612.JSX.Element | Iterable<react612.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react612.ReactNode> | react612.ReactElement<unknown, string | react612.JSXElementConstructor<any>> | react612.ReactPortal | null | undefined> | null | undefined;
|
|
4351
4351
|
/**
|
|
4352
4352
|
* @beta
|
|
4353
4353
|
* @hidden
|
|
@@ -4449,7 +4449,7 @@ declare function ColorSchemeProvider({
|
|
|
4449
4449
|
children,
|
|
4450
4450
|
onSchemeChange,
|
|
4451
4451
|
scheme: schemeProp
|
|
4452
|
-
}: ColorSchemeProviderProps):
|
|
4452
|
+
}: ColorSchemeProviderProps): react612.JSX.Element;
|
|
4453
4453
|
/**
|
|
4454
4454
|
* Uses useSyncExternalStore to ensure that localStorage is accessed in a SSR hydration compatible way
|
|
4455
4455
|
* @internal
|
|
@@ -4457,7 +4457,7 @@ declare function ColorSchemeProvider({
|
|
|
4457
4457
|
declare function ColorSchemeLocalStorageProvider({
|
|
4458
4458
|
children,
|
|
4459
4459
|
onSchemeChange
|
|
4460
|
-
}: Pick<ColorSchemeProviderProps, 'children' | 'onSchemeChange'>):
|
|
4460
|
+
}: Pick<ColorSchemeProviderProps, 'children' | 'onSchemeChange'>): react612.JSX.Element;
|
|
4461
4461
|
/**
|
|
4462
4462
|
* If the `scheme` prop is provided we don't need to setup any logic to handle localStorage
|
|
4463
4463
|
* @internal
|
|
@@ -4502,7 +4502,7 @@ declare function Filters({
|
|
|
4502
4502
|
showTypeFilter
|
|
4503
4503
|
}: {
|
|
4504
4504
|
showTypeFilter?: boolean;
|
|
4505
|
-
}):
|
|
4505
|
+
}): react612.JSX.Element;
|
|
4506
4506
|
interface SearchHeaderProps {
|
|
4507
4507
|
ariaInputLabel?: string;
|
|
4508
4508
|
onClose?: () => void;
|
|
@@ -4510,7 +4510,7 @@ interface SearchHeaderProps {
|
|
|
4510
4510
|
/**
|
|
4511
4511
|
* @internal
|
|
4512
4512
|
*/
|
|
4513
|
-
declare const SearchHeader:
|
|
4513
|
+
declare const SearchHeader: react612.ForwardRefExoticComponent<SearchHeaderProps & react612.RefAttributes<HTMLInputElement>>;
|
|
4514
4514
|
type ItemSelectHandler = (item: Pick<SanityDocumentLike, '_id' | '_type' | 'title'>) => void;
|
|
4515
4515
|
/**
|
|
4516
4516
|
* @internal
|
|
@@ -4538,7 +4538,7 @@ declare function SearchPopover({
|
|
|
4538
4538
|
onOpen,
|
|
4539
4539
|
previewPerspective,
|
|
4540
4540
|
open
|
|
4541
|
-
}: SearchPopoverProps):
|
|
4541
|
+
}: SearchPopoverProps): react612.JSX.Element;
|
|
4542
4542
|
interface SearchResultItemPreviewProps {
|
|
4543
4543
|
documentId: string;
|
|
4544
4544
|
documentType: string;
|
|
@@ -4559,7 +4559,7 @@ declare function SearchResultItemPreview({
|
|
|
4559
4559
|
schemaType,
|
|
4560
4560
|
showBadge,
|
|
4561
4561
|
perspective
|
|
4562
|
-
}: SearchResultItemPreviewProps):
|
|
4562
|
+
}: SearchResultItemPreviewProps): react612.JSX.Element;
|
|
4563
4563
|
/**
|
|
4564
4564
|
* @internal
|
|
4565
4565
|
*/
|
|
@@ -5093,7 +5093,7 @@ declare function SearchProvider({
|
|
|
5093
5093
|
fullscreen,
|
|
5094
5094
|
disabledDocumentIds,
|
|
5095
5095
|
canDisableAction
|
|
5096
|
-
}: SearchProviderProps):
|
|
5096
|
+
}: SearchProviderProps): react612.JSX.Element;
|
|
5097
5097
|
/**
|
|
5098
5098
|
* @internal
|
|
5099
5099
|
*/
|
|
@@ -5118,7 +5118,7 @@ interface SearchButtonProps {
|
|
|
5118
5118
|
/**
|
|
5119
5119
|
* @internal
|
|
5120
5120
|
*/
|
|
5121
|
-
declare const SearchButton:
|
|
5121
|
+
declare const SearchButton: react612.ForwardRefExoticComponent<SearchButtonProps & react612.RefAttributes<HTMLButtonElement>>;
|
|
5122
5122
|
interface SearchDialogProps {
|
|
5123
5123
|
onClose: () => void;
|
|
5124
5124
|
onOpen: () => void;
|
|
@@ -5131,11 +5131,11 @@ declare function SearchDialog({
|
|
|
5131
5131
|
onClose,
|
|
5132
5132
|
onOpen,
|
|
5133
5133
|
open
|
|
5134
|
-
}: SearchDialogProps):
|
|
5134
|
+
}: SearchDialogProps): react612.JSX.Element;
|
|
5135
5135
|
/**
|
|
5136
5136
|
* @hidden
|
|
5137
5137
|
* @beta */
|
|
5138
|
-
declare function StudioLogo(props: LogoProps):
|
|
5138
|
+
declare function StudioLogo(props: LogoProps): react612.JSX.Element;
|
|
5139
5139
|
/**
|
|
5140
5140
|
* @hidden
|
|
5141
5141
|
* @beta */
|
|
@@ -5227,11 +5227,11 @@ interface StudioComponentsPluginOptions {
|
|
|
5227
5227
|
/**
|
|
5228
5228
|
* @hidden
|
|
5229
5229
|
* @beta */
|
|
5230
|
-
declare function StudioNavbar(props: Omit<NavbarProps, 'renderDefault'>):
|
|
5230
|
+
declare function StudioNavbar(props: Omit<NavbarProps, 'renderDefault'>): react612.JSX.Element;
|
|
5231
5231
|
/**
|
|
5232
5232
|
* @hidden
|
|
5233
5233
|
* @beta */
|
|
5234
|
-
declare function StudioToolMenu(props: ToolMenuProps):
|
|
5234
|
+
declare function StudioToolMenu(props: ToolMenuProps): react612.JSX.Element | null;
|
|
5235
5235
|
/**
|
|
5236
5236
|
* @hidden
|
|
5237
5237
|
* @beta */
|
|
@@ -5242,7 +5242,7 @@ interface ToolLinkProps {
|
|
|
5242
5242
|
/**
|
|
5243
5243
|
* @hidden
|
|
5244
5244
|
* @beta */
|
|
5245
|
-
declare const ToolLink:
|
|
5245
|
+
declare const ToolLink: react612.ForwardRefExoticComponent<Omit<ToolLinkProps & Omit<HTMLProps<HTMLAnchorElement>, "href" | "name">, "ref"> & react612.RefAttributes<HTMLAnchorElement>>;
|
|
5246
5246
|
/**
|
|
5247
5247
|
* @hidden
|
|
5248
5248
|
* @beta */
|
|
@@ -5543,7 +5543,7 @@ type SourceProviderProps = {
|
|
|
5543
5543
|
declare function SourceProvider({
|
|
5544
5544
|
children,
|
|
5545
5545
|
...props
|
|
5546
|
-
}: SourceProviderProps):
|
|
5546
|
+
}: SourceProviderProps): react612.JSX.Element;
|
|
5547
5547
|
/**
|
|
5548
5548
|
* @internal
|
|
5549
5549
|
* @deprecated INTERNAL USE ONLY
|
|
@@ -5655,7 +5655,7 @@ declare function StudioAnnouncementsCard({
|
|
|
5655
5655
|
preHeader,
|
|
5656
5656
|
onCardClick,
|
|
5657
5657
|
onCardDismiss
|
|
5658
|
-
}: StudioAnnouncementCardProps):
|
|
5658
|
+
}: StudioAnnouncementCardProps): react612.JSX.Element;
|
|
5659
5659
|
declare const audienceRoles: readonly ["administrator", "editor", "viewer", "contributor", "developer", "custom"];
|
|
5660
5660
|
type AudienceRole = (typeof audienceRoles)[number];
|
|
5661
5661
|
interface StudioAnnouncementDocument {
|
|
@@ -5695,7 +5695,7 @@ declare function StudioAnnouncementsDialog({
|
|
|
5695
5695
|
announcements,
|
|
5696
5696
|
onClose,
|
|
5697
5697
|
mode
|
|
5698
|
-
}: StudioAnnouncementDialogProps):
|
|
5698
|
+
}: StudioAnnouncementDialogProps): react612.JSX.Element;
|
|
5699
5699
|
/**
|
|
5700
5700
|
* @internal
|
|
5701
5701
|
* @hidden
|
|
@@ -5738,12 +5738,12 @@ interface NavbarContextValue {
|
|
|
5738
5738
|
*</StudioProvider>
|
|
5739
5739
|
* ```
|
|
5740
5740
|
*/
|
|
5741
|
-
declare function StudioLayout():
|
|
5741
|
+
declare function StudioLayout(): react612.JSX.Element;
|
|
5742
5742
|
/**
|
|
5743
5743
|
* @internal
|
|
5744
5744
|
* The default Studio Layout component
|
|
5745
5745
|
* */
|
|
5746
|
-
declare function StudioLayoutComponent():
|
|
5746
|
+
declare function StudioLayoutComponent(): react612.JSX.Element;
|
|
5747
5747
|
/**
|
|
5748
5748
|
* @hidden
|
|
5749
5749
|
* @beta */
|
|
@@ -5761,7 +5761,7 @@ declare function StudioProvider({
|
|
|
5761
5761
|
scheme,
|
|
5762
5762
|
unstable_history: history,
|
|
5763
5763
|
unstable_noAuthBoundary: noAuthBoundary
|
|
5764
|
-
}: StudioProviderProps):
|
|
5764
|
+
}: StudioProviderProps): react612.JSX.Element;
|
|
5765
5765
|
interface UpsellDialogActionsInfo {
|
|
5766
5766
|
feature: 'comments' | 'scheduled_publishing' | 'ai_assist' | 'tasks';
|
|
5767
5767
|
type: 'modal' | 'inspector';
|
|
@@ -5806,7 +5806,7 @@ interface DescriptionSerializerProps {
|
|
|
5806
5806
|
* Not meant for public consumption.
|
|
5807
5807
|
* @internal
|
|
5808
5808
|
*/
|
|
5809
|
-
declare function UpsellDescriptionSerializer(props: DescriptionSerializerProps):
|
|
5809
|
+
declare function UpsellDescriptionSerializer(props: DescriptionSerializerProps): react612.JSX.Element;
|
|
5810
5810
|
/** @internal */
|
|
5811
5811
|
interface WorkspaceProviderProps {
|
|
5812
5812
|
workspace: Workspace;
|
|
@@ -5841,7 +5841,7 @@ declare function ErrorMessage({
|
|
|
5841
5841
|
message,
|
|
5842
5842
|
path,
|
|
5843
5843
|
stack
|
|
5844
|
-
}: ErrorMessageProps):
|
|
5844
|
+
}: ErrorMessageProps): react612.JSX.Element;
|
|
5845
5845
|
interface WorkspaceLoaderProps {
|
|
5846
5846
|
children: ReactNode;
|
|
5847
5847
|
ConfigErrorsComponent: ComponentType;
|
|
@@ -5857,7 +5857,7 @@ declare function useWorkspaceLoader(activeWorkspace: WorkspaceSummary): Workspac
|
|
|
5857
5857
|
declare function WorkspaceLoaderBoundary({
|
|
5858
5858
|
ConfigErrorsComponent,
|
|
5859
5859
|
...props
|
|
5860
|
-
}: WorkspaceLoaderProps):
|
|
5860
|
+
}: WorkspaceLoaderProps): react612.JSX.Element;
|
|
5861
5861
|
/**
|
|
5862
5862
|
* @beta
|
|
5863
5863
|
* @hidden
|
|
@@ -5934,7 +5934,7 @@ interface CommentsListProps {
|
|
|
5934
5934
|
* @beta
|
|
5935
5935
|
* @hidden
|
|
5936
5936
|
*/
|
|
5937
|
-
declare const CommentsList:
|
|
5937
|
+
declare const CommentsList: react612.NamedExoticComponent<CommentsListProps & react612.RefAttributes<HTMLDivElement>>;
|
|
5938
5938
|
/**
|
|
5939
5939
|
* @internal
|
|
5940
5940
|
*/
|
|
@@ -5977,7 +5977,7 @@ interface CommentInputHandle {
|
|
|
5977
5977
|
* @internal
|
|
5978
5978
|
* @hidden
|
|
5979
5979
|
*/
|
|
5980
|
-
declare const CommentInput:
|
|
5980
|
+
declare const CommentInput: react612.ForwardRefExoticComponent<CommentInputProps & react612.RefAttributes<CommentInputHandle>>;
|
|
5981
5981
|
interface CommentInputContextValue {
|
|
5982
5982
|
canSubmit?: boolean;
|
|
5983
5983
|
closeMentions: () => void;
|
|
@@ -6007,7 +6007,7 @@ interface CommentInlineHighlightSpanProps {
|
|
|
6007
6007
|
/**
|
|
6008
6008
|
* @internal
|
|
6009
6009
|
*/
|
|
6010
|
-
declare const CommentInlineHighlightSpan:
|
|
6010
|
+
declare const CommentInlineHighlightSpan: react612.ForwardRefExoticComponent<Omit<CommentInlineHighlightSpanProps & react612.HTMLProps<HTMLSpanElement>, "ref"> & react612.RefAttributes<HTMLSpanElement>>;
|
|
6011
6011
|
/**
|
|
6012
6012
|
* @internal
|
|
6013
6013
|
* @hidden
|
|
@@ -6145,11 +6145,11 @@ interface CollapseMenuProps {
|
|
|
6145
6145
|
onMenuClose?: () => void;
|
|
6146
6146
|
}
|
|
6147
6147
|
/** @internal */
|
|
6148
|
-
declare const CollapseMenu:
|
|
6148
|
+
declare const CollapseMenu: react612.ForwardRefExoticComponent<CollapseMenuProps & react612.RefAttributes<any>>;
|
|
6149
6149
|
/** @internal */
|
|
6150
|
-
declare const AutoCollapseMenu:
|
|
6151
|
-
menuOptions:
|
|
6152
|
-
} &
|
|
6150
|
+
declare const AutoCollapseMenu: react612.ForwardRefExoticComponent<Omit<CollapseMenuProps, "children" | "collapsed"> & {
|
|
6151
|
+
menuOptions: react612.JSX.Element[];
|
|
6152
|
+
} & react612.RefAttributes<HTMLDivElement>>;
|
|
6153
6153
|
/** @internal */
|
|
6154
6154
|
interface CommonProps extends Omit<ButtonProps$1, 'text' | 'iconRight'> {
|
|
6155
6155
|
as?: ElementType | keyof React.JSX.IntrinsicElements;
|
|
@@ -6165,7 +6165,7 @@ interface CollapseMenuButtonProps extends CommonProps {
|
|
|
6165
6165
|
text: string;
|
|
6166
6166
|
}
|
|
6167
6167
|
/** @internal */
|
|
6168
|
-
declare const CollapseMenuButton:
|
|
6168
|
+
declare const CollapseMenuButton: react612.ForwardRefExoticComponent<Omit<CollapseMenuButtonProps & Omit<HTMLProps<HTMLButtonElement>, "as" | "size">, "ref"> & react612.RefAttributes<HTMLButtonElement>>;
|
|
6169
6169
|
/** @internal */
|
|
6170
6170
|
declare function useOnScroll(callback: Subscriber<Event>): void;
|
|
6171
6171
|
/** @internal */
|
|
@@ -6182,7 +6182,7 @@ interface ScrollContainerProps<T extends ElementType> extends Omit<HTMLProps<T>,
|
|
|
6182
6182
|
*
|
|
6183
6183
|
* @internal
|
|
6184
6184
|
*/
|
|
6185
|
-
declare const ScrollContainer:
|
|
6185
|
+
declare const ScrollContainer: react612.NamedExoticComponent<Omit<ScrollContainerProps<ElementType>, "ref"> & react612.RefAttributes<HTMLDivElement>>;
|
|
6186
6186
|
/** @internal */
|
|
6187
6187
|
type ScrollEventHandler = (event: Event) => void;
|
|
6188
6188
|
/** @internal */
|
|
@@ -6624,7 +6624,7 @@ interface EventsProviderProps {
|
|
|
6624
6624
|
declare function EventsProvider({
|
|
6625
6625
|
value,
|
|
6626
6626
|
children
|
|
6627
|
-
}: EventsProviderProps):
|
|
6627
|
+
}: EventsProviderProps): react612.JSX.Element;
|
|
6628
6628
|
/**
|
|
6629
6629
|
* @internal
|
|
6630
6630
|
*/
|
|
@@ -6842,7 +6842,7 @@ declare function useDiffAnnotationColor(diff: Diff$1, path?: string | Path): Use
|
|
|
6842
6842
|
declare function ChangeBreadcrumb(props: {
|
|
6843
6843
|
change?: FieldChangeNode;
|
|
6844
6844
|
titlePath: ChangeTitlePath;
|
|
6845
|
-
}):
|
|
6845
|
+
}): react612.JSX.Element;
|
|
6846
6846
|
/** @internal */
|
|
6847
6847
|
interface ChangeListProps {
|
|
6848
6848
|
schemaType: ObjectSchemaType;
|
|
@@ -6863,7 +6863,7 @@ interface ChangeResolverProps {
|
|
|
6863
6863
|
addParentWrapper?: boolean;
|
|
6864
6864
|
}
|
|
6865
6865
|
/** @internal */
|
|
6866
|
-
declare function ChangeResolver(props: ChangeResolverProps):
|
|
6866
|
+
declare function ChangeResolver(props: ChangeResolverProps): react612.JSX.Element | null;
|
|
6867
6867
|
/**
|
|
6868
6868
|
* @internal
|
|
6869
6869
|
* */
|
|
@@ -6871,12 +6871,12 @@ declare function ChangesError({
|
|
|
6871
6871
|
error
|
|
6872
6872
|
}: {
|
|
6873
6873
|
error?: Error | null;
|
|
6874
|
-
}):
|
|
6874
|
+
}): react612.JSX.Element;
|
|
6875
6875
|
/** @internal */
|
|
6876
6876
|
declare function ChangeTitleSegment(props: {
|
|
6877
6877
|
change?: FieldChangeNode;
|
|
6878
6878
|
segment: string | FromToIndex;
|
|
6879
|
-
}):
|
|
6879
|
+
}): react612.JSX.Element;
|
|
6880
6880
|
/**
|
|
6881
6881
|
* @internal
|
|
6882
6882
|
* mapping of events types with a readable key for translation
|
|
@@ -6894,7 +6894,7 @@ interface DiffCardProps {
|
|
|
6894
6894
|
} | boolean;
|
|
6895
6895
|
}
|
|
6896
6896
|
/** @internal */
|
|
6897
|
-
declare const DiffCard:
|
|
6897
|
+
declare const DiffCard: react612.ForwardRefExoticComponent<Omit<DiffCardProps & Omit<HTMLProps<HTMLElement>, "as" | "height">, "ref"> & react612.RefAttributes<unknown>>;
|
|
6898
6898
|
/** @internal */
|
|
6899
6899
|
interface DiffErrorBoundaryProps {
|
|
6900
6900
|
children: ReactNode;
|
|
@@ -6911,7 +6911,7 @@ declare class DiffErrorBoundary extends Component<DiffErrorBoundaryProps, DiffEr
|
|
|
6911
6911
|
};
|
|
6912
6912
|
state: DiffErrorBoundaryState;
|
|
6913
6913
|
componentDidCatch(error: Error): void;
|
|
6914
|
-
render(): string | number | bigint | boolean |
|
|
6914
|
+
render(): string | number | bigint | boolean | react612.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | react612.ReactElement<unknown, string | react612.JSXElementConstructor<any>> | react612.ReactPortal | null | undefined> | null | undefined;
|
|
6915
6915
|
}
|
|
6916
6916
|
/** @internal */
|
|
6917
6917
|
type FieldPreviewComponent<T = any> = ComponentType<{
|
|
@@ -6930,7 +6930,7 @@ interface DiffFromToProps {
|
|
|
6930
6930
|
schemaType: SchemaType;
|
|
6931
6931
|
}
|
|
6932
6932
|
/** @internal */
|
|
6933
|
-
declare function DiffFromTo(props: DiffFromToProps):
|
|
6933
|
+
declare function DiffFromTo(props: DiffFromToProps): react612.JSX.Element;
|
|
6934
6934
|
/** @internal */
|
|
6935
6935
|
interface DiffInspectWrapperProps {
|
|
6936
6936
|
children: ReactNode;
|
|
@@ -6946,7 +6946,7 @@ declare function DiffStringSegment(props: {
|
|
|
6946
6946
|
/** @internal */
|
|
6947
6947
|
declare function DiffString(props: {
|
|
6948
6948
|
diff: StringDiff$1;
|
|
6949
|
-
}):
|
|
6949
|
+
}): react612.JSX.Element;
|
|
6950
6950
|
/** @internal */
|
|
6951
6951
|
interface DiffTooltipProps extends TooltipProps$1 {
|
|
6952
6952
|
children: React.JSX.Element;
|
|
@@ -6961,7 +6961,7 @@ interface DiffTooltipWithAnnotationsProps extends TooltipProps$1 {
|
|
|
6961
6961
|
description?: ReactNode;
|
|
6962
6962
|
}
|
|
6963
6963
|
/** @internal */
|
|
6964
|
-
declare function DiffTooltip(props: DiffTooltipProps | DiffTooltipWithAnnotationsProps):
|
|
6964
|
+
declare function DiffTooltip(props: DiffTooltipProps | DiffTooltipWithAnnotationsProps): react612.JSX.Element;
|
|
6965
6965
|
interface TimelineItemProps {
|
|
6966
6966
|
event: DocumentGroupEvent;
|
|
6967
6967
|
showChangesBy: 'tooltip' | 'inline' | 'hidden';
|
|
@@ -6972,7 +6972,7 @@ interface TimelineItemProps {
|
|
|
6972
6972
|
declare function Event$1({
|
|
6973
6973
|
event,
|
|
6974
6974
|
showChangesBy
|
|
6975
|
-
}: TimelineItemProps):
|
|
6975
|
+
}: TimelineItemProps): react612.JSX.Element;
|
|
6976
6976
|
/** @internal */
|
|
6977
6977
|
declare const FallbackDiff: DiffComponent<Diff$1<unknown, Record<string, unknown>>>;
|
|
6978
6978
|
/** @internal */
|
|
@@ -6981,7 +6981,7 @@ declare function FieldChange(props: {
|
|
|
6981
6981
|
readOnly?: boolean;
|
|
6982
6982
|
hidden?: boolean;
|
|
6983
6983
|
addParentWrapper?: boolean;
|
|
6984
|
-
} & HTMLAttributes<HTMLDivElement>):
|
|
6984
|
+
} & HTMLAttributes<HTMLDivElement>): react612.JSX.Element | null;
|
|
6985
6985
|
/** @internal */
|
|
6986
6986
|
type FromToProps = {
|
|
6987
6987
|
align?: 'top' | 'center' | 'bottom';
|
|
@@ -6990,13 +6990,13 @@ type FromToProps = {
|
|
|
6990
6990
|
to?: ReactNode;
|
|
6991
6991
|
} & Omit<HTMLProps<HTMLDivElement>, 'children' | 'as' | 'height' | 'wrap'>;
|
|
6992
6992
|
/** @internal */
|
|
6993
|
-
declare const FromTo:
|
|
6993
|
+
declare const FromTo: react612.ForwardRefExoticComponent<Omit<FromToProps, "ref"> & react612.RefAttributes<HTMLDivElement>>;
|
|
6994
6994
|
/** @internal */
|
|
6995
6995
|
type FromToArrowDirection = 'down' | 'right';
|
|
6996
6996
|
/** @internal */
|
|
6997
6997
|
declare function FromToArrow(props: {
|
|
6998
6998
|
direction?: FromToArrowDirection;
|
|
6999
|
-
} & TextProps & Omit<HTMLProps<HTMLDivElement>, 'children' | 'ref'>):
|
|
6999
|
+
} & TextProps & Omit<HTMLProps<HTMLDivElement>, 'children' | 'ref'>): react612.JSX.Element;
|
|
7000
7000
|
/** @internal */
|
|
7001
7001
|
declare function GroupChange(props: {
|
|
7002
7002
|
change: GroupChangeNode;
|
|
@@ -7012,13 +7012,13 @@ interface MetaInfoProps {
|
|
|
7012
7012
|
markRemoved?: boolean;
|
|
7013
7013
|
}
|
|
7014
7014
|
/** @internal */
|
|
7015
|
-
declare function MetaInfo(props: MetaInfoProps):
|
|
7015
|
+
declare function MetaInfo(props: MetaInfoProps): react612.JSX.Element;
|
|
7016
7016
|
/** @internal */
|
|
7017
|
-
declare function NoChanges():
|
|
7017
|
+
declare function NoChanges(): react612.JSX.Element;
|
|
7018
7018
|
/** @internal */
|
|
7019
|
-
declare const RevertChangesButton:
|
|
7019
|
+
declare const RevertChangesButton: react612.ForwardRefExoticComponent<Omit<ButtonProps$1, "tooltipProps"> & Omit<HTMLProps<HTMLButtonElement>, "ref"> & {
|
|
7020
7020
|
changeCount: number;
|
|
7021
|
-
} &
|
|
7021
|
+
} & react612.RefAttributes<HTMLButtonElement>>;
|
|
7022
7022
|
interface RevertChangesConfirmDialogProps {
|
|
7023
7023
|
open: boolean;
|
|
7024
7024
|
onConfirm: () => void;
|
|
@@ -7035,13 +7035,13 @@ declare function RevertChangesConfirmDialog({
|
|
|
7035
7035
|
onCancel,
|
|
7036
7036
|
changeCount,
|
|
7037
7037
|
referenceElement
|
|
7038
|
-
}: RevertChangesConfirmDialogProps):
|
|
7038
|
+
}: RevertChangesConfirmDialogProps): react612.JSX.Element;
|
|
7039
7039
|
/** @internal */
|
|
7040
7040
|
declare function ValueError({
|
|
7041
7041
|
error
|
|
7042
7042
|
}: {
|
|
7043
7043
|
error: FieldValueError;
|
|
7044
|
-
}):
|
|
7044
|
+
}): react612.JSX.Element;
|
|
7045
7045
|
/** @internal */
|
|
7046
7046
|
type DocumentChangeContextInstance = {
|
|
7047
7047
|
documentId: string;
|
|
@@ -7157,7 +7157,7 @@ declare function PerspectiveProvider({
|
|
|
7157
7157
|
children: React.ReactNode;
|
|
7158
7158
|
selectedPerspectiveName: 'published' | ReleaseId | undefined;
|
|
7159
7159
|
excludedPerspectives?: string[];
|
|
7160
|
-
}):
|
|
7160
|
+
}): react612.JSX.Element;
|
|
7161
7161
|
interface ExcludedPerspectiveValue {
|
|
7162
7162
|
excludedPerspectives: string[];
|
|
7163
7163
|
toggleExcludedPerspective: (perspectiveId: string) => void;
|
|
@@ -7232,7 +7232,7 @@ interface Props$2 {
|
|
|
7232
7232
|
* @deprecated we will be dropping support for scheduled publishing on a future major version
|
|
7233
7233
|
* @internal
|
|
7234
7234
|
*/
|
|
7235
|
-
declare function EditScheduleForm(props: PropsWithChildren<Props$2>):
|
|
7235
|
+
declare function EditScheduleForm(props: PropsWithChildren<Props$2>): react612.JSX.Element;
|
|
7236
7236
|
/**
|
|
7237
7237
|
* @internal
|
|
7238
7238
|
*/
|
|
@@ -7383,18 +7383,18 @@ interface DocumentActionDescription extends GroupableActionDescription<DocumentA
|
|
|
7383
7383
|
}
|
|
7384
7384
|
declare function useScheduleAction(props: DocumentActionProps): {
|
|
7385
7385
|
disabled: true;
|
|
7386
|
-
icon:
|
|
7386
|
+
icon: react612.ForwardRefExoticComponent<Omit<react612.SVGProps<SVGSVGElement>, "ref"> & react612.RefAttributes<SVGSVGElement>>;
|
|
7387
7387
|
label: string;
|
|
7388
|
-
title:
|
|
7388
|
+
title: react612.JSX.Element;
|
|
7389
7389
|
dialog?: undefined;
|
|
7390
7390
|
onHandle?: undefined;
|
|
7391
7391
|
} | {
|
|
7392
7392
|
dialog: false | DocumentActionModalDialogProps;
|
|
7393
7393
|
disabled: boolean;
|
|
7394
7394
|
label: string;
|
|
7395
|
-
icon:
|
|
7395
|
+
icon: react612.ForwardRefExoticComponent<Omit<react612.SVGProps<SVGSVGElement>, "ref"> & react612.RefAttributes<SVGSVGElement>>;
|
|
7396
7396
|
onHandle: () => void;
|
|
7397
|
-
title: "" |
|
|
7397
|
+
title: "" | react612.JSX.Element | null;
|
|
7398
7398
|
} | null;
|
|
7399
7399
|
declare namespace useScheduleAction {
|
|
7400
7400
|
var action: ("delete" | "discardChanges" | "discardVersion" | "duplicate" | "editInCanvas" | "linkToCanvas" | "publish" | "restore" | "schedule" | "unlinkFromCanvas" | "unpublish" | "unpublishVersion") | undefined;
|
|
@@ -7421,7 +7421,7 @@ interface GetHookCollectionStateProps<Args, State> {
|
|
|
7421
7421
|
resetRef?: React.Ref<() => void>;
|
|
7422
7422
|
}
|
|
7423
7423
|
/** @internal */
|
|
7424
|
-
declare function GetHookCollectionState<Args, State>(props: GetHookCollectionStateProps<Args, State>):
|
|
7424
|
+
declare function GetHookCollectionState<Args, State>(props: GetHookCollectionStateProps<Args, State>): react612.JSX.Element;
|
|
7425
7425
|
/**
|
|
7426
7426
|
* @hidden
|
|
7427
7427
|
* @beta */
|
|
@@ -7474,7 +7474,7 @@ interface SingleDocReleaseProviderProps {
|
|
|
7474
7474
|
declare function SingleDocReleaseProvider({
|
|
7475
7475
|
children,
|
|
7476
7476
|
onSetScheduledDraftPerspective
|
|
7477
|
-
}: SingleDocReleaseProviderProps):
|
|
7477
|
+
}: SingleDocReleaseProviderProps): react612.JSX.Element;
|
|
7478
7478
|
/**
|
|
7479
7479
|
* Hook to get the single doc release context
|
|
7480
7480
|
* @internal
|
|
@@ -8283,7 +8283,7 @@ declare function DocumentStatus({
|
|
|
8283
8283
|
published,
|
|
8284
8284
|
versions,
|
|
8285
8285
|
singleLine
|
|
8286
|
-
}: DocumentStatusProps$1):
|
|
8286
|
+
}: DocumentStatusProps$1): react612.JSX.Element;
|
|
8287
8287
|
/**
|
|
8288
8288
|
* @internal
|
|
8289
8289
|
*/
|
|
@@ -8353,7 +8353,7 @@ declare function DocumentStatusIndicator({
|
|
|
8353
8353
|
draft,
|
|
8354
8354
|
published,
|
|
8355
8355
|
versions
|
|
8356
|
-
}: DocumentStatusProps):
|
|
8356
|
+
}: DocumentStatusProps): react612.JSX.Element;
|
|
8357
8357
|
/**
|
|
8358
8358
|
* @internal
|
|
8359
8359
|
*/
|
|
@@ -8409,7 +8409,7 @@ declare function Hotkeys({
|
|
|
8409
8409
|
makePlatformAware,
|
|
8410
8410
|
keys: hotKeys,
|
|
8411
8411
|
...props
|
|
8412
|
-
}: HotkeysProps$1):
|
|
8412
|
+
}: HotkeysProps$1): react612.JSX.Element;
|
|
8413
8413
|
/** @internal */
|
|
8414
8414
|
interface InsufficientPermissionsMessageProps {
|
|
8415
8415
|
currentUser?: CurrentUser | null;
|
|
@@ -8419,13 +8419,13 @@ interface InsufficientPermissionsMessageProps {
|
|
|
8419
8419
|
declare function InsufficientPermissionsMessage({
|
|
8420
8420
|
currentUser,
|
|
8421
8421
|
context
|
|
8422
|
-
}: InsufficientPermissionsMessageProps):
|
|
8422
|
+
}: InsufficientPermissionsMessageProps): react612.JSX.Element;
|
|
8423
8423
|
/**
|
|
8424
8424
|
*
|
|
8425
8425
|
* @hidden
|
|
8426
8426
|
* @beta
|
|
8427
8427
|
*/
|
|
8428
|
-
declare function IntentButton(props: IntentLinkProps & ButtonProps$1 & Omit<HTMLProps<HTMLButtonElement>, 'ref' | 'size' | 'as'>):
|
|
8428
|
+
declare function IntentButton(props: IntentLinkProps & ButtonProps$1 & Omit<HTMLProps<HTMLButtonElement>, 'ref' | 'size' | 'as'>): react612.JSX.Element;
|
|
8429
8429
|
interface LoadingTestProps {
|
|
8430
8430
|
/** Absolutely positions this component when `true`. */
|
|
8431
8431
|
fill?: boolean;
|
|
@@ -8449,7 +8449,7 @@ declare function LoadingBlock({
|
|
|
8449
8449
|
fill,
|
|
8450
8450
|
showText,
|
|
8451
8451
|
title
|
|
8452
|
-
}: LoadingTestProps):
|
|
8452
|
+
}: LoadingTestProps): react612.JSX.Element;
|
|
8453
8453
|
interface PopoverDialogProps {
|
|
8454
8454
|
children: ReactNode;
|
|
8455
8455
|
header?: ReactNode;
|
|
@@ -8459,7 +8459,7 @@ interface PopoverDialogProps {
|
|
|
8459
8459
|
containerRef?: Dispatch<SetStateAction<HTMLDivElement | null>>;
|
|
8460
8460
|
}
|
|
8461
8461
|
/** @internal */
|
|
8462
|
-
declare function PopoverDialog(props: PopoverDialogProps):
|
|
8462
|
+
declare function PopoverDialog(props: PopoverDialogProps): react612.JSX.Element;
|
|
8463
8463
|
/** @internal */
|
|
8464
8464
|
interface PreviewCardContextValue {
|
|
8465
8465
|
selected?: boolean;
|
|
@@ -8467,7 +8467,7 @@ interface PreviewCardContextValue {
|
|
|
8467
8467
|
/** @internal */
|
|
8468
8468
|
declare function usePreviewCard(): PreviewCardContextValue;
|
|
8469
8469
|
/** @internal */
|
|
8470
|
-
declare const PreviewCard:
|
|
8470
|
+
declare const PreviewCard: react612.ForwardRefExoticComponent<Omit<CardProps & Omit<HTMLProps<HTMLDivElement>, "height">, "ref"> & react612.RefAttributes<HTMLDivElement>>;
|
|
8471
8471
|
/**
|
|
8472
8472
|
* This is a workaround for a circular import issue.
|
|
8473
8473
|
* Calling `styled(PreviewCard)` at program load time triggered a build error with the commonjs bundle because it tried
|
|
@@ -8475,7 +8475,7 @@ declare const PreviewCard: react576.ForwardRefExoticComponent<Omit<CardProps & O
|
|
|
8475
8475
|
* The workaround is to colocate the styled component with the component itself.
|
|
8476
8476
|
* @internal
|
|
8477
8477
|
*/
|
|
8478
|
-
declare const ReferenceInputPreviewCard: styled_components_dist_types6.IStyledComponentBase<"web", styled_components4.FastOmit<Omit<CardProps & Omit<HTMLProps<HTMLDivElement>, "height">, "ref"> &
|
|
8478
|
+
declare const ReferenceInputPreviewCard: styled_components_dist_types6.IStyledComponentBase<"web", styled_components4.FastOmit<Omit<CardProps & Omit<HTMLProps<HTMLDivElement>, "height">, "ref"> & react612.RefAttributes<HTMLDivElement>, never>> & string & Omit<react612.ForwardRefExoticComponent<Omit<CardProps & Omit<HTMLProps<HTMLDivElement>, "height">, "ref"> & react612.RefAttributes<HTMLDivElement>>, keyof react612.Component<any, {}, any>>;
|
|
8479
8479
|
/**
|
|
8480
8480
|
* Portable text preview layout key
|
|
8481
8481
|
*
|
|
@@ -8562,7 +8562,7 @@ type CompactPreviewProps = Omit<PreviewProps<'compact'>, 'renderDefault'>;
|
|
|
8562
8562
|
/**
|
|
8563
8563
|
* @hidden
|
|
8564
8564
|
* @beta */
|
|
8565
|
-
declare function CompactPreview(props: CompactPreviewProps):
|
|
8565
|
+
declare function CompactPreview(props: CompactPreviewProps): react612.JSX.Element;
|
|
8566
8566
|
/**
|
|
8567
8567
|
* @hidden
|
|
8568
8568
|
* @beta */
|
|
@@ -8583,7 +8583,7 @@ interface DefaultPreviewProps extends Omit<PreviewProps<'default'>, 'renderDefau
|
|
|
8583
8583
|
/**
|
|
8584
8584
|
* @hidden
|
|
8585
8585
|
* @beta */
|
|
8586
|
-
declare function DefaultPreview(props: DefaultPreviewProps):
|
|
8586
|
+
declare function DefaultPreview(props: DefaultPreviewProps): react612.JSX.Element;
|
|
8587
8587
|
/**
|
|
8588
8588
|
* @hidden
|
|
8589
8589
|
* @beta */
|
|
@@ -8591,7 +8591,7 @@ type DetailPreviewProps = PreviewProps<'detail'>;
|
|
|
8591
8591
|
/**
|
|
8592
8592
|
* @hidden
|
|
8593
8593
|
* @beta */
|
|
8594
|
-
declare function DetailPreview(props: DetailPreviewProps):
|
|
8594
|
+
declare function DetailPreview(props: DetailPreviewProps): react612.JSX.Element;
|
|
8595
8595
|
/**
|
|
8596
8596
|
* @hidden
|
|
8597
8597
|
* @beta */
|
|
@@ -8599,7 +8599,7 @@ type MediaPreviewProps = Omit<PreviewProps<'media'>, 'renderDefault'>;
|
|
|
8599
8599
|
/**
|
|
8600
8600
|
* @hidden
|
|
8601
8601
|
* @beta */
|
|
8602
|
-
declare function MediaPreview(props: MediaPreviewProps):
|
|
8602
|
+
declare function MediaPreview(props: MediaPreviewProps): react612.JSX.Element;
|
|
8603
8603
|
/**
|
|
8604
8604
|
* @hidden
|
|
8605
8605
|
* @beta */
|
|
@@ -8607,11 +8607,11 @@ type BlockImagePreviewProps = Omit<PreviewProps<'blockImage'>, 'renderDefault'>;
|
|
|
8607
8607
|
/**
|
|
8608
8608
|
* @hidden
|
|
8609
8609
|
* @beta */
|
|
8610
|
-
declare function BlockImagePreview(props: BlockImagePreviewProps):
|
|
8610
|
+
declare function BlockImagePreview(props: BlockImagePreviewProps): react612.JSX.Element;
|
|
8611
8611
|
/**
|
|
8612
8612
|
* @hidden
|
|
8613
8613
|
* @beta */
|
|
8614
|
-
declare function BlockPreview(props: Omit<PreviewProps<'block'>, 'renderDefault'>):
|
|
8614
|
+
declare function BlockPreview(props: Omit<PreviewProps<'block'>, 'renderDefault'>): react612.JSX.Element;
|
|
8615
8615
|
/**
|
|
8616
8616
|
* @hidden
|
|
8617
8617
|
* @beta */
|
|
@@ -8619,7 +8619,7 @@ type InlinePreviewProps = Omit<PreviewProps<'inline'>, 'renderDefault'>;
|
|
|
8619
8619
|
/**
|
|
8620
8620
|
* @hidden
|
|
8621
8621
|
* @beta */
|
|
8622
|
-
declare function InlinePreview(props: InlinePreviewProps):
|
|
8622
|
+
declare function InlinePreview(props: InlinePreviewProps): react612.JSX.Element;
|
|
8623
8623
|
interface MediaProps {
|
|
8624
8624
|
border?: boolean;
|
|
8625
8625
|
dimensions: PreviewMediaDimensions;
|
|
@@ -8650,19 +8650,19 @@ interface TemplatePreviewProps {
|
|
|
8650
8650
|
/**
|
|
8651
8651
|
* @hidden
|
|
8652
8652
|
* @beta */
|
|
8653
|
-
declare function TemplatePreview(props: TemplatePreviewProps):
|
|
8653
|
+
declare function TemplatePreview(props: TemplatePreviewProps): react612.JSX.Element;
|
|
8654
8654
|
/**
|
|
8655
8655
|
* @hidden
|
|
8656
8656
|
* @beta */
|
|
8657
8657
|
declare function CircularProgress(props: {
|
|
8658
8658
|
/** Percentage */value: number;
|
|
8659
|
-
}):
|
|
8659
|
+
}): react612.JSX.Element;
|
|
8660
8660
|
/**
|
|
8661
8661
|
* @hidden
|
|
8662
8662
|
* @beta */
|
|
8663
8663
|
declare function LinearProgress(props: {
|
|
8664
8664
|
/** Percentage */value: number;
|
|
8665
|
-
}):
|
|
8665
|
+
}): react612.JSX.Element;
|
|
8666
8666
|
/**
|
|
8667
8667
|
* @internal
|
|
8668
8668
|
*/
|
|
@@ -8675,7 +8675,7 @@ interface RelativeTimeProps extends RelativeTimeOptions {
|
|
|
8675
8675
|
declare function RelativeTime({
|
|
8676
8676
|
time,
|
|
8677
8677
|
...options
|
|
8678
|
-
}: RelativeTimeProps):
|
|
8678
|
+
}: RelativeTimeProps): react612.JSX.Element;
|
|
8679
8679
|
interface ResizableProps {
|
|
8680
8680
|
minWidth: number;
|
|
8681
8681
|
maxWidth: number;
|
|
@@ -8686,7 +8686,7 @@ interface ResizableProps {
|
|
|
8686
8686
|
* @internal
|
|
8687
8687
|
* Provides a resizable container with a resizer handle.
|
|
8688
8688
|
*/
|
|
8689
|
-
declare function Resizable(props: ResizableProps & BoxProps & Omit<HTMLProps<HTMLDivElement>, 'as'>):
|
|
8689
|
+
declare function Resizable(props: ResizableProps & BoxProps & Omit<HTMLProps<HTMLDivElement>, 'as'>): react612.JSX.Element;
|
|
8690
8690
|
/**
|
|
8691
8691
|
* @hidden
|
|
8692
8692
|
* @beta */
|
|
@@ -8742,18 +8742,18 @@ type StatusButtonProps = ButtonProps$1 & {
|
|
|
8742
8742
|
'iconRight'?: undefined;
|
|
8743
8743
|
};
|
|
8744
8744
|
/** @hidden @beta */
|
|
8745
|
-
declare const StatusButton:
|
|
8745
|
+
declare const StatusButton: react612.ForwardRefExoticComponent<(StatusButtonProps & Omit<HTMLProps<HTMLButtonElement>, "disabled" | "ref" | "size" | "title">) & react612.RefAttributes<HTMLButtonElement>>;
|
|
8746
8746
|
/** @internal */
|
|
8747
8747
|
interface TextWithToneProps extends ComponentProps<typeof Text> {
|
|
8748
8748
|
tone: ButtonTone;
|
|
8749
8749
|
dimmed?: boolean;
|
|
8750
8750
|
}
|
|
8751
8751
|
/** @internal */
|
|
8752
|
-
declare const TextWithTone:
|
|
8752
|
+
declare const TextWithTone: react612.ForwardRefExoticComponent<Omit<TextWithToneProps, "ref"> & react612.RefAttributes<HTMLDivElement>>;
|
|
8753
8753
|
/** @internal */
|
|
8754
|
-
declare const TooltipOfDisabled:
|
|
8754
|
+
declare const TooltipOfDisabled: react612.ForwardRefExoticComponent<Omit<_sanity_ui15.TooltipProps, "arrow" | "padding" | "shadow"> & {
|
|
8755
8755
|
hotkeys?: string[] | undefined;
|
|
8756
|
-
} &
|
|
8756
|
+
} & react612.RefAttributes<HTMLDivElement>>;
|
|
8757
8757
|
/** @internal */
|
|
8758
8758
|
interface ToastParams$1 {
|
|
8759
8759
|
closable?: boolean;
|
|
@@ -8767,7 +8767,7 @@ interface ToastParams$1 {
|
|
|
8767
8767
|
* @internal
|
|
8768
8768
|
* @deprecated -- Refactor the component so it can call `useToast` instead
|
|
8769
8769
|
*/
|
|
8770
|
-
declare const ImperativeToast:
|
|
8770
|
+
declare const ImperativeToast: react612.ForwardRefExoticComponent<react612.RefAttributes<unknown>>;
|
|
8771
8771
|
/**
|
|
8772
8772
|
* TODO: Rename to `ZOffsetsContextValue`
|
|
8773
8773
|
*
|
|
@@ -8821,7 +8821,7 @@ declare function LegacyLayerProvider({
|
|
|
8821
8821
|
}: {
|
|
8822
8822
|
children: ReactNode;
|
|
8823
8823
|
zOffset: ZIndexContextValueKey;
|
|
8824
|
-
}):
|
|
8824
|
+
}): react612.JSX.Element;
|
|
8825
8825
|
interface AvatarSkeletonProps {
|
|
8826
8826
|
$size?: AvatarSize;
|
|
8827
8827
|
}
|
|
@@ -8829,7 +8829,7 @@ interface AvatarSkeletonProps {
|
|
|
8829
8829
|
* A loading skeleton element representing a user avatar
|
|
8830
8830
|
* @beta
|
|
8831
8831
|
*/
|
|
8832
|
-
declare const AvatarSkeleton: styled_components_dist_types6.IStyledComponentBase<"web", styled_components_dist_types6.Substitute<Omit<
|
|
8832
|
+
declare const AvatarSkeleton: styled_components_dist_types6.IStyledComponentBase<"web", styled_components_dist_types6.Substitute<Omit<_sanity_ui15.SkeletonProps & react612.HTMLProps<HTMLDivElement>, "ref"> & react612.RefAttributes<HTMLDivElement>, AvatarSkeletonProps>> & string & Omit<react612.ForwardRefExoticComponent<Omit<_sanity_ui15.SkeletonProps & react612.HTMLProps<HTMLDivElement>, "ref"> & react612.RefAttributes<HTMLDivElement>>, keyof react612.Component<any, {}, any>>;
|
|
8833
8833
|
/**
|
|
8834
8834
|
* @hidden
|
|
8835
8835
|
* @beta */
|
|
@@ -8846,7 +8846,7 @@ interface UserAvatarProps {
|
|
|
8846
8846
|
/**
|
|
8847
8847
|
* @hidden
|
|
8848
8848
|
* @beta */
|
|
8849
|
-
declare function UserAvatar(props: UserAvatarProps):
|
|
8849
|
+
declare function UserAvatar(props: UserAvatarProps): react612.JSX.Element;
|
|
8850
8850
|
/**
|
|
8851
8851
|
* @internal
|
|
8852
8852
|
* @deprecated - Will be removed in 4.0.0, use the `useReferringDocuments(<documentId>)` hook instead
|
|
@@ -8864,7 +8864,7 @@ declare function WithReferringDocuments({
|
|
|
8864
8864
|
*/
|
|
8865
8865
|
documentStore?: DocumentStore;
|
|
8866
8866
|
id: string;
|
|
8867
|
-
}):
|
|
8867
|
+
}): react612.JSX.Element;
|
|
8868
8868
|
/**
|
|
8869
8869
|
* TODO: Rename to `useZOffsets`
|
|
8870
8870
|
*
|
|
@@ -9528,7 +9528,7 @@ interface FormCallbacksValue {
|
|
|
9528
9528
|
onFieldGroupSelect: (path: Path, fieldGroupName: string) => void;
|
|
9529
9529
|
}
|
|
9530
9530
|
/** @internal */
|
|
9531
|
-
declare const FormCallbacksProvider:
|
|
9531
|
+
declare const FormCallbacksProvider: react612.NamedExoticComponent<FormCallbacksValue & {
|
|
9532
9532
|
children: ReactNode;
|
|
9533
9533
|
}>;
|
|
9534
9534
|
/** @internal */
|
|
@@ -9592,7 +9592,7 @@ declare function useReferenceInputOptions(): ReferenceInputOptions;
|
|
|
9592
9592
|
*/
|
|
9593
9593
|
declare function ReferenceInputOptionsProvider(props: ReferenceInputOptions & {
|
|
9594
9594
|
children: ReactNode;
|
|
9595
|
-
}):
|
|
9595
|
+
}): react612.JSX.Element;
|
|
9596
9596
|
/** @internal */
|
|
9597
9597
|
declare const defaultRenderAnnotation: RenderAnnotationCallback;
|
|
9598
9598
|
/** @internal */
|
|
@@ -9641,7 +9641,7 @@ interface FormBuilderProps extends Omit<ObjectFormNode, 'level' | 'path' | 'pres
|
|
|
9641
9641
|
/**
|
|
9642
9642
|
* @alpha
|
|
9643
9643
|
*/
|
|
9644
|
-
declare function FormBuilder(props: FormBuilderProps):
|
|
9644
|
+
declare function FormBuilder(props: FormBuilderProps): react612.JSX.Element;
|
|
9645
9645
|
/**
|
|
9646
9646
|
* @alpha This API might change.
|
|
9647
9647
|
*/
|
|
@@ -9676,7 +9676,7 @@ interface FormProviderProps {
|
|
|
9676
9676
|
*
|
|
9677
9677
|
* @alpha This API might change.
|
|
9678
9678
|
*/
|
|
9679
|
-
declare function FormProvider(props: FormProviderProps):
|
|
9679
|
+
declare function FormProvider(props: FormProviderProps): react612.JSX.Element;
|
|
9680
9680
|
/**
|
|
9681
9681
|
*
|
|
9682
9682
|
* @hidden
|
|
@@ -9688,7 +9688,7 @@ type StudioCrossDatasetReferenceInputProps = ObjectInputProps<CrossDatasetRefere
|
|
|
9688
9688
|
* @hidden
|
|
9689
9689
|
* @beta
|
|
9690
9690
|
*/
|
|
9691
|
-
declare function StudioCrossDatasetReferenceInput(props: StudioCrossDatasetReferenceInputProps):
|
|
9691
|
+
declare function StudioCrossDatasetReferenceInput(props: StudioCrossDatasetReferenceInputProps): react612.JSX.Element;
|
|
9692
9692
|
/**
|
|
9693
9693
|
*
|
|
9694
9694
|
* @hidden
|
|
@@ -9700,7 +9700,7 @@ type StudioReferenceInputProps = ObjectInputProps<Reference, ReferenceSchemaType
|
|
|
9700
9700
|
* @hidden
|
|
9701
9701
|
* @beta
|
|
9702
9702
|
*/
|
|
9703
|
-
declare function StudioReferenceInput(props: StudioReferenceInputProps):
|
|
9703
|
+
declare function StudioReferenceInput(props: StudioReferenceInputProps): react612.JSX.Element;
|
|
9704
9704
|
/**
|
|
9705
9705
|
*
|
|
9706
9706
|
* @hidden
|
|
@@ -9796,7 +9796,7 @@ type FileInputProps = Omit<BaseFileInputProps, 'assetSources' | 'directUploads'
|
|
|
9796
9796
|
/**
|
|
9797
9797
|
* @hidden
|
|
9798
9798
|
* @beta */
|
|
9799
|
-
declare function StudioFileInput(props: FileInputProps):
|
|
9799
|
+
declare function StudioFileInput(props: FileInputProps): react612.JSX.Element;
|
|
9800
9800
|
/**
|
|
9801
9801
|
* @hidden
|
|
9802
9802
|
* @beta
|
|
@@ -9824,7 +9824,7 @@ type ImageInputProps = Omit<BaseImageInputProps, 'assetSources' | 'directUploads
|
|
|
9824
9824
|
/**
|
|
9825
9825
|
* @hidden
|
|
9826
9826
|
* @beta */
|
|
9827
|
-
declare function StudioImageInput(props: ImageInputProps):
|
|
9827
|
+
declare function StudioImageInput(props: ImageInputProps): react612.JSX.Element;
|
|
9828
9828
|
/**
|
|
9829
9829
|
* @internal
|
|
9830
9830
|
*/
|
|
@@ -11760,7 +11760,7 @@ declare module '@sanity/types' {
|
|
|
11760
11760
|
*/
|
|
11761
11761
|
declare function Preview(props: RenderPreviewCallbackProps & {
|
|
11762
11762
|
perspectiveStack?: PerspectiveStack;
|
|
11763
|
-
}):
|
|
11763
|
+
}): react612.JSX.Element;
|
|
11764
11764
|
/**
|
|
11765
11765
|
* This component is responsible for converting renderPreview() calls into an element.
|
|
11766
11766
|
* It:
|
|
@@ -11783,7 +11783,7 @@ interface SanityDefaultPreviewProps extends Omit<PreviewProps, 'renderDefault'>
|
|
|
11783
11783
|
* Used in cases where no custom preview component is provided
|
|
11784
11784
|
* @internal
|
|
11785
11785
|
* */
|
|
11786
|
-
declare const SanityDefaultPreview:
|
|
11786
|
+
declare const SanityDefaultPreview: react612.NamedExoticComponent<SanityDefaultPreviewProps>;
|
|
11787
11787
|
/**
|
|
11788
11788
|
* @internal
|
|
11789
11789
|
* @beta
|
|
@@ -11877,9 +11877,9 @@ declare function getPreviewValueWithFallback({
|
|
|
11877
11877
|
original,
|
|
11878
11878
|
fallback
|
|
11879
11879
|
}: Sources): Partial<SanityDocument> | PreviewValue | {
|
|
11880
|
-
title:
|
|
11881
|
-
subtitle:
|
|
11882
|
-
media: () =>
|
|
11880
|
+
title: react612.JSX.Element;
|
|
11881
|
+
subtitle: react612.JSX.Element;
|
|
11882
|
+
media: () => react612.JSX.Element;
|
|
11883
11883
|
};
|
|
11884
11884
|
/** @internal */
|
|
11885
11885
|
declare function prepareForPreview(rawValue: unknown, type: PreviewableType, viewOptions?: PrepareViewOptions): PreviewValue & {
|
|
@@ -13023,7 +13023,7 @@ interface ResourceCacheProviderProps {
|
|
|
13023
13023
|
/** @internal */
|
|
13024
13024
|
declare function ResourceCacheProvider({
|
|
13025
13025
|
children
|
|
13026
|
-
}: ResourceCacheProviderProps):
|
|
13026
|
+
}: ResourceCacheProviderProps): react612.JSX.Element;
|
|
13027
13027
|
/** @internal */
|
|
13028
13028
|
declare function useResourceCache(): ResourceCache;
|
|
13029
13029
|
/** @internal */
|
|
@@ -13050,7 +13050,7 @@ interface DocumentPreviewPresenceProps {
|
|
|
13050
13050
|
presence: Omit<DocumentPresence, 'path'>[];
|
|
13051
13051
|
}
|
|
13052
13052
|
/** @internal */
|
|
13053
|
-
declare function DocumentPreviewPresence(props: DocumentPreviewPresenceProps):
|
|
13053
|
+
declare function DocumentPreviewPresence(props: DocumentPreviewPresenceProps): react612.JSX.Element;
|
|
13054
13054
|
/** @internal */
|
|
13055
13055
|
type Position = 'top' | 'bottom' | 'inside' | null;
|
|
13056
13056
|
/** @internal */
|
|
@@ -13110,14 +13110,14 @@ interface FieldPresenceInnerProps {
|
|
|
13110
13110
|
animateArrowFrom?: AvatarPosition;
|
|
13111
13111
|
}
|
|
13112
13112
|
/** @internal */
|
|
13113
|
-
declare const FieldPresenceInner:
|
|
13113
|
+
declare const FieldPresenceInner: react612.NamedExoticComponent<FieldPresenceInnerProps>;
|
|
13114
13114
|
/** @internal */
|
|
13115
13115
|
interface FieldPresenceProps {
|
|
13116
13116
|
presence: FormNodePresence[];
|
|
13117
13117
|
maxAvatars: number;
|
|
13118
13118
|
}
|
|
13119
13119
|
/** @internal */
|
|
13120
|
-
declare function FieldPresence(props: FieldPresenceProps):
|
|
13120
|
+
declare function FieldPresence(props: FieldPresenceProps): react612.JSX.Element;
|
|
13121
13121
|
/**
|
|
13122
13122
|
* @internal
|
|
13123
13123
|
* @hidden
|
|
@@ -13133,7 +13133,7 @@ interface PresenceOverlayProps {
|
|
|
13133
13133
|
declare function PresenceOverlay({
|
|
13134
13134
|
children,
|
|
13135
13135
|
margins
|
|
13136
|
-
}: PresenceOverlayProps):
|
|
13136
|
+
}: PresenceOverlayProps): react612.JSX.Element;
|
|
13137
13137
|
/** @internal */
|
|
13138
13138
|
interface PresenceScopeProps {
|
|
13139
13139
|
readOnly?: boolean;
|
|
@@ -13141,7 +13141,7 @@ interface PresenceScopeProps {
|
|
|
13141
13141
|
children: ReactNode;
|
|
13142
13142
|
}
|
|
13143
13143
|
/** @internal */
|
|
13144
|
-
declare function PresenceScope(props: PresenceScopeProps):
|
|
13144
|
+
declare function PresenceScope(props: PresenceScopeProps): react612.JSX.Element;
|
|
13145
13145
|
/** @internal */
|
|
13146
13146
|
interface FormFieldProps {
|
|
13147
13147
|
/**
|
|
@@ -13176,7 +13176,7 @@ interface FormFieldProps {
|
|
|
13176
13176
|
deprecated?: DeprecatedProperty;
|
|
13177
13177
|
}
|
|
13178
13178
|
/** @internal */
|
|
13179
|
-
declare const FormField:
|
|
13179
|
+
declare const FormField: react612.NamedExoticComponent<FormFieldProps & Omit<HTMLProps<HTMLDivElement>, "as" | "height" | "ref">>;
|
|
13180
13180
|
/** @internal */
|
|
13181
13181
|
interface FormFieldHeaderTextProps {
|
|
13182
13182
|
/**
|
|
@@ -13198,7 +13198,7 @@ interface FormFieldHeaderTextProps {
|
|
|
13198
13198
|
suffix?: ReactNode;
|
|
13199
13199
|
}
|
|
13200
13200
|
/** @internal */
|
|
13201
|
-
declare const FormFieldHeaderText:
|
|
13201
|
+
declare const FormFieldHeaderText: react612.NamedExoticComponent<FormFieldHeaderTextProps>;
|
|
13202
13202
|
/** @internal */
|
|
13203
13203
|
interface FormFieldSetProps {
|
|
13204
13204
|
/**
|
|
@@ -13237,7 +13237,7 @@ interface FormFieldSetProps {
|
|
|
13237
13237
|
deprecated?: DeprecatedProperty;
|
|
13238
13238
|
}
|
|
13239
13239
|
/** @internal */
|
|
13240
|
-
declare const FormFieldSet:
|
|
13240
|
+
declare const FormFieldSet: react612.ForwardRefExoticComponent<FormFieldSetProps & Omit<HTMLProps<HTMLDivElement>, "as" | "height" | "ref"> & react612.RefAttributes<HTMLDivElement>>;
|
|
13241
13241
|
/** @internal */
|
|
13242
13242
|
interface FieldStatusProps {
|
|
13243
13243
|
children?: ReactNode;
|
|
@@ -13249,7 +13249,7 @@ declare function FormFieldStatus({
|
|
|
13249
13249
|
children,
|
|
13250
13250
|
maxAvatars,
|
|
13251
13251
|
position
|
|
13252
|
-
}: FieldStatusProps):
|
|
13252
|
+
}: FieldStatusProps): react612.JSX.Element;
|
|
13253
13253
|
/** @internal */
|
|
13254
13254
|
interface FormFieldValidationStatusProps {
|
|
13255
13255
|
/**
|
|
@@ -13268,7 +13268,7 @@ interface FormFieldValidationStatusProps {
|
|
|
13268
13268
|
placement?: Placement;
|
|
13269
13269
|
}
|
|
13270
13270
|
/** @internal */
|
|
13271
|
-
declare function FormFieldValidationStatus(props: FormFieldValidationStatusProps):
|
|
13271
|
+
declare function FormFieldValidationStatus(props: FormFieldValidationStatusProps): react612.JSX.Element;
|
|
13272
13272
|
/** @internal */
|
|
13273
13273
|
interface FormFieldValidationWarning {
|
|
13274
13274
|
type: 'warning';
|
|
@@ -13295,7 +13295,7 @@ type FormInputRelativePathArg = {
|
|
|
13295
13295
|
relativePath: Path;
|
|
13296
13296
|
};
|
|
13297
13297
|
/** @internal */
|
|
13298
|
-
declare const FormInput:
|
|
13298
|
+
declare const FormInput: react612.NamedExoticComponent<(ArrayOfObjectsInputProps<{
|
|
13299
13299
|
_key: string;
|
|
13300
13300
|
}, _sanity_types45.ArraySchemaType<unknown>> | ObjectInputProps<Record<string, any>, _sanity_types45.ObjectSchemaType>) & ((FormInputAbsolutePathArg | FormInputRelativePathArg) & {
|
|
13301
13301
|
/**
|
|
@@ -13319,7 +13319,7 @@ interface FormValueContextValue {
|
|
|
13319
13319
|
declare function FormValueProvider(props: {
|
|
13320
13320
|
value: FormDocumentValue | undefined;
|
|
13321
13321
|
children: ReactNode;
|
|
13322
|
-
}):
|
|
13322
|
+
}): react612.JSX.Element;
|
|
13323
13323
|
/**
|
|
13324
13324
|
* React hook that returns the value of the field specified by a path.
|
|
13325
13325
|
* @public
|
|
@@ -13345,7 +13345,7 @@ declare function useFormValue(path: Path): unknown;
|
|
|
13345
13345
|
declare function GetFormValueProvider(props: {
|
|
13346
13346
|
value: FormDocumentValue | undefined;
|
|
13347
13347
|
children: ReactNode;
|
|
13348
|
-
}):
|
|
13348
|
+
}): react612.JSX.Element;
|
|
13349
13349
|
declare namespace GetFormValueProvider {
|
|
13350
13350
|
var displayName: string;
|
|
13351
13351
|
}
|
|
@@ -13377,7 +13377,7 @@ interface FieldActionMenuProps {
|
|
|
13377
13377
|
onMenuOpenChange: (open: boolean) => void;
|
|
13378
13378
|
}
|
|
13379
13379
|
/** @internal */
|
|
13380
|
-
declare const FieldActionMenu:
|
|
13380
|
+
declare const FieldActionMenu: react612.NamedExoticComponent<FieldActionMenuProps>;
|
|
13381
13381
|
type FieldActionsProviderProps = PropsWithChildren<{
|
|
13382
13382
|
actions: DocumentFieldActionNode[]; /** @internal @deprecated DO NOT USE */
|
|
13383
13383
|
__internal_comments?: FieldCommentsProps;
|
|
@@ -13386,7 +13386,7 @@ type FieldActionsProviderProps = PropsWithChildren<{
|
|
|
13386
13386
|
path: Path;
|
|
13387
13387
|
}>;
|
|
13388
13388
|
/** @internal */
|
|
13389
|
-
declare const FieldActionsProvider:
|
|
13389
|
+
declare const FieldActionsProvider: react612.NamedExoticComponent<FieldActionsProviderProps>;
|
|
13390
13390
|
/** @internal */
|
|
13391
13391
|
interface FieldActionsProps {
|
|
13392
13392
|
actions: DocumentFieldAction[];
|
|
@@ -13415,12 +13415,12 @@ interface FieldActionsProps {
|
|
|
13415
13415
|
*
|
|
13416
13416
|
* @internal
|
|
13417
13417
|
*/
|
|
13418
|
-
declare const FieldActionsResolver:
|
|
13418
|
+
declare const FieldActionsResolver: react612.NamedExoticComponent<FieldActionsProps>;
|
|
13419
13419
|
/** @internal */
|
|
13420
13420
|
declare function useFieldActions(): FieldActionsContextValue;
|
|
13421
13421
|
/** @internal */
|
|
13422
|
-
declare const HoveredFieldProvider:
|
|
13423
|
-
children?:
|
|
13422
|
+
declare const HoveredFieldProvider: react612.NamedExoticComponent<{
|
|
13423
|
+
children?: react612.ReactNode;
|
|
13424
13424
|
}>;
|
|
13425
13425
|
/** @internal */
|
|
13426
13426
|
declare function useHoveredField(): HoveredFieldContextValue;
|
|
@@ -13491,13 +13491,13 @@ didUpdate: (previous: T | undefined, current: T) => void, compare?: (previous: T
|
|
|
13491
13491
|
/**
|
|
13492
13492
|
* @hidden
|
|
13493
13493
|
* @beta */
|
|
13494
|
-
declare function ArrayOfObjectsFunctions<Item extends ObjectItem, TSchemaType extends ArraySchemaType>(props: ArrayInputFunctionsProps<Item, TSchemaType>):
|
|
13494
|
+
declare function ArrayOfObjectsFunctions<Item extends ObjectItem, TSchemaType extends ArraySchemaType>(props: ArrayInputFunctionsProps<Item, TSchemaType>): react612.JSX.Element | null;
|
|
13495
13495
|
/**
|
|
13496
13496
|
*
|
|
13497
13497
|
* @hidden
|
|
13498
13498
|
* @beta
|
|
13499
13499
|
*/
|
|
13500
|
-
declare function ArrayOfObjectsInput(props: ArrayOfObjectsInputProps):
|
|
13500
|
+
declare function ArrayOfObjectsInput(props: ArrayOfObjectsInputProps): react612.JSX.Element;
|
|
13501
13501
|
/**
|
|
13502
13502
|
* @internal
|
|
13503
13503
|
*/
|
|
@@ -13525,7 +13525,7 @@ interface VirtualizerScrollInstanceProviderProps extends VirtualizerScrollInstan
|
|
|
13525
13525
|
*
|
|
13526
13526
|
* @internal
|
|
13527
13527
|
*/
|
|
13528
|
-
declare function VirtualizerScrollInstanceProvider(props: VirtualizerScrollInstanceProviderProps):
|
|
13528
|
+
declare function VirtualizerScrollInstanceProvider(props: VirtualizerScrollInstanceProviderProps): react612.JSX.Element;
|
|
13529
13529
|
/**
|
|
13530
13530
|
* @hidden
|
|
13531
13531
|
* Array of predefined object options input
|
|
@@ -13535,13 +13535,13 @@ declare function VirtualizerScrollInstanceProvider(props: VirtualizerScrollInsta
|
|
|
13535
13535
|
* @hidden
|
|
13536
13536
|
* @beta
|
|
13537
13537
|
*/
|
|
13538
|
-
declare function ArrayOfObjectOptionsInput(props: ArrayOfObjectsInputProps):
|
|
13538
|
+
declare function ArrayOfObjectOptionsInput(props: ArrayOfObjectsInputProps): react612.JSX.Element;
|
|
13539
13539
|
/**
|
|
13540
13540
|
*
|
|
13541
13541
|
* @hidden
|
|
13542
13542
|
* @beta
|
|
13543
13543
|
*/
|
|
13544
|
-
declare function ArrayOfOptionsInput(props: ArrayOfObjectsInputProps | ArrayOfPrimitivesInputProps):
|
|
13544
|
+
declare function ArrayOfOptionsInput(props: ArrayOfObjectsInputProps | ArrayOfPrimitivesInputProps): react612.JSX.Element;
|
|
13545
13545
|
/**
|
|
13546
13546
|
* Array of predefined primitive options input
|
|
13547
13547
|
* Note: this input can only handle primitive values
|
|
@@ -13550,11 +13550,11 @@ declare function ArrayOfOptionsInput(props: ArrayOfObjectsInputProps | ArrayOfPr
|
|
|
13550
13550
|
* @hidden
|
|
13551
13551
|
* @beta
|
|
13552
13552
|
*/
|
|
13553
|
-
declare function ArrayOfPrimitiveOptionsInput(props: ArrayOfPrimitivesInputProps):
|
|
13553
|
+
declare function ArrayOfPrimitiveOptionsInput(props: ArrayOfPrimitivesInputProps): react612.JSX.Element;
|
|
13554
13554
|
/**
|
|
13555
13555
|
* @hidden
|
|
13556
13556
|
* @beta */
|
|
13557
|
-
declare function ArrayOfPrimitivesFunctions<MemberType extends string | boolean | number, SchemaType extends ArraySchemaType>(props: ArrayInputFunctionsProps<MemberType, SchemaType>):
|
|
13557
|
+
declare function ArrayOfPrimitivesFunctions<MemberType extends string | boolean | number, SchemaType extends ArraySchemaType>(props: ArrayInputFunctionsProps<MemberType, SchemaType>): react612.JSX.Element | null;
|
|
13558
13558
|
type PrimitiveValue = string | number | boolean;
|
|
13559
13559
|
interface State {
|
|
13560
13560
|
disableTransition: boolean;
|
|
@@ -13596,8 +13596,8 @@ declare class ArrayOfPrimitivesInput extends PureComponent<ArrayOfPrimitivesInpu
|
|
|
13596
13596
|
};
|
|
13597
13597
|
prevFocusedIndex: number;
|
|
13598
13598
|
}): void;
|
|
13599
|
-
renderArrayItem: (props: Omit<PrimitiveItemProps, "renderDefault">) =>
|
|
13600
|
-
render():
|
|
13599
|
+
renderArrayItem: (props: Omit<PrimitiveItemProps, "renderDefault">) => react612.JSX.Element;
|
|
13600
|
+
render(): react612.JSX.Element;
|
|
13601
13601
|
}
|
|
13602
13602
|
/**
|
|
13603
13603
|
* Universal array input that will introspect its schemaType and delegate to the right implementation
|
|
@@ -13607,13 +13607,13 @@ declare class ArrayOfPrimitivesInput extends PureComponent<ArrayOfPrimitivesInpu
|
|
|
13607
13607
|
* @hidden
|
|
13608
13608
|
* @beta
|
|
13609
13609
|
*/
|
|
13610
|
-
declare function UniversalArrayInput(props: ArrayOfObjectsInputProps | ArrayOfPrimitivesInputProps):
|
|
13610
|
+
declare function UniversalArrayInput(props: ArrayOfObjectsInputProps | ArrayOfPrimitivesInputProps): react612.JSX.Element;
|
|
13611
13611
|
/**
|
|
13612
13612
|
*
|
|
13613
13613
|
* @hidden
|
|
13614
13614
|
* @beta
|
|
13615
13615
|
*/
|
|
13616
|
-
declare function BooleanInput(props: BooleanInputProps):
|
|
13616
|
+
declare function BooleanInput(props: BooleanInputProps): react612.JSX.Element;
|
|
13617
13617
|
/**
|
|
13618
13618
|
* Used to preview a referenced type
|
|
13619
13619
|
* Takes the reference type as props
|
|
@@ -13632,7 +13632,7 @@ declare function CrossDatasetReferencePreview(props: {
|
|
|
13632
13632
|
projectId: string;
|
|
13633
13633
|
refType?: CrossDatasetType;
|
|
13634
13634
|
showTypeLabel: boolean;
|
|
13635
|
-
}):
|
|
13635
|
+
}): react612.JSX.Element;
|
|
13636
13636
|
/**
|
|
13637
13637
|
* @hidden
|
|
13638
13638
|
* @beta */
|
|
@@ -13640,7 +13640,7 @@ type DateInputProps = StringInputProps;
|
|
|
13640
13640
|
/**
|
|
13641
13641
|
* @hidden
|
|
13642
13642
|
* @beta */
|
|
13643
|
-
declare function DateInput(props: DateInputProps):
|
|
13643
|
+
declare function DateInput(props: DateInputProps): react612.JSX.Element;
|
|
13644
13644
|
/**
|
|
13645
13645
|
* @hidden
|
|
13646
13646
|
* @beta */
|
|
@@ -13648,7 +13648,7 @@ type DateTimeInputProps = StringInputProps;
|
|
|
13648
13648
|
/**
|
|
13649
13649
|
* @hidden
|
|
13650
13650
|
* @beta */
|
|
13651
|
-
declare function DateTimeInput(props: DateTimeInputProps):
|
|
13651
|
+
declare function DateTimeInput(props: DateTimeInputProps): react612.JSX.Element;
|
|
13652
13652
|
interface CalendarLabels {
|
|
13653
13653
|
ariaLabel: string;
|
|
13654
13654
|
goToTomorrow: string;
|
|
@@ -13682,7 +13682,7 @@ type EmailInputProps = StringInputProps;
|
|
|
13682
13682
|
* @hidden
|
|
13683
13683
|
* @beta
|
|
13684
13684
|
*/
|
|
13685
|
-
declare function EmailInput(props: EmailInputProps):
|
|
13685
|
+
declare function EmailInput(props: EmailInputProps): react612.JSX.Element;
|
|
13686
13686
|
/**
|
|
13687
13687
|
* @hidden
|
|
13688
13688
|
* @beta
|
|
@@ -13693,11 +13693,11 @@ type AssetAccessPolicy = 'checking' | 'private' | 'public' | 'unknown';
|
|
|
13693
13693
|
* @hidden
|
|
13694
13694
|
* @beta
|
|
13695
13695
|
*/
|
|
13696
|
-
declare function NumberInput(props: NumberInputProps):
|
|
13696
|
+
declare function NumberInput(props: NumberInputProps): react612.JSX.Element;
|
|
13697
13697
|
/**
|
|
13698
13698
|
* @hidden
|
|
13699
13699
|
* @beta */
|
|
13700
|
-
declare const ObjectInput:
|
|
13700
|
+
declare const ObjectInput: react612.NamedExoticComponent<ObjectInputProps<Record<string, any>, _sanity_types45.ObjectSchemaType>>;
|
|
13701
13701
|
/** @internal */
|
|
13702
13702
|
interface PortableTextMemberItem {
|
|
13703
13703
|
kind: 'annotation' | 'textBlock' | 'objectBlock' | 'inlineObject';
|
|
@@ -13758,24 +13758,24 @@ interface Props extends Omit<HTMLProps<HTMLButtonElement>, 'as' | 'size' | 'widt
|
|
|
13758
13758
|
/**
|
|
13759
13759
|
* @internal
|
|
13760
13760
|
*/
|
|
13761
|
-
declare function CreateButton(props: Props):
|
|
13761
|
+
declare function CreateButton(props: Props): react612.JSX.Element;
|
|
13762
13762
|
/**
|
|
13763
13763
|
* @internal
|
|
13764
13764
|
*/
|
|
13765
|
-
declare const ReferenceAutocomplete:
|
|
13765
|
+
declare const ReferenceAutocomplete: react612.ForwardRefExoticComponent<Omit<_sanity_ui15.AutocompleteProps<_sanity_ui15.BaseAutocompleteOption> & Omit<react612.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"> & {
|
|
13766
13766
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
13767
13767
|
} & {
|
|
13768
13768
|
path: Path;
|
|
13769
13769
|
referenceElement: HTMLDivElement | null;
|
|
13770
13770
|
searchString?: string | undefined;
|
|
13771
13771
|
portalRef?: RefObject<HTMLDivElement | null> | undefined;
|
|
13772
|
-
}, "ref"> &
|
|
13772
|
+
}, "ref"> & react612.RefAttributes<HTMLInputElement>>;
|
|
13773
13773
|
/**
|
|
13774
13774
|
*
|
|
13775
13775
|
* @hidden
|
|
13776
13776
|
* @beta
|
|
13777
13777
|
*/
|
|
13778
|
-
declare function SelectInput(props: StringInputProps):
|
|
13778
|
+
declare function SelectInput(props: StringInputProps): react612.JSX.Element;
|
|
13779
13779
|
/**
|
|
13780
13780
|
*
|
|
13781
13781
|
* @hidden
|
|
@@ -13787,12 +13787,12 @@ type SlugInputProps = ObjectInputProps<SlugValue, SlugSchemaType>;
|
|
|
13787
13787
|
* @hidden
|
|
13788
13788
|
* @beta
|
|
13789
13789
|
*/
|
|
13790
|
-
declare function SlugInput(props: SlugInputProps):
|
|
13790
|
+
declare function SlugInput(props: SlugInputProps): react612.JSX.Element;
|
|
13791
13791
|
/**
|
|
13792
13792
|
* @hidden
|
|
13793
13793
|
* @beta
|
|
13794
13794
|
*/
|
|
13795
|
-
declare function StringInput(props: StringInputProps):
|
|
13795
|
+
declare function StringInput(props: StringInputProps): react612.JSX.Element;
|
|
13796
13796
|
/**
|
|
13797
13797
|
*
|
|
13798
13798
|
* @hidden
|
|
@@ -13804,7 +13804,7 @@ type TagsArrayInputProps = ArrayOfPrimitivesInputProps<string>;
|
|
|
13804
13804
|
* @hidden
|
|
13805
13805
|
* @beta
|
|
13806
13806
|
*/
|
|
13807
|
-
declare function TagsArrayInput(props: TagsArrayInputProps):
|
|
13807
|
+
declare function TagsArrayInput(props: TagsArrayInputProps): react612.JSX.Element;
|
|
13808
13808
|
/**
|
|
13809
13809
|
*
|
|
13810
13810
|
* @hidden
|
|
@@ -13816,7 +13816,7 @@ type TelephoneInputProps = StringInputProps;
|
|
|
13816
13816
|
* @hidden
|
|
13817
13817
|
* @beta
|
|
13818
13818
|
*/
|
|
13819
|
-
declare function TelephoneInput(props: TelephoneInputProps):
|
|
13819
|
+
declare function TelephoneInput(props: TelephoneInputProps): react612.JSX.Element;
|
|
13820
13820
|
/**
|
|
13821
13821
|
*
|
|
13822
13822
|
* @hidden
|
|
@@ -13828,7 +13828,7 @@ type TextInputProps = StringInputProps<TextSchemaType>;
|
|
|
13828
13828
|
* @hidden
|
|
13829
13829
|
* @beta
|
|
13830
13830
|
*/
|
|
13831
|
-
declare function TextInput(props: TextInputProps):
|
|
13831
|
+
declare function TextInput(props: TextInputProps): react612.JSX.Element;
|
|
13832
13832
|
/**
|
|
13833
13833
|
*
|
|
13834
13834
|
* @hidden
|
|
@@ -13840,7 +13840,7 @@ type UrlInputProps = StringInputProps;
|
|
|
13840
13840
|
* @hidden
|
|
13841
13841
|
* @beta
|
|
13842
13842
|
*/
|
|
13843
|
-
declare function UrlInput(props: UrlInputProps):
|
|
13843
|
+
declare function UrlInput(props: UrlInputProps): react612.JSX.Element;
|
|
13844
13844
|
/** @internal */
|
|
13845
13845
|
interface ArrayOfObjectsMemberProps {
|
|
13846
13846
|
member: ArrayOfObjectsMember;
|
|
@@ -13856,7 +13856,7 @@ interface ArrayOfObjectsMemberProps {
|
|
|
13856
13856
|
* Convenience component for rendering an "array of objects"-item
|
|
13857
13857
|
* @internal
|
|
13858
13858
|
*/
|
|
13859
|
-
declare function ArrayOfObjectsInputMember(props: ArrayOfObjectsMemberProps):
|
|
13859
|
+
declare function ArrayOfObjectsInputMember(props: ArrayOfObjectsMemberProps): react612.JSX.Element | null;
|
|
13860
13860
|
/** @internal */
|
|
13861
13861
|
interface ArrayOfObjectsInputMembersProps {
|
|
13862
13862
|
members: ArrayOfObjectsMember[];
|
|
@@ -13872,7 +13872,7 @@ interface ArrayOfObjectsInputMembersProps {
|
|
|
13872
13872
|
* Convenience component for wrapping an array of objects
|
|
13873
13873
|
* @internal
|
|
13874
13874
|
*/
|
|
13875
|
-
declare function ArrayOfObjectsInputMembers(props: ArrayOfObjectsInputMembersProps):
|
|
13875
|
+
declare function ArrayOfObjectsInputMembers(props: ArrayOfObjectsInputMembersProps): react612.JSX.Element;
|
|
13876
13876
|
/**
|
|
13877
13877
|
*
|
|
13878
13878
|
* @hidden
|
|
@@ -13893,7 +13893,7 @@ interface MemberItemProps {
|
|
|
13893
13893
|
* @hidden
|
|
13894
13894
|
* @beta
|
|
13895
13895
|
*/
|
|
13896
|
-
declare function ArrayOfObjectsItem(props: MemberItemProps):
|
|
13896
|
+
declare function ArrayOfObjectsItem(props: MemberItemProps): react612.JSX.Element;
|
|
13897
13897
|
/**
|
|
13898
13898
|
*
|
|
13899
13899
|
* @hidden
|
|
@@ -13909,11 +13909,11 @@ interface PrimitiveMemberItemProps {
|
|
|
13909
13909
|
* @hidden
|
|
13910
13910
|
* @beta
|
|
13911
13911
|
*/
|
|
13912
|
-
declare function ArrayOfPrimitivesItem(props: PrimitiveMemberItemProps):
|
|
13912
|
+
declare function ArrayOfPrimitivesItem(props: PrimitiveMemberItemProps): react612.JSX.Element;
|
|
13913
13913
|
/** @internal */
|
|
13914
13914
|
declare function MemberItemError(props: {
|
|
13915
13915
|
member: ArrayItemError;
|
|
13916
|
-
}):
|
|
13916
|
+
}): react612.JSX.Element;
|
|
13917
13917
|
/** @internal */
|
|
13918
13918
|
interface MemberFieldProps {
|
|
13919
13919
|
member: FieldMember;
|
|
@@ -13926,13 +13926,13 @@ interface MemberFieldProps {
|
|
|
13926
13926
|
renderPreview: RenderPreviewCallback;
|
|
13927
13927
|
}
|
|
13928
13928
|
/** @internal */
|
|
13929
|
-
declare const MemberField:
|
|
13929
|
+
declare const MemberField: react612.NamedExoticComponent<MemberFieldProps>;
|
|
13930
13930
|
/** @internal */
|
|
13931
13931
|
declare function MemberFieldError(props: {
|
|
13932
13932
|
member: FieldError;
|
|
13933
|
-
}):
|
|
13933
|
+
}): react612.JSX.Element;
|
|
13934
13934
|
/** @internal */
|
|
13935
|
-
declare const MemberFieldSet:
|
|
13935
|
+
declare const MemberFieldSet: react612.NamedExoticComponent<{
|
|
13936
13936
|
member: FieldSetMember;
|
|
13937
13937
|
renderAnnotation?: RenderAnnotationCallback | undefined;
|
|
13938
13938
|
renderBlock?: RenderBlockCallback | undefined;
|
|
@@ -13954,7 +13954,7 @@ interface ObjectInputMemberProps {
|
|
|
13954
13954
|
renderPreview: RenderPreviewCallback;
|
|
13955
13955
|
}
|
|
13956
13956
|
/** @internal */
|
|
13957
|
-
declare const ObjectInputMember:
|
|
13957
|
+
declare const ObjectInputMember: react612.NamedExoticComponent<ObjectInputMemberProps>;
|
|
13958
13958
|
/** @internal */
|
|
13959
13959
|
interface ObjectMembersProps {
|
|
13960
13960
|
members: ObjectMember[];
|
|
@@ -13970,7 +13970,7 @@ interface ObjectMembersProps {
|
|
|
13970
13970
|
* Convenience component for wrapping an object input
|
|
13971
13971
|
* @internal
|
|
13972
13972
|
*/
|
|
13973
|
-
declare function ObjectInputMembers(props: ObjectMembersProps):
|
|
13973
|
+
declare function ObjectInputMembers(props: ObjectMembersProps): react612.JSX.Element;
|
|
13974
13974
|
/**
|
|
13975
13975
|
* @deprecated Use ObjectInputMembers instead
|
|
13976
13976
|
* @internal
|
|
@@ -14067,7 +14067,7 @@ type PatchTransformer = (patches: FormPatch[]) => FormPatch[];
|
|
|
14067
14067
|
/**
|
|
14068
14068
|
* @hidden
|
|
14069
14069
|
* @beta */
|
|
14070
|
-
declare const TransformPatches:
|
|
14070
|
+
declare const TransformPatches: react612.NamedExoticComponent<{
|
|
14071
14071
|
transform: PatchTransformer;
|
|
14072
14072
|
} & {
|
|
14073
14073
|
children: ReactNode;
|
|
@@ -15545,7 +15545,7 @@ declare class ConfigResolutionError extends Error {
|
|
|
15545
15545
|
* Creates an icon element based on the input title
|
|
15546
15546
|
* @internal
|
|
15547
15547
|
*/
|
|
15548
|
-
declare function createDefaultIcon(title: string, subtitle: string):
|
|
15548
|
+
declare function createDefaultIcon(title: string, subtitle: string): react612.JSX.Element;
|
|
15549
15549
|
/**
|
|
15550
15550
|
* @hidden
|
|
15551
15551
|
* @beta */
|