@atlaskit/editor-core 188.0.7 → 188.0.9
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/CHANGELOG.md +14 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/labs/next/presets/default.d.ts +4 -4
- package/dist/types/plugins/media/types.d.ts +1 -119
- package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types/ui/ContentStyles/index.d.ts +2 -2
- package/dist/types-ts4.5/labs/next/presets/default.d.ts +4 -4
- package/dist/types-ts4.5/plugins/media/types.d.ts +1 -119
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +2 -2
- package/package.json +2 -1
- package/report.api.md +3 -134
- package/tmp/api-report-tmp.d.ts +3 -128
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 188.0.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#40920](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40920) [`cbc14adc54a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cbc14adc54a) - ED-20003 moved TypeAhead tests as part of extraction efforts in Scalability
|
|
8
|
+
- [#41009](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41009) [`d760dcdc8a2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d760dcdc8a2) - Updates failing datasources playwright test for site selector alphabetical ordering
|
|
9
|
+
|
|
10
|
+
## 188.0.8
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#40755](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40755) [`c1cd5ba7d38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c1cd5ba7d38) - [ED-16733] Extraction Media Plugin: Add new placeholder package for media types.
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 188.0.7
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.nextMajorVersion = exports.name = void 0;
|
|
7
7
|
var name = "@atlaskit/editor-core";
|
|
8
8
|
exports.name = name;
|
|
9
|
-
var version = "188.0.
|
|
9
|
+
var version = "188.0.9";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
var nextMajorVersion = function nextMajorVersion() {
|
|
12
12
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
|
@@ -146,7 +146,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
146
146
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"fakeTextCursor", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"submitEditor", {
|
|
147
147
|
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
|
|
148
148
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
149
|
-
pluginConfiguration: import("
|
|
149
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-media/types").MediaOptions | undefined;
|
|
150
150
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
151
151
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
152
152
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -259,7 +259,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
259
259
|
};
|
|
260
260
|
}, undefined>];
|
|
261
261
|
sharedState: import("../../../plugins/media/pm-plugins/types").MediaPluginState | null;
|
|
262
|
-
}, import("
|
|
262
|
+
}, import("@atlaskit/editor-plugin-media/types").MediaOptions | undefined>>];
|
|
263
263
|
}, ((editorView: import("prosemirror-view").EditorView) => void) | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
264
264
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
265
265
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"unsupportedContent", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"placeholder", {
|
|
@@ -471,7 +471,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
471
471
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"fakeTextCursor", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"submitEditor", {
|
|
472
472
|
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
|
|
473
473
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
474
|
-
pluginConfiguration: import("
|
|
474
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-media/types").MediaOptions | undefined;
|
|
475
475
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
476
476
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
477
477
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -584,7 +584,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
584
584
|
};
|
|
585
585
|
}, undefined>];
|
|
586
586
|
sharedState: import("../../../plugins/media/pm-plugins/types").MediaPluginState | null;
|
|
587
|
-
}, import("
|
|
587
|
+
}, import("@atlaskit/editor-plugin-media/types").MediaOptions | undefined>>];
|
|
588
588
|
}, ((editorView: import("prosemirror-view").EditorView) => void) | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
589
589
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
590
590
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"unsupportedContent", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"placeholder", {
|
|
@@ -1,119 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import type { NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
-
import type { Providers } from '@atlaskit/editor-common/provider-factory';
|
|
5
|
-
import type { FileIdentifier } from '@atlaskit/media-client';
|
|
6
|
-
import type { MediaClientConfig } from '@atlaskit/media-core';
|
|
7
|
-
import type { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
8
|
-
import type { UploadParams, MediaFile } from '@atlaskit/media-picker/types';
|
|
9
|
-
import type { EditorSelectionAPI } from '@atlaskit/editor-common/selection';
|
|
10
|
-
import type { GetEditorFeatureFlags } from '@atlaskit/editor-common/types';
|
|
11
|
-
interface PlaceholderTextOptions {
|
|
12
|
-
allowInserting?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export type MediaStateStatus = 'unknown' | 'ready' | 'cancelled' | 'preview' | 'error' | 'mobile-upload-end';
|
|
15
|
-
export type MediaSingleWithType = 'pixel' | 'percentage';
|
|
16
|
-
export interface MediaOptions {
|
|
17
|
-
provider?: Providers['mediaProvider'];
|
|
18
|
-
allowMediaSingle?: boolean | MediaSingleOptions;
|
|
19
|
-
allowMediaGroup?: boolean;
|
|
20
|
-
customDropzoneContainer?: HTMLElement;
|
|
21
|
-
customMediaPicker?: CustomMediaPicker;
|
|
22
|
-
allowResizing?: boolean;
|
|
23
|
-
allowResizingInTables?: boolean;
|
|
24
|
-
allowLinking?: boolean;
|
|
25
|
-
allowLazyLoading?: boolean;
|
|
26
|
-
allowBreakoutSnapPoints?: boolean;
|
|
27
|
-
allowAdvancedToolBarOptions?: boolean;
|
|
28
|
-
allowMediaSingleEditable?: boolean;
|
|
29
|
-
allowRemoteDimensionsFetch?: boolean;
|
|
30
|
-
allowDropzoneDropLine?: boolean;
|
|
31
|
-
allowMarkingUploadsAsIncomplete?: boolean;
|
|
32
|
-
fullWidthEnabled?: boolean;
|
|
33
|
-
uploadErrorHandler?: (state: MediaState) => void;
|
|
34
|
-
waitForMediaUpload?: boolean;
|
|
35
|
-
isCopyPasteEnabled?: boolean;
|
|
36
|
-
allowAltTextOnImages?: boolean;
|
|
37
|
-
enableDownloadButton?: boolean;
|
|
38
|
-
altTextValidator?: (value: string) => string[];
|
|
39
|
-
useForgePlugins?: boolean;
|
|
40
|
-
allowTemplatePlaceholders?: boolean | PlaceholderTextOptions;
|
|
41
|
-
alignLeftOnInsert?: boolean;
|
|
42
|
-
editorSelectionAPI?: EditorSelectionAPI;
|
|
43
|
-
featureFlags?: MediaFeatureFlags;
|
|
44
|
-
getEditorFeatureFlags?: GetEditorFeatureFlags;
|
|
45
|
-
allowCaptions?: boolean;
|
|
46
|
-
}
|
|
47
|
-
export interface MediaSingleOptions {
|
|
48
|
-
disableLayout?: boolean;
|
|
49
|
-
}
|
|
50
|
-
export interface MediaState {
|
|
51
|
-
id: string;
|
|
52
|
-
status?: MediaStateStatus;
|
|
53
|
-
fileName?: string;
|
|
54
|
-
fileSize?: number;
|
|
55
|
-
fileMimeType?: string;
|
|
56
|
-
collection?: string;
|
|
57
|
-
dimensions?: {
|
|
58
|
-
width: number | undefined;
|
|
59
|
-
height: number | undefined;
|
|
60
|
-
};
|
|
61
|
-
scaleFactor?: number;
|
|
62
|
-
error?: {
|
|
63
|
-
name: string;
|
|
64
|
-
description: string;
|
|
65
|
-
};
|
|
66
|
-
/** still require to support Mobile */
|
|
67
|
-
publicId?: string;
|
|
68
|
-
contextId?: string;
|
|
69
|
-
}
|
|
70
|
-
export type Listener = (data: any) => void;
|
|
71
|
-
export interface CustomMediaPicker {
|
|
72
|
-
on(event: string, cb: Listener): void;
|
|
73
|
-
removeAllListeners(event: any): void;
|
|
74
|
-
emit(event: string, data: any): void;
|
|
75
|
-
destroy(): void;
|
|
76
|
-
setUploadParams(uploadParams: UploadParams): void;
|
|
77
|
-
}
|
|
78
|
-
export type MobileUploadEndEventPayload = {
|
|
79
|
-
readonly file: MediaFile & {
|
|
80
|
-
readonly collectionName?: string;
|
|
81
|
-
readonly publicId?: string;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
export type MediaEditorState = {
|
|
85
|
-
mediaClientConfig?: MediaClientConfig;
|
|
86
|
-
editor?: {
|
|
87
|
-
pos: number;
|
|
88
|
-
identifier: FileIdentifier;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
export type MediaToolbarBaseConfig = {
|
|
92
|
-
title: string;
|
|
93
|
-
getDomRef?: (view: EditorView) => HTMLElement | undefined;
|
|
94
|
-
nodeType: NodeType | NodeType[];
|
|
95
|
-
};
|
|
96
|
-
export type MediaFloatingToolbarOptions = {
|
|
97
|
-
providerFactory?: ProviderFactory;
|
|
98
|
-
allowResizing?: boolean;
|
|
99
|
-
allowMediaInline?: boolean;
|
|
100
|
-
allowLinking?: boolean;
|
|
101
|
-
allowAdvancedToolBarOptions?: boolean;
|
|
102
|
-
allowResizingInTables?: boolean;
|
|
103
|
-
allowAltTextOnImages?: boolean;
|
|
104
|
-
altTextValidator?: (value: string) => string[];
|
|
105
|
-
getEditorFeatureFlags?: GetEditorFeatureFlags;
|
|
106
|
-
fullWidthEnabled?: boolean;
|
|
107
|
-
};
|
|
108
|
-
export type MediaDecorationSpec = {
|
|
109
|
-
type: 'media';
|
|
110
|
-
selected: boolean;
|
|
111
|
-
};
|
|
112
|
-
export type ProsemirrorGetPosHandler = getPosHandlerNode;
|
|
113
|
-
export type getPosHandler = getPosHandlerNode;
|
|
114
|
-
export type getPosHandlerNode = () => number | undefined;
|
|
115
|
-
export interface ReactNodeProps {
|
|
116
|
-
selected: boolean;
|
|
117
|
-
}
|
|
118
|
-
export type ForwardRef = (node: HTMLElement | null) => void;
|
|
119
|
-
export {};
|
|
1
|
+
export type { CustomMediaPicker, ForwardRef, Listener, MediaDecorationSpec, MediaEditorState, MediaFloatingToolbarOptions, MediaOptions, MediaSingleOptions, MediaSingleWithType, MediaState, MediaStateStatus, MediaToolbarBaseConfig, MobileUploadEndEventPayload, ProsemirrorGetPosHandler, ReactNodeProps, getPosHandler, getPosHandlerNode, } from '@atlaskit/editor-plugin-media/types';
|
|
@@ -3,7 +3,7 @@ export declare const fullPageEditorWrapper: import("@emotion/react").SerializedS
|
|
|
3
3
|
export declare const ScrollContainer: import("react").ForwardRefExoticComponent<Pick<{
|
|
4
4
|
theme?: any;
|
|
5
5
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
6
|
-
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "
|
|
6
|
+
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "property" | "media" | "list" | "mediaGroup" | "size" | "id" | "hidden" | "href" | "className" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "start" | "wrap" | "multiple" | "target" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "max" | "maxLength" | "min" | "minLength" | "readOnly" | "required" | "src" | "step" | "nonce" | "as" | "preload" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "async" | "autoPlay" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "frameBorder" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode" | keyof {
|
|
7
7
|
theme?: any;
|
|
8
8
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
9
9
|
}> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -9,6 +9,6 @@ type ContentStylesProps = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare const placeholderStyles: SerializedStyles;
|
|
11
11
|
type Props = ContentStylesProps & React.HTMLProps<HTMLDivElement>;
|
|
12
|
-
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "
|
|
13
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "
|
|
12
|
+
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "property" | "media" | "list" | "mediaGroup" | "size" | "id" | "hidden" | "href" | "className" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "start" | "wrap" | "multiple" | "target" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "max" | "maxLength" | "min" | "minLength" | "readOnly" | "required" | "src" | "step" | "nonce" | "as" | "preload" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "async" | "autoPlay" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "frameBorder" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "property" | "media" | "list" | "mediaGroup" | "size" | "id" | "hidden" | "href" | "className" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "start" | "wrap" | "multiple" | "target" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "max" | "maxLength" | "min" | "minLength" | "readOnly" | "required" | "src" | "step" | "nonce" | "as" | "preload" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "async" | "autoPlay" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "frameBorder" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
export default _default;
|
|
@@ -195,7 +195,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
195
195
|
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
|
|
196
196
|
dependencies: [
|
|
197
197
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
198
|
-
pluginConfiguration: import("
|
|
198
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-media/types").MediaOptions | undefined;
|
|
199
199
|
dependencies: [
|
|
200
200
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
201
201
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -340,7 +340,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
340
340
|
}, undefined>
|
|
341
341
|
];
|
|
342
342
|
sharedState: import("../../../plugins/media/pm-plugins/types").MediaPluginState | null;
|
|
343
|
-
}, import("
|
|
343
|
+
}, import("@atlaskit/editor-plugin-media/types").MediaOptions | undefined>>
|
|
344
344
|
];
|
|
345
345
|
}, ((editorView: import("prosemirror-view").EditorView) => void) | undefined>,
|
|
346
346
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
@@ -625,7 +625,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
625
625
|
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
|
|
626
626
|
dependencies: [
|
|
627
627
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
628
|
-
pluginConfiguration: import("
|
|
628
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-media/types").MediaOptions | undefined;
|
|
629
629
|
dependencies: [
|
|
630
630
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
631
631
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -770,7 +770,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
770
770
|
}, undefined>
|
|
771
771
|
];
|
|
772
772
|
sharedState: import("../../../plugins/media/pm-plugins/types").MediaPluginState | null;
|
|
773
|
-
}, import("
|
|
773
|
+
}, import("@atlaskit/editor-plugin-media/types").MediaOptions | undefined>>
|
|
774
774
|
];
|
|
775
775
|
}, ((editorView: import("prosemirror-view").EditorView) => void) | undefined>,
|
|
776
776
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
@@ -1,119 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import type { NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
-
import type { Providers } from '@atlaskit/editor-common/provider-factory';
|
|
5
|
-
import type { FileIdentifier } from '@atlaskit/media-client';
|
|
6
|
-
import type { MediaClientConfig } from '@atlaskit/media-core';
|
|
7
|
-
import type { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
8
|
-
import type { UploadParams, MediaFile } from '@atlaskit/media-picker/types';
|
|
9
|
-
import type { EditorSelectionAPI } from '@atlaskit/editor-common/selection';
|
|
10
|
-
import type { GetEditorFeatureFlags } from '@atlaskit/editor-common/types';
|
|
11
|
-
interface PlaceholderTextOptions {
|
|
12
|
-
allowInserting?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export type MediaStateStatus = 'unknown' | 'ready' | 'cancelled' | 'preview' | 'error' | 'mobile-upload-end';
|
|
15
|
-
export type MediaSingleWithType = 'pixel' | 'percentage';
|
|
16
|
-
export interface MediaOptions {
|
|
17
|
-
provider?: Providers['mediaProvider'];
|
|
18
|
-
allowMediaSingle?: boolean | MediaSingleOptions;
|
|
19
|
-
allowMediaGroup?: boolean;
|
|
20
|
-
customDropzoneContainer?: HTMLElement;
|
|
21
|
-
customMediaPicker?: CustomMediaPicker;
|
|
22
|
-
allowResizing?: boolean;
|
|
23
|
-
allowResizingInTables?: boolean;
|
|
24
|
-
allowLinking?: boolean;
|
|
25
|
-
allowLazyLoading?: boolean;
|
|
26
|
-
allowBreakoutSnapPoints?: boolean;
|
|
27
|
-
allowAdvancedToolBarOptions?: boolean;
|
|
28
|
-
allowMediaSingleEditable?: boolean;
|
|
29
|
-
allowRemoteDimensionsFetch?: boolean;
|
|
30
|
-
allowDropzoneDropLine?: boolean;
|
|
31
|
-
allowMarkingUploadsAsIncomplete?: boolean;
|
|
32
|
-
fullWidthEnabled?: boolean;
|
|
33
|
-
uploadErrorHandler?: (state: MediaState) => void;
|
|
34
|
-
waitForMediaUpload?: boolean;
|
|
35
|
-
isCopyPasteEnabled?: boolean;
|
|
36
|
-
allowAltTextOnImages?: boolean;
|
|
37
|
-
enableDownloadButton?: boolean;
|
|
38
|
-
altTextValidator?: (value: string) => string[];
|
|
39
|
-
useForgePlugins?: boolean;
|
|
40
|
-
allowTemplatePlaceholders?: boolean | PlaceholderTextOptions;
|
|
41
|
-
alignLeftOnInsert?: boolean;
|
|
42
|
-
editorSelectionAPI?: EditorSelectionAPI;
|
|
43
|
-
featureFlags?: MediaFeatureFlags;
|
|
44
|
-
getEditorFeatureFlags?: GetEditorFeatureFlags;
|
|
45
|
-
allowCaptions?: boolean;
|
|
46
|
-
}
|
|
47
|
-
export interface MediaSingleOptions {
|
|
48
|
-
disableLayout?: boolean;
|
|
49
|
-
}
|
|
50
|
-
export interface MediaState {
|
|
51
|
-
id: string;
|
|
52
|
-
status?: MediaStateStatus;
|
|
53
|
-
fileName?: string;
|
|
54
|
-
fileSize?: number;
|
|
55
|
-
fileMimeType?: string;
|
|
56
|
-
collection?: string;
|
|
57
|
-
dimensions?: {
|
|
58
|
-
width: number | undefined;
|
|
59
|
-
height: number | undefined;
|
|
60
|
-
};
|
|
61
|
-
scaleFactor?: number;
|
|
62
|
-
error?: {
|
|
63
|
-
name: string;
|
|
64
|
-
description: string;
|
|
65
|
-
};
|
|
66
|
-
/** still require to support Mobile */
|
|
67
|
-
publicId?: string;
|
|
68
|
-
contextId?: string;
|
|
69
|
-
}
|
|
70
|
-
export type Listener = (data: any) => void;
|
|
71
|
-
export interface CustomMediaPicker {
|
|
72
|
-
on(event: string, cb: Listener): void;
|
|
73
|
-
removeAllListeners(event: any): void;
|
|
74
|
-
emit(event: string, data: any): void;
|
|
75
|
-
destroy(): void;
|
|
76
|
-
setUploadParams(uploadParams: UploadParams): void;
|
|
77
|
-
}
|
|
78
|
-
export type MobileUploadEndEventPayload = {
|
|
79
|
-
readonly file: MediaFile & {
|
|
80
|
-
readonly collectionName?: string;
|
|
81
|
-
readonly publicId?: string;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
export type MediaEditorState = {
|
|
85
|
-
mediaClientConfig?: MediaClientConfig;
|
|
86
|
-
editor?: {
|
|
87
|
-
pos: number;
|
|
88
|
-
identifier: FileIdentifier;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
export type MediaToolbarBaseConfig = {
|
|
92
|
-
title: string;
|
|
93
|
-
getDomRef?: (view: EditorView) => HTMLElement | undefined;
|
|
94
|
-
nodeType: NodeType | NodeType[];
|
|
95
|
-
};
|
|
96
|
-
export type MediaFloatingToolbarOptions = {
|
|
97
|
-
providerFactory?: ProviderFactory;
|
|
98
|
-
allowResizing?: boolean;
|
|
99
|
-
allowMediaInline?: boolean;
|
|
100
|
-
allowLinking?: boolean;
|
|
101
|
-
allowAdvancedToolBarOptions?: boolean;
|
|
102
|
-
allowResizingInTables?: boolean;
|
|
103
|
-
allowAltTextOnImages?: boolean;
|
|
104
|
-
altTextValidator?: (value: string) => string[];
|
|
105
|
-
getEditorFeatureFlags?: GetEditorFeatureFlags;
|
|
106
|
-
fullWidthEnabled?: boolean;
|
|
107
|
-
};
|
|
108
|
-
export type MediaDecorationSpec = {
|
|
109
|
-
type: 'media';
|
|
110
|
-
selected: boolean;
|
|
111
|
-
};
|
|
112
|
-
export type ProsemirrorGetPosHandler = getPosHandlerNode;
|
|
113
|
-
export type getPosHandler = getPosHandlerNode;
|
|
114
|
-
export type getPosHandlerNode = () => number | undefined;
|
|
115
|
-
export interface ReactNodeProps {
|
|
116
|
-
selected: boolean;
|
|
117
|
-
}
|
|
118
|
-
export type ForwardRef = (node: HTMLElement | null) => void;
|
|
119
|
-
export {};
|
|
1
|
+
export type { CustomMediaPicker, ForwardRef, Listener, MediaDecorationSpec, MediaEditorState, MediaFloatingToolbarOptions, MediaOptions, MediaSingleOptions, MediaSingleWithType, MediaState, MediaStateStatus, MediaToolbarBaseConfig, MobileUploadEndEventPayload, ProsemirrorGetPosHandler, ReactNodeProps, getPosHandler, getPosHandlerNode, } from '@atlaskit/editor-plugin-media/types';
|
|
@@ -3,7 +3,7 @@ export declare const fullPageEditorWrapper: import("@emotion/react").SerializedS
|
|
|
3
3
|
export declare const ScrollContainer: import("react").ForwardRefExoticComponent<Pick<{
|
|
4
4
|
theme?: any;
|
|
5
5
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
6
|
-
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "
|
|
6
|
+
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "property" | "media" | "list" | "mediaGroup" | "size" | "id" | "hidden" | "href" | "className" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "start" | "wrap" | "multiple" | "target" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "max" | "maxLength" | "min" | "minLength" | "readOnly" | "required" | "src" | "step" | "nonce" | "as" | "preload" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "async" | "autoPlay" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "frameBorder" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode" | keyof {
|
|
7
7
|
theme?: any;
|
|
8
8
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
9
9
|
}> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -9,6 +9,6 @@ type ContentStylesProps = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare const placeholderStyles: SerializedStyles;
|
|
11
11
|
type Props = ContentStylesProps & React.HTMLProps<HTMLDivElement>;
|
|
12
|
-
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "
|
|
13
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "
|
|
12
|
+
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "property" | "media" | "list" | "mediaGroup" | "size" | "id" | "hidden" | "href" | "className" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "start" | "wrap" | "multiple" | "target" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "max" | "maxLength" | "min" | "minLength" | "readOnly" | "required" | "src" | "step" | "nonce" | "as" | "preload" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "async" | "autoPlay" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "frameBorder" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "property" | "media" | "list" | "mediaGroup" | "size" | "id" | "hidden" | "href" | "className" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "start" | "wrap" | "multiple" | "target" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "max" | "maxLength" | "min" | "minLength" | "readOnly" | "required" | "src" | "step" | "nonce" | "as" | "preload" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "async" | "autoPlay" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "frameBorder" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "188.0.
|
|
3
|
+
"version": "188.0.9",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
"@atlaskit/editor-plugin-hyperlink": "^0.5.0",
|
|
80
80
|
"@atlaskit/editor-plugin-image-upload": "^0.2.0",
|
|
81
81
|
"@atlaskit/editor-plugin-list": "^1.3.0",
|
|
82
|
+
"@atlaskit/editor-plugin-media": "^0.2.0",
|
|
82
83
|
"@atlaskit/editor-plugin-placeholder": "^0.1.0",
|
|
83
84
|
"@atlaskit/editor-plugin-quick-insert": "^0.1.0",
|
|
84
85
|
"@atlaskit/editor-plugin-rule": "^0.1.0",
|
package/report.api.md
CHANGED
|
@@ -34,7 +34,6 @@ import type { ContextUpdateHandler } from '@atlaskit/editor-common/types';
|
|
|
34
34
|
import type { EditorActionsOptions } from '@atlaskit/editor-common/types';
|
|
35
35
|
import { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
36
36
|
import { EditorPlugin } from '@atlaskit/editor-common/types';
|
|
37
|
-
import type { EditorSelectionAPI } from '@atlaskit/editor-common/selection';
|
|
38
37
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
39
38
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
40
39
|
import { EmojiResource } from '@atlaskit/emoji/resource';
|
|
@@ -47,7 +46,6 @@ import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
|
|
|
47
46
|
import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
48
47
|
import { ExtensionType } from '@atlaskit/editor-common/provider-factory';
|
|
49
48
|
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
50
|
-
import type { GetEditorFeatureFlags } from '@atlaskit/editor-common/types';
|
|
51
49
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
52
50
|
import { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
|
|
53
51
|
import { jsx } from '@emotion/react';
|
|
@@ -55,8 +53,9 @@ import type { LinkingOptions } from '@atlaskit/editor-common/types';
|
|
|
55
53
|
import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
|
|
56
54
|
import { MacroAttributes } from '@atlaskit/editor-common/provider-factory';
|
|
57
55
|
import { MacroProvider } from '@atlaskit/editor-common/provider-factory';
|
|
58
|
-
import
|
|
56
|
+
import { MediaOptions } from '@atlaskit/editor-plugin-media/types';
|
|
59
57
|
import { MediaProvider as MediaProvider_2 } from '@atlaskit/editor-common/provider-factory';
|
|
58
|
+
import { MediaState } from '@atlaskit/editor-plugin-media/types';
|
|
60
59
|
import { MentionProvider } from '@atlaskit/mention/resource';
|
|
61
60
|
import { MentionResource } from '@atlaskit/mention/resource';
|
|
62
61
|
import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -88,7 +87,6 @@ import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
|
88
87
|
import type { Transformer as Transformer_2 } from '@atlaskit/editor-common/types';
|
|
89
88
|
import { TypeAheadItem } from '@atlaskit/editor-common/provider-factory';
|
|
90
89
|
import { UIComponentFactory } from '@atlaskit/editor-common/types';
|
|
91
|
-
import type { UploadParams } from '@atlaskit/media-picker/types';
|
|
92
90
|
import type { UseStickyToolbarType } from '@atlaskit/editor-common/ui';
|
|
93
91
|
import type { WeekDay } from '@atlaskit/calendar/types';
|
|
94
92
|
import { WithIntlProps } from 'react-intl-next';
|
|
@@ -198,20 +196,6 @@ export type CommandDispatch = (tr: Transaction) => void;
|
|
|
198
196
|
// @public (undocumented)
|
|
199
197
|
export function ContextPanel(props: Props_4): jsx.JSX.Element;
|
|
200
198
|
|
|
201
|
-
// @public (undocumented)
|
|
202
|
-
interface CustomMediaPicker {
|
|
203
|
-
// (undocumented)
|
|
204
|
-
destroy(): void;
|
|
205
|
-
// (undocumented)
|
|
206
|
-
emit(event: string, data: any): void;
|
|
207
|
-
// (undocumented)
|
|
208
|
-
on(event: string, cb: Listener): void;
|
|
209
|
-
// (undocumented)
|
|
210
|
-
removeAllListeners(event: any): void;
|
|
211
|
-
// (undocumented)
|
|
212
|
-
setUploadParams(uploadParams: UploadParams): void;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
199
|
// @public (undocumented)
|
|
216
200
|
interface DatePluginConfig {
|
|
217
201
|
// (undocumented)
|
|
@@ -654,9 +638,6 @@ interface LayoutPluginOptions extends LongPressSelectionPluginOptions {
|
|
|
654
638
|
UNSAFE_allowSingleColumnLayout?: boolean;
|
|
655
639
|
}
|
|
656
640
|
|
|
657
|
-
// @public (undocumented)
|
|
658
|
-
type Listener = (data: any) => void;
|
|
659
|
-
|
|
660
641
|
export { MacroAttributes };
|
|
661
642
|
|
|
662
643
|
export { MacroProvider };
|
|
@@ -670,116 +651,10 @@ export const measurements: {
|
|
|
670
651
|
PASTE: string;
|
|
671
652
|
};
|
|
672
653
|
|
|
673
|
-
|
|
674
|
-
export interface MediaOptions {
|
|
675
|
-
// (undocumented)
|
|
676
|
-
alignLeftOnInsert?: boolean;
|
|
677
|
-
// (undocumented)
|
|
678
|
-
allowAdvancedToolBarOptions?: boolean;
|
|
679
|
-
// (undocumented)
|
|
680
|
-
allowAltTextOnImages?: boolean;
|
|
681
|
-
// (undocumented)
|
|
682
|
-
allowBreakoutSnapPoints?: boolean;
|
|
683
|
-
// (undocumented)
|
|
684
|
-
allowCaptions?: boolean;
|
|
685
|
-
// (undocumented)
|
|
686
|
-
allowDropzoneDropLine?: boolean;
|
|
687
|
-
// (undocumented)
|
|
688
|
-
allowLazyLoading?: boolean;
|
|
689
|
-
// (undocumented)
|
|
690
|
-
allowLinking?: boolean;
|
|
691
|
-
// (undocumented)
|
|
692
|
-
allowMarkingUploadsAsIncomplete?: boolean;
|
|
693
|
-
// (undocumented)
|
|
694
|
-
allowMediaGroup?: boolean;
|
|
695
|
-
// (undocumented)
|
|
696
|
-
allowMediaSingle?: MediaSingleOptions | boolean;
|
|
697
|
-
// (undocumented)
|
|
698
|
-
allowMediaSingleEditable?: boolean;
|
|
699
|
-
// (undocumented)
|
|
700
|
-
allowRemoteDimensionsFetch?: boolean;
|
|
701
|
-
// (undocumented)
|
|
702
|
-
allowResizing?: boolean;
|
|
703
|
-
// (undocumented)
|
|
704
|
-
allowResizingInTables?: boolean;
|
|
705
|
-
// (undocumented)
|
|
706
|
-
allowTemplatePlaceholders?: PlaceholderTextOptions_2 | boolean;
|
|
707
|
-
// (undocumented)
|
|
708
|
-
altTextValidator?: (value: string) => string[];
|
|
709
|
-
// (undocumented)
|
|
710
|
-
customDropzoneContainer?: HTMLElement;
|
|
711
|
-
// (undocumented)
|
|
712
|
-
customMediaPicker?: CustomMediaPicker;
|
|
713
|
-
// (undocumented)
|
|
714
|
-
editorSelectionAPI?: EditorSelectionAPI;
|
|
715
|
-
// (undocumented)
|
|
716
|
-
enableDownloadButton?: boolean;
|
|
717
|
-
// (undocumented)
|
|
718
|
-
featureFlags?: MediaFeatureFlags;
|
|
719
|
-
// (undocumented)
|
|
720
|
-
fullWidthEnabled?: boolean;
|
|
721
|
-
// (undocumented)
|
|
722
|
-
getEditorFeatureFlags?: GetEditorFeatureFlags;
|
|
723
|
-
// (undocumented)
|
|
724
|
-
isCopyPasteEnabled?: boolean;
|
|
725
|
-
// (undocumented)
|
|
726
|
-
provider?: Providers['mediaProvider'];
|
|
727
|
-
// (undocumented)
|
|
728
|
-
uploadErrorHandler?: (state: MediaState) => void;
|
|
729
|
-
// (undocumented)
|
|
730
|
-
useForgePlugins?: boolean;
|
|
731
|
-
// (undocumented)
|
|
732
|
-
waitForMediaUpload?: boolean;
|
|
733
|
-
}
|
|
654
|
+
export { MediaOptions };
|
|
734
655
|
|
|
735
656
|
export { MediaProvider_2 as MediaProvider };
|
|
736
657
|
|
|
737
|
-
// @public (undocumented)
|
|
738
|
-
interface MediaSingleOptions {
|
|
739
|
-
// (undocumented)
|
|
740
|
-
disableLayout?: boolean;
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
// @public (undocumented)
|
|
744
|
-
interface MediaState {
|
|
745
|
-
// (undocumented)
|
|
746
|
-
collection?: string;
|
|
747
|
-
// (undocumented)
|
|
748
|
-
contextId?: string;
|
|
749
|
-
// (undocumented)
|
|
750
|
-
dimensions?: {
|
|
751
|
-
width: number | undefined;
|
|
752
|
-
height: number | undefined;
|
|
753
|
-
};
|
|
754
|
-
// (undocumented)
|
|
755
|
-
error?: {
|
|
756
|
-
name: string;
|
|
757
|
-
description: string;
|
|
758
|
-
};
|
|
759
|
-
// (undocumented)
|
|
760
|
-
fileMimeType?: string;
|
|
761
|
-
// (undocumented)
|
|
762
|
-
fileName?: string;
|
|
763
|
-
// (undocumented)
|
|
764
|
-
fileSize?: number;
|
|
765
|
-
// (undocumented)
|
|
766
|
-
id: string;
|
|
767
|
-
publicId?: string;
|
|
768
|
-
// (undocumented)
|
|
769
|
-
scaleFactor?: number;
|
|
770
|
-
// (undocumented)
|
|
771
|
-
status?: MediaStateStatus;
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
// @public (undocumented)
|
|
775
|
-
type MediaStateStatus =
|
|
776
|
-
| 'cancelled'
|
|
777
|
-
| 'error'
|
|
778
|
-
| 'mobile-upload-end'
|
|
779
|
-
| 'preview'
|
|
780
|
-
| 'ready'
|
|
781
|
-
| 'unknown';
|
|
782
|
-
|
|
783
658
|
// @public (undocumented)
|
|
784
659
|
interface MentionPluginConfig {
|
|
785
660
|
// (undocumented)
|
|
@@ -818,12 +693,6 @@ interface PlaceholderTextOptions {
|
|
|
818
693
|
allowInserting?: boolean;
|
|
819
694
|
}
|
|
820
695
|
|
|
821
|
-
// @public (undocumented)
|
|
822
|
-
interface PlaceholderTextOptions_2 {
|
|
823
|
-
// (undocumented)
|
|
824
|
-
allowInserting?: boolean;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
696
|
export { PortalProvider };
|
|
828
697
|
|
|
829
698
|
export { PortalProviderAPI };
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ import type { ContextUpdateHandler } from '@atlaskit/editor-common/types';
|
|
|
23
23
|
import type { EditorActionsOptions } from '@atlaskit/editor-common/types';
|
|
24
24
|
import { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
25
25
|
import { EditorPlugin } from '@atlaskit/editor-common/types';
|
|
26
|
-
import type { EditorSelectionAPI } from '@atlaskit/editor-common/selection';
|
|
27
26
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
28
27
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
29
28
|
import { EmojiResource } from '@atlaskit/emoji/resource';
|
|
@@ -36,7 +35,6 @@ import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
|
|
|
36
35
|
import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
37
36
|
import { ExtensionType } from '@atlaskit/editor-common/provider-factory';
|
|
38
37
|
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
39
|
-
import type { GetEditorFeatureFlags } from '@atlaskit/editor-common/types';
|
|
40
38
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
41
39
|
import { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
|
|
42
40
|
import { jsx } from '@emotion/react';
|
|
@@ -44,8 +42,9 @@ import type { LinkingOptions } from '@atlaskit/editor-common/types';
|
|
|
44
42
|
import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
|
|
45
43
|
import { MacroAttributes } from '@atlaskit/editor-common/provider-factory';
|
|
46
44
|
import { MacroProvider } from '@atlaskit/editor-common/provider-factory';
|
|
47
|
-
import
|
|
45
|
+
import { MediaOptions } from '@atlaskit/editor-plugin-media/types';
|
|
48
46
|
import { MediaProvider as MediaProvider_2 } from '@atlaskit/editor-common/provider-factory';
|
|
47
|
+
import { MediaState } from '@atlaskit/editor-plugin-media/types';
|
|
49
48
|
import { MentionProvider } from '@atlaskit/mention/resource';
|
|
50
49
|
import { MentionResource } from '@atlaskit/mention/resource';
|
|
51
50
|
import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -77,7 +76,6 @@ import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
|
77
76
|
import type { Transformer as Transformer_2 } from '@atlaskit/editor-common/types';
|
|
78
77
|
import { TypeAheadItem } from '@atlaskit/editor-common/provider-factory';
|
|
79
78
|
import { UIComponentFactory } from '@atlaskit/editor-common/types';
|
|
80
|
-
import type { UploadParams } from '@atlaskit/media-picker/types';
|
|
81
79
|
import type { UseStickyToolbarType } from '@atlaskit/editor-common/ui';
|
|
82
80
|
import type { WeekDay } from '@atlaskit/calendar/types';
|
|
83
81
|
import { WithIntlProps } from 'react-intl-next';
|
|
@@ -181,20 +179,6 @@ export type CommandDispatch = (tr: Transaction) => void;
|
|
|
181
179
|
// @public (undocumented)
|
|
182
180
|
export function ContextPanel(props: Props_4): jsx.JSX.Element;
|
|
183
181
|
|
|
184
|
-
// @public (undocumented)
|
|
185
|
-
interface CustomMediaPicker {
|
|
186
|
-
// (undocumented)
|
|
187
|
-
destroy(): void;
|
|
188
|
-
// (undocumented)
|
|
189
|
-
emit(event: string, data: any): void;
|
|
190
|
-
// (undocumented)
|
|
191
|
-
on(event: string, cb: Listener): void;
|
|
192
|
-
// (undocumented)
|
|
193
|
-
removeAllListeners(event: any): void;
|
|
194
|
-
// (undocumented)
|
|
195
|
-
setUploadParams(uploadParams: UploadParams): void;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
182
|
// @public (undocumented)
|
|
199
183
|
interface DatePluginConfig {
|
|
200
184
|
// (undocumented)
|
|
@@ -602,9 +586,6 @@ interface LayoutPluginOptions extends LongPressSelectionPluginOptions {
|
|
|
602
586
|
UNSAFE_allowSingleColumnLayout?: boolean;
|
|
603
587
|
}
|
|
604
588
|
|
|
605
|
-
// @public (undocumented)
|
|
606
|
-
type Listener = (data: any) => void;
|
|
607
|
-
|
|
608
589
|
export { MacroAttributes }
|
|
609
590
|
|
|
610
591
|
export { MacroProvider }
|
|
@@ -618,110 +599,10 @@ export const measurements: {
|
|
|
618
599
|
PASTE: string;
|
|
619
600
|
};
|
|
620
601
|
|
|
621
|
-
|
|
622
|
-
export interface MediaOptions {
|
|
623
|
-
// (undocumented)
|
|
624
|
-
alignLeftOnInsert?: boolean;
|
|
625
|
-
// (undocumented)
|
|
626
|
-
allowAdvancedToolBarOptions?: boolean;
|
|
627
|
-
// (undocumented)
|
|
628
|
-
allowAltTextOnImages?: boolean;
|
|
629
|
-
// (undocumented)
|
|
630
|
-
allowBreakoutSnapPoints?: boolean;
|
|
631
|
-
// (undocumented)
|
|
632
|
-
allowCaptions?: boolean;
|
|
633
|
-
// (undocumented)
|
|
634
|
-
allowDropzoneDropLine?: boolean;
|
|
635
|
-
// (undocumented)
|
|
636
|
-
allowLazyLoading?: boolean;
|
|
637
|
-
// (undocumented)
|
|
638
|
-
allowLinking?: boolean;
|
|
639
|
-
// (undocumented)
|
|
640
|
-
allowMarkingUploadsAsIncomplete?: boolean;
|
|
641
|
-
// (undocumented)
|
|
642
|
-
allowMediaGroup?: boolean;
|
|
643
|
-
// (undocumented)
|
|
644
|
-
allowMediaSingle?: MediaSingleOptions | boolean;
|
|
645
|
-
// (undocumented)
|
|
646
|
-
allowMediaSingleEditable?: boolean;
|
|
647
|
-
// (undocumented)
|
|
648
|
-
allowRemoteDimensionsFetch?: boolean;
|
|
649
|
-
// (undocumented)
|
|
650
|
-
allowResizing?: boolean;
|
|
651
|
-
// (undocumented)
|
|
652
|
-
allowResizingInTables?: boolean;
|
|
653
|
-
// (undocumented)
|
|
654
|
-
allowTemplatePlaceholders?: PlaceholderTextOptions_2 | boolean;
|
|
655
|
-
// (undocumented)
|
|
656
|
-
altTextValidator?: (value: string) => string[];
|
|
657
|
-
// (undocumented)
|
|
658
|
-
customDropzoneContainer?: HTMLElement;
|
|
659
|
-
// (undocumented)
|
|
660
|
-
customMediaPicker?: CustomMediaPicker;
|
|
661
|
-
// (undocumented)
|
|
662
|
-
editorSelectionAPI?: EditorSelectionAPI;
|
|
663
|
-
// (undocumented)
|
|
664
|
-
enableDownloadButton?: boolean;
|
|
665
|
-
// (undocumented)
|
|
666
|
-
featureFlags?: MediaFeatureFlags;
|
|
667
|
-
// (undocumented)
|
|
668
|
-
fullWidthEnabled?: boolean;
|
|
669
|
-
// (undocumented)
|
|
670
|
-
getEditorFeatureFlags?: GetEditorFeatureFlags;
|
|
671
|
-
// (undocumented)
|
|
672
|
-
isCopyPasteEnabled?: boolean;
|
|
673
|
-
// (undocumented)
|
|
674
|
-
provider?: Providers['mediaProvider'];
|
|
675
|
-
// (undocumented)
|
|
676
|
-
uploadErrorHandler?: (state: MediaState) => void;
|
|
677
|
-
// (undocumented)
|
|
678
|
-
useForgePlugins?: boolean;
|
|
679
|
-
// (undocumented)
|
|
680
|
-
waitForMediaUpload?: boolean;
|
|
681
|
-
}
|
|
602
|
+
export { MediaOptions }
|
|
682
603
|
|
|
683
604
|
export { MediaProvider_2 as MediaProvider }
|
|
684
605
|
|
|
685
|
-
// @public (undocumented)
|
|
686
|
-
interface MediaSingleOptions {
|
|
687
|
-
// (undocumented)
|
|
688
|
-
disableLayout?: boolean;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
// @public (undocumented)
|
|
692
|
-
interface MediaState {
|
|
693
|
-
// (undocumented)
|
|
694
|
-
collection?: string;
|
|
695
|
-
// (undocumented)
|
|
696
|
-
contextId?: string;
|
|
697
|
-
// (undocumented)
|
|
698
|
-
dimensions?: {
|
|
699
|
-
width: number | undefined;
|
|
700
|
-
height: number | undefined;
|
|
701
|
-
};
|
|
702
|
-
// (undocumented)
|
|
703
|
-
error?: {
|
|
704
|
-
name: string;
|
|
705
|
-
description: string;
|
|
706
|
-
};
|
|
707
|
-
// (undocumented)
|
|
708
|
-
fileMimeType?: string;
|
|
709
|
-
// (undocumented)
|
|
710
|
-
fileName?: string;
|
|
711
|
-
// (undocumented)
|
|
712
|
-
fileSize?: number;
|
|
713
|
-
// (undocumented)
|
|
714
|
-
id: string;
|
|
715
|
-
publicId?: string;
|
|
716
|
-
// (undocumented)
|
|
717
|
-
scaleFactor?: number;
|
|
718
|
-
// (undocumented)
|
|
719
|
-
status?: MediaStateStatus;
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
// @public (undocumented)
|
|
723
|
-
type MediaStateStatus = 'cancelled' | 'error' | 'mobile-upload-end' | 'preview' | 'ready' | 'unknown';
|
|
724
|
-
|
|
725
606
|
// @public (undocumented)
|
|
726
607
|
interface MentionPluginConfig {
|
|
727
608
|
// (undocumented)
|
|
@@ -760,12 +641,6 @@ interface PlaceholderTextOptions {
|
|
|
760
641
|
allowInserting?: boolean;
|
|
761
642
|
}
|
|
762
643
|
|
|
763
|
-
// @public (undocumented)
|
|
764
|
-
interface PlaceholderTextOptions_2 {
|
|
765
|
-
// (undocumented)
|
|
766
|
-
allowInserting?: boolean;
|
|
767
|
-
}
|
|
768
|
-
|
|
769
644
|
export { PortalProvider }
|
|
770
645
|
|
|
771
646
|
export { PortalProviderAPI }
|