@atlaskit/editor-core 197.3.0 → 197.4.1
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 +31 -0
- package/afm-cc/tsconfig.json +0 -3
- package/afm-jira/tsconfig.json +0 -3
- package/dist/cjs/actions/index.js +13 -40
- package/dist/cjs/composable-editor/editor-internal.js +7 -6
- package/dist/cjs/create-editor/ReactEditorView.js +2 -1
- package/dist/cjs/presets/universal.js +7 -9
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +1 -3
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +1 -9
- package/dist/cjs/ui/ToolbarFeedback/index.js +5 -210
- package/dist/cjs/utils/action.js +9 -38
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/actions/index.js +1 -12
- package/dist/es2019/composable-editor/editor-internal.js +7 -6
- package/dist/es2019/create-editor/ReactEditorView.js +2 -1
- package/dist/es2019/index.js +8 -1
- package/dist/es2019/presets/universal.js +7 -9
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +1 -3
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +1 -9
- package/dist/es2019/ui/ToolbarFeedback/index.js +5 -188
- package/dist/es2019/utils/action.js +0 -10
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/actions/index.js +14 -41
- package/dist/esm/composable-editor/editor-internal.js +7 -6
- package/dist/esm/create-editor/ReactEditorView.js +2 -1
- package/dist/esm/index.js +8 -1
- package/dist/esm/presets/universal.js +7 -9
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +1 -3
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +1 -9
- package/dist/esm/ui/ToolbarFeedback/index.js +5 -212
- package/dist/esm/utils/action.js +9 -37
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/actions/index.d.ts +0 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +3 -0
- package/dist/types/index.d.ts +8 -1
- package/dist/types/presets/default.d.ts +2 -0
- package/dist/types/presets/universal.d.ts +4 -0
- package/dist/types/presets/useUniversalPreset.d.ts +3 -0
- package/dist/types/types/editor-appearance-component.d.ts +0 -1
- package/dist/types/ui/Appearance/FullPage/FullPageToolbar.d.ts +0 -1
- package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types/ui/ContentStyles/index.d.ts +2 -2
- package/dist/types/ui/ToolbarFeedback/index.d.ts +1 -26
- package/dist/types/utils/action.d.ts +0 -4
- package/dist/types-ts4.5/actions/index.d.ts +0 -1
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +3 -0
- package/dist/types-ts4.5/index.d.ts +8 -1
- package/dist/types-ts4.5/presets/default.d.ts +2 -0
- package/dist/types-ts4.5/presets/universal.d.ts +4 -0
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +3 -0
- package/dist/types-ts4.5/types/editor-appearance-component.d.ts +0 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +0 -1
- 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/dist/types-ts4.5/ui/ToolbarFeedback/index.d.ts +1 -26
- package/dist/types-ts4.5/utils/action.d.ts +0 -7
- package/package.json +11 -17
|
@@ -3046,6 +3046,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3046
3046
|
type: "added" | "deleted";
|
|
3047
3047
|
localId: string;
|
|
3048
3048
|
id: string;
|
|
3049
|
+
taskLocalId?: string | undefined;
|
|
3049
3050
|
}[]) => void;
|
|
3050
3051
|
};
|
|
3051
3052
|
}, import("@atlaskit/editor-plugin-mentions").MentionPluginOptions | undefined>>
|
|
@@ -6077,6 +6078,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6077
6078
|
type: "added" | "deleted";
|
|
6078
6079
|
localId: string;
|
|
6079
6080
|
id: string;
|
|
6081
|
+
taskLocalId?: string | undefined;
|
|
6080
6082
|
}[]) => void;
|
|
6081
6083
|
};
|
|
6082
6084
|
}, import("@atlaskit/editor-plugin-mentions").MentionPluginOptions | undefined>>
|
|
@@ -19,6 +19,7 @@ export type InitialPluginConfiguration = {
|
|
|
19
19
|
type: 'added' | 'deleted';
|
|
20
20
|
localId: string;
|
|
21
21
|
id: string;
|
|
22
|
+
taskLocalId?: string;
|
|
22
23
|
}[]) => void;
|
|
23
24
|
};
|
|
24
25
|
tablesPlugin?: {
|
|
@@ -1370,6 +1371,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1370
1371
|
type: "added" | "deleted";
|
|
1371
1372
|
localId: string;
|
|
1372
1373
|
id: string;
|
|
1374
|
+
taskLocalId?: string | undefined;
|
|
1373
1375
|
}[]) => void;
|
|
1374
1376
|
};
|
|
1375
1377
|
}, import("@atlaskit/editor-plugins/mentions").MentionPluginOptions | undefined>>
|
|
@@ -3564,6 +3566,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3564
3566
|
type: "added" | "deleted";
|
|
3565
3567
|
localId: string;
|
|
3566
3568
|
id: string;
|
|
3569
|
+
taskLocalId?: string | undefined;
|
|
3567
3570
|
}[]) => void;
|
|
3568
3571
|
};
|
|
3569
3572
|
}, import("@atlaskit/editor-plugins/mentions").MentionPluginOptions | undefined> | undefined,
|
|
@@ -8026,6 +8029,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
8026
8029
|
type: "added" | "deleted";
|
|
8027
8030
|
localId: string;
|
|
8028
8031
|
id: string;
|
|
8032
|
+
taskLocalId?: string | undefined;
|
|
8029
8033
|
}[]) => void;
|
|
8030
8034
|
};
|
|
8031
8035
|
}, import("@atlaskit/editor-plugins/mentions").MentionPluginOptions | undefined>>
|
|
@@ -1324,6 +1324,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1324
1324
|
type: "added" | "deleted";
|
|
1325
1325
|
localId: string;
|
|
1326
1326
|
id: string;
|
|
1327
|
+
taskLocalId?: string | undefined;
|
|
1327
1328
|
}[]) => void;
|
|
1328
1329
|
};
|
|
1329
1330
|
}, import("@atlaskit/editor-plugin-mentions").MentionPluginOptions | undefined>>
|
|
@@ -3518,6 +3519,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
3518
3519
|
type: "added" | "deleted";
|
|
3519
3520
|
localId: string;
|
|
3520
3521
|
id: string;
|
|
3522
|
+
taskLocalId?: string | undefined;
|
|
3521
3523
|
}[]) => void;
|
|
3522
3524
|
};
|
|
3523
3525
|
}, import("@atlaskit/editor-plugin-mentions").MentionPluginOptions | undefined> | undefined,
|
|
@@ -7980,6 +7982,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
7980
7982
|
type: "added" | "deleted";
|
|
7981
7983
|
localId: string;
|
|
7982
7984
|
id: string;
|
|
7985
|
+
taskLocalId?: string | undefined;
|
|
7983
7986
|
}[]) => void;
|
|
7984
7987
|
};
|
|
7985
7988
|
}, import("@atlaskit/editor-plugin-mentions").MentionPluginOptions | undefined>>
|
|
@@ -49,7 +49,6 @@ export interface FullPageToolbarProps {
|
|
|
49
49
|
beforeIcon?: ReactElement;
|
|
50
50
|
hasMinWidth?: boolean;
|
|
51
51
|
featureFlags: FeatureFlags;
|
|
52
|
-
hideAvatarGroup?: boolean;
|
|
53
52
|
editorAPI: PublicPluginAPI<ToolbarEditorPlugins> | undefined;
|
|
54
53
|
}
|
|
55
54
|
export declare const EditorToolbar: React.MemoExoticComponent<(props: FullPageToolbarProps & WrappedComponentProps) => jsx.JSX.Element>;
|
|
@@ -5,7 +5,7 @@ export declare const ScrollContainer: import("react").ForwardRefExoticComponent<
|
|
|
5
5
|
colorMode?: "light" | "dark" | undefined;
|
|
6
6
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
7
7
|
viewMode?: "view" | "edit" | undefined;
|
|
8
|
-
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "value" | "name" | "key" | "
|
|
8
|
+
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "value" | "name" | "key" | "property" | "type" | "content" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "list" | "width" | "open" | "accessKey" | "dir" | "className" | "role" | "start" | "action" | "step" | "wrap" | "color" | "height" | "translate" | "default" | "hidden" | keyof {
|
|
9
9
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
10
|
colorMode?: "light" | "dark" | undefined;
|
|
11
11
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
@@ -15,6 +15,6 @@ type ContentStylesProps = {
|
|
|
15
15
|
};
|
|
16
16
|
export declare const placeholderStyles: SerializedStyles;
|
|
17
17
|
type Props = ContentStylesProps & React.HTMLProps<HTMLDivElement>;
|
|
18
|
-
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "value" | "name" | "key" | "
|
|
19
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "value" | "name" | "key" | "
|
|
18
|
+
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "value" | "name" | "key" | "property" | "type" | "content" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "list" | "width" | "open" | "accessKey" | "dir" | "className" | "role" | "start" | "action" | "step" | "wrap" | "color" | "height" | "translate" | "default" | "hidden" | keyof ContentStylesProps | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "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" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "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"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "value" | "name" | "key" | "property" | "type" | "content" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "list" | "width" | "open" | "accessKey" | "dir" | "className" | "role" | "start" | "action" | "step" | "wrap" | "color" | "height" | "translate" | "default" | "hidden" | keyof ContentStylesProps | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "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" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "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"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
20
|
export default _default;
|
|
@@ -1,26 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export type EditorProduct = 'bitbucket' | 'jira' | 'confluence' | 'stride' | undefined;
|
|
3
|
-
export interface Props {
|
|
4
|
-
/** @deprecated To pass package version use feedbackInfo property – <Editor feedbackInfo={{ packageVersion }} /> */
|
|
5
|
-
packageVersion?: string;
|
|
6
|
-
/** @deprecated 'To pass package name use feedbackInfo property – <Editor feedbackInfo={{ packageName }} /> */
|
|
7
|
-
packageName?: string;
|
|
8
|
-
product?: EditorProduct;
|
|
9
|
-
popupsMountPoint?: HTMLElement;
|
|
10
|
-
popupsBoundariesElement?: HTMLElement;
|
|
11
|
-
popupsScrollableElement?: HTMLElement;
|
|
12
|
-
/** @deprecated 'To pass feedback labels use feedbackInfo property – <Editor feedbackInfo={{ labels }} />' */
|
|
13
|
-
labels?: string[];
|
|
14
|
-
}
|
|
15
|
-
export interface State {
|
|
16
|
-
jiraIssueCollectorScriptLoading: boolean;
|
|
17
|
-
showOptOutOption?: boolean;
|
|
18
|
-
target?: HTMLElement;
|
|
19
|
-
}
|
|
20
|
-
declare global {
|
|
21
|
-
interface Window {
|
|
22
|
-
jQuery: any;
|
|
23
|
-
ATL_JQ_PAGE_PROPS: any;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export default function ToolbarFeedback(props: Props): jsx.JSX.Element;
|
|
1
|
+
export default function ToolbarFeedback(): null;
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import type { OptionalPlugin, PublicPluginAPI } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { ContextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
3
|
-
import type { ExtensionPlugin } from '@atlaskit/editor-plugins/extension';
|
|
4
1
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
5
|
-
export declare function __temporaryFixForConfigPanel(editorView: EditorView, api: PublicPluginAPI<[
|
|
6
|
-
OptionalPlugin<ExtensionPlugin>,
|
|
7
|
-
OptionalPlugin<ContextPanelPlugin>
|
|
8
|
-
]>): Promise<void>;
|
|
9
2
|
export declare function getEditorValueWithMedia(editorView: EditorView): Promise<import("prosemirror-model").Node>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "197.
|
|
3
|
+
"version": "197.4.1",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
44
44
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
45
45
|
"@atlaskit/button": "^20.1.0",
|
|
46
|
-
"@atlaskit/editor-common": "^88.
|
|
46
|
+
"@atlaskit/editor-common": "^88.12.0",
|
|
47
47
|
"@atlaskit/editor-plugins": "^4.4.0",
|
|
48
48
|
"@atlaskit/editor-prosemirror": "5.0.1",
|
|
49
49
|
"@atlaskit/editor-shared-styles": "^2.13.0",
|
|
@@ -52,7 +52,6 @@
|
|
|
52
52
|
"@atlaskit/media-card": "^78.2.0",
|
|
53
53
|
"@atlaskit/mention": "^23.2.0",
|
|
54
54
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
55
|
-
"@atlaskit/spinner": "^16.3.0",
|
|
56
55
|
"@atlaskit/task-decision": "^17.10.0",
|
|
57
56
|
"@atlaskit/theme": "^13.0.0",
|
|
58
57
|
"@atlaskit/tmp-editor-statsig": "*",
|
|
@@ -84,23 +83,23 @@
|
|
|
84
83
|
"@af/visual-regression": "*",
|
|
85
84
|
"@atlaskit/adf-utils": "^19.8.0",
|
|
86
85
|
"@atlaskit/analytics-listeners": "^8.11.0",
|
|
87
|
-
"@atlaskit/collab-provider": "9.
|
|
86
|
+
"@atlaskit/collab-provider": "9.40.0",
|
|
88
87
|
"@atlaskit/editor-json-transformer": "^8.18.0",
|
|
89
|
-
"@atlaskit/editor-plugin-annotation": "1.19.
|
|
88
|
+
"@atlaskit/editor-plugin-annotation": "1.19.4",
|
|
90
89
|
"@atlaskit/editor-plugin-card": "^2.15.0",
|
|
91
90
|
"@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
|
|
92
91
|
"@atlaskit/editor-plugin-list": "^3.8.0",
|
|
93
|
-
"@atlaskit/editor-plugin-paste": "^1.
|
|
92
|
+
"@atlaskit/editor-plugin-paste": "^1.12.0",
|
|
94
93
|
"@atlaskit/editor-test-helpers": "*",
|
|
95
|
-
"@atlaskit/link-provider": "^1.
|
|
94
|
+
"@atlaskit/link-provider": "^1.15.0",
|
|
96
95
|
"@atlaskit/logo": "^14.2.0",
|
|
97
96
|
"@atlaskit/media-core": "^34.3.0",
|
|
98
97
|
"@atlaskit/media-integration-test-helpers": "^3.1.0",
|
|
99
98
|
"@atlaskit/media-test-helpers": "^34.1.0",
|
|
100
99
|
"@atlaskit/modal-dialog": "^12.15.0",
|
|
101
100
|
"@atlaskit/primitives": "^12.1.0",
|
|
102
|
-
"@atlaskit/renderer": "^109.
|
|
103
|
-
"@atlaskit/smart-card": "^
|
|
101
|
+
"@atlaskit/renderer": "^109.53.0",
|
|
102
|
+
"@atlaskit/smart-card": "^28.0.0",
|
|
104
103
|
"@atlaskit/synchrony-test-helpers": "^2.5.0",
|
|
105
104
|
"@atlaskit/toggle": "^13.4.0",
|
|
106
105
|
"@atlaskit/util-data-test": "^17.9.0",
|
|
@@ -111,7 +110,6 @@
|
|
|
111
110
|
"@storybook/addon-knobs": "^5.3.18",
|
|
112
111
|
"@testing-library/react": "^12.1.5",
|
|
113
112
|
"@testing-library/react-hooks": "^8.0.1",
|
|
114
|
-
"@testing-library/user-event": "^14.4.3",
|
|
115
113
|
"@types/diff": "^5.0.2",
|
|
116
114
|
"@types/is-number": "^7.0.0",
|
|
117
115
|
"diff": "^4.0.1",
|
|
@@ -190,6 +188,9 @@
|
|
|
190
188
|
"type": "boolean",
|
|
191
189
|
"referenceOnly": "true"
|
|
192
190
|
},
|
|
191
|
+
"platform_editor_remove_editor_actions_workaround": {
|
|
192
|
+
"type": "boolean"
|
|
193
|
+
},
|
|
193
194
|
"platform.editor.table.use-shared-state-hook": {
|
|
194
195
|
"type": "boolean",
|
|
195
196
|
"referenceOnly": true
|
|
@@ -230,10 +231,6 @@
|
|
|
230
231
|
"platform.editor.core.increase-full-page-guttering": {
|
|
231
232
|
"type": "boolean"
|
|
232
233
|
},
|
|
233
|
-
"platform_editor_get_card_provider_from_config": {
|
|
234
|
-
"type": "boolean",
|
|
235
|
-
"referenceOnly": true
|
|
236
|
-
},
|
|
237
234
|
"platform_editor_element_drag_and_drop_ed_23873": {
|
|
238
235
|
"type": "boolean",
|
|
239
236
|
"referenceOnly": true
|
|
@@ -262,9 +259,6 @@
|
|
|
262
259
|
"platform_hide_editor_toolbar_ssr": {
|
|
263
260
|
"type": "boolean"
|
|
264
261
|
},
|
|
265
|
-
"platform_editor_remove_hide_avatar_group_prop": {
|
|
266
|
-
"type": "boolean"
|
|
267
|
-
},
|
|
268
262
|
"platform_editor_card_provider_from_plugin_config": {
|
|
269
263
|
"type": "boolean"
|
|
270
264
|
},
|