@atlaskit/editor-core 193.3.4 → 193.4.0
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 +16 -0
- package/dist/cjs/presets/universal.js +2 -1
- package/dist/cjs/ui/ContentStyles/extension.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +2 -1
- package/dist/es2019/ui/ContentStyles/extension.js +14 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +2 -1
- package/dist/esm/ui/ContentStyles/extension.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +19 -11
- package/dist/types/presets/default.d.ts +8 -8
- package/dist/types/presets/universal.d.ts +19 -11
- package/dist/types/presets/useUniversalPreset.d.ts +19 -11
- package/dist/types/ui/Addon/Dropdown/index.d.ts +1 -0
- package/dist/types/ui/ErrorBoundary/index.d.ts +1 -0
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +21 -10
- package/dist/types-ts4.5/presets/default.d.ts +8 -8
- package/dist/types-ts4.5/presets/universal.d.ts +21 -10
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +21 -10
- package/dist/types-ts4.5/ui/Addon/Dropdown/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +1 -0
- package/package.json +17 -9
|
@@ -3,7 +3,7 @@ import type { EditorProps } from '../types/editor-props';
|
|
|
3
3
|
interface PresetProps {
|
|
4
4
|
props: EditorProps;
|
|
5
5
|
}
|
|
6
|
-
export default function useUniversalPreset({ props }: PresetProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<[import("@atlaskit/editor-common/types").MaybePluginName<"loom">, "codeBidiWarning", import("@atlaskit/editor-common/types").MaybePluginName<"pasteOptionsToolbarPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"border">, import("@atlaskit/editor-common/types").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/types").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/types").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/types").MaybePluginName<"indentation">, import("@atlaskit/editor-common/types").MaybePluginName<"status">, import("@atlaskit/editor-common/types").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/types").MaybePluginName<"card">, import("@atlaskit/editor-common/types").MaybePluginName<"layout">, import("@atlaskit/editor-common/types").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/types").MaybePluginName<"date">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"extension">, import("@atlaskit/editor-common/types").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/types").MaybePluginName<"panel">, import("@atlaskit/editor-common/types").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/types").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/types").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/types").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/types").MaybePluginName<"table">, import("@atlaskit/editor-common/types").MaybePluginName<"emoji">, import("@atlaskit/editor-common/types").MaybePluginName<"mention">, import("@atlaskit/editor-common/types").MaybePluginName<"caption">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"grid">, import("@atlaskit/editor-common/types").MaybePluginName<"guideline">, import("@atlaskit/editor-common/types").MaybePluginName<"expand">, import("@atlaskit/editor-common/types").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/types").MaybePluginName<"textColor">, import("@atlaskit/editor-common/types").MaybePluginName<"alignment">, import("@atlaskit/editor-common/types").MaybePluginName<"breakout">, "contentInsertion", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", import("@atlaskit/editor-common/types").MaybePluginName<"selectionToolbar">, "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/types").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/types").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"loom", {
|
|
6
|
+
export default function useUniversalPreset({ props }: PresetProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<[import("@atlaskit/editor-common/types").MaybePluginName<"loom">, "codeBidiWarning", import("@atlaskit/editor-common/types").MaybePluginName<"pasteOptionsToolbarPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"border">, import("@atlaskit/editor-common/types").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/types").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/types").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/types").MaybePluginName<"indentation">, import("@atlaskit/editor-common/types").MaybePluginName<"status">, import("@atlaskit/editor-common/types").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/types").MaybePluginName<"card">, import("@atlaskit/editor-common/types").MaybePluginName<"layout">, import("@atlaskit/editor-common/types").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/types").MaybePluginName<"date">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"extension">, import("@atlaskit/editor-common/types").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/types").MaybePluginName<"panel">, import("@atlaskit/editor-common/types").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/types").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/types").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/types").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/types").MaybePluginName<"table">, import("@atlaskit/editor-common/types").MaybePluginName<"emoji">, import("@atlaskit/editor-common/types").MaybePluginName<"mention">, import("@atlaskit/editor-common/types").MaybePluginName<"caption">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"grid">, import("@atlaskit/editor-common/types").MaybePluginName<"guideline">, import("@atlaskit/editor-common/types").MaybePluginName<"expand">, import("@atlaskit/editor-common/types").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/types").MaybePluginName<"textColor">, import("@atlaskit/editor-common/types").MaybePluginName<"alignment">, import("@atlaskit/editor-common/types").MaybePluginName<"breakout">, "contentInsertion", "accessibilityUtils", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", import("@atlaskit/editor-common/types").MaybePluginName<"selectionToolbar">, "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/types").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/types").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"loom", {
|
|
7
7
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
8
8
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
9
9
|
sharedState: {
|
|
@@ -493,7 +493,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
493
493
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
494
494
|
};
|
|
495
495
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
496
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
496
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
497
497
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
498
498
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
499
499
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -560,7 +560,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
560
560
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
561
561
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
562
562
|
};
|
|
563
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
563
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
564
564
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
565
565
|
actions: {
|
|
566
566
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -1633,7 +1633,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1633
1633
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1634
1634
|
};
|
|
1635
1635
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1636
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1636
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1637
1637
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
1638
1638
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
1639
1639
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1700,7 +1700,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1700
1700
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1701
1701
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1702
1702
|
};
|
|
1703
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
1703
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
1704
1704
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1705
1705
|
actions: {
|
|
1706
1706
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2265,7 +2265,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2265
2265
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2266
2266
|
};
|
|
2267
2267
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2268
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2268
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2269
2269
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2270
2270
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2271
2271
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2332,7 +2332,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2332
2332
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2333
2333
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2334
2334
|
};
|
|
2335
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2335
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
2336
2336
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2337
2337
|
actions: {
|
|
2338
2338
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2544,6 +2544,14 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2544
2544
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2545
2545
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2546
2546
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>];
|
|
2547
|
+
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
2548
|
+
dependencies: [];
|
|
2549
|
+
actions: {
|
|
2550
|
+
ariaNotify: (message: string) => void;
|
|
2551
|
+
};
|
|
2552
|
+
sharedState: {
|
|
2553
|
+
message: string;
|
|
2554
|
+
};
|
|
2547
2555
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"dataConsumer", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
|
|
2548
2556
|
pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined;
|
|
2549
2557
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -2914,7 +2922,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2914
2922
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2915
2923
|
};
|
|
2916
2924
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2917
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2925
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2918
2926
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2919
2927
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2920
2928
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2981,7 +2989,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2981
2989
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2982
2990
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2983
2991
|
};
|
|
2984
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2992
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
2985
2993
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2986
2994
|
actions: {
|
|
2987
2995
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -3774,7 +3782,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3774
3782
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3775
3783
|
};
|
|
3776
3784
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3777
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3785
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3778
3786
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
3779
3787
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
3780
3788
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3841,7 +3849,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3841
3849
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3842
3850
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3843
3851
|
};
|
|
3844
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
3852
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
3845
3853
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3846
3854
|
actions: {
|
|
3847
3855
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -4,6 +4,7 @@ import { jsx } from '@emotion/react';
|
|
|
4
4
|
import type EditorActions from '../../../actions';
|
|
5
5
|
import type { RenderOnClickHandler } from '../../Addon/types';
|
|
6
6
|
export interface Props {
|
|
7
|
+
children?: React.ReactNode;
|
|
7
8
|
onClick: (actionOnClick: EditorActions, renderOnClick: RenderOnClickHandler) => void;
|
|
8
9
|
editorActions: EditorActions;
|
|
9
10
|
togglePopup: () => void;
|
|
@@ -5,6 +5,7 @@ type ErrorCrashPayload = Extract<ErrorEventPayload, {
|
|
|
5
5
|
action: ACTION.EDITOR_CRASHED;
|
|
6
6
|
}>;
|
|
7
7
|
interface ErrorBoundaryProps {
|
|
8
|
+
children?: React.ReactNode;
|
|
8
9
|
component: ErrorCrashPayload['actionSubject'];
|
|
9
10
|
componentId?: ErrorCrashPayload['actionSubjectId'];
|
|
10
11
|
dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
|
|
@@ -46,6 +46,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
46
46
|
import("@atlaskit/editor-common/types").MaybePluginName<"alignment">,
|
|
47
47
|
import("@atlaskit/editor-common/types").MaybePluginName<"breakout">,
|
|
48
48
|
"contentInsertion",
|
|
49
|
+
"accessibilityUtils",
|
|
49
50
|
"dataConsumer",
|
|
50
51
|
"codeBlock",
|
|
51
52
|
"selection",
|
|
@@ -681,7 +682,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
681
682
|
};
|
|
682
683
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
683
684
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
684
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
685
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
685
686
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
686
687
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
687
688
|
dependencies: [
|
|
@@ -761,7 +762,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
761
762
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
762
763
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
763
764
|
};
|
|
764
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
765
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
765
766
|
];
|
|
766
767
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
767
768
|
actions: {
|
|
@@ -2071,7 +2072,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2071
2072
|
};
|
|
2072
2073
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2073
2074
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2074
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2075
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2075
2076
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2076
2077
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2077
2078
|
dependencies: [
|
|
@@ -2151,7 +2152,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2151
2152
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2152
2153
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2153
2154
|
};
|
|
2154
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2155
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
2155
2156
|
];
|
|
2156
2157
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2157
2158
|
actions: {
|
|
@@ -2833,7 +2834,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2833
2834
|
};
|
|
2834
2835
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2835
2836
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2836
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2837
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2837
2838
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2838
2839
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2839
2840
|
dependencies: [
|
|
@@ -2913,7 +2914,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2913
2914
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2914
2915
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2915
2916
|
};
|
|
2916
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2917
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
2917
2918
|
];
|
|
2918
2919
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2919
2920
|
actions: {
|
|
@@ -3179,6 +3180,16 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3179
3180
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>
|
|
3180
3181
|
];
|
|
3181
3182
|
}, undefined>,
|
|
3183
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
3184
|
+
dependencies: [
|
|
3185
|
+
];
|
|
3186
|
+
actions: {
|
|
3187
|
+
ariaNotify: (message: string) => void;
|
|
3188
|
+
};
|
|
3189
|
+
sharedState: {
|
|
3190
|
+
message: string;
|
|
3191
|
+
};
|
|
3192
|
+
}, undefined>,
|
|
3182
3193
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"dataConsumer", {}, undefined>,
|
|
3183
3194
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
|
|
3184
3195
|
pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined;
|
|
@@ -3636,7 +3647,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3636
3647
|
};
|
|
3637
3648
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3638
3649
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
3639
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3650
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3640
3651
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
3641
3652
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
3642
3653
|
dependencies: [
|
|
@@ -3716,7 +3727,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3716
3727
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3717
3728
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3718
3729
|
};
|
|
3719
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
3730
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
3720
3731
|
];
|
|
3721
3732
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3722
3733
|
actions: {
|
|
@@ -4680,7 +4691,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4680
4691
|
};
|
|
4681
4692
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4682
4693
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
4683
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4694
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4684
4695
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
4685
4696
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
4686
4697
|
dependencies: [
|
|
@@ -4760,7 +4771,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4760
4771
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4761
4772
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4762
4773
|
};
|
|
4763
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
4774
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
4764
4775
|
];
|
|
4765
4776
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
4766
4777
|
actions: {
|
|
@@ -530,7 +530,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
530
530
|
};
|
|
531
531
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
532
532
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
533
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
533
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
534
534
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
535
535
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
536
536
|
dependencies: [
|
|
@@ -610,7 +610,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
610
610
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
611
611
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
612
612
|
};
|
|
613
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
613
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
614
614
|
];
|
|
615
615
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
616
616
|
actions: {
|
|
@@ -1574,7 +1574,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1574
1574
|
};
|
|
1575
1575
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1576
1576
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
1577
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1577
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1578
1578
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
1579
1579
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
1580
1580
|
dependencies: [
|
|
@@ -1654,7 +1654,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1654
1654
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1655
1655
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1656
1656
|
};
|
|
1657
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
1657
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
1658
1658
|
];
|
|
1659
1659
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1660
1660
|
actions: {
|
|
@@ -2312,7 +2312,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2312
2312
|
};
|
|
2313
2313
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2314
2314
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2315
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2315
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2316
2316
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2317
2317
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2318
2318
|
dependencies: [
|
|
@@ -2392,7 +2392,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2392
2392
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2393
2393
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2394
2394
|
};
|
|
2395
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2395
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
2396
2396
|
];
|
|
2397
2397
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2398
2398
|
actions: {
|
|
@@ -3356,7 +3356,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3356
3356
|
};
|
|
3357
3357
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3358
3358
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
3359
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3359
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3360
3360
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
3361
3361
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
3362
3362
|
dependencies: [
|
|
@@ -3436,7 +3436,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3436
3436
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3437
3437
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3438
3438
|
};
|
|
3439
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
3439
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
3440
3440
|
];
|
|
3441
3441
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3442
3442
|
actions: {
|
|
@@ -63,6 +63,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
63
63
|
import("@atlaskit/editor-common/types").MaybePluginName<"alignment">,
|
|
64
64
|
import("@atlaskit/editor-common/types").MaybePluginName<"breakout">,
|
|
65
65
|
"contentInsertion",
|
|
66
|
+
"accessibilityUtils",
|
|
66
67
|
"dataConsumer",
|
|
67
68
|
"codeBlock",
|
|
68
69
|
"selection",
|
|
@@ -698,7 +699,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
698
699
|
};
|
|
699
700
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
700
701
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
701
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
702
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
702
703
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
703
704
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
704
705
|
dependencies: [
|
|
@@ -778,7 +779,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
778
779
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
779
780
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
780
781
|
};
|
|
781
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
782
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
782
783
|
];
|
|
783
784
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
784
785
|
actions: {
|
|
@@ -2088,7 +2089,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2088
2089
|
};
|
|
2089
2090
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2090
2091
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2091
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2092
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2092
2093
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
2093
2094
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
2094
2095
|
dependencies: [
|
|
@@ -2168,7 +2169,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2168
2169
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2169
2170
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2170
2171
|
};
|
|
2171
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
2172
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
2172
2173
|
];
|
|
2173
2174
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2174
2175
|
actions: {
|
|
@@ -2850,7 +2851,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2850
2851
|
};
|
|
2851
2852
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2852
2853
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2853
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2854
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2854
2855
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
2855
2856
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
2856
2857
|
dependencies: [
|
|
@@ -2930,7 +2931,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2930
2931
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2931
2932
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2932
2933
|
};
|
|
2933
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
2934
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
2934
2935
|
];
|
|
2935
2936
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2936
2937
|
actions: {
|
|
@@ -3196,6 +3197,16 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3196
3197
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>
|
|
3197
3198
|
];
|
|
3198
3199
|
}, undefined>,
|
|
3200
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
3201
|
+
dependencies: [
|
|
3202
|
+
];
|
|
3203
|
+
actions: {
|
|
3204
|
+
ariaNotify: (message: string) => void;
|
|
3205
|
+
};
|
|
3206
|
+
sharedState: {
|
|
3207
|
+
message: string;
|
|
3208
|
+
};
|
|
3209
|
+
}, undefined>,
|
|
3199
3210
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"dataConsumer", {}, undefined>,
|
|
3200
3211
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
|
|
3201
3212
|
pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined;
|
|
@@ -3653,7 +3664,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3653
3664
|
};
|
|
3654
3665
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3655
3666
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
3656
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3667
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3657
3668
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
3658
3669
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
3659
3670
|
dependencies: [
|
|
@@ -3733,7 +3744,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3733
3744
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3734
3745
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3735
3746
|
};
|
|
3736
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
3747
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
3737
3748
|
];
|
|
3738
3749
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3739
3750
|
actions: {
|
|
@@ -4697,7 +4708,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4697
4708
|
};
|
|
4698
4709
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4699
4710
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
4700
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4711
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4701
4712
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
4702
4713
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
4703
4714
|
dependencies: [
|
|
@@ -4777,7 +4788,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4777
4788
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4778
4789
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4779
4790
|
};
|
|
4780
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
4791
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
4781
4792
|
];
|
|
4782
4793
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
4783
4794
|
actions: {
|
|
@@ -49,6 +49,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
49
49
|
import("@atlaskit/editor-common/types").MaybePluginName<"alignment">,
|
|
50
50
|
import("@atlaskit/editor-common/types").MaybePluginName<"breakout">,
|
|
51
51
|
"contentInsertion",
|
|
52
|
+
"accessibilityUtils",
|
|
52
53
|
"dataConsumer",
|
|
53
54
|
"codeBlock",
|
|
54
55
|
"selection",
|
|
@@ -684,7 +685,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
684
685
|
};
|
|
685
686
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
686
687
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
687
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
688
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
688
689
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
689
690
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
690
691
|
dependencies: [
|
|
@@ -764,7 +765,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
764
765
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
765
766
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
766
767
|
};
|
|
767
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
768
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
768
769
|
];
|
|
769
770
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
770
771
|
actions: {
|
|
@@ -2074,7 +2075,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2074
2075
|
};
|
|
2075
2076
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2076
2077
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2077
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2078
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2078
2079
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2079
2080
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2080
2081
|
dependencies: [
|
|
@@ -2154,7 +2155,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2154
2155
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2155
2156
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2156
2157
|
};
|
|
2157
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2158
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
2158
2159
|
];
|
|
2159
2160
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2160
2161
|
actions: {
|
|
@@ -2836,7 +2837,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2836
2837
|
};
|
|
2837
2838
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2838
2839
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2839
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2840
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2840
2841
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2841
2842
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2842
2843
|
dependencies: [
|
|
@@ -2916,7 +2917,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2916
2917
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2917
2918
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2918
2919
|
};
|
|
2919
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2920
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
2920
2921
|
];
|
|
2921
2922
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2922
2923
|
actions: {
|
|
@@ -3182,6 +3183,16 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3182
3183
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>
|
|
3183
3184
|
];
|
|
3184
3185
|
}, undefined>,
|
|
3186
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
3187
|
+
dependencies: [
|
|
3188
|
+
];
|
|
3189
|
+
actions: {
|
|
3190
|
+
ariaNotify: (message: string) => void;
|
|
3191
|
+
};
|
|
3192
|
+
sharedState: {
|
|
3193
|
+
message: string;
|
|
3194
|
+
};
|
|
3195
|
+
}, undefined>,
|
|
3185
3196
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"dataConsumer", {}, undefined>,
|
|
3186
3197
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
|
|
3187
3198
|
pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined;
|
|
@@ -3639,7 +3650,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3639
3650
|
};
|
|
3640
3651
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3641
3652
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
3642
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3653
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3643
3654
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
3644
3655
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
3645
3656
|
dependencies: [
|
|
@@ -3719,7 +3730,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3719
3730
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3720
3731
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3721
3732
|
};
|
|
3722
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
3733
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
3723
3734
|
];
|
|
3724
3735
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3725
3736
|
actions: {
|
|
@@ -4683,7 +4694,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4683
4694
|
};
|
|
4684
4695
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4685
4696
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
4686
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4697
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4687
4698
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
4688
4699
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
4689
4700
|
dependencies: [
|
|
@@ -4763,7 +4774,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4763
4774
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4764
4775
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4765
4776
|
};
|
|
4766
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
4777
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
4767
4778
|
];
|
|
4768
4779
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
4769
4780
|
actions: {
|
|
@@ -4,6 +4,7 @@ import { jsx } from '@emotion/react';
|
|
|
4
4
|
import type EditorActions from '../../../actions';
|
|
5
5
|
import type { RenderOnClickHandler } from '../../Addon/types';
|
|
6
6
|
export interface Props {
|
|
7
|
+
children?: React.ReactNode;
|
|
7
8
|
onClick: (actionOnClick: EditorActions, renderOnClick: RenderOnClickHandler) => void;
|
|
8
9
|
editorActions: EditorActions;
|
|
9
10
|
togglePopup: () => void;
|