@atlaskit/editor-plugin-expand 9.1.25 → 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 CHANGED
@@ -1,5 +1,13 @@
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
+
3
11
  ## 9.1.25
4
12
 
5
13
  ### 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, moved) {
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, moved) {
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, moved) {
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, moved) {
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, moved) {
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, moved) {
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 { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
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 { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
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 { type Slice } from '@atlaskit/editor-prosemirror/model';
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 { type ExtractInjectionAPI } from '@atlaskit/editor-common/types';
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 { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
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 { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
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 { type Slice } from '@atlaskit/editor-prosemirror/model';
6
+ import type { Slice } from '@atlaskit/editor-prosemirror/model';
7
7
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
8
- import { type EditorView } from '@atlaskit/editor-prosemirror/view';
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 { type INPUT_METHOD } from '@atlaskit/editor-common/analytics';
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 { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
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 { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
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 { type Slice } from '@atlaskit/editor-prosemirror/model';
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 { type ExtractInjectionAPI } from '@atlaskit/editor-common/types';
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 { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
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 { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
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 { type Slice } from '@atlaskit/editor-prosemirror/model';
6
+ import type { Slice } from '@atlaskit/editor-prosemirror/model';
7
7
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
8
- import { type EditorView } from '@atlaskit/editor-prosemirror/view';
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 { type INPUT_METHOD } from '@atlaskit/editor-common/analytics';
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.25",
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",