@atlaskit/editor-plugin-selection-extension 11.1.21 → 11.1.22
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 +8 -0
- package/dist/cjs/pm-plugins/actions/insertAdfAtEndOfDoc.js +1 -1
- package/dist/es2019/pm-plugins/actions/insertAdfAtEndOfDoc.js +1 -1
- package/dist/esm/pm-plugins/actions/insertAdfAtEndOfDoc.js +1 -1
- package/dist/types/pm-plugins/actions/insertAdfAtEndOfDoc.d.ts +2 -2
- package/dist/types/pm-plugins/actions/replaceWithAdf.d.ts +1 -1
- package/dist/types/pm-plugins/utils/index.d.ts +2 -2
- package/dist/types/selectionExtensionPluginType.d.ts +1 -1
- package/dist/types/ui/menu/SelectionExtensionNestedDropdownMenu.d.ts +1 -1
- package/dist/types/ui/toolbar/SelectionExtensionDropdownMenu.d.ts +1 -1
- package/dist/types/ui/toolbar/SelectionExtensionItems.d.ts +1 -1
- package/dist/types/ui/toolbar-components.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/actions/insertAdfAtEndOfDoc.d.ts +2 -2
- package/dist/types-ts4.5/pm-plugins/actions/replaceWithAdf.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/utils/index.d.ts +2 -2
- package/dist/types-ts4.5/selectionExtensionPluginType.d.ts +1 -1
- package/dist/types-ts4.5/ui/menu/SelectionExtensionNestedDropdownMenu.d.ts +1 -1
- package/dist/types-ts4.5/ui/toolbar/SelectionExtensionDropdownMenu.d.ts +1 -1
- package/dist/types-ts4.5/ui/toolbar/SelectionExtensionItems.d.ts +1 -1
- package/dist/types-ts4.5/ui/toolbar-components.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-selection-extension
|
|
2
2
|
|
|
3
|
+
## 11.1.22
|
|
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
|
## 11.1.21
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ADFEntity } from '@atlaskit/adf-utils/types';
|
|
2
2
|
import type { CommandDispatch } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
4
|
-
import {
|
|
4
|
+
import type { InsertAdfAtEndOfDocResult } from '../../types';
|
|
5
5
|
export declare const insertAdfAtEndOfDoc: (nodeAdf: ADFEntity) => (state: EditorState, dispatch: CommandDispatch) => InsertAdfAtEndOfDocResult;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ADFEntity } from '@atlaskit/adf-utils/types';
|
|
2
2
|
import type { CommandDispatch, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
4
4
|
import type { SelectionExtensionPlugin } from '../../selectionExtensionPluginType';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ADFEntity } from '@atlaskit/adf-utils/types';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
3
|
import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import { type EditorState, type Selection } from '@atlaskit/editor-prosemirror/state';
|
|
5
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
6
6
|
import type { SelectionExtensionPlugin } from '../../selectionExtensionPluginType';
|
|
7
7
|
import type { SelectionExtensionSelectionInfo } from '../../types';
|
|
8
|
-
import {
|
|
8
|
+
import type { SelectionRange } from '../../types';
|
|
9
9
|
type SelectionInfo = {
|
|
10
10
|
nodePos: number;
|
|
11
11
|
selectedNode: PMNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ADFEntity } from '@atlaskit/adf-utils/types';
|
|
2
2
|
import type { EditorCommand, 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 React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ExtensionNestedDropdownMenuConfiguration } from '../../types';
|
|
3
3
|
export type SelectionExtensionNestedDropdownMenuProps = {
|
|
4
4
|
nestedDropdownMenu: ExtensionNestedDropdownMenuConfiguration;
|
|
5
5
|
};
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { type MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
5
|
-
import {
|
|
5
|
+
import type { MenuItemsType } from '../../types';
|
|
6
6
|
export type SelectionExtensionDropdownMenuProps = {
|
|
7
7
|
editorAnalyticsAPI?: EditorAnalyticsAPI;
|
|
8
8
|
items: MenuItemsType;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
7
7
|
import { type EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
8
|
-
import {
|
|
8
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
9
9
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
10
10
|
import type { SelectionExtensionPlugin } from '../../selectionExtensionPluginType';
|
|
11
11
|
import type { SelectionExtension } from '../../types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { RegisterComponent } from '@atlaskit/editor-toolbar-model';
|
|
3
3
|
import type { SelectionExtensionPlugin } from '../selectionExtensionPluginType';
|
|
4
|
-
import {
|
|
4
|
+
import type { SelectionExtensionPluginOptions } from '../types';
|
|
5
5
|
type GetToolbarComponentsProps = {
|
|
6
6
|
api: ExtractInjectionAPI<SelectionExtensionPlugin> | undefined;
|
|
7
7
|
config: SelectionExtensionPluginOptions | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ADFEntity } from '@atlaskit/adf-utils/types';
|
|
2
2
|
import type { CommandDispatch } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
4
|
-
import {
|
|
4
|
+
import type { InsertAdfAtEndOfDocResult } from '../../types';
|
|
5
5
|
export declare const insertAdfAtEndOfDoc: (nodeAdf: ADFEntity) => (state: EditorState, dispatch: CommandDispatch) => InsertAdfAtEndOfDocResult;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ADFEntity } from '@atlaskit/adf-utils/types';
|
|
2
2
|
import type { CommandDispatch, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
4
4
|
import type { SelectionExtensionPlugin } from '../../selectionExtensionPluginType';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ADFEntity } from '@atlaskit/adf-utils/types';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
3
|
import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import { type EditorState, type Selection } from '@atlaskit/editor-prosemirror/state';
|
|
5
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
6
6
|
import type { SelectionExtensionPlugin } from '../../selectionExtensionPluginType';
|
|
7
7
|
import type { SelectionExtensionSelectionInfo } from '../../types';
|
|
8
|
-
import {
|
|
8
|
+
import type { SelectionRange } from '../../types';
|
|
9
9
|
type SelectionInfo = {
|
|
10
10
|
nodePos: number;
|
|
11
11
|
selectedNode: PMNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ADFEntity } from '@atlaskit/adf-utils/types';
|
|
2
2
|
import type { EditorCommand, 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 React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ExtensionNestedDropdownMenuConfiguration } from '../../types';
|
|
3
3
|
export type SelectionExtensionNestedDropdownMenuProps = {
|
|
4
4
|
nestedDropdownMenu: ExtensionNestedDropdownMenuConfiguration;
|
|
5
5
|
};
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { type MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
5
|
-
import {
|
|
5
|
+
import type { MenuItemsType } from '../../types';
|
|
6
6
|
export type SelectionExtensionDropdownMenuProps = {
|
|
7
7
|
editorAnalyticsAPI?: EditorAnalyticsAPI;
|
|
8
8
|
items: MenuItemsType;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
7
7
|
import { type EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
8
|
-
import {
|
|
8
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
9
9
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
10
10
|
import type { SelectionExtensionPlugin } from '../../selectionExtensionPluginType';
|
|
11
11
|
import type { SelectionExtension } from '../../types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { RegisterComponent } from '@atlaskit/editor-toolbar-model';
|
|
3
3
|
import type { SelectionExtensionPlugin } from '../selectionExtensionPluginType';
|
|
4
|
-
import {
|
|
4
|
+
import type { SelectionExtensionPluginOptions } from '../types';
|
|
5
5
|
type GetToolbarComponentsProps = {
|
|
6
6
|
api: ExtractInjectionAPI<SelectionExtensionPlugin> | undefined;
|
|
7
7
|
config: SelectionExtensionPluginOptions | undefined;
|
package/package.json
CHANGED