@atlaskit/editor-plugin-expand 9.1.24 → 9.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/legacyExpand/pm-plugins/main.js +1 -1
- package/dist/cjs/singlePlayerExpand/pm-plugins/main.js +1 -1
- package/dist/es2019/legacyExpand/pm-plugins/main.js +1 -1
- package/dist/es2019/singlePlayerExpand/pm-plugins/main.js +1 -1
- package/dist/esm/legacyExpand/pm-plugins/main.js +1 -1
- package/dist/esm/singlePlayerExpand/pm-plugins/main.js +1 -1
- package/dist/types/legacyExpand/nodeviews/index.d.ts +1 -1
- package/dist/types/legacyExpand/pm-plugins/main.d.ts +2 -2
- package/dist/types/singlePlayerExpand/commands.d.ts +1 -1
- package/dist/types/singlePlayerExpand/node-views/index.d.ts +1 -1
- package/dist/types/singlePlayerExpand/pm-plugins/main.d.ts +3 -3
- package/dist/types/types.d.ts +1 -1
- package/dist/types-ts4.5/legacyExpand/nodeviews/index.d.ts +1 -1
- package/dist/types-ts4.5/legacyExpand/pm-plugins/main.d.ts +2 -2
- package/dist/types-ts4.5/singlePlayerExpand/commands.d.ts +1 -1
- package/dist/types-ts4.5/singlePlayerExpand/node-views/index.d.ts +1 -1
- package/dist/types-ts4.5/singlePlayerExpand/pm-plugins/main.d.ts +3 -3
- package/dist/types-ts4.5/types.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-expand
|
|
2
2
|
|
|
3
|
+
## 9.1.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`7b7c52dff5d7d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7b7c52dff5d7d) -
|
|
8
|
+
Fix eslint violations for type import syntax
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 9.1.25
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 9.1.24
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -67,7 +67,7 @@ var createPlugin = exports.createPlugin = function createPlugin(dispatch, getInt
|
|
|
67
67
|
}, {
|
|
68
68
|
useLongPressSelection: useLongPressSelection
|
|
69
69
|
}),
|
|
70
|
-
handleDrop: function handleDrop(view, event, slice,
|
|
70
|
+
handleDrop: function handleDrop(view, event, slice, _moved) {
|
|
71
71
|
return handleExpandDrag(view, event, slice);
|
|
72
72
|
}
|
|
73
73
|
},
|
|
@@ -65,7 +65,7 @@ var createPlugin = exports.createPlugin = function createPlugin(dispatch, getInt
|
|
|
65
65
|
}, {
|
|
66
66
|
useLongPressSelection: useLongPressSelection
|
|
67
67
|
}),
|
|
68
|
-
handleDrop: function handleDrop(view, event, slice,
|
|
68
|
+
handleDrop: function handleDrop(view, event, slice, _moved) {
|
|
69
69
|
return handleExpandDrag(view, event, slice);
|
|
70
70
|
}
|
|
71
71
|
},
|
|
@@ -49,7 +49,7 @@ export const createPlugin = (dispatch, getIntl, appearance = 'full-page', useLon
|
|
|
49
49
|
handleClickOn: createSelectionClickHandler(['expand', 'nestedExpand'], target => target.classList.contains(expandClassNames.prefix), {
|
|
50
50
|
useLongPressSelection
|
|
51
51
|
}),
|
|
52
|
-
handleDrop(view, event, slice,
|
|
52
|
+
handleDrop(view, event, slice, _moved) {
|
|
53
53
|
return handleExpandDrag(view, event, slice);
|
|
54
54
|
}
|
|
55
55
|
},
|
|
@@ -46,7 +46,7 @@ export const createPlugin = (dispatch, getIntl, appearance = 'full-page', useLon
|
|
|
46
46
|
handleClickOn: createSelectionClickHandler(['expand', 'nestedExpand'], target => target.classList.contains(expandClassNames.prefix), {
|
|
47
47
|
useLongPressSelection
|
|
48
48
|
}),
|
|
49
|
-
handleDrop(view, event, slice,
|
|
49
|
+
handleDrop(view, event, slice, _moved) {
|
|
50
50
|
return handleExpandDrag(view, event, slice);
|
|
51
51
|
}
|
|
52
52
|
},
|
|
@@ -57,7 +57,7 @@ export var createPlugin = function createPlugin(dispatch, getIntl) {
|
|
|
57
57
|
}, {
|
|
58
58
|
useLongPressSelection: useLongPressSelection
|
|
59
59
|
}),
|
|
60
|
-
handleDrop: function handleDrop(view, event, slice,
|
|
60
|
+
handleDrop: function handleDrop(view, event, slice, _moved) {
|
|
61
61
|
return handleExpandDrag(view, event, slice);
|
|
62
62
|
}
|
|
63
63
|
},
|
|
@@ -54,7 +54,7 @@ export var createPlugin = function createPlugin(dispatch, getIntl) {
|
|
|
54
54
|
}, {
|
|
55
55
|
useLongPressSelection: useLongPressSelection
|
|
56
56
|
}),
|
|
57
|
-
handleDrop: function handleDrop(view, event, slice,
|
|
57
|
+
handleDrop: function handleDrop(view, event, slice, _moved) {
|
|
58
58
|
return handleExpandDrag(view, event, slice);
|
|
59
59
|
}
|
|
60
60
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
|
-
import {
|
|
2
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
3
3
|
import type { SetSelectionRelativeToNode } from '@atlaskit/editor-common/selection';
|
|
4
4
|
import type { ExtractInjectionAPI, getPosHandler, getPosHandlerNode } from '@atlaskit/editor-common/types';
|
|
5
5
|
import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
|
|
3
|
-
import {
|
|
3
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
4
4
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
5
5
|
import type { EditorAppearance, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
6
|
-
import {
|
|
6
|
+
import type { Slice } from '@atlaskit/editor-prosemirror/model';
|
|
7
7
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
8
8
|
import type { ExpandPlugin, ExpandPluginState } from '../../types';
|
|
9
9
|
export declare function containsClass(element: Element | null, className: string): boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
import type { Command, EditorCommand } from '@atlaskit/editor-common/types';
|
|
3
|
-
import {
|
|
3
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { NodeType, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
6
6
|
import { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
|
-
import {
|
|
2
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
3
3
|
import type { SetSelectionRelativeToNode } from '@atlaskit/editor-common/selection';
|
|
4
4
|
import type { ExtractInjectionAPI, getPosHandler, getPosHandlerNode } from '@atlaskit/editor-common/types';
|
|
5
5
|
import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
|
|
3
|
-
import {
|
|
3
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
4
4
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
5
5
|
import type { EditorAppearance, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
6
|
-
import {
|
|
6
|
+
import type { Slice } from '@atlaskit/editor-prosemirror/model';
|
|
7
7
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
8
|
-
import {
|
|
8
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
9
9
|
import type { ExpandPlugin } from '../../types';
|
|
10
10
|
export declare const pluginKey: PluginKey;
|
|
11
11
|
export declare function containsClass(element: Element | null, className: string): boolean;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
import type { EditorAppearance, EditorCommand, LongPressSelectionPluginOptions, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
4
|
import type { BlockControlsPlugin } from '@atlaskit/editor-plugin-block-controls';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
|
-
import {
|
|
2
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
3
3
|
import type { SetSelectionRelativeToNode } from '@atlaskit/editor-common/selection';
|
|
4
4
|
import type { ExtractInjectionAPI, getPosHandler, getPosHandlerNode } from '@atlaskit/editor-common/types';
|
|
5
5
|
import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
|
|
3
|
-
import {
|
|
3
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
4
4
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
5
5
|
import type { EditorAppearance, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
6
|
-
import {
|
|
6
|
+
import type { Slice } from '@atlaskit/editor-prosemirror/model';
|
|
7
7
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
8
8
|
import type { ExpandPlugin, ExpandPluginState } from '../../types';
|
|
9
9
|
export declare function containsClass(element: Element | null, className: string): boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
import type { Command, EditorCommand } from '@atlaskit/editor-common/types';
|
|
3
|
-
import {
|
|
3
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { NodeType, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
6
6
|
import { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
|
-
import {
|
|
2
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
3
3
|
import type { SetSelectionRelativeToNode } from '@atlaskit/editor-common/selection';
|
|
4
4
|
import type { ExtractInjectionAPI, getPosHandler, getPosHandlerNode } from '@atlaskit/editor-common/types';
|
|
5
5
|
import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
|
|
3
|
-
import {
|
|
3
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
4
4
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
5
5
|
import type { EditorAppearance, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
6
|
-
import {
|
|
6
|
+
import type { Slice } from '@atlaskit/editor-prosemirror/model';
|
|
7
7
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
8
|
-
import {
|
|
8
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
9
9
|
import type { ExpandPlugin } from '../../types';
|
|
10
10
|
export declare const pluginKey: PluginKey;
|
|
11
11
|
export declare function containsClass(element: Element | null, className: string): boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
import type { EditorAppearance, EditorCommand, LongPressSelectionPluginOptions, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
4
|
import type { BlockControlsPlugin } from '@atlaskit/editor-plugin-block-controls';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-expand",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.26",
|
|
4
4
|
"description": "Expand plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/editor-plugin-decorations": "^8.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-editor-disabled": "^8.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-editor-viewmode": "^10.0.0",
|
|
40
|
-
"@atlaskit/editor-plugin-local-id": "^6.
|
|
40
|
+
"@atlaskit/editor-plugin-local-id": "^6.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-selection": "^8.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-selection-marker": "^8.0.0",
|
|
43
43
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@atlaskit/icon-lab": "^6.4.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
50
50
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
51
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
51
|
+
"@atlaskit/tmp-editor-statsig": "^58.0.0",
|
|
52
52
|
"@atlaskit/tokens": "^12.0.0",
|
|
53
53
|
"@atlaskit/tooltip": "^21.1.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|