@atlaskit/editor-plugin-block-controls 4.1.12 → 4.2.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 +19 -0
- package/dist/cjs/blockControlsPlugin.js +29 -13
- package/dist/cjs/editor-commands/move-node-with-block-menu.js +44 -0
- package/dist/cjs/editor-commands/move-node.js +16 -15
- package/dist/cjs/editor-commands/show-drag-handle.js +5 -1
- package/dist/cjs/editor-commands/utils/move-node-utils.js +91 -0
- package/dist/cjs/pm-plugins/keymap.js +5 -5
- package/dist/cjs/pm-plugins/main.js +6 -1
- package/dist/cjs/pm-plugins/utils/consts.js +1 -8
- package/dist/cjs/pm-plugins/utils/getNestedNodePosition.js +6 -4
- package/dist/cjs/ui/block-menu-items.js +3 -3
- package/dist/es2019/blockControlsPlugin.js +31 -13
- package/dist/es2019/editor-commands/move-node-with-block-menu.js +39 -0
- package/dist/es2019/editor-commands/move-node.js +13 -12
- package/dist/es2019/editor-commands/show-drag-handle.js +5 -1
- package/dist/es2019/editor-commands/utils/move-node-utils.js +88 -0
- package/dist/es2019/pm-plugins/keymap.js +1 -1
- package/dist/es2019/pm-plugins/main.js +6 -1
- package/dist/es2019/pm-plugins/utils/consts.js +0 -7
- package/dist/es2019/pm-plugins/utils/getNestedNodePosition.js +7 -6
- package/dist/es2019/ui/block-menu-items.js +1 -1
- package/dist/esm/blockControlsPlugin.js +29 -13
- package/dist/esm/editor-commands/move-node-with-block-menu.js +38 -0
- package/dist/esm/editor-commands/move-node.js +13 -12
- package/dist/esm/editor-commands/show-drag-handle.js +5 -1
- package/dist/esm/editor-commands/utils/move-node-utils.js +85 -0
- package/dist/esm/pm-plugins/keymap.js +1 -1
- package/dist/esm/pm-plugins/main.js +6 -1
- package/dist/esm/pm-plugins/utils/consts.js +0 -7
- package/dist/esm/pm-plugins/utils/getNestedNodePosition.js +6 -4
- package/dist/esm/ui/block-menu-items.js +1 -1
- package/dist/types/blockControlsPluginType.d.ts +11 -2
- package/dist/types/editor-commands/move-node-with-block-menu.d.ts +4 -0
- package/dist/types/editor-commands/move-node.d.ts +1 -1
- package/dist/types/editor-commands/utils/move-node-utils.d.ts +23 -0
- package/dist/types/pm-plugins/main.d.ts +8 -0
- package/dist/types/pm-plugins/utils/consts.d.ts +0 -6
- package/dist/types/pm-plugins/utils/getNestedNodePosition.d.ts +7 -2
- package/dist/types-ts4.5/blockControlsPluginType.d.ts +11 -2
- package/dist/types-ts4.5/editor-commands/move-node-with-block-menu.d.ts +4 -0
- package/dist/types-ts4.5/editor-commands/move-node.d.ts +1 -1
- package/dist/types-ts4.5/editor-commands/utils/move-node-utils.d.ts +23 -0
- package/dist/types-ts4.5/pm-plugins/main.d.ts +8 -0
- package/dist/types-ts4.5/pm-plugins/utils/consts.d.ts +0 -6
- package/dist/types-ts4.5/pm-plugins/utils/getNestedNodePosition.d.ts +7 -2
- package/package.json +5 -5
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
2
2
|
import { findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
3
|
-
export var getNestedNodePosition = function getNestedNodePosition(
|
|
4
|
-
var selection =
|
|
3
|
+
export var getNestedNodePosition = function getNestedNodePosition(_ref) {
|
|
4
|
+
var selection = _ref.selection,
|
|
5
|
+
schema = _ref.schema,
|
|
6
|
+
resolve = _ref.resolve;
|
|
5
7
|
var nestedNodePos = selection.$from.before(1);
|
|
6
8
|
if (selection instanceof TextSelection) {
|
|
7
9
|
nestedNodePos = selection.$from.before();
|
|
8
|
-
var $pos =
|
|
10
|
+
var $pos = resolve(nestedNodePos);
|
|
9
11
|
if ($pos.depth < 1) {
|
|
10
12
|
return nestedNodePos;
|
|
11
13
|
}
|
|
12
|
-
var parentNodeOfSpecificTypes = findParentNodeOfType([
|
|
14
|
+
var parentNodeOfSpecificTypes = findParentNodeOfType([schema.nodes.bulletList, schema.nodes.orderedList, schema.nodes.blockquote, schema.nodes.taskList, schema.nodes.decisionList])(selection);
|
|
13
15
|
if (parentNodeOfSpecificTypes) {
|
|
14
16
|
var parentNodeType = parentNodeOfSpecificTypes.node.type.name;
|
|
15
17
|
nestedNodePos = ['bulletList', 'orderedList'].includes(parentNodeType) ? $pos.before($pos.depth - 1) : ['blockquote', 'taskList', 'decisionList'].includes(parentNodeType) ? $pos.before() : nestedNodePos;
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
9
|
import { dragToMoveDown, dragToMoveLeft, dragToMoveRight, dragToMoveUp, tooltip } from '@atlaskit/editor-common/keymaps';
|
|
10
10
|
import { blockControlsMessages } from '@atlaskit/editor-common/messages';
|
|
11
|
+
import { DIRECTION } from '@atlaskit/editor-common/types';
|
|
11
12
|
import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
12
13
|
import ArrowDownIcon from '@atlaskit/icon/core/arrow-down';
|
|
13
14
|
import ArrowLeftIcon from '@atlaskit/icon/core/arrow-left';
|
|
14
15
|
import ArrowRightnIcon from '@atlaskit/icon/core/arrow-right';
|
|
15
16
|
import ArrowUpIcon from '@atlaskit/icon/core/arrow-up';
|
|
16
17
|
import { moveNodeViaShortcut } from '../editor-commands/move-node';
|
|
17
|
-
import { DIRECTION } from '../pm-plugins/utils/consts';
|
|
18
18
|
export var getBlockMenuItems = function getBlockMenuItems(formatMessage) {
|
|
19
19
|
return [{
|
|
20
20
|
items: [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type IntlShape } from 'react-intl-next';
|
|
2
2
|
import { type INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
3
|
-
import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
3
|
+
import type { EditorCommand, NextEditorPlugin, OptionalPlugin, DIRECTION } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { AccessibilityUtilsPlugin } from '@atlaskit/editor-plugin-accessibility-utils';
|
|
5
5
|
import { type AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
6
6
|
import type { EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
|
|
@@ -40,6 +40,10 @@ export interface PluginState {
|
|
|
40
40
|
isDragging: boolean;
|
|
41
41
|
isMenuOpen?: boolean;
|
|
42
42
|
menuTriggerBy?: string;
|
|
43
|
+
blockMenuOptions?: {
|
|
44
|
+
canMoveUp?: boolean;
|
|
45
|
+
canMoveDown?: boolean;
|
|
46
|
+
};
|
|
43
47
|
editorHeight: number;
|
|
44
48
|
editorWidthLeft: number;
|
|
45
49
|
editorWidthRight: number;
|
|
@@ -64,6 +68,10 @@ export type ReleaseHiddenDecoration = () => boolean | undefined;
|
|
|
64
68
|
export type BlockControlsSharedState = {
|
|
65
69
|
isMenuOpen: boolean;
|
|
66
70
|
menuTriggerBy?: string;
|
|
71
|
+
blockMenuOptions?: {
|
|
72
|
+
canMoveUp?: boolean;
|
|
73
|
+
canMoveDown?: boolean;
|
|
74
|
+
};
|
|
67
75
|
activeNode?: ActiveNode;
|
|
68
76
|
activeDropTargetNode?: ActiveDropTargetNode;
|
|
69
77
|
isDragging: boolean;
|
|
@@ -118,6 +126,7 @@ export type BlockControlsPlugin = NextEditorPlugin<'blockControls', {
|
|
|
118
126
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => EditorCommand;
|
|
119
127
|
setMultiSelectPositions: (anchor?: number, head?: number) => EditorCommand;
|
|
120
128
|
setSelectedViaDragHandle: (isSelectedViaDragHandle?: boolean) => EditorCommand;
|
|
129
|
+
moveNodeWithBlockMenu: (direction: DIRECTION.UP | DIRECTION.DOWN) => EditorCommand;
|
|
121
130
|
};
|
|
122
131
|
}>;
|
|
123
132
|
export type BlockControlsMeta = {
|
|
@@ -128,4 +137,4 @@ export type BlockControlsMeta = {
|
|
|
128
137
|
nodeMoved: boolean;
|
|
129
138
|
editorBlurred: boolean;
|
|
130
139
|
};
|
|
131
|
-
export type MoveNodeMethod = INPUT_METHOD.DRAG_AND_DROP | INPUT_METHOD.SHORTCUT;
|
|
140
|
+
export type MoveNodeMethod = INPUT_METHOD.DRAG_AND_DROP | INPUT_METHOD.SHORTCUT | INPUT_METHOD.BLOCK_MENU;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { EditorCommand, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
2
|
+
import { DIRECTION } from '@atlaskit/editor-common/types';
|
|
3
|
+
import type { BlockControlsPlugin } from '../blockControlsPluginType';
|
|
4
|
+
export declare const moveNodeWithBlockMenu: (api: ExtractInjectionAPI<BlockControlsPlugin> | undefined, direction: DIRECTION.UP | DIRECTION.DOWN) => EditorCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { Command, EditorCommand, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
+
import { DIRECTION } from '@atlaskit/editor-common/types';
|
|
3
4
|
import type { BlockControlsPlugin, MoveNodeMethod } from '../blockControlsPluginType';
|
|
4
|
-
import { DIRECTION } from '../pm-plugins/utils/consts';
|
|
5
5
|
export declare const moveNodeViaShortcut: (api: ExtractInjectionAPI<BlockControlsPlugin> | undefined, direction: DIRECTION, formatMessage?: IntlShape["formatMessage"]) => Command;
|
|
6
6
|
export declare const moveNode: (api?: ExtractInjectionAPI<BlockControlsPlugin>) => (start: number, to: number, inputMethod?: MoveNodeMethod, formatMessage?: IntlShape["formatMessage"]) => EditorCommand;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ResolvedPos, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
+
import { type Selection } from '@atlaskit/editor-prosemirror/state';
|
|
4
|
+
export declare const getCurrentNodePosFromDragHandleSelection: ({ selection, schema, resolve, }: {
|
|
5
|
+
selection: Selection;
|
|
6
|
+
schema: Schema;
|
|
7
|
+
resolve: (pos: number) => ResolvedPos;
|
|
8
|
+
}) => number;
|
|
9
|
+
export declare const getPosWhenMoveNodeUp: ($currentNodePos: ResolvedPos, currentNodePos: number) => number;
|
|
10
|
+
export declare const getPosWhenMoveNodeDown: ({ $currentNodePos, nodeAfterPos, tr, }: {
|
|
11
|
+
$currentNodePos: ResolvedPos;
|
|
12
|
+
nodeAfterPos: number;
|
|
13
|
+
tr: Transaction;
|
|
14
|
+
}) => number;
|
|
15
|
+
export declare const getShouldMoveNode: ({ currentNodePos, moveToPos, tr, }: {
|
|
16
|
+
currentNodePos: number;
|
|
17
|
+
moveToPos: number;
|
|
18
|
+
tr: Transaction;
|
|
19
|
+
}) => boolean;
|
|
20
|
+
export declare const canMoveNodeUpOrDown: (tr: Transaction) => {
|
|
21
|
+
moveUp: boolean;
|
|
22
|
+
moveDown: boolean;
|
|
23
|
+
};
|
|
@@ -19,6 +19,10 @@ export declare const apply: (api: ExtractInjectionAPI<BlockControlsPlugin> | und
|
|
|
19
19
|
isDragging: any;
|
|
20
20
|
isMenuOpen: boolean | undefined;
|
|
21
21
|
menuTriggerBy: any;
|
|
22
|
+
blockMenuOptions: {
|
|
23
|
+
canMoveUp: any;
|
|
24
|
+
canMoveDown: any;
|
|
25
|
+
} | undefined;
|
|
22
26
|
editorHeight: any;
|
|
23
27
|
editorWidthLeft: any;
|
|
24
28
|
editorWidthRight: any;
|
|
@@ -37,6 +41,10 @@ export declare const createPlugin: (api: ExtractInjectionAPI<BlockControlsPlugin
|
|
|
37
41
|
isDragging: any;
|
|
38
42
|
isMenuOpen: boolean | undefined;
|
|
39
43
|
menuTriggerBy: any;
|
|
44
|
+
blockMenuOptions: {
|
|
45
|
+
canMoveUp: any;
|
|
46
|
+
canMoveDown: any;
|
|
47
|
+
} | undefined;
|
|
40
48
|
editorHeight: any;
|
|
41
49
|
editorWidthLeft: any;
|
|
42
50
|
editorWidthRight: any;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import type { ResolvedPos, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
import { type Selection } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
+
export declare const getNestedNodePosition: ({ selection, schema, resolve, }: {
|
|
4
|
+
selection: Selection;
|
|
5
|
+
schema: Schema;
|
|
6
|
+
resolve: (pos: number) => ResolvedPos;
|
|
7
|
+
}) => number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type IntlShape } from 'react-intl-next';
|
|
2
2
|
import { type INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
3
|
-
import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
3
|
+
import type { EditorCommand, NextEditorPlugin, OptionalPlugin, DIRECTION } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { AccessibilityUtilsPlugin } from '@atlaskit/editor-plugin-accessibility-utils';
|
|
5
5
|
import { type AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
6
6
|
import type { EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
|
|
@@ -40,6 +40,10 @@ export interface PluginState {
|
|
|
40
40
|
isDragging: boolean;
|
|
41
41
|
isMenuOpen?: boolean;
|
|
42
42
|
menuTriggerBy?: string;
|
|
43
|
+
blockMenuOptions?: {
|
|
44
|
+
canMoveUp?: boolean;
|
|
45
|
+
canMoveDown?: boolean;
|
|
46
|
+
};
|
|
43
47
|
editorHeight: number;
|
|
44
48
|
editorWidthLeft: number;
|
|
45
49
|
editorWidthRight: number;
|
|
@@ -64,6 +68,10 @@ export type ReleaseHiddenDecoration = () => boolean | undefined;
|
|
|
64
68
|
export type BlockControlsSharedState = {
|
|
65
69
|
isMenuOpen: boolean;
|
|
66
70
|
menuTriggerBy?: string;
|
|
71
|
+
blockMenuOptions?: {
|
|
72
|
+
canMoveUp?: boolean;
|
|
73
|
+
canMoveDown?: boolean;
|
|
74
|
+
};
|
|
67
75
|
activeNode?: ActiveNode;
|
|
68
76
|
activeDropTargetNode?: ActiveDropTargetNode;
|
|
69
77
|
isDragging: boolean;
|
|
@@ -118,6 +126,7 @@ export type BlockControlsPlugin = NextEditorPlugin<'blockControls', {
|
|
|
118
126
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => EditorCommand;
|
|
119
127
|
setMultiSelectPositions: (anchor?: number, head?: number) => EditorCommand;
|
|
120
128
|
setSelectedViaDragHandle: (isSelectedViaDragHandle?: boolean) => EditorCommand;
|
|
129
|
+
moveNodeWithBlockMenu: (direction: DIRECTION.UP | DIRECTION.DOWN) => EditorCommand;
|
|
121
130
|
};
|
|
122
131
|
}>;
|
|
123
132
|
export type BlockControlsMeta = {
|
|
@@ -128,4 +137,4 @@ export type BlockControlsMeta = {
|
|
|
128
137
|
nodeMoved: boolean;
|
|
129
138
|
editorBlurred: boolean;
|
|
130
139
|
};
|
|
131
|
-
export type MoveNodeMethod = INPUT_METHOD.DRAG_AND_DROP | INPUT_METHOD.SHORTCUT;
|
|
140
|
+
export type MoveNodeMethod = INPUT_METHOD.DRAG_AND_DROP | INPUT_METHOD.SHORTCUT | INPUT_METHOD.BLOCK_MENU;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { EditorCommand, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
2
|
+
import { DIRECTION } from '@atlaskit/editor-common/types';
|
|
3
|
+
import type { BlockControlsPlugin } from '../blockControlsPluginType';
|
|
4
|
+
export declare const moveNodeWithBlockMenu: (api: ExtractInjectionAPI<BlockControlsPlugin> | undefined, direction: DIRECTION.UP | DIRECTION.DOWN) => EditorCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { Command, EditorCommand, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
|
+
import { DIRECTION } from '@atlaskit/editor-common/types';
|
|
3
4
|
import type { BlockControlsPlugin, MoveNodeMethod } from '../blockControlsPluginType';
|
|
4
|
-
import { DIRECTION } from '../pm-plugins/utils/consts';
|
|
5
5
|
export declare const moveNodeViaShortcut: (api: ExtractInjectionAPI<BlockControlsPlugin> | undefined, direction: DIRECTION, formatMessage?: IntlShape["formatMessage"]) => Command;
|
|
6
6
|
export declare const moveNode: (api?: ExtractInjectionAPI<BlockControlsPlugin>) => (start: number, to: number, inputMethod?: MoveNodeMethod, formatMessage?: IntlShape["formatMessage"]) => EditorCommand;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ResolvedPos, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
+
import { type Selection } from '@atlaskit/editor-prosemirror/state';
|
|
4
|
+
export declare const getCurrentNodePosFromDragHandleSelection: ({ selection, schema, resolve, }: {
|
|
5
|
+
selection: Selection;
|
|
6
|
+
schema: Schema;
|
|
7
|
+
resolve: (pos: number) => ResolvedPos;
|
|
8
|
+
}) => number;
|
|
9
|
+
export declare const getPosWhenMoveNodeUp: ($currentNodePos: ResolvedPos, currentNodePos: number) => number;
|
|
10
|
+
export declare const getPosWhenMoveNodeDown: ({ $currentNodePos, nodeAfterPos, tr, }: {
|
|
11
|
+
$currentNodePos: ResolvedPos;
|
|
12
|
+
nodeAfterPos: number;
|
|
13
|
+
tr: Transaction;
|
|
14
|
+
}) => number;
|
|
15
|
+
export declare const getShouldMoveNode: ({ currentNodePos, moveToPos, tr, }: {
|
|
16
|
+
currentNodePos: number;
|
|
17
|
+
moveToPos: number;
|
|
18
|
+
tr: Transaction;
|
|
19
|
+
}) => boolean;
|
|
20
|
+
export declare const canMoveNodeUpOrDown: (tr: Transaction) => {
|
|
21
|
+
moveUp: boolean;
|
|
22
|
+
moveDown: boolean;
|
|
23
|
+
};
|
|
@@ -19,6 +19,10 @@ export declare const apply: (api: ExtractInjectionAPI<BlockControlsPlugin> | und
|
|
|
19
19
|
isDragging: any;
|
|
20
20
|
isMenuOpen: boolean | undefined;
|
|
21
21
|
menuTriggerBy: any;
|
|
22
|
+
blockMenuOptions: {
|
|
23
|
+
canMoveUp: any;
|
|
24
|
+
canMoveDown: any;
|
|
25
|
+
} | undefined;
|
|
22
26
|
editorHeight: any;
|
|
23
27
|
editorWidthLeft: any;
|
|
24
28
|
editorWidthRight: any;
|
|
@@ -37,6 +41,10 @@ export declare const createPlugin: (api: ExtractInjectionAPI<BlockControlsPlugin
|
|
|
37
41
|
isDragging: any;
|
|
38
42
|
isMenuOpen: boolean | undefined;
|
|
39
43
|
menuTriggerBy: any;
|
|
44
|
+
blockMenuOptions: {
|
|
45
|
+
canMoveUp: any;
|
|
46
|
+
canMoveDown: any;
|
|
47
|
+
} | undefined;
|
|
40
48
|
editorHeight: any;
|
|
41
49
|
editorWidthLeft: any;
|
|
42
50
|
editorWidthRight: any;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import type { ResolvedPos, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
import { type Selection } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
+
export declare const getNestedNodePosition: ({ selection, schema, resolve, }: {
|
|
4
|
+
selection: Selection;
|
|
5
|
+
schema: Schema;
|
|
6
|
+
resolve: (pos: number) => ResolvedPos;
|
|
7
|
+
}) => number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-controls",
|
|
3
|
-
"version": "4.1
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"description": "Block controls plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/adf-schema": "^50.2.
|
|
34
|
+
"@atlaskit/adf-schema": "^50.2.1",
|
|
35
35
|
"@atlaskit/editor-plugin-accessibility-utils": "^3.0.0",
|
|
36
36
|
"@atlaskit/editor-plugin-analytics": "^3.0.0",
|
|
37
37
|
"@atlaskit/editor-plugin-editor-disabled": "^3.0.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@atlaskit/editor-plugin-limited-mode": "^0.0.3",
|
|
41
41
|
"@atlaskit/editor-plugin-metrics": "^4.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-quick-insert": "^3.0.0",
|
|
43
|
-
"@atlaskit/editor-plugin-selection": "^3.
|
|
43
|
+
"@atlaskit/editor-plugin-selection": "^3.1.0",
|
|
44
44
|
"@atlaskit/editor-plugin-type-ahead": "^3.1.0",
|
|
45
45
|
"@atlaskit/editor-plugin-user-intent": "^1.1.0",
|
|
46
46
|
"@atlaskit/editor-plugin-width": "^4.0.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
|
|
56
56
|
"@atlaskit/primitives": "^14.11.0",
|
|
57
57
|
"@atlaskit/theme": "^19.0.0",
|
|
58
|
-
"@atlaskit/tmp-editor-statsig": "^11.
|
|
58
|
+
"@atlaskit/tmp-editor-statsig": "^11.3.0",
|
|
59
59
|
"@atlaskit/tokens": "^6.0.0",
|
|
60
60
|
"@atlaskit/tooltip": "^20.4.0",
|
|
61
61
|
"@babel/runtime": "^7.0.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"uuid": "^3.1.0"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
|
-
"@atlaskit/editor-common": "^107.
|
|
70
|
+
"@atlaskit/editor-common": "^107.26.0",
|
|
71
71
|
"react": "^18.2.0",
|
|
72
72
|
"react-dom": "^18.2.0",
|
|
73
73
|
"react-intl-next": "npm:react-intl@^5.18.1"
|