@atlaskit/editor-plugin-code-block 10.0.13 → 10.0.14
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 +7 -0
- package/dist/types/pm-plugins/decorators.d.ts +4 -3
- package/dist/types/pm-plugins/main.d.ts +1 -1
- package/dist/types/pm-plugins/toolbar.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/decorators.d.ts +4 -3
- package/dist/types-ts4.5/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/toolbar.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-code-block
|
|
2
2
|
|
|
3
|
+
## 10.0.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`86fd5ef0f1d07`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/86fd5ef0f1d07) -
|
|
8
|
+
Mechanical type-import autofix for text formatting editor plugins.
|
|
9
|
+
|
|
3
10
|
## 10.0.13
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { Decoration
|
|
1
|
+
import type { EditorState, ReadonlyTransaction } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
+
import type { NodeWithPos } from '@atlaskit/editor-prosemirror/utils';
|
|
3
|
+
import { Decoration } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
+
import type { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
4
5
|
import type { CodeBlockLineAttributes } from '../types';
|
|
5
6
|
export declare const DECORATION_WIDGET_TYPE = "decorationWidgetType";
|
|
6
7
|
export declare const DECORATION_WRAPPED_BLOCK_NODE_TYPE = "decorationNodeType";
|
|
@@ -3,7 +3,7 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
|
3
3
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
5
5
|
import type { CodeBlockPlugin } from '../index';
|
|
6
|
-
import {
|
|
6
|
+
import type { CodeBlockState } from './main-state';
|
|
7
7
|
export declare const createPlugin: ({ useLongPressSelection, getIntl, allowCompositionInputOverride, api, }: {
|
|
8
8
|
allowCompositionInputOverride?: boolean;
|
|
9
9
|
api?: ExtractInjectionAPI<CodeBlockPlugin>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ExtractInjectionAPI, FloatingToolbarHandler, SelectOption } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { CodeBlockPlugin } from '../index';
|
|
3
|
-
import {
|
|
3
|
+
import type { Language } from './language-list';
|
|
4
4
|
export declare const getToolbarConfig: (allowCopyToClipboard: boolean | undefined, api: ExtractInjectionAPI<CodeBlockPlugin> | undefined, overrideLanguageName?: ((name: Language["name"]) => string) | undefined) => FloatingToolbarHandler;
|
|
5
5
|
/**
|
|
6
6
|
* Filters language list based on both name and alias properties.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { Decoration
|
|
1
|
+
import type { EditorState, ReadonlyTransaction } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
+
import type { NodeWithPos } from '@atlaskit/editor-prosemirror/utils';
|
|
3
|
+
import { Decoration } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
+
import type { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
4
5
|
import type { CodeBlockLineAttributes } from '../types';
|
|
5
6
|
export declare const DECORATION_WIDGET_TYPE = "decorationWidgetType";
|
|
6
7
|
export declare const DECORATION_WRAPPED_BLOCK_NODE_TYPE = "decorationNodeType";
|
|
@@ -3,7 +3,7 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
|
3
3
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
5
5
|
import type { CodeBlockPlugin } from '../index';
|
|
6
|
-
import {
|
|
6
|
+
import type { CodeBlockState } from './main-state';
|
|
7
7
|
export declare const createPlugin: ({ useLongPressSelection, getIntl, allowCompositionInputOverride, api, }: {
|
|
8
8
|
allowCompositionInputOverride?: boolean;
|
|
9
9
|
api?: ExtractInjectionAPI<CodeBlockPlugin>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ExtractInjectionAPI, FloatingToolbarHandler, SelectOption } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { CodeBlockPlugin } from '../index';
|
|
3
|
-
import {
|
|
3
|
+
import type { Language } from './language-list';
|
|
4
4
|
export declare const getToolbarConfig: (allowCopyToClipboard: boolean | undefined, api: ExtractInjectionAPI<CodeBlockPlugin> | undefined, overrideLanguageName?: ((name: Language["name"]) => string) | undefined) => FloatingToolbarHandler;
|
|
5
5
|
/**
|
|
6
6
|
* Filters language list based on both name and alias properties.
|