sanity 5.12.0-next.21 → 5.12.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 +192 -192
- 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/lib/router.d.ts +4 -4
- package/package.json +12 -12
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react608 from "react";
|
|
2
2
|
import { CSSProperties, Component, ComponentProps, ComponentType, Dispatch, ElementType, ErrorInfo, FC, FocusEvent, FocusEventHandler, FormEvent, FormEventHandler, HTMLAttributes, HTMLProps, KeyboardEvent, MutableRefObject, PropsWithChildren, PureComponent, ReactElement, ReactNode, Ref, RefAttributes, RefObject, SVGProps, SetStateAction } from "react";
|
|
3
3
|
import * as _sanity_types44 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";
|
|
@@ -313,7 +313,7 @@ declare class CorsOriginError extends Error {
|
|
|
313
313
|
/** @internal */
|
|
314
314
|
type BetaBadgeProps = Omit<BadgeProps, 'mode' | 'tone'>;
|
|
315
315
|
/** @internal */
|
|
316
|
-
declare function BetaBadge(props: BetaBadgeProps & Omit<HTMLProps<HTMLDivElement>, 'ref'>):
|
|
316
|
+
declare function BetaBadge(props: BetaBadgeProps & Omit<HTMLProps<HTMLDivElement>, 'ref'>): react608.JSX.Element;
|
|
317
317
|
/** @internal */
|
|
318
318
|
type CommandListElementType = 'input' | 'list';
|
|
319
319
|
/** @internal */
|
|
@@ -395,7 +395,7 @@ interface CommandListProps<T = any> extends ResponsivePaddingProps {
|
|
|
395
395
|
*
|
|
396
396
|
* @internal
|
|
397
397
|
*/
|
|
398
|
-
declare const CommandList:
|
|
398
|
+
declare const CommandList: react608.NamedExoticComponent<CommandListProps<any> & react608.RefAttributes<CommandListHandle>>;
|
|
399
399
|
type BaseButtonProps = Pick<ButtonProps, 'as' | 'icon' | 'iconRight' | 'justify' | 'loading' | 'mode' | 'paddingY' | 'paddingLeft' | 'selected' | 'tone' | 'type' | 'width'> & {
|
|
400
400
|
size?: 'default' | 'large';
|
|
401
401
|
radius?: 'full';
|
|
@@ -420,13 +420,13 @@ type ButtonProps$1 = BaseButtonProps & (ButtonWithText | IconButton);
|
|
|
420
420
|
*
|
|
421
421
|
* @internal
|
|
422
422
|
*/
|
|
423
|
-
declare const Button:
|
|
423
|
+
declare const Button: react608.ForwardRefExoticComponent<(Omit<Pick<ButtonProps, "as" | "icon" | "iconRight" | "justify" | "loading" | "mode" | "paddingLeft" | "paddingY" | "selected" | "tone" | "type" | "width"> & {
|
|
424
424
|
size?: "default" | "large" | undefined;
|
|
425
425
|
radius?: "full" | undefined;
|
|
426
426
|
} & ButtonWithText & Omit<HTMLProps<HTMLButtonElement>, "as" | "size" | "title">, "ref"> | Omit<Pick<ButtonProps, "as" | "icon" | "iconRight" | "justify" | "loading" | "mode" | "paddingLeft" | "paddingY" | "selected" | "tone" | "type" | "width"> & {
|
|
427
427
|
size?: "default" | "large" | undefined;
|
|
428
428
|
radius?: "full" | undefined;
|
|
429
|
-
} & IconButton & Omit<HTMLProps<HTMLButtonElement>, "as" | "size" | "title">, "ref">) &
|
|
429
|
+
} & IconButton & Omit<HTMLProps<HTMLButtonElement>, "as" | "size" | "title">, "ref">) & react608.RefAttributes<HTMLButtonElement>>;
|
|
430
430
|
/** @internal */
|
|
431
431
|
type MenuButtonProps$1 = Omit<MenuButtonProps, 'popover'> & {
|
|
432
432
|
popover?: Omit<PopoverProps, 'animate' | 'content' | 'open'>;
|
|
@@ -443,7 +443,7 @@ type ContextMenuButtonProps = Pick<ButtonProps$1, 'mode' | 'selected' | 'size' |
|
|
|
443
443
|
*
|
|
444
444
|
* @internal
|
|
445
445
|
*/
|
|
446
|
-
declare const ContextMenuButton:
|
|
446
|
+
declare const ContextMenuButton: react608.ForwardRefExoticComponent<ContextMenuButtonProps & Pick<HTMLProps<HTMLButtonElement>, "disabled" | "hidden" | "onClick"> & react608.RefAttributes<HTMLButtonElement>>;
|
|
447
447
|
/**
|
|
448
448
|
* Indicates the type of document variant, either `draft`, `version` or `published`.
|
|
449
449
|
* Draft documents are prefixed with `drafts.`.
|
|
@@ -463,7 +463,7 @@ declare function getDocumentVariantType(documentId: string): DocumentVariantType
|
|
|
463
463
|
/**
|
|
464
464
|
* @internal
|
|
465
465
|
*/
|
|
466
|
-
declare const Chip:
|
|
466
|
+
declare const Chip: react608.ForwardRefExoticComponent<Omit<Omit<_sanity_ui22.ButtonProps & Omit<react608.HTMLProps<HTMLButtonElement>, "as" | "width">, "ref"> & react608.RefAttributes<HTMLButtonElement>, "ref"> & react608.RefAttributes<unknown>>;
|
|
467
467
|
/**
|
|
468
468
|
*
|
|
469
469
|
* Checks if the document ID `documentId` has the same ID as `equalsDocumentId`,
|
|
@@ -634,7 +634,7 @@ type ReleasesNavMenuItemPropsGetter = (content: {
|
|
|
634
634
|
/**
|
|
635
635
|
* @internal
|
|
636
636
|
*/
|
|
637
|
-
declare const VersionChip:
|
|
637
|
+
declare const VersionChip: react608.NamedExoticComponent<{
|
|
638
638
|
disabled?: boolean | undefined;
|
|
639
639
|
selected: boolean;
|
|
640
640
|
tooltipContent?: ReactNode;
|
|
@@ -661,7 +661,7 @@ declare const ReleaseAvatarIcon: ({
|
|
|
661
661
|
tone
|
|
662
662
|
}: {
|
|
663
663
|
tone: "caution" | "critical" | "default" | "neutral" | "positive" | "primary" | "suggest";
|
|
664
|
-
}) =>
|
|
664
|
+
}) => react608.JSX.Element;
|
|
665
665
|
/** @internal */
|
|
666
666
|
declare function ReleaseAvatar({
|
|
667
667
|
fontSize,
|
|
@@ -699,12 +699,12 @@ declare const VersionInlineBadge: ({
|
|
|
699
699
|
$tone
|
|
700
700
|
}: PropsWithChildren<{
|
|
701
701
|
$tone?: "caution" | "critical" | "default" | "neutral" | "positive" | "primary" | "suggest" | undefined;
|
|
702
|
-
}>) =>
|
|
702
|
+
}>) => react608.JSX.Element;
|
|
703
703
|
/**
|
|
704
704
|
* @internal
|
|
705
705
|
*/
|
|
706
706
|
declare const getVersionInlineBadge: (release?: TargetPerspective | undefined) => FC<{
|
|
707
|
-
children?:
|
|
707
|
+
children?: react608.ReactNode;
|
|
708
708
|
}>;
|
|
709
709
|
interface ObserveDocumentAPIConfig {
|
|
710
710
|
dataset?: string;
|
|
@@ -1025,7 +1025,7 @@ declare const ChangeFieldWrapper: (props: {
|
|
|
1025
1025
|
path: Path;
|
|
1026
1026
|
children: ReactNode;
|
|
1027
1027
|
hasRevertHover: boolean;
|
|
1028
|
-
}) =>
|
|
1028
|
+
}) => react608.JSX.Element;
|
|
1029
1029
|
/** @internal */
|
|
1030
1030
|
interface ChangeIndicatorProps {
|
|
1031
1031
|
path: Path;
|
|
@@ -1034,7 +1034,7 @@ interface ChangeIndicatorProps {
|
|
|
1034
1034
|
withHoverEffect?: boolean;
|
|
1035
1035
|
}
|
|
1036
1036
|
/** @internal */
|
|
1037
|
-
declare function ChangeIndicator(props: ChangeIndicatorProps & Omit<HTMLProps<HTMLDivElement>, 'as'>):
|
|
1037
|
+
declare function ChangeIndicator(props: ChangeIndicatorProps & Omit<HTMLProps<HTMLDivElement>, 'as'>): react608.JSX.Element;
|
|
1038
1038
|
/** @internal */
|
|
1039
1039
|
interface ConnectorContextValue {
|
|
1040
1040
|
isReviewChangesOpen: boolean;
|
|
@@ -1058,7 +1058,7 @@ declare function ChangeConnectorRoot({
|
|
|
1058
1058
|
onOpenReviewChanges,
|
|
1059
1059
|
onSetFocus,
|
|
1060
1060
|
...restProps
|
|
1061
|
-
}: ChangeConnectorRootProps):
|
|
1061
|
+
}: ChangeConnectorRootProps): react608.JSX.Element;
|
|
1062
1062
|
/** @internal */
|
|
1063
1063
|
type Reported<Value> = [string, Value];
|
|
1064
1064
|
/** @internal */
|
|
@@ -1098,11 +1098,11 @@ interface TrackedArea {
|
|
|
1098
1098
|
type ChangeIndicatorTrackerContextValue = TrackedChange;
|
|
1099
1099
|
declare function ChangeIndicatorsTrackerComponent(props: {
|
|
1100
1100
|
children: React.ReactNode;
|
|
1101
|
-
}):
|
|
1101
|
+
}): react608.JSX.Element;
|
|
1102
1102
|
/**
|
|
1103
1103
|
* @internal
|
|
1104
1104
|
*/
|
|
1105
|
-
declare const ChangeIndicatorsTracker:
|
|
1105
|
+
declare const ChangeIndicatorsTracker: react608.MemoExoticComponent<typeof ChangeIndicatorsTrackerComponent>;
|
|
1106
1106
|
/**
|
|
1107
1107
|
* @internal
|
|
1108
1108
|
*/
|
|
@@ -1127,11 +1127,11 @@ interface CommentDeleteDialogProps {
|
|
|
1127
1127
|
* @beta
|
|
1128
1128
|
* @hidden
|
|
1129
1129
|
*/
|
|
1130
|
-
declare function CommentDeleteDialog(props: CommentDeleteDialogProps):
|
|
1130
|
+
declare function CommentDeleteDialog(props: CommentDeleteDialogProps): react608.JSX.Element;
|
|
1131
1131
|
/**
|
|
1132
1132
|
* @internal
|
|
1133
1133
|
*/
|
|
1134
|
-
declare const CommentDisabledIcon:
|
|
1134
|
+
declare const CommentDisabledIcon: react608.ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & react608.RefAttributes<SVGSVGElement>>;
|
|
1135
1135
|
/**
|
|
1136
1136
|
*
|
|
1137
1137
|
* @deprecated Calling `useClient()` without specifying an API version is deprecated - specify a date to prevent breaking changes, e.g. `useClient({apiVersion: "2025-02-07"})`.
|
|
@@ -3532,7 +3532,7 @@ interface LocaleSource {
|
|
|
3532
3532
|
* @internal
|
|
3533
3533
|
* @hidden
|
|
3534
3534
|
*/
|
|
3535
|
-
declare function LocaleProvider(props: PropsWithChildren):
|
|
3535
|
+
declare function LocaleProvider(props: PropsWithChildren): react608.JSX.Element;
|
|
3536
3536
|
/**
|
|
3537
3537
|
* @internal
|
|
3538
3538
|
* @hidden
|
|
@@ -3548,7 +3548,7 @@ declare function LocaleProviderBase({
|
|
|
3548
3548
|
sourceId: string;
|
|
3549
3549
|
locales: Locale[];
|
|
3550
3550
|
i18next: i18n$1;
|
|
3551
|
-
}>):
|
|
3551
|
+
}>): react608.JSX.Element;
|
|
3552
3552
|
/**
|
|
3553
3553
|
* Defines a resource bundle for a given locale and namespace.
|
|
3554
3554
|
*
|
|
@@ -3752,7 +3752,7 @@ interface TranslationProps {
|
|
|
3752
3752
|
*
|
|
3753
3753
|
* @public
|
|
3754
3754
|
*/
|
|
3755
|
-
declare function Translate(props: TranslationProps):
|
|
3755
|
+
declare function Translate(props: TranslationProps): react608.JSX.Element;
|
|
3756
3756
|
declare module '@sanity/types' {
|
|
3757
3757
|
/**
|
|
3758
3758
|
* Extended validation context that includes internationalization
|
|
@@ -3882,7 +3882,7 @@ interface CommentsAuthoringPathProviderProps {
|
|
|
3882
3882
|
* the component re-renders, for example, when the form is temporarily set to `readOnly`
|
|
3883
3883
|
* while reconnecting.
|
|
3884
3884
|
*/
|
|
3885
|
-
declare function CommentsAuthoringPathProvider(props: CommentsAuthoringPathProviderProps):
|
|
3885
|
+
declare function CommentsAuthoringPathProvider(props: CommentsAuthoringPathProviderProps): react608.JSX.Element;
|
|
3886
3886
|
/**
|
|
3887
3887
|
* @beta
|
|
3888
3888
|
* @hidden
|
|
@@ -4180,7 +4180,7 @@ interface CommentsProviderProps {
|
|
|
4180
4180
|
/**
|
|
4181
4181
|
* @beta
|
|
4182
4182
|
*/
|
|
4183
|
-
declare const CommentsProvider:
|
|
4183
|
+
declare const CommentsProvider: react608.NamedExoticComponent<CommentsProviderProps>;
|
|
4184
4184
|
interface CommentsEnabledProviderProps {
|
|
4185
4185
|
children: ReactNode;
|
|
4186
4186
|
documentId: string;
|
|
@@ -4190,7 +4190,7 @@ interface CommentsEnabledProviderProps {
|
|
|
4190
4190
|
* @beta
|
|
4191
4191
|
* @hidden
|
|
4192
4192
|
*/
|
|
4193
|
-
declare const CommentsEnabledProvider:
|
|
4193
|
+
declare const CommentsEnabledProvider: react608.NamedExoticComponent<CommentsEnabledProviderProps>;
|
|
4194
4194
|
/**
|
|
4195
4195
|
* @beta
|
|
4196
4196
|
* @hidden
|
|
@@ -4203,14 +4203,14 @@ interface CommentsIntentProviderProps {
|
|
|
4203
4203
|
* @beta
|
|
4204
4204
|
* @hidden
|
|
4205
4205
|
*/
|
|
4206
|
-
declare const CommentsIntentProvider:
|
|
4206
|
+
declare const CommentsIntentProvider: react608.NamedExoticComponent<CommentsIntentProviderProps>;
|
|
4207
4207
|
interface CommentsSelectedPathProviderProps {
|
|
4208
4208
|
children: React.ReactNode;
|
|
4209
4209
|
}
|
|
4210
4210
|
/**
|
|
4211
4211
|
* @internal
|
|
4212
4212
|
*/
|
|
4213
|
-
declare const CommentsSelectedPathProvider:
|
|
4213
|
+
declare const CommentsSelectedPathProvider: react608.NamedExoticComponent<CommentsSelectedPathProviderProps>;
|
|
4214
4214
|
/**
|
|
4215
4215
|
* @internal
|
|
4216
4216
|
*/
|
|
@@ -4253,7 +4253,7 @@ declare function ActiveWorkspaceMatcher({
|
|
|
4253
4253
|
LoadingComponent,
|
|
4254
4254
|
NotFoundComponent,
|
|
4255
4255
|
unstable_history: historyProp
|
|
4256
|
-
}: ActiveWorkspaceMatcherProps):
|
|
4256
|
+
}: ActiveWorkspaceMatcherProps): react608.JSX.Element;
|
|
4257
4257
|
/** @internal */
|
|
4258
4258
|
interface WorkspaceLike {
|
|
4259
4259
|
name?: string;
|
|
@@ -4324,7 +4324,7 @@ declare function WorkspacesProvider({
|
|
|
4324
4324
|
children,
|
|
4325
4325
|
basePath,
|
|
4326
4326
|
LoadingComponent
|
|
4327
|
-
}: WorkspacesProviderProps):
|
|
4327
|
+
}: WorkspacesProviderProps): react608.JSX.Element;
|
|
4328
4328
|
/** @internal */
|
|
4329
4329
|
type NormalizedWorkspace = {
|
|
4330
4330
|
workspace: WorkspacesContextValue[number];
|
|
@@ -4370,7 +4370,7 @@ interface AddonDatasetSetupProviderProps {
|
|
|
4370
4370
|
* @beta
|
|
4371
4371
|
* @hidden
|
|
4372
4372
|
*/
|
|
4373
|
-
declare function AddonDatasetProvider(props: AddonDatasetSetupProviderProps): string | number | bigint | boolean |
|
|
4373
|
+
declare function AddonDatasetProvider(props: AddonDatasetSetupProviderProps): string | number | bigint | boolean | react608.JSX.Element | Iterable<react608.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react608.ReactNode> | react608.ReactElement<unknown, string | react608.JSXElementConstructor<any>> | react608.ReactPortal | null | undefined> | null | undefined;
|
|
4374
4374
|
/**
|
|
4375
4375
|
* @beta
|
|
4376
4376
|
* @hidden
|
|
@@ -4472,7 +4472,7 @@ declare function ColorSchemeProvider({
|
|
|
4472
4472
|
children,
|
|
4473
4473
|
onSchemeChange,
|
|
4474
4474
|
scheme: schemeProp
|
|
4475
|
-
}: ColorSchemeProviderProps):
|
|
4475
|
+
}: ColorSchemeProviderProps): react608.JSX.Element;
|
|
4476
4476
|
/**
|
|
4477
4477
|
* Uses useSyncExternalStore to ensure that localStorage is accessed in a SSR hydration compatible way
|
|
4478
4478
|
* @internal
|
|
@@ -4480,7 +4480,7 @@ declare function ColorSchemeProvider({
|
|
|
4480
4480
|
declare function ColorSchemeLocalStorageProvider({
|
|
4481
4481
|
children,
|
|
4482
4482
|
onSchemeChange
|
|
4483
|
-
}: Pick<ColorSchemeProviderProps, 'children' | 'onSchemeChange'>):
|
|
4483
|
+
}: Pick<ColorSchemeProviderProps, 'children' | 'onSchemeChange'>): react608.JSX.Element;
|
|
4484
4484
|
/**
|
|
4485
4485
|
* If the `scheme` prop is provided we don't need to setup any logic to handle localStorage
|
|
4486
4486
|
* @internal
|
|
@@ -4525,7 +4525,7 @@ declare function Filters({
|
|
|
4525
4525
|
showTypeFilter
|
|
4526
4526
|
}: {
|
|
4527
4527
|
showTypeFilter?: boolean;
|
|
4528
|
-
}):
|
|
4528
|
+
}): react608.JSX.Element;
|
|
4529
4529
|
interface SearchHeaderProps {
|
|
4530
4530
|
ariaInputLabel?: string;
|
|
4531
4531
|
onClose?: () => void;
|
|
@@ -4533,7 +4533,7 @@ interface SearchHeaderProps {
|
|
|
4533
4533
|
/**
|
|
4534
4534
|
* @internal
|
|
4535
4535
|
*/
|
|
4536
|
-
declare const SearchHeader:
|
|
4536
|
+
declare const SearchHeader: react608.ForwardRefExoticComponent<SearchHeaderProps & react608.RefAttributes<HTMLInputElement>>;
|
|
4537
4537
|
type ItemSelectHandler = (item: Pick<SanityDocumentLike, '_id' | '_type' | 'title'>) => void;
|
|
4538
4538
|
/**
|
|
4539
4539
|
* @internal
|
|
@@ -4561,7 +4561,7 @@ declare function SearchPopover({
|
|
|
4561
4561
|
onOpen,
|
|
4562
4562
|
previewPerspective,
|
|
4563
4563
|
open
|
|
4564
|
-
}: SearchPopoverProps):
|
|
4564
|
+
}: SearchPopoverProps): react608.JSX.Element;
|
|
4565
4565
|
interface SearchResultItemPreviewProps {
|
|
4566
4566
|
documentId: string;
|
|
4567
4567
|
documentType: string;
|
|
@@ -4582,7 +4582,7 @@ declare function SearchResultItemPreview({
|
|
|
4582
4582
|
schemaType,
|
|
4583
4583
|
showBadge,
|
|
4584
4584
|
perspective
|
|
4585
|
-
}: SearchResultItemPreviewProps):
|
|
4585
|
+
}: SearchResultItemPreviewProps): react608.JSX.Element;
|
|
4586
4586
|
/**
|
|
4587
4587
|
* @internal
|
|
4588
4588
|
*/
|
|
@@ -5116,7 +5116,7 @@ declare function SearchProvider({
|
|
|
5116
5116
|
fullscreen,
|
|
5117
5117
|
disabledDocumentIds,
|
|
5118
5118
|
canDisableAction
|
|
5119
|
-
}: SearchProviderProps):
|
|
5119
|
+
}: SearchProviderProps): react608.JSX.Element;
|
|
5120
5120
|
/**
|
|
5121
5121
|
* @internal
|
|
5122
5122
|
*/
|
|
@@ -5141,7 +5141,7 @@ interface SearchButtonProps {
|
|
|
5141
5141
|
/**
|
|
5142
5142
|
* @internal
|
|
5143
5143
|
*/
|
|
5144
|
-
declare const SearchButton:
|
|
5144
|
+
declare const SearchButton: react608.ForwardRefExoticComponent<SearchButtonProps & react608.RefAttributes<HTMLButtonElement>>;
|
|
5145
5145
|
interface SearchDialogProps {
|
|
5146
5146
|
onClose: () => void;
|
|
5147
5147
|
onOpen: () => void;
|
|
@@ -5154,11 +5154,11 @@ declare function SearchDialog({
|
|
|
5154
5154
|
onClose,
|
|
5155
5155
|
onOpen,
|
|
5156
5156
|
open
|
|
5157
|
-
}: SearchDialogProps):
|
|
5157
|
+
}: SearchDialogProps): react608.JSX.Element;
|
|
5158
5158
|
/**
|
|
5159
5159
|
* @hidden
|
|
5160
5160
|
* @beta */
|
|
5161
|
-
declare function StudioLogo(props: LogoProps):
|
|
5161
|
+
declare function StudioLogo(props: LogoProps): react608.JSX.Element;
|
|
5162
5162
|
/**
|
|
5163
5163
|
* @hidden
|
|
5164
5164
|
* @beta */
|
|
@@ -5250,11 +5250,11 @@ interface StudioComponentsPluginOptions {
|
|
|
5250
5250
|
/**
|
|
5251
5251
|
* @hidden
|
|
5252
5252
|
* @beta */
|
|
5253
|
-
declare function StudioNavbar(props: Omit<NavbarProps, 'renderDefault'>):
|
|
5253
|
+
declare function StudioNavbar(props: Omit<NavbarProps, 'renderDefault'>): react608.JSX.Element;
|
|
5254
5254
|
/**
|
|
5255
5255
|
* @hidden
|
|
5256
5256
|
* @beta */
|
|
5257
|
-
declare function StudioToolMenu(props: ToolMenuProps):
|
|
5257
|
+
declare function StudioToolMenu(props: ToolMenuProps): react608.JSX.Element | null;
|
|
5258
5258
|
/**
|
|
5259
5259
|
* @hidden
|
|
5260
5260
|
* @beta */
|
|
@@ -5265,7 +5265,7 @@ interface ToolLinkProps {
|
|
|
5265
5265
|
/**
|
|
5266
5266
|
* @hidden
|
|
5267
5267
|
* @beta */
|
|
5268
|
-
declare const ToolLink:
|
|
5268
|
+
declare const ToolLink: react608.ForwardRefExoticComponent<Omit<ToolLinkProps & Omit<HTMLProps<HTMLAnchorElement>, "href" | "name">, "ref"> & react608.RefAttributes<HTMLAnchorElement>>;
|
|
5269
5269
|
/**
|
|
5270
5270
|
* @hidden
|
|
5271
5271
|
* @beta */
|
|
@@ -5566,7 +5566,7 @@ type SourceProviderProps = {
|
|
|
5566
5566
|
declare function SourceProvider({
|
|
5567
5567
|
children,
|
|
5568
5568
|
...props
|
|
5569
|
-
}: SourceProviderProps):
|
|
5569
|
+
}: SourceProviderProps): react608.JSX.Element;
|
|
5570
5570
|
/**
|
|
5571
5571
|
* @internal
|
|
5572
5572
|
* @deprecated INTERNAL USE ONLY
|
|
@@ -5678,7 +5678,7 @@ declare function StudioAnnouncementsCard({
|
|
|
5678
5678
|
preHeader,
|
|
5679
5679
|
onCardClick,
|
|
5680
5680
|
onCardDismiss
|
|
5681
|
-
}: StudioAnnouncementCardProps):
|
|
5681
|
+
}: StudioAnnouncementCardProps): react608.JSX.Element;
|
|
5682
5682
|
declare const audienceRoles: readonly ["administrator", "editor", "viewer", "contributor", "developer", "custom"];
|
|
5683
5683
|
type AudienceRole = (typeof audienceRoles)[number];
|
|
5684
5684
|
interface StudioAnnouncementDocument {
|
|
@@ -5718,7 +5718,7 @@ declare function StudioAnnouncementsDialog({
|
|
|
5718
5718
|
announcements,
|
|
5719
5719
|
onClose,
|
|
5720
5720
|
mode
|
|
5721
|
-
}: StudioAnnouncementDialogProps):
|
|
5721
|
+
}: StudioAnnouncementDialogProps): react608.JSX.Element;
|
|
5722
5722
|
/**
|
|
5723
5723
|
* @internal
|
|
5724
5724
|
* @hidden
|
|
@@ -5761,12 +5761,12 @@ interface NavbarContextValue {
|
|
|
5761
5761
|
*</StudioProvider>
|
|
5762
5762
|
* ```
|
|
5763
5763
|
*/
|
|
5764
|
-
declare function StudioLayout():
|
|
5764
|
+
declare function StudioLayout(): react608.JSX.Element;
|
|
5765
5765
|
/**
|
|
5766
5766
|
* @internal
|
|
5767
5767
|
* The default Studio Layout component
|
|
5768
5768
|
* */
|
|
5769
|
-
declare function StudioLayoutComponent():
|
|
5769
|
+
declare function StudioLayoutComponent(): react608.JSX.Element;
|
|
5770
5770
|
/**
|
|
5771
5771
|
* @hidden
|
|
5772
5772
|
* @beta */
|
|
@@ -5784,7 +5784,7 @@ declare function StudioProvider({
|
|
|
5784
5784
|
scheme,
|
|
5785
5785
|
unstable_history: history,
|
|
5786
5786
|
unstable_noAuthBoundary: noAuthBoundary
|
|
5787
|
-
}: StudioProviderProps):
|
|
5787
|
+
}: StudioProviderProps): react608.JSX.Element;
|
|
5788
5788
|
interface UpsellDialogActionsInfo {
|
|
5789
5789
|
feature: 'comments' | 'scheduled_publishing' | 'ai_assist' | 'tasks';
|
|
5790
5790
|
type: 'modal' | 'inspector';
|
|
@@ -5829,7 +5829,7 @@ interface DescriptionSerializerProps {
|
|
|
5829
5829
|
* Not meant for public consumption.
|
|
5830
5830
|
* @internal
|
|
5831
5831
|
*/
|
|
5832
|
-
declare function UpsellDescriptionSerializer(props: DescriptionSerializerProps):
|
|
5832
|
+
declare function UpsellDescriptionSerializer(props: DescriptionSerializerProps): react608.JSX.Element;
|
|
5833
5833
|
/** @internal */
|
|
5834
5834
|
interface WorkspaceProviderProps {
|
|
5835
5835
|
workspace: Workspace;
|
|
@@ -5864,7 +5864,7 @@ declare function ErrorMessage({
|
|
|
5864
5864
|
message,
|
|
5865
5865
|
path,
|
|
5866
5866
|
stack
|
|
5867
|
-
}: ErrorMessageProps):
|
|
5867
|
+
}: ErrorMessageProps): react608.JSX.Element;
|
|
5868
5868
|
interface WorkspaceLoaderProps {
|
|
5869
5869
|
children: ReactNode;
|
|
5870
5870
|
ConfigErrorsComponent: ComponentType;
|
|
@@ -5880,7 +5880,7 @@ declare function useWorkspaceLoader(activeWorkspace: WorkspaceSummary): Workspac
|
|
|
5880
5880
|
declare function WorkspaceLoaderBoundary({
|
|
5881
5881
|
ConfigErrorsComponent,
|
|
5882
5882
|
...props
|
|
5883
|
-
}: WorkspaceLoaderProps):
|
|
5883
|
+
}: WorkspaceLoaderProps): react608.JSX.Element;
|
|
5884
5884
|
/**
|
|
5885
5885
|
* @beta
|
|
5886
5886
|
* @hidden
|
|
@@ -5957,7 +5957,7 @@ interface CommentsListProps {
|
|
|
5957
5957
|
* @beta
|
|
5958
5958
|
* @hidden
|
|
5959
5959
|
*/
|
|
5960
|
-
declare const CommentsList:
|
|
5960
|
+
declare const CommentsList: react608.NamedExoticComponent<CommentsListProps & react608.RefAttributes<HTMLDivElement>>;
|
|
5961
5961
|
/**
|
|
5962
5962
|
* @internal
|
|
5963
5963
|
*/
|
|
@@ -6000,7 +6000,7 @@ interface CommentInputHandle {
|
|
|
6000
6000
|
* @internal
|
|
6001
6001
|
* @hidden
|
|
6002
6002
|
*/
|
|
6003
|
-
declare const CommentInput:
|
|
6003
|
+
declare const CommentInput: react608.ForwardRefExoticComponent<CommentInputProps & react608.RefAttributes<CommentInputHandle>>;
|
|
6004
6004
|
interface CommentInputContextValue {
|
|
6005
6005
|
canSubmit?: boolean;
|
|
6006
6006
|
closeMentions: () => void;
|
|
@@ -6030,7 +6030,7 @@ interface CommentInlineHighlightSpanProps {
|
|
|
6030
6030
|
/**
|
|
6031
6031
|
* @internal
|
|
6032
6032
|
*/
|
|
6033
|
-
declare const CommentInlineHighlightSpan:
|
|
6033
|
+
declare const CommentInlineHighlightSpan: react608.ForwardRefExoticComponent<Omit<CommentInlineHighlightSpanProps & react608.HTMLProps<HTMLSpanElement>, "ref"> & react608.RefAttributes<HTMLSpanElement>>;
|
|
6034
6034
|
/**
|
|
6035
6035
|
* @internal
|
|
6036
6036
|
* @hidden
|
|
@@ -6168,11 +6168,11 @@ interface CollapseMenuProps {
|
|
|
6168
6168
|
onMenuClose?: () => void;
|
|
6169
6169
|
}
|
|
6170
6170
|
/** @internal */
|
|
6171
|
-
declare const CollapseMenu:
|
|
6171
|
+
declare const CollapseMenu: react608.ForwardRefExoticComponent<CollapseMenuProps & react608.RefAttributes<any>>;
|
|
6172
6172
|
/** @internal */
|
|
6173
|
-
declare const AutoCollapseMenu:
|
|
6174
|
-
menuOptions:
|
|
6175
|
-
} &
|
|
6173
|
+
declare const AutoCollapseMenu: react608.ForwardRefExoticComponent<Omit<CollapseMenuProps, "children" | "collapsed"> & {
|
|
6174
|
+
menuOptions: react608.JSX.Element[];
|
|
6175
|
+
} & react608.RefAttributes<HTMLDivElement>>;
|
|
6176
6176
|
/** @internal */
|
|
6177
6177
|
interface CommonProps extends Omit<ButtonProps$1, 'text' | 'iconRight'> {
|
|
6178
6178
|
as?: ElementType | keyof React.JSX.IntrinsicElements;
|
|
@@ -6188,7 +6188,7 @@ interface CollapseMenuButtonProps extends CommonProps {
|
|
|
6188
6188
|
text: string;
|
|
6189
6189
|
}
|
|
6190
6190
|
/** @internal */
|
|
6191
|
-
declare const CollapseMenuButton:
|
|
6191
|
+
declare const CollapseMenuButton: react608.ForwardRefExoticComponent<Omit<CollapseMenuButtonProps & Omit<HTMLProps<HTMLButtonElement>, "as" | "size">, "ref"> & react608.RefAttributes<HTMLButtonElement>>;
|
|
6192
6192
|
/** @internal */
|
|
6193
6193
|
declare function useOnScroll(callback: Subscriber<Event>): void;
|
|
6194
6194
|
/** @internal */
|
|
@@ -6205,7 +6205,7 @@ interface ScrollContainerProps<T extends ElementType> extends Omit<HTMLProps<T>,
|
|
|
6205
6205
|
*
|
|
6206
6206
|
* @internal
|
|
6207
6207
|
*/
|
|
6208
|
-
declare const ScrollContainer:
|
|
6208
|
+
declare const ScrollContainer: react608.NamedExoticComponent<Omit<ScrollContainerProps<ElementType>, "ref"> & react608.RefAttributes<HTMLDivElement>>;
|
|
6209
6209
|
/** @internal */
|
|
6210
6210
|
type ScrollEventHandler = (event: Event) => void;
|
|
6211
6211
|
/** @internal */
|
|
@@ -6647,7 +6647,7 @@ interface EventsProviderProps {
|
|
|
6647
6647
|
declare function EventsProvider({
|
|
6648
6648
|
value,
|
|
6649
6649
|
children
|
|
6650
|
-
}: EventsProviderProps):
|
|
6650
|
+
}: EventsProviderProps): react608.JSX.Element;
|
|
6651
6651
|
/**
|
|
6652
6652
|
* @internal
|
|
6653
6653
|
*/
|
|
@@ -6865,7 +6865,7 @@ declare function useDiffAnnotationColor(diff: Diff$1, path?: string | Path): Use
|
|
|
6865
6865
|
declare function ChangeBreadcrumb(props: {
|
|
6866
6866
|
change?: FieldChangeNode;
|
|
6867
6867
|
titlePath: ChangeTitlePath;
|
|
6868
|
-
}):
|
|
6868
|
+
}): react608.JSX.Element;
|
|
6869
6869
|
/** @internal */
|
|
6870
6870
|
interface ChangeListProps {
|
|
6871
6871
|
schemaType: ObjectSchemaType;
|
|
@@ -6886,7 +6886,7 @@ interface ChangeResolverProps {
|
|
|
6886
6886
|
addParentWrapper?: boolean;
|
|
6887
6887
|
}
|
|
6888
6888
|
/** @internal */
|
|
6889
|
-
declare function ChangeResolver(props: ChangeResolverProps):
|
|
6889
|
+
declare function ChangeResolver(props: ChangeResolverProps): react608.JSX.Element | null;
|
|
6890
6890
|
/**
|
|
6891
6891
|
* @internal
|
|
6892
6892
|
* */
|
|
@@ -6894,12 +6894,12 @@ declare function ChangesError({
|
|
|
6894
6894
|
error
|
|
6895
6895
|
}: {
|
|
6896
6896
|
error?: Error | null;
|
|
6897
|
-
}):
|
|
6897
|
+
}): react608.JSX.Element;
|
|
6898
6898
|
/** @internal */
|
|
6899
6899
|
declare function ChangeTitleSegment(props: {
|
|
6900
6900
|
change?: FieldChangeNode;
|
|
6901
6901
|
segment: string | FromToIndex;
|
|
6902
|
-
}):
|
|
6902
|
+
}): react608.JSX.Element;
|
|
6903
6903
|
/**
|
|
6904
6904
|
* @internal
|
|
6905
6905
|
* mapping of events types with a readable key for translation
|
|
@@ -6917,7 +6917,7 @@ interface DiffCardProps {
|
|
|
6917
6917
|
} | boolean;
|
|
6918
6918
|
}
|
|
6919
6919
|
/** @internal */
|
|
6920
|
-
declare const DiffCard:
|
|
6920
|
+
declare const DiffCard: react608.ForwardRefExoticComponent<Omit<DiffCardProps & Omit<HTMLProps<HTMLElement>, "as" | "height">, "ref"> & react608.RefAttributes<unknown>>;
|
|
6921
6921
|
/** @internal */
|
|
6922
6922
|
interface DiffErrorBoundaryProps {
|
|
6923
6923
|
children: ReactNode;
|
|
@@ -6934,7 +6934,7 @@ declare class DiffErrorBoundary extends Component<DiffErrorBoundaryProps, DiffEr
|
|
|
6934
6934
|
};
|
|
6935
6935
|
state: DiffErrorBoundaryState;
|
|
6936
6936
|
componentDidCatch(error: Error): void;
|
|
6937
|
-
render(): string | number | bigint | boolean |
|
|
6937
|
+
render(): string | number | bigint | boolean | react608.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | react608.ReactElement<unknown, string | react608.JSXElementConstructor<any>> | react608.ReactPortal | null | undefined> | null | undefined;
|
|
6938
6938
|
}
|
|
6939
6939
|
/** @internal */
|
|
6940
6940
|
type FieldPreviewComponent<T = any> = ComponentType<{
|
|
@@ -6953,7 +6953,7 @@ interface DiffFromToProps {
|
|
|
6953
6953
|
schemaType: SchemaType;
|
|
6954
6954
|
}
|
|
6955
6955
|
/** @internal */
|
|
6956
|
-
declare function DiffFromTo(props: DiffFromToProps):
|
|
6956
|
+
declare function DiffFromTo(props: DiffFromToProps): react608.JSX.Element;
|
|
6957
6957
|
/** @internal */
|
|
6958
6958
|
interface DiffInspectWrapperProps {
|
|
6959
6959
|
children: ReactNode;
|
|
@@ -6969,7 +6969,7 @@ declare function DiffStringSegment(props: {
|
|
|
6969
6969
|
/** @internal */
|
|
6970
6970
|
declare function DiffString(props: {
|
|
6971
6971
|
diff: StringDiff$1;
|
|
6972
|
-
}):
|
|
6972
|
+
}): react608.JSX.Element;
|
|
6973
6973
|
/** @internal */
|
|
6974
6974
|
interface DiffTooltipProps extends TooltipProps$1 {
|
|
6975
6975
|
children: React.JSX.Element;
|
|
@@ -6984,7 +6984,7 @@ interface DiffTooltipWithAnnotationsProps extends TooltipProps$1 {
|
|
|
6984
6984
|
description?: ReactNode;
|
|
6985
6985
|
}
|
|
6986
6986
|
/** @internal */
|
|
6987
|
-
declare function DiffTooltip(props: DiffTooltipProps | DiffTooltipWithAnnotationsProps):
|
|
6987
|
+
declare function DiffTooltip(props: DiffTooltipProps | DiffTooltipWithAnnotationsProps): react608.JSX.Element;
|
|
6988
6988
|
interface TimelineItemProps {
|
|
6989
6989
|
event: DocumentGroupEvent;
|
|
6990
6990
|
showChangesBy: 'tooltip' | 'inline' | 'hidden';
|
|
@@ -6995,7 +6995,7 @@ interface TimelineItemProps {
|
|
|
6995
6995
|
declare function Event$1({
|
|
6996
6996
|
event,
|
|
6997
6997
|
showChangesBy
|
|
6998
|
-
}: TimelineItemProps):
|
|
6998
|
+
}: TimelineItemProps): react608.JSX.Element;
|
|
6999
6999
|
/** @internal */
|
|
7000
7000
|
declare const FallbackDiff: DiffComponent<Diff$1<unknown, Record<string, unknown>>>;
|
|
7001
7001
|
/** @internal */
|
|
@@ -7004,7 +7004,7 @@ declare function FieldChange(props: {
|
|
|
7004
7004
|
readOnly?: boolean;
|
|
7005
7005
|
hidden?: boolean;
|
|
7006
7006
|
addParentWrapper?: boolean;
|
|
7007
|
-
} & HTMLAttributes<HTMLDivElement>):
|
|
7007
|
+
} & HTMLAttributes<HTMLDivElement>): react608.JSX.Element | null;
|
|
7008
7008
|
/** @internal */
|
|
7009
7009
|
type FromToProps = {
|
|
7010
7010
|
align?: 'top' | 'center' | 'bottom';
|
|
@@ -7013,13 +7013,13 @@ type FromToProps = {
|
|
|
7013
7013
|
to?: ReactNode;
|
|
7014
7014
|
} & Omit<HTMLProps<HTMLDivElement>, 'children' | 'as' | 'height' | 'wrap'>;
|
|
7015
7015
|
/** @internal */
|
|
7016
|
-
declare const FromTo:
|
|
7016
|
+
declare const FromTo: react608.ForwardRefExoticComponent<Omit<FromToProps, "ref"> & react608.RefAttributes<HTMLDivElement>>;
|
|
7017
7017
|
/** @internal */
|
|
7018
7018
|
type FromToArrowDirection = 'down' | 'right';
|
|
7019
7019
|
/** @internal */
|
|
7020
7020
|
declare function FromToArrow(props: {
|
|
7021
7021
|
direction?: FromToArrowDirection;
|
|
7022
|
-
} & TextProps & Omit<HTMLProps<HTMLDivElement>, 'children' | 'ref'>):
|
|
7022
|
+
} & TextProps & Omit<HTMLProps<HTMLDivElement>, 'children' | 'ref'>): react608.JSX.Element;
|
|
7023
7023
|
/** @internal */
|
|
7024
7024
|
declare function GroupChange(props: {
|
|
7025
7025
|
change: GroupChangeNode;
|
|
@@ -7035,13 +7035,13 @@ interface MetaInfoProps {
|
|
|
7035
7035
|
markRemoved?: boolean;
|
|
7036
7036
|
}
|
|
7037
7037
|
/** @internal */
|
|
7038
|
-
declare function MetaInfo(props: MetaInfoProps):
|
|
7038
|
+
declare function MetaInfo(props: MetaInfoProps): react608.JSX.Element;
|
|
7039
7039
|
/** @internal */
|
|
7040
|
-
declare function NoChanges():
|
|
7040
|
+
declare function NoChanges(): react608.JSX.Element;
|
|
7041
7041
|
/** @internal */
|
|
7042
|
-
declare const RevertChangesButton:
|
|
7042
|
+
declare const RevertChangesButton: react608.ForwardRefExoticComponent<Omit<ButtonProps$1, "tooltipProps"> & Omit<HTMLProps<HTMLButtonElement>, "ref"> & {
|
|
7043
7043
|
changeCount: number;
|
|
7044
|
-
} &
|
|
7044
|
+
} & react608.RefAttributes<HTMLButtonElement>>;
|
|
7045
7045
|
interface RevertChangesConfirmDialogProps {
|
|
7046
7046
|
open: boolean;
|
|
7047
7047
|
onConfirm: () => void;
|
|
@@ -7058,13 +7058,13 @@ declare function RevertChangesConfirmDialog({
|
|
|
7058
7058
|
onCancel,
|
|
7059
7059
|
changeCount,
|
|
7060
7060
|
referenceElement
|
|
7061
|
-
}: RevertChangesConfirmDialogProps):
|
|
7061
|
+
}: RevertChangesConfirmDialogProps): react608.JSX.Element;
|
|
7062
7062
|
/** @internal */
|
|
7063
7063
|
declare function ValueError({
|
|
7064
7064
|
error
|
|
7065
7065
|
}: {
|
|
7066
7066
|
error: FieldValueError;
|
|
7067
|
-
}):
|
|
7067
|
+
}): react608.JSX.Element;
|
|
7068
7068
|
/** @internal */
|
|
7069
7069
|
type DocumentChangeContextInstance = {
|
|
7070
7070
|
documentId: string;
|
|
@@ -7180,7 +7180,7 @@ declare function PerspectiveProvider({
|
|
|
7180
7180
|
children: React.ReactNode;
|
|
7181
7181
|
selectedPerspectiveName: 'published' | ReleaseId | undefined;
|
|
7182
7182
|
excludedPerspectives?: string[];
|
|
7183
|
-
}):
|
|
7183
|
+
}): react608.JSX.Element;
|
|
7184
7184
|
interface ExcludedPerspectiveValue {
|
|
7185
7185
|
excludedPerspectives: string[];
|
|
7186
7186
|
toggleExcludedPerspective: (perspectiveId: string) => void;
|
|
@@ -7255,7 +7255,7 @@ interface Props$2 {
|
|
|
7255
7255
|
* @deprecated we will be dropping support for scheduled publishing on a future major version
|
|
7256
7256
|
* @internal
|
|
7257
7257
|
*/
|
|
7258
|
-
declare function EditScheduleForm(props: PropsWithChildren<Props$2>):
|
|
7258
|
+
declare function EditScheduleForm(props: PropsWithChildren<Props$2>): react608.JSX.Element;
|
|
7259
7259
|
/**
|
|
7260
7260
|
* @internal
|
|
7261
7261
|
*/
|
|
@@ -7406,18 +7406,18 @@ interface DocumentActionDescription extends GroupableActionDescription<DocumentA
|
|
|
7406
7406
|
}
|
|
7407
7407
|
declare function useScheduleAction(props: DocumentActionProps): {
|
|
7408
7408
|
disabled: true;
|
|
7409
|
-
icon:
|
|
7409
|
+
icon: react608.ForwardRefExoticComponent<Omit<react608.SVGProps<SVGSVGElement>, "ref"> & react608.RefAttributes<SVGSVGElement>>;
|
|
7410
7410
|
label: string;
|
|
7411
|
-
title:
|
|
7411
|
+
title: react608.JSX.Element;
|
|
7412
7412
|
dialog?: undefined;
|
|
7413
7413
|
onHandle?: undefined;
|
|
7414
7414
|
} | {
|
|
7415
7415
|
dialog: false | DocumentActionModalDialogProps;
|
|
7416
7416
|
disabled: boolean;
|
|
7417
7417
|
label: string;
|
|
7418
|
-
icon:
|
|
7418
|
+
icon: react608.ForwardRefExoticComponent<Omit<react608.SVGProps<SVGSVGElement>, "ref"> & react608.RefAttributes<SVGSVGElement>>;
|
|
7419
7419
|
onHandle: () => void;
|
|
7420
|
-
title: "" |
|
|
7420
|
+
title: "" | react608.JSX.Element | null;
|
|
7421
7421
|
} | null;
|
|
7422
7422
|
declare namespace useScheduleAction {
|
|
7423
7423
|
var action: ("delete" | "discardChanges" | "discardVersion" | "duplicate" | "editInCanvas" | "linkToCanvas" | "publish" | "restore" | "schedule" | "unlinkFromCanvas" | "unpublish" | "unpublishVersion") | undefined;
|
|
@@ -7444,7 +7444,7 @@ interface GetHookCollectionStateProps<Args, State> {
|
|
|
7444
7444
|
resetRef?: React.Ref<() => void>;
|
|
7445
7445
|
}
|
|
7446
7446
|
/** @internal */
|
|
7447
|
-
declare function GetHookCollectionState<Args, State>(props: GetHookCollectionStateProps<Args, State>):
|
|
7447
|
+
declare function GetHookCollectionState<Args, State>(props: GetHookCollectionStateProps<Args, State>): react608.JSX.Element;
|
|
7448
7448
|
/**
|
|
7449
7449
|
* @hidden
|
|
7450
7450
|
* @beta */
|
|
@@ -7497,7 +7497,7 @@ interface SingleDocReleaseProviderProps {
|
|
|
7497
7497
|
declare function SingleDocReleaseProvider({
|
|
7498
7498
|
children,
|
|
7499
7499
|
onSetScheduledDraftPerspective
|
|
7500
|
-
}: SingleDocReleaseProviderProps):
|
|
7500
|
+
}: SingleDocReleaseProviderProps): react608.JSX.Element;
|
|
7501
7501
|
/**
|
|
7502
7502
|
* Hook to get the single doc release context
|
|
7503
7503
|
* @internal
|
|
@@ -8306,7 +8306,7 @@ declare function DocumentStatus({
|
|
|
8306
8306
|
published,
|
|
8307
8307
|
versions,
|
|
8308
8308
|
singleLine
|
|
8309
|
-
}: DocumentStatusProps$1):
|
|
8309
|
+
}: DocumentStatusProps$1): react608.JSX.Element;
|
|
8310
8310
|
/**
|
|
8311
8311
|
* @internal
|
|
8312
8312
|
*/
|
|
@@ -8376,7 +8376,7 @@ declare function DocumentStatusIndicator({
|
|
|
8376
8376
|
draft,
|
|
8377
8377
|
published,
|
|
8378
8378
|
versions
|
|
8379
|
-
}: DocumentStatusProps):
|
|
8379
|
+
}: DocumentStatusProps): react608.JSX.Element;
|
|
8380
8380
|
/**
|
|
8381
8381
|
* @internal
|
|
8382
8382
|
*/
|
|
@@ -8432,7 +8432,7 @@ declare function Hotkeys({
|
|
|
8432
8432
|
makePlatformAware,
|
|
8433
8433
|
keys: hotKeys,
|
|
8434
8434
|
...props
|
|
8435
|
-
}: HotkeysProps$1):
|
|
8435
|
+
}: HotkeysProps$1): react608.JSX.Element;
|
|
8436
8436
|
/** @internal */
|
|
8437
8437
|
interface InsufficientPermissionsMessageProps {
|
|
8438
8438
|
currentUser?: CurrentUser | null;
|
|
@@ -8442,13 +8442,13 @@ interface InsufficientPermissionsMessageProps {
|
|
|
8442
8442
|
declare function InsufficientPermissionsMessage({
|
|
8443
8443
|
currentUser,
|
|
8444
8444
|
context
|
|
8445
|
-
}: InsufficientPermissionsMessageProps):
|
|
8445
|
+
}: InsufficientPermissionsMessageProps): react608.JSX.Element;
|
|
8446
8446
|
/**
|
|
8447
8447
|
*
|
|
8448
8448
|
* @hidden
|
|
8449
8449
|
* @beta
|
|
8450
8450
|
*/
|
|
8451
|
-
declare function IntentButton(props: IntentLinkProps & ButtonProps$1 & Omit<HTMLProps<HTMLButtonElement>, 'ref' | 'size' | 'as'>):
|
|
8451
|
+
declare function IntentButton(props: IntentLinkProps & ButtonProps$1 & Omit<HTMLProps<HTMLButtonElement>, 'ref' | 'size' | 'as'>): react608.JSX.Element;
|
|
8452
8452
|
interface LoadingTestProps {
|
|
8453
8453
|
/** Absolutely positions this component when `true`. */
|
|
8454
8454
|
fill?: boolean;
|
|
@@ -8472,7 +8472,7 @@ declare function LoadingBlock({
|
|
|
8472
8472
|
fill,
|
|
8473
8473
|
showText,
|
|
8474
8474
|
title
|
|
8475
|
-
}: LoadingTestProps):
|
|
8475
|
+
}: LoadingTestProps): react608.JSX.Element;
|
|
8476
8476
|
interface PopoverDialogProps {
|
|
8477
8477
|
children: ReactNode;
|
|
8478
8478
|
header?: ReactNode;
|
|
@@ -8482,7 +8482,7 @@ interface PopoverDialogProps {
|
|
|
8482
8482
|
containerRef?: Dispatch<SetStateAction<HTMLDivElement | null>>;
|
|
8483
8483
|
}
|
|
8484
8484
|
/** @internal */
|
|
8485
|
-
declare function PopoverDialog(props: PopoverDialogProps):
|
|
8485
|
+
declare function PopoverDialog(props: PopoverDialogProps): react608.JSX.Element;
|
|
8486
8486
|
/** @internal */
|
|
8487
8487
|
interface PreviewCardContextValue {
|
|
8488
8488
|
selected?: boolean;
|
|
@@ -8490,7 +8490,7 @@ interface PreviewCardContextValue {
|
|
|
8490
8490
|
/** @internal */
|
|
8491
8491
|
declare function usePreviewCard(): PreviewCardContextValue;
|
|
8492
8492
|
/** @internal */
|
|
8493
|
-
declare const PreviewCard:
|
|
8493
|
+
declare const PreviewCard: react608.ForwardRefExoticComponent<Omit<CardProps & Omit<HTMLProps<HTMLDivElement>, "height">, "ref"> & react608.RefAttributes<HTMLDivElement>>;
|
|
8494
8494
|
/**
|
|
8495
8495
|
* This is a workaround for a circular import issue.
|
|
8496
8496
|
* Calling `styled(PreviewCard)` at program load time triggered a build error with the commonjs bundle because it tried
|
|
@@ -8498,7 +8498,7 @@ declare const PreviewCard: react576.ForwardRefExoticComponent<Omit<CardProps & O
|
|
|
8498
8498
|
* The workaround is to colocate the styled component with the component itself.
|
|
8499
8499
|
* @internal
|
|
8500
8500
|
*/
|
|
8501
|
-
declare const ReferenceInputPreviewCard: styled_components_dist_types6.IStyledComponentBase<"web", styled_components4.FastOmit<Omit<CardProps & Omit<HTMLProps<HTMLDivElement>, "height">, "ref"> &
|
|
8501
|
+
declare const ReferenceInputPreviewCard: styled_components_dist_types6.IStyledComponentBase<"web", styled_components4.FastOmit<Omit<CardProps & Omit<HTMLProps<HTMLDivElement>, "height">, "ref"> & react608.RefAttributes<HTMLDivElement>, never>> & string & Omit<react608.ForwardRefExoticComponent<Omit<CardProps & Omit<HTMLProps<HTMLDivElement>, "height">, "ref"> & react608.RefAttributes<HTMLDivElement>>, keyof react608.Component<any, {}, any>>;
|
|
8502
8502
|
/**
|
|
8503
8503
|
* Portable text preview layout key
|
|
8504
8504
|
*
|
|
@@ -8585,7 +8585,7 @@ type CompactPreviewProps = Omit<PreviewProps<'compact'>, 'renderDefault'>;
|
|
|
8585
8585
|
/**
|
|
8586
8586
|
* @hidden
|
|
8587
8587
|
* @beta */
|
|
8588
|
-
declare function CompactPreview(props: CompactPreviewProps):
|
|
8588
|
+
declare function CompactPreview(props: CompactPreviewProps): react608.JSX.Element;
|
|
8589
8589
|
/**
|
|
8590
8590
|
* @hidden
|
|
8591
8591
|
* @beta */
|
|
@@ -8606,7 +8606,7 @@ interface DefaultPreviewProps extends Omit<PreviewProps<'default'>, 'renderDefau
|
|
|
8606
8606
|
/**
|
|
8607
8607
|
* @hidden
|
|
8608
8608
|
* @beta */
|
|
8609
|
-
declare function DefaultPreview(props: DefaultPreviewProps):
|
|
8609
|
+
declare function DefaultPreview(props: DefaultPreviewProps): react608.JSX.Element;
|
|
8610
8610
|
/**
|
|
8611
8611
|
* @hidden
|
|
8612
8612
|
* @beta */
|
|
@@ -8614,7 +8614,7 @@ type DetailPreviewProps = PreviewProps<'detail'>;
|
|
|
8614
8614
|
/**
|
|
8615
8615
|
* @hidden
|
|
8616
8616
|
* @beta */
|
|
8617
|
-
declare function DetailPreview(props: DetailPreviewProps):
|
|
8617
|
+
declare function DetailPreview(props: DetailPreviewProps): react608.JSX.Element;
|
|
8618
8618
|
/**
|
|
8619
8619
|
* @hidden
|
|
8620
8620
|
* @beta */
|
|
@@ -8622,7 +8622,7 @@ type MediaPreviewProps = Omit<PreviewProps<'media'>, 'renderDefault'>;
|
|
|
8622
8622
|
/**
|
|
8623
8623
|
* @hidden
|
|
8624
8624
|
* @beta */
|
|
8625
|
-
declare function MediaPreview(props: MediaPreviewProps):
|
|
8625
|
+
declare function MediaPreview(props: MediaPreviewProps): react608.JSX.Element;
|
|
8626
8626
|
/**
|
|
8627
8627
|
* @hidden
|
|
8628
8628
|
* @beta */
|
|
@@ -8630,11 +8630,11 @@ type BlockImagePreviewProps = Omit<PreviewProps<'blockImage'>, 'renderDefault'>;
|
|
|
8630
8630
|
/**
|
|
8631
8631
|
* @hidden
|
|
8632
8632
|
* @beta */
|
|
8633
|
-
declare function BlockImagePreview(props: BlockImagePreviewProps):
|
|
8633
|
+
declare function BlockImagePreview(props: BlockImagePreviewProps): react608.JSX.Element;
|
|
8634
8634
|
/**
|
|
8635
8635
|
* @hidden
|
|
8636
8636
|
* @beta */
|
|
8637
|
-
declare function BlockPreview(props: Omit<PreviewProps<'block'>, 'renderDefault'>):
|
|
8637
|
+
declare function BlockPreview(props: Omit<PreviewProps<'block'>, 'renderDefault'>): react608.JSX.Element;
|
|
8638
8638
|
/**
|
|
8639
8639
|
* @hidden
|
|
8640
8640
|
* @beta */
|
|
@@ -8642,7 +8642,7 @@ type InlinePreviewProps = Omit<PreviewProps<'inline'>, 'renderDefault'>;
|
|
|
8642
8642
|
/**
|
|
8643
8643
|
* @hidden
|
|
8644
8644
|
* @beta */
|
|
8645
|
-
declare function InlinePreview(props: InlinePreviewProps):
|
|
8645
|
+
declare function InlinePreview(props: InlinePreviewProps): react608.JSX.Element;
|
|
8646
8646
|
interface MediaProps {
|
|
8647
8647
|
border?: boolean;
|
|
8648
8648
|
dimensions: PreviewMediaDimensions;
|
|
@@ -8673,19 +8673,19 @@ interface TemplatePreviewProps {
|
|
|
8673
8673
|
/**
|
|
8674
8674
|
* @hidden
|
|
8675
8675
|
* @beta */
|
|
8676
|
-
declare function TemplatePreview(props: TemplatePreviewProps):
|
|
8676
|
+
declare function TemplatePreview(props: TemplatePreviewProps): react608.JSX.Element;
|
|
8677
8677
|
/**
|
|
8678
8678
|
* @hidden
|
|
8679
8679
|
* @beta */
|
|
8680
8680
|
declare function CircularProgress(props: {
|
|
8681
8681
|
/** Percentage */value: number;
|
|
8682
|
-
}):
|
|
8682
|
+
}): react608.JSX.Element;
|
|
8683
8683
|
/**
|
|
8684
8684
|
* @hidden
|
|
8685
8685
|
* @beta */
|
|
8686
8686
|
declare function LinearProgress(props: {
|
|
8687
8687
|
/** Percentage */value: number;
|
|
8688
|
-
}):
|
|
8688
|
+
}): react608.JSX.Element;
|
|
8689
8689
|
/**
|
|
8690
8690
|
* @internal
|
|
8691
8691
|
*/
|
|
@@ -8698,7 +8698,7 @@ interface RelativeTimeProps extends RelativeTimeOptions {
|
|
|
8698
8698
|
declare function RelativeTime({
|
|
8699
8699
|
time,
|
|
8700
8700
|
...options
|
|
8701
|
-
}: RelativeTimeProps):
|
|
8701
|
+
}: RelativeTimeProps): react608.JSX.Element;
|
|
8702
8702
|
interface ResizableProps {
|
|
8703
8703
|
minWidth: number;
|
|
8704
8704
|
maxWidth: number;
|
|
@@ -8709,7 +8709,7 @@ interface ResizableProps {
|
|
|
8709
8709
|
* @internal
|
|
8710
8710
|
* Provides a resizable container with a resizer handle.
|
|
8711
8711
|
*/
|
|
8712
|
-
declare function Resizable(props: ResizableProps & BoxProps & Omit<HTMLProps<HTMLDivElement>, 'as'>):
|
|
8712
|
+
declare function Resizable(props: ResizableProps & BoxProps & Omit<HTMLProps<HTMLDivElement>, 'as'>): react608.JSX.Element;
|
|
8713
8713
|
/**
|
|
8714
8714
|
* @hidden
|
|
8715
8715
|
* @beta */
|
|
@@ -8765,18 +8765,18 @@ type StatusButtonProps = ButtonProps$1 & {
|
|
|
8765
8765
|
'iconRight'?: undefined;
|
|
8766
8766
|
};
|
|
8767
8767
|
/** @hidden @beta */
|
|
8768
|
-
declare const StatusButton:
|
|
8768
|
+
declare const StatusButton: react608.ForwardRefExoticComponent<(StatusButtonProps & Omit<HTMLProps<HTMLButtonElement>, "disabled" | "ref" | "size" | "title">) & react608.RefAttributes<HTMLButtonElement>>;
|
|
8769
8769
|
/** @internal */
|
|
8770
8770
|
interface TextWithToneProps extends ComponentProps<typeof Text> {
|
|
8771
8771
|
tone: ButtonTone;
|
|
8772
8772
|
dimmed?: boolean;
|
|
8773
8773
|
}
|
|
8774
8774
|
/** @internal */
|
|
8775
|
-
declare const TextWithTone:
|
|
8775
|
+
declare const TextWithTone: react608.ForwardRefExoticComponent<Omit<TextWithToneProps, "ref"> & react608.RefAttributes<HTMLDivElement>>;
|
|
8776
8776
|
/** @internal */
|
|
8777
|
-
declare const TooltipOfDisabled:
|
|
8777
|
+
declare const TooltipOfDisabled: react608.ForwardRefExoticComponent<Omit<_sanity_ui22.TooltipProps, "arrow" | "padding" | "shadow"> & {
|
|
8778
8778
|
hotkeys?: string[] | undefined;
|
|
8779
|
-
} &
|
|
8779
|
+
} & react608.RefAttributes<HTMLDivElement>>;
|
|
8780
8780
|
/** @internal */
|
|
8781
8781
|
interface ToastParams$1 {
|
|
8782
8782
|
closable?: boolean;
|
|
@@ -8790,7 +8790,7 @@ interface ToastParams$1 {
|
|
|
8790
8790
|
* @internal
|
|
8791
8791
|
* @deprecated -- Refactor the component so it can call `useToast` instead
|
|
8792
8792
|
*/
|
|
8793
|
-
declare const ImperativeToast:
|
|
8793
|
+
declare const ImperativeToast: react608.ForwardRefExoticComponent<react608.RefAttributes<unknown>>;
|
|
8794
8794
|
/**
|
|
8795
8795
|
* TODO: Rename to `ZOffsetsContextValue`
|
|
8796
8796
|
*
|
|
@@ -8844,7 +8844,7 @@ declare function LegacyLayerProvider({
|
|
|
8844
8844
|
}: {
|
|
8845
8845
|
children: ReactNode;
|
|
8846
8846
|
zOffset: ZIndexContextValueKey;
|
|
8847
|
-
}):
|
|
8847
|
+
}): react608.JSX.Element;
|
|
8848
8848
|
interface AvatarSkeletonProps {
|
|
8849
8849
|
$size?: AvatarSize;
|
|
8850
8850
|
}
|
|
@@ -8852,7 +8852,7 @@ interface AvatarSkeletonProps {
|
|
|
8852
8852
|
* A loading skeleton element representing a user avatar
|
|
8853
8853
|
* @beta
|
|
8854
8854
|
*/
|
|
8855
|
-
declare const AvatarSkeleton: styled_components_dist_types6.IStyledComponentBase<"web", styled_components_dist_types6.Substitute<Omit<
|
|
8855
|
+
declare const AvatarSkeleton: styled_components_dist_types6.IStyledComponentBase<"web", styled_components_dist_types6.Substitute<Omit<_sanity_ui22.SkeletonProps & react608.HTMLProps<HTMLDivElement>, "ref"> & react608.RefAttributes<HTMLDivElement>, AvatarSkeletonProps>> & string & Omit<react608.ForwardRefExoticComponent<Omit<_sanity_ui22.SkeletonProps & react608.HTMLProps<HTMLDivElement>, "ref"> & react608.RefAttributes<HTMLDivElement>>, keyof react608.Component<any, {}, any>>;
|
|
8856
8856
|
/**
|
|
8857
8857
|
* @hidden
|
|
8858
8858
|
* @beta */
|
|
@@ -8869,7 +8869,7 @@ interface UserAvatarProps {
|
|
|
8869
8869
|
/**
|
|
8870
8870
|
* @hidden
|
|
8871
8871
|
* @beta */
|
|
8872
|
-
declare function UserAvatar(props: UserAvatarProps):
|
|
8872
|
+
declare function UserAvatar(props: UserAvatarProps): react608.JSX.Element;
|
|
8873
8873
|
/**
|
|
8874
8874
|
* @internal
|
|
8875
8875
|
* @deprecated - Will be removed in 4.0.0, use the `useReferringDocuments(<documentId>)` hook instead
|
|
@@ -8887,7 +8887,7 @@ declare function WithReferringDocuments({
|
|
|
8887
8887
|
*/
|
|
8888
8888
|
documentStore?: DocumentStore;
|
|
8889
8889
|
id: string;
|
|
8890
|
-
}):
|
|
8890
|
+
}): react608.JSX.Element;
|
|
8891
8891
|
/**
|
|
8892
8892
|
* TODO: Rename to `useZOffsets`
|
|
8893
8893
|
*
|
|
@@ -9555,7 +9555,7 @@ interface FormCallbacksValue {
|
|
|
9555
9555
|
onFieldGroupSelect: (path: Path, fieldGroupName: string) => void;
|
|
9556
9556
|
}
|
|
9557
9557
|
/** @internal */
|
|
9558
|
-
declare const FormCallbacksProvider:
|
|
9558
|
+
declare const FormCallbacksProvider: react608.NamedExoticComponent<FormCallbacksValue & {
|
|
9559
9559
|
children: ReactNode;
|
|
9560
9560
|
}>;
|
|
9561
9561
|
/** @internal */
|
|
@@ -9619,7 +9619,7 @@ declare function useReferenceInputOptions(): ReferenceInputOptions;
|
|
|
9619
9619
|
*/
|
|
9620
9620
|
declare function ReferenceInputOptionsProvider(props: ReferenceInputOptions & {
|
|
9621
9621
|
children: ReactNode;
|
|
9622
|
-
}):
|
|
9622
|
+
}): react608.JSX.Element;
|
|
9623
9623
|
/** @internal */
|
|
9624
9624
|
declare const defaultRenderAnnotation: RenderAnnotationCallback;
|
|
9625
9625
|
/** @internal */
|
|
@@ -9668,7 +9668,7 @@ interface FormBuilderProps extends Omit<ObjectFormNode, 'level' | 'path' | 'pres
|
|
|
9668
9668
|
/**
|
|
9669
9669
|
* @alpha
|
|
9670
9670
|
*/
|
|
9671
|
-
declare function FormBuilder(props: FormBuilderProps):
|
|
9671
|
+
declare function FormBuilder(props: FormBuilderProps): react608.JSX.Element;
|
|
9672
9672
|
/**
|
|
9673
9673
|
* @alpha This API might change.
|
|
9674
9674
|
*/
|
|
@@ -9703,7 +9703,7 @@ interface FormProviderProps {
|
|
|
9703
9703
|
*
|
|
9704
9704
|
* @alpha This API might change.
|
|
9705
9705
|
*/
|
|
9706
|
-
declare function FormProvider(props: FormProviderProps):
|
|
9706
|
+
declare function FormProvider(props: FormProviderProps): react608.JSX.Element;
|
|
9707
9707
|
/**
|
|
9708
9708
|
*
|
|
9709
9709
|
* @hidden
|
|
@@ -9715,7 +9715,7 @@ type StudioCrossDatasetReferenceInputProps = ObjectInputProps<CrossDatasetRefere
|
|
|
9715
9715
|
* @hidden
|
|
9716
9716
|
* @beta
|
|
9717
9717
|
*/
|
|
9718
|
-
declare function StudioCrossDatasetReferenceInput(props: StudioCrossDatasetReferenceInputProps):
|
|
9718
|
+
declare function StudioCrossDatasetReferenceInput(props: StudioCrossDatasetReferenceInputProps): react608.JSX.Element;
|
|
9719
9719
|
/**
|
|
9720
9720
|
*
|
|
9721
9721
|
* @hidden
|
|
@@ -9727,7 +9727,7 @@ type StudioReferenceInputProps = ObjectInputProps<Reference, ReferenceSchemaType
|
|
|
9727
9727
|
* @hidden
|
|
9728
9728
|
* @beta
|
|
9729
9729
|
*/
|
|
9730
|
-
declare function StudioReferenceInput(props: StudioReferenceInputProps):
|
|
9730
|
+
declare function StudioReferenceInput(props: StudioReferenceInputProps): react608.JSX.Element;
|
|
9731
9731
|
/**
|
|
9732
9732
|
*
|
|
9733
9733
|
* @hidden
|
|
@@ -9823,7 +9823,7 @@ type FileInputProps = Omit<BaseFileInputProps, 'assetSources' | 'directUploads'
|
|
|
9823
9823
|
/**
|
|
9824
9824
|
* @hidden
|
|
9825
9825
|
* @beta */
|
|
9826
|
-
declare function StudioFileInput(props: FileInputProps):
|
|
9826
|
+
declare function StudioFileInput(props: FileInputProps): react608.JSX.Element;
|
|
9827
9827
|
/**
|
|
9828
9828
|
* @hidden
|
|
9829
9829
|
* @beta
|
|
@@ -9851,7 +9851,7 @@ type ImageInputProps = Omit<BaseImageInputProps, 'assetSources' | 'directUploads
|
|
|
9851
9851
|
/**
|
|
9852
9852
|
* @hidden
|
|
9853
9853
|
* @beta */
|
|
9854
|
-
declare function StudioImageInput(props: ImageInputProps):
|
|
9854
|
+
declare function StudioImageInput(props: ImageInputProps): react608.JSX.Element;
|
|
9855
9855
|
/**
|
|
9856
9856
|
* @internal
|
|
9857
9857
|
*/
|
|
@@ -11021,7 +11021,7 @@ type OnPasteFn = (data: PasteData$1) => OnPasteResultOrPromise;
|
|
|
11021
11021
|
*/
|
|
11022
11022
|
type EditorChange = {
|
|
11023
11023
|
type: 'blur';
|
|
11024
|
-
event: FocusEvent<HTMLDivElement
|
|
11024
|
+
event: FocusEvent<HTMLDivElement>;
|
|
11025
11025
|
} | {
|
|
11026
11026
|
type: 'error';
|
|
11027
11027
|
name: string;
|
|
@@ -11030,7 +11030,7 @@ type EditorChange = {
|
|
|
11030
11030
|
data?: unknown;
|
|
11031
11031
|
} | {
|
|
11032
11032
|
type: 'focus';
|
|
11033
|
-
event: FocusEvent<HTMLDivElement
|
|
11033
|
+
event: FocusEvent<HTMLDivElement>;
|
|
11034
11034
|
} | {
|
|
11035
11035
|
type: 'invalidValue';
|
|
11036
11036
|
resolution: InvalidValueResolution | null;
|
|
@@ -11873,7 +11873,7 @@ declare module '@sanity/types' {
|
|
|
11873
11873
|
*/
|
|
11874
11874
|
declare function Preview(props: RenderPreviewCallbackProps & {
|
|
11875
11875
|
perspectiveStack?: PerspectiveStack;
|
|
11876
|
-
}):
|
|
11876
|
+
}): react608.JSX.Element;
|
|
11877
11877
|
/**
|
|
11878
11878
|
* This component is responsible for converting renderPreview() calls into an element.
|
|
11879
11879
|
* It:
|
|
@@ -11896,7 +11896,7 @@ interface SanityDefaultPreviewProps extends Omit<PreviewProps, 'renderDefault'>
|
|
|
11896
11896
|
* Used in cases where no custom preview component is provided
|
|
11897
11897
|
* @internal
|
|
11898
11898
|
* */
|
|
11899
|
-
declare const SanityDefaultPreview:
|
|
11899
|
+
declare const SanityDefaultPreview: react608.NamedExoticComponent<SanityDefaultPreviewProps>;
|
|
11900
11900
|
/**
|
|
11901
11901
|
* @internal
|
|
11902
11902
|
* @beta
|
|
@@ -11990,9 +11990,9 @@ declare function getPreviewValueWithFallback({
|
|
|
11990
11990
|
original,
|
|
11991
11991
|
fallback
|
|
11992
11992
|
}: Sources): Partial<SanityDocument> | PreviewValue | {
|
|
11993
|
-
title:
|
|
11994
|
-
subtitle:
|
|
11995
|
-
media: () =>
|
|
11993
|
+
title: react608.JSX.Element;
|
|
11994
|
+
subtitle: react608.JSX.Element;
|
|
11995
|
+
media: () => react608.JSX.Element;
|
|
11996
11996
|
};
|
|
11997
11997
|
/** @internal */
|
|
11998
11998
|
declare function prepareForPreview(rawValue: unknown, type: PreviewableType, viewOptions?: PrepareViewOptions): PreviewValue & {
|
|
@@ -13136,7 +13136,7 @@ interface ResourceCacheProviderProps {
|
|
|
13136
13136
|
/** @internal */
|
|
13137
13137
|
declare function ResourceCacheProvider({
|
|
13138
13138
|
children
|
|
13139
|
-
}: ResourceCacheProviderProps):
|
|
13139
|
+
}: ResourceCacheProviderProps): react608.JSX.Element;
|
|
13140
13140
|
/** @internal */
|
|
13141
13141
|
declare function useResourceCache(): ResourceCache;
|
|
13142
13142
|
/** @internal */
|
|
@@ -13163,7 +13163,7 @@ interface DocumentPreviewPresenceProps {
|
|
|
13163
13163
|
presence: Omit<DocumentPresence, 'path'>[];
|
|
13164
13164
|
}
|
|
13165
13165
|
/** @internal */
|
|
13166
|
-
declare function DocumentPreviewPresence(props: DocumentPreviewPresenceProps):
|
|
13166
|
+
declare function DocumentPreviewPresence(props: DocumentPreviewPresenceProps): react608.JSX.Element;
|
|
13167
13167
|
/** @internal */
|
|
13168
13168
|
type Position = 'top' | 'bottom' | 'inside' | null;
|
|
13169
13169
|
/** @internal */
|
|
@@ -13223,14 +13223,14 @@ interface FieldPresenceInnerProps {
|
|
|
13223
13223
|
animateArrowFrom?: AvatarPosition;
|
|
13224
13224
|
}
|
|
13225
13225
|
/** @internal */
|
|
13226
|
-
declare const FieldPresenceInner:
|
|
13226
|
+
declare const FieldPresenceInner: react608.NamedExoticComponent<FieldPresenceInnerProps>;
|
|
13227
13227
|
/** @internal */
|
|
13228
13228
|
interface FieldPresenceProps {
|
|
13229
13229
|
presence: FormNodePresence[];
|
|
13230
13230
|
maxAvatars: number;
|
|
13231
13231
|
}
|
|
13232
13232
|
/** @internal */
|
|
13233
|
-
declare function FieldPresence(props: FieldPresenceProps):
|
|
13233
|
+
declare function FieldPresence(props: FieldPresenceProps): react608.JSX.Element;
|
|
13234
13234
|
/**
|
|
13235
13235
|
* @internal
|
|
13236
13236
|
* @hidden
|
|
@@ -13246,7 +13246,7 @@ interface PresenceOverlayProps {
|
|
|
13246
13246
|
declare function PresenceOverlay({
|
|
13247
13247
|
children,
|
|
13248
13248
|
margins
|
|
13249
|
-
}: PresenceOverlayProps):
|
|
13249
|
+
}: PresenceOverlayProps): react608.JSX.Element;
|
|
13250
13250
|
/** @internal */
|
|
13251
13251
|
interface PresenceScopeProps {
|
|
13252
13252
|
readOnly?: boolean;
|
|
@@ -13254,7 +13254,7 @@ interface PresenceScopeProps {
|
|
|
13254
13254
|
children: ReactNode;
|
|
13255
13255
|
}
|
|
13256
13256
|
/** @internal */
|
|
13257
|
-
declare function PresenceScope(props: PresenceScopeProps):
|
|
13257
|
+
declare function PresenceScope(props: PresenceScopeProps): react608.JSX.Element;
|
|
13258
13258
|
/** @internal */
|
|
13259
13259
|
interface FormFieldProps {
|
|
13260
13260
|
/**
|
|
@@ -13289,7 +13289,7 @@ interface FormFieldProps {
|
|
|
13289
13289
|
deprecated?: DeprecatedProperty;
|
|
13290
13290
|
}
|
|
13291
13291
|
/** @internal */
|
|
13292
|
-
declare const FormField:
|
|
13292
|
+
declare const FormField: react608.NamedExoticComponent<FormFieldProps & Omit<HTMLProps<HTMLDivElement>, "as" | "height" | "ref">>;
|
|
13293
13293
|
/** @internal */
|
|
13294
13294
|
interface FormFieldHeaderTextProps {
|
|
13295
13295
|
/**
|
|
@@ -13311,7 +13311,7 @@ interface FormFieldHeaderTextProps {
|
|
|
13311
13311
|
suffix?: ReactNode;
|
|
13312
13312
|
}
|
|
13313
13313
|
/** @internal */
|
|
13314
|
-
declare const FormFieldHeaderText:
|
|
13314
|
+
declare const FormFieldHeaderText: react608.NamedExoticComponent<FormFieldHeaderTextProps>;
|
|
13315
13315
|
/** @internal */
|
|
13316
13316
|
interface FormFieldSetProps {
|
|
13317
13317
|
/**
|
|
@@ -13350,7 +13350,7 @@ interface FormFieldSetProps {
|
|
|
13350
13350
|
deprecated?: DeprecatedProperty;
|
|
13351
13351
|
}
|
|
13352
13352
|
/** @internal */
|
|
13353
|
-
declare const FormFieldSet:
|
|
13353
|
+
declare const FormFieldSet: react608.ForwardRefExoticComponent<FormFieldSetProps & Omit<HTMLProps<HTMLDivElement>, "as" | "height" | "ref"> & react608.RefAttributes<HTMLDivElement>>;
|
|
13354
13354
|
/** @internal */
|
|
13355
13355
|
interface FieldStatusProps {
|
|
13356
13356
|
children?: ReactNode;
|
|
@@ -13362,7 +13362,7 @@ declare function FormFieldStatus({
|
|
|
13362
13362
|
children,
|
|
13363
13363
|
maxAvatars,
|
|
13364
13364
|
position
|
|
13365
|
-
}: FieldStatusProps):
|
|
13365
|
+
}: FieldStatusProps): react608.JSX.Element;
|
|
13366
13366
|
/** @internal */
|
|
13367
13367
|
interface FormFieldValidationStatusProps {
|
|
13368
13368
|
/**
|
|
@@ -13381,7 +13381,7 @@ interface FormFieldValidationStatusProps {
|
|
|
13381
13381
|
placement?: Placement;
|
|
13382
13382
|
}
|
|
13383
13383
|
/** @internal */
|
|
13384
|
-
declare function FormFieldValidationStatus(props: FormFieldValidationStatusProps):
|
|
13384
|
+
declare function FormFieldValidationStatus(props: FormFieldValidationStatusProps): react608.JSX.Element;
|
|
13385
13385
|
/** @internal */
|
|
13386
13386
|
interface FormFieldValidationWarning {
|
|
13387
13387
|
type: 'warning';
|
|
@@ -13408,7 +13408,7 @@ type FormInputRelativePathArg = {
|
|
|
13408
13408
|
relativePath: Path;
|
|
13409
13409
|
};
|
|
13410
13410
|
/** @internal */
|
|
13411
|
-
declare const FormInput:
|
|
13411
|
+
declare const FormInput: react608.NamedExoticComponent<(ArrayOfObjectsInputProps<{
|
|
13412
13412
|
_key: string;
|
|
13413
13413
|
}, _sanity_types44.ArraySchemaType<unknown>> | ObjectInputProps<Record<string, any>, _sanity_types44.ObjectSchemaType>) & ((FormInputAbsolutePathArg | FormInputRelativePathArg) & {
|
|
13414
13414
|
/**
|
|
@@ -13432,7 +13432,7 @@ interface FormValueContextValue {
|
|
|
13432
13432
|
declare function FormValueProvider(props: {
|
|
13433
13433
|
value: FormDocumentValue | undefined;
|
|
13434
13434
|
children: ReactNode;
|
|
13435
|
-
}):
|
|
13435
|
+
}): react608.JSX.Element;
|
|
13436
13436
|
/**
|
|
13437
13437
|
* React hook that returns the value of the field specified by a path.
|
|
13438
13438
|
* @public
|
|
@@ -13458,7 +13458,7 @@ declare function useFormValue(path: Path): unknown;
|
|
|
13458
13458
|
declare function GetFormValueProvider(props: {
|
|
13459
13459
|
value: FormDocumentValue | undefined;
|
|
13460
13460
|
children: ReactNode;
|
|
13461
|
-
}):
|
|
13461
|
+
}): react608.JSX.Element;
|
|
13462
13462
|
declare namespace GetFormValueProvider {
|
|
13463
13463
|
var displayName: string;
|
|
13464
13464
|
}
|
|
@@ -13490,7 +13490,7 @@ interface FieldActionMenuProps {
|
|
|
13490
13490
|
onMenuOpenChange: (open: boolean) => void;
|
|
13491
13491
|
}
|
|
13492
13492
|
/** @internal */
|
|
13493
|
-
declare const FieldActionMenu:
|
|
13493
|
+
declare const FieldActionMenu: react608.NamedExoticComponent<FieldActionMenuProps>;
|
|
13494
13494
|
type FieldActionsProviderProps = PropsWithChildren<{
|
|
13495
13495
|
actions: DocumentFieldActionNode[]; /** @internal @deprecated DO NOT USE */
|
|
13496
13496
|
__internal_comments?: FieldCommentsProps;
|
|
@@ -13499,7 +13499,7 @@ type FieldActionsProviderProps = PropsWithChildren<{
|
|
|
13499
13499
|
path: Path;
|
|
13500
13500
|
}>;
|
|
13501
13501
|
/** @internal */
|
|
13502
|
-
declare const FieldActionsProvider:
|
|
13502
|
+
declare const FieldActionsProvider: react608.NamedExoticComponent<FieldActionsProviderProps>;
|
|
13503
13503
|
/** @internal */
|
|
13504
13504
|
interface FieldActionsProps {
|
|
13505
13505
|
actions: DocumentFieldAction[];
|
|
@@ -13528,12 +13528,12 @@ interface FieldActionsProps {
|
|
|
13528
13528
|
*
|
|
13529
13529
|
* @internal
|
|
13530
13530
|
*/
|
|
13531
|
-
declare const FieldActionsResolver:
|
|
13531
|
+
declare const FieldActionsResolver: react608.NamedExoticComponent<FieldActionsProps>;
|
|
13532
13532
|
/** @internal */
|
|
13533
13533
|
declare function useFieldActions(): FieldActionsContextValue;
|
|
13534
13534
|
/** @internal */
|
|
13535
|
-
declare const HoveredFieldProvider:
|
|
13536
|
-
children?:
|
|
13535
|
+
declare const HoveredFieldProvider: react608.NamedExoticComponent<{
|
|
13536
|
+
children?: react608.ReactNode;
|
|
13537
13537
|
}>;
|
|
13538
13538
|
/** @internal */
|
|
13539
13539
|
declare function useHoveredField(): HoveredFieldContextValue;
|
|
@@ -13604,13 +13604,13 @@ didUpdate: (previous: T | undefined, current: T) => void, compare?: (previous: T
|
|
|
13604
13604
|
/**
|
|
13605
13605
|
* @hidden
|
|
13606
13606
|
* @beta */
|
|
13607
|
-
declare function ArrayOfObjectsFunctions<Item extends ObjectItem, TSchemaType extends ArraySchemaType>(props: ArrayInputFunctionsProps<Item, TSchemaType>):
|
|
13607
|
+
declare function ArrayOfObjectsFunctions<Item extends ObjectItem, TSchemaType extends ArraySchemaType>(props: ArrayInputFunctionsProps<Item, TSchemaType>): react608.JSX.Element | null;
|
|
13608
13608
|
/**
|
|
13609
13609
|
*
|
|
13610
13610
|
* @hidden
|
|
13611
13611
|
* @beta
|
|
13612
13612
|
*/
|
|
13613
|
-
declare function ArrayOfObjectsInput(props: ArrayOfObjectsInputProps):
|
|
13613
|
+
declare function ArrayOfObjectsInput(props: ArrayOfObjectsInputProps): react608.JSX.Element;
|
|
13614
13614
|
/**
|
|
13615
13615
|
* @internal
|
|
13616
13616
|
*/
|
|
@@ -13638,7 +13638,7 @@ interface VirtualizerScrollInstanceProviderProps extends VirtualizerScrollInstan
|
|
|
13638
13638
|
*
|
|
13639
13639
|
* @internal
|
|
13640
13640
|
*/
|
|
13641
|
-
declare function VirtualizerScrollInstanceProvider(props: VirtualizerScrollInstanceProviderProps):
|
|
13641
|
+
declare function VirtualizerScrollInstanceProvider(props: VirtualizerScrollInstanceProviderProps): react608.JSX.Element;
|
|
13642
13642
|
/**
|
|
13643
13643
|
* @hidden
|
|
13644
13644
|
* Array of predefined object options input
|
|
@@ -13648,13 +13648,13 @@ declare function VirtualizerScrollInstanceProvider(props: VirtualizerScrollInsta
|
|
|
13648
13648
|
* @hidden
|
|
13649
13649
|
* @beta
|
|
13650
13650
|
*/
|
|
13651
|
-
declare function ArrayOfObjectOptionsInput(props: ArrayOfObjectsInputProps):
|
|
13651
|
+
declare function ArrayOfObjectOptionsInput(props: ArrayOfObjectsInputProps): react608.JSX.Element;
|
|
13652
13652
|
/**
|
|
13653
13653
|
*
|
|
13654
13654
|
* @hidden
|
|
13655
13655
|
* @beta
|
|
13656
13656
|
*/
|
|
13657
|
-
declare function ArrayOfOptionsInput(props: ArrayOfObjectsInputProps | ArrayOfPrimitivesInputProps):
|
|
13657
|
+
declare function ArrayOfOptionsInput(props: ArrayOfObjectsInputProps | ArrayOfPrimitivesInputProps): react608.JSX.Element;
|
|
13658
13658
|
/**
|
|
13659
13659
|
* Array of predefined primitive options input
|
|
13660
13660
|
* Note: this input can only handle primitive values
|
|
@@ -13663,11 +13663,11 @@ declare function ArrayOfOptionsInput(props: ArrayOfObjectsInputProps | ArrayOfPr
|
|
|
13663
13663
|
* @hidden
|
|
13664
13664
|
* @beta
|
|
13665
13665
|
*/
|
|
13666
|
-
declare function ArrayOfPrimitiveOptionsInput(props: ArrayOfPrimitivesInputProps):
|
|
13666
|
+
declare function ArrayOfPrimitiveOptionsInput(props: ArrayOfPrimitivesInputProps): react608.JSX.Element;
|
|
13667
13667
|
/**
|
|
13668
13668
|
* @hidden
|
|
13669
13669
|
* @beta */
|
|
13670
|
-
declare function ArrayOfPrimitivesFunctions<MemberType extends string | boolean | number, SchemaType extends ArraySchemaType>(props: ArrayInputFunctionsProps<MemberType, SchemaType>):
|
|
13670
|
+
declare function ArrayOfPrimitivesFunctions<MemberType extends string | boolean | number, SchemaType extends ArraySchemaType>(props: ArrayInputFunctionsProps<MemberType, SchemaType>): react608.JSX.Element | null;
|
|
13671
13671
|
type PrimitiveValue = string | number | boolean;
|
|
13672
13672
|
interface State {
|
|
13673
13673
|
disableTransition: boolean;
|
|
@@ -13709,8 +13709,8 @@ declare class ArrayOfPrimitivesInput extends PureComponent<ArrayOfPrimitivesInpu
|
|
|
13709
13709
|
};
|
|
13710
13710
|
prevFocusedIndex: number;
|
|
13711
13711
|
}): void;
|
|
13712
|
-
renderArrayItem: (props: Omit<PrimitiveItemProps, "renderDefault">) =>
|
|
13713
|
-
render():
|
|
13712
|
+
renderArrayItem: (props: Omit<PrimitiveItemProps, "renderDefault">) => react608.JSX.Element;
|
|
13713
|
+
render(): react608.JSX.Element;
|
|
13714
13714
|
}
|
|
13715
13715
|
/**
|
|
13716
13716
|
* Universal array input that will introspect its schemaType and delegate to the right implementation
|
|
@@ -13720,13 +13720,13 @@ declare class ArrayOfPrimitivesInput extends PureComponent<ArrayOfPrimitivesInpu
|
|
|
13720
13720
|
* @hidden
|
|
13721
13721
|
* @beta
|
|
13722
13722
|
*/
|
|
13723
|
-
declare function UniversalArrayInput(props: ArrayOfObjectsInputProps | ArrayOfPrimitivesInputProps):
|
|
13723
|
+
declare function UniversalArrayInput(props: ArrayOfObjectsInputProps | ArrayOfPrimitivesInputProps): react608.JSX.Element;
|
|
13724
13724
|
/**
|
|
13725
13725
|
*
|
|
13726
13726
|
* @hidden
|
|
13727
13727
|
* @beta
|
|
13728
13728
|
*/
|
|
13729
|
-
declare function BooleanInput(props: BooleanInputProps):
|
|
13729
|
+
declare function BooleanInput(props: BooleanInputProps): react608.JSX.Element;
|
|
13730
13730
|
/**
|
|
13731
13731
|
* Used to preview a referenced type
|
|
13732
13732
|
* Takes the reference type as props
|
|
@@ -13745,7 +13745,7 @@ declare function CrossDatasetReferencePreview(props: {
|
|
|
13745
13745
|
projectId: string;
|
|
13746
13746
|
refType?: CrossDatasetType;
|
|
13747
13747
|
showTypeLabel: boolean;
|
|
13748
|
-
}):
|
|
13748
|
+
}): react608.JSX.Element;
|
|
13749
13749
|
/**
|
|
13750
13750
|
* @hidden
|
|
13751
13751
|
* @beta */
|
|
@@ -13753,7 +13753,7 @@ type DateInputProps = StringInputProps;
|
|
|
13753
13753
|
/**
|
|
13754
13754
|
* @hidden
|
|
13755
13755
|
* @beta */
|
|
13756
|
-
declare function DateInput(props: DateInputProps):
|
|
13756
|
+
declare function DateInput(props: DateInputProps): react608.JSX.Element;
|
|
13757
13757
|
/**
|
|
13758
13758
|
* @hidden
|
|
13759
13759
|
* @beta */
|
|
@@ -13761,7 +13761,7 @@ type DateTimeInputProps = StringInputProps;
|
|
|
13761
13761
|
/**
|
|
13762
13762
|
* @hidden
|
|
13763
13763
|
* @beta */
|
|
13764
|
-
declare function DateTimeInput(props: DateTimeInputProps):
|
|
13764
|
+
declare function DateTimeInput(props: DateTimeInputProps): react608.JSX.Element;
|
|
13765
13765
|
interface CalendarLabels {
|
|
13766
13766
|
ariaLabel: string;
|
|
13767
13767
|
goToTomorrow: string;
|
|
@@ -13795,7 +13795,7 @@ type EmailInputProps = StringInputProps;
|
|
|
13795
13795
|
* @hidden
|
|
13796
13796
|
* @beta
|
|
13797
13797
|
*/
|
|
13798
|
-
declare function EmailInput(props: EmailInputProps):
|
|
13798
|
+
declare function EmailInput(props: EmailInputProps): react608.JSX.Element;
|
|
13799
13799
|
/**
|
|
13800
13800
|
* @hidden
|
|
13801
13801
|
* @beta
|
|
@@ -13806,11 +13806,11 @@ type AssetAccessPolicy = 'checking' | 'private' | 'public' | 'unknown';
|
|
|
13806
13806
|
* @hidden
|
|
13807
13807
|
* @beta
|
|
13808
13808
|
*/
|
|
13809
|
-
declare function NumberInput(props: NumberInputProps):
|
|
13809
|
+
declare function NumberInput(props: NumberInputProps): react608.JSX.Element;
|
|
13810
13810
|
/**
|
|
13811
13811
|
* @hidden
|
|
13812
13812
|
* @beta */
|
|
13813
|
-
declare const ObjectInput:
|
|
13813
|
+
declare const ObjectInput: react608.NamedExoticComponent<ObjectInputProps<Record<string, any>, _sanity_types44.ObjectSchemaType>>;
|
|
13814
13814
|
/** @internal */
|
|
13815
13815
|
interface PortableTextMemberItem {
|
|
13816
13816
|
kind: 'annotation' | 'textBlock' | 'objectBlock' | 'inlineObject';
|
|
@@ -13871,24 +13871,24 @@ interface Props extends Omit<HTMLProps<HTMLButtonElement>, 'as' | 'size' | 'widt
|
|
|
13871
13871
|
/**
|
|
13872
13872
|
* @internal
|
|
13873
13873
|
*/
|
|
13874
|
-
declare function CreateButton(props: Props):
|
|
13874
|
+
declare function CreateButton(props: Props): react608.JSX.Element;
|
|
13875
13875
|
/**
|
|
13876
13876
|
* @internal
|
|
13877
13877
|
*/
|
|
13878
|
-
declare const ReferenceAutocomplete:
|
|
13878
|
+
declare const ReferenceAutocomplete: react608.ForwardRefExoticComponent<Omit<_sanity_ui22.AutocompleteProps<_sanity_ui22.BaseAutocompleteOption> & Omit<react608.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"> & {
|
|
13879
13879
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
13880
13880
|
} & {
|
|
13881
13881
|
path: Path;
|
|
13882
13882
|
referenceElement: HTMLDivElement | null;
|
|
13883
13883
|
searchString?: string | undefined;
|
|
13884
13884
|
portalRef?: RefObject<HTMLDivElement | null> | undefined;
|
|
13885
|
-
}, "ref"> &
|
|
13885
|
+
}, "ref"> & react608.RefAttributes<HTMLInputElement>>;
|
|
13886
13886
|
/**
|
|
13887
13887
|
*
|
|
13888
13888
|
* @hidden
|
|
13889
13889
|
* @beta
|
|
13890
13890
|
*/
|
|
13891
|
-
declare function SelectInput(props: StringInputProps):
|
|
13891
|
+
declare function SelectInput(props: StringInputProps): react608.JSX.Element;
|
|
13892
13892
|
/**
|
|
13893
13893
|
*
|
|
13894
13894
|
* @hidden
|
|
@@ -13900,12 +13900,12 @@ type SlugInputProps = ObjectInputProps<SlugValue, SlugSchemaType>;
|
|
|
13900
13900
|
* @hidden
|
|
13901
13901
|
* @beta
|
|
13902
13902
|
*/
|
|
13903
|
-
declare function SlugInput(props: SlugInputProps):
|
|
13903
|
+
declare function SlugInput(props: SlugInputProps): react608.JSX.Element;
|
|
13904
13904
|
/**
|
|
13905
13905
|
* @hidden
|
|
13906
13906
|
* @beta
|
|
13907
13907
|
*/
|
|
13908
|
-
declare function StringInput(props: StringInputProps):
|
|
13908
|
+
declare function StringInput(props: StringInputProps): react608.JSX.Element;
|
|
13909
13909
|
/**
|
|
13910
13910
|
*
|
|
13911
13911
|
* @hidden
|
|
@@ -13917,7 +13917,7 @@ type TagsArrayInputProps = ArrayOfPrimitivesInputProps<string>;
|
|
|
13917
13917
|
* @hidden
|
|
13918
13918
|
* @beta
|
|
13919
13919
|
*/
|
|
13920
|
-
declare function TagsArrayInput(props: TagsArrayInputProps):
|
|
13920
|
+
declare function TagsArrayInput(props: TagsArrayInputProps): react608.JSX.Element;
|
|
13921
13921
|
/**
|
|
13922
13922
|
*
|
|
13923
13923
|
* @hidden
|
|
@@ -13929,7 +13929,7 @@ type TelephoneInputProps = StringInputProps;
|
|
|
13929
13929
|
* @hidden
|
|
13930
13930
|
* @beta
|
|
13931
13931
|
*/
|
|
13932
|
-
declare function TelephoneInput(props: TelephoneInputProps):
|
|
13932
|
+
declare function TelephoneInput(props: TelephoneInputProps): react608.JSX.Element;
|
|
13933
13933
|
/**
|
|
13934
13934
|
*
|
|
13935
13935
|
* @hidden
|
|
@@ -13941,7 +13941,7 @@ type TextInputProps = StringInputProps<TextSchemaType>;
|
|
|
13941
13941
|
* @hidden
|
|
13942
13942
|
* @beta
|
|
13943
13943
|
*/
|
|
13944
|
-
declare function TextInput(props: TextInputProps):
|
|
13944
|
+
declare function TextInput(props: TextInputProps): react608.JSX.Element;
|
|
13945
13945
|
/**
|
|
13946
13946
|
*
|
|
13947
13947
|
* @hidden
|
|
@@ -13953,7 +13953,7 @@ type UrlInputProps = StringInputProps;
|
|
|
13953
13953
|
* @hidden
|
|
13954
13954
|
* @beta
|
|
13955
13955
|
*/
|
|
13956
|
-
declare function UrlInput(props: UrlInputProps):
|
|
13956
|
+
declare function UrlInput(props: UrlInputProps): react608.JSX.Element;
|
|
13957
13957
|
/** @internal */
|
|
13958
13958
|
interface ArrayOfObjectsMemberProps {
|
|
13959
13959
|
member: ArrayOfObjectsMember;
|
|
@@ -13969,7 +13969,7 @@ interface ArrayOfObjectsMemberProps {
|
|
|
13969
13969
|
* Convenience component for rendering an "array of objects"-item
|
|
13970
13970
|
* @internal
|
|
13971
13971
|
*/
|
|
13972
|
-
declare function ArrayOfObjectsInputMember(props: ArrayOfObjectsMemberProps):
|
|
13972
|
+
declare function ArrayOfObjectsInputMember(props: ArrayOfObjectsMemberProps): react608.JSX.Element | null;
|
|
13973
13973
|
/** @internal */
|
|
13974
13974
|
interface ArrayOfObjectsInputMembersProps {
|
|
13975
13975
|
members: ArrayOfObjectsMember[];
|
|
@@ -13985,7 +13985,7 @@ interface ArrayOfObjectsInputMembersProps {
|
|
|
13985
13985
|
* Convenience component for wrapping an array of objects
|
|
13986
13986
|
* @internal
|
|
13987
13987
|
*/
|
|
13988
|
-
declare function ArrayOfObjectsInputMembers(props: ArrayOfObjectsInputMembersProps):
|
|
13988
|
+
declare function ArrayOfObjectsInputMembers(props: ArrayOfObjectsInputMembersProps): react608.JSX.Element;
|
|
13989
13989
|
/**
|
|
13990
13990
|
*
|
|
13991
13991
|
* @hidden
|
|
@@ -14006,7 +14006,7 @@ interface MemberItemProps {
|
|
|
14006
14006
|
* @hidden
|
|
14007
14007
|
* @beta
|
|
14008
14008
|
*/
|
|
14009
|
-
declare function ArrayOfObjectsItem(props: MemberItemProps):
|
|
14009
|
+
declare function ArrayOfObjectsItem(props: MemberItemProps): react608.JSX.Element;
|
|
14010
14010
|
/**
|
|
14011
14011
|
*
|
|
14012
14012
|
* @hidden
|
|
@@ -14022,11 +14022,11 @@ interface PrimitiveMemberItemProps {
|
|
|
14022
14022
|
* @hidden
|
|
14023
14023
|
* @beta
|
|
14024
14024
|
*/
|
|
14025
|
-
declare function ArrayOfPrimitivesItem(props: PrimitiveMemberItemProps):
|
|
14025
|
+
declare function ArrayOfPrimitivesItem(props: PrimitiveMemberItemProps): react608.JSX.Element;
|
|
14026
14026
|
/** @internal */
|
|
14027
14027
|
declare function MemberItemError(props: {
|
|
14028
14028
|
member: ArrayItemError;
|
|
14029
|
-
}):
|
|
14029
|
+
}): react608.JSX.Element;
|
|
14030
14030
|
/** @internal */
|
|
14031
14031
|
interface MemberFieldProps {
|
|
14032
14032
|
member: FieldMember;
|
|
@@ -14039,13 +14039,13 @@ interface MemberFieldProps {
|
|
|
14039
14039
|
renderPreview: RenderPreviewCallback;
|
|
14040
14040
|
}
|
|
14041
14041
|
/** @internal */
|
|
14042
|
-
declare const MemberField:
|
|
14042
|
+
declare const MemberField: react608.NamedExoticComponent<MemberFieldProps>;
|
|
14043
14043
|
/** @internal */
|
|
14044
14044
|
declare function MemberFieldError(props: {
|
|
14045
14045
|
member: FieldError;
|
|
14046
|
-
}):
|
|
14046
|
+
}): react608.JSX.Element;
|
|
14047
14047
|
/** @internal */
|
|
14048
|
-
declare const MemberFieldSet:
|
|
14048
|
+
declare const MemberFieldSet: react608.NamedExoticComponent<{
|
|
14049
14049
|
member: FieldSetMember;
|
|
14050
14050
|
renderAnnotation?: RenderAnnotationCallback | undefined;
|
|
14051
14051
|
renderBlock?: RenderBlockCallback | undefined;
|
|
@@ -14067,7 +14067,7 @@ interface ObjectInputMemberProps {
|
|
|
14067
14067
|
renderPreview: RenderPreviewCallback;
|
|
14068
14068
|
}
|
|
14069
14069
|
/** @internal */
|
|
14070
|
-
declare const ObjectInputMember:
|
|
14070
|
+
declare const ObjectInputMember: react608.NamedExoticComponent<ObjectInputMemberProps>;
|
|
14071
14071
|
/** @internal */
|
|
14072
14072
|
interface ObjectMembersProps {
|
|
14073
14073
|
members: ObjectMember[];
|
|
@@ -14083,7 +14083,7 @@ interface ObjectMembersProps {
|
|
|
14083
14083
|
* Convenience component for wrapping an object input
|
|
14084
14084
|
* @internal
|
|
14085
14085
|
*/
|
|
14086
|
-
declare function ObjectInputMembers(props: ObjectMembersProps):
|
|
14086
|
+
declare function ObjectInputMembers(props: ObjectMembersProps): react608.JSX.Element;
|
|
14087
14087
|
/**
|
|
14088
14088
|
* @deprecated Use ObjectInputMembers instead
|
|
14089
14089
|
* @internal
|
|
@@ -14180,7 +14180,7 @@ type PatchTransformer = (patches: FormPatch[]) => FormPatch[];
|
|
|
14180
14180
|
/**
|
|
14181
14181
|
* @hidden
|
|
14182
14182
|
* @beta */
|
|
14183
|
-
declare const TransformPatches:
|
|
14183
|
+
declare const TransformPatches: react608.NamedExoticComponent<{
|
|
14184
14184
|
transform: PatchTransformer;
|
|
14185
14185
|
} & {
|
|
14186
14186
|
children: ReactNode;
|
|
@@ -15651,7 +15651,7 @@ declare class ConfigResolutionError extends Error {
|
|
|
15651
15651
|
* Creates an icon element based on the input title
|
|
15652
15652
|
* @internal
|
|
15653
15653
|
*/
|
|
15654
|
-
declare function createDefaultIcon(title: string, subtitle: string):
|
|
15654
|
+
declare function createDefaultIcon(title: string, subtitle: string): react608.JSX.Element;
|
|
15655
15655
|
/**
|
|
15656
15656
|
* @hidden
|
|
15657
15657
|
* @beta */
|