@atlaskit/editor-plugin-code-block 10.0.12 → 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 CHANGED
@@ -1,5 +1,18 @@
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
+
10
+ ## 10.0.13
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 10.0.12
4
17
 
5
18
  ### Patch Changes
@@ -1,6 +1,7 @@
1
- import { type EditorState, type ReadonlyTransaction } from '@atlaskit/editor-prosemirror/state';
2
- import { type NodeWithPos } from '@atlaskit/editor-prosemirror/utils';
3
- import { Decoration, type DecorationSet } from '@atlaskit/editor-prosemirror/view';
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 { type CodeBlockState } from './main-state';
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 { type Language } from './language-list';
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 { type EditorState, type ReadonlyTransaction } from '@atlaskit/editor-prosemirror/state';
2
- import { type NodeWithPos } from '@atlaskit/editor-prosemirror/utils';
3
- import { Decoration, type DecorationSet } from '@atlaskit/editor-prosemirror/view';
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 { type CodeBlockState } from './main-state';
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 { type Language } from './language-list';
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-code-block",
3
- "version": "10.0.12",
3
+ "version": "10.0.14",
4
4
  "description": "Code block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -43,11 +43,11 @@
43
43
  "@atlaskit/icon": "^33.0.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
45
  "@atlaskit/prosemirror-input-rules": "^3.6.0",
46
- "@atlaskit/tmp-editor-statsig": "^45.0.0",
46
+ "@atlaskit/tmp-editor-statsig": "^46.0.0",
47
47
  "@babel/runtime": "^7.0.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@atlaskit/editor-common": "^112.8.0",
50
+ "@atlaskit/editor-common": "^112.9.0",
51
51
  "react": "^18.2.0",
52
52
  "react-intl-next": "npm:react-intl@^5.18.1"
53
53
  },