@atlaskit/editor-plugin-code-block 10.0.13 → 10.0.15

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,20 @@
1
1
  # @atlaskit/editor-plugin-code-block
2
2
 
3
+ ## 10.0.15
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5892e575833a1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5892e575833a1) -
8
+ Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
9
+ - Updated dependencies
10
+
11
+ ## 10.0.14
12
+
13
+ ### Patch Changes
14
+
15
+ - [`86fd5ef0f1d07`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/86fd5ef0f1d07) -
16
+ Mechanical type-import autofix for text formatting editor plugins.
17
+
3
18
  ## 10.0.13
4
19
 
5
20
  ### 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.13",
3
+ "version": "10.0.15",
4
4
  "description": "Code block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -40,14 +40,14 @@
40
40
  "@atlaskit/editor-plugin-toolbar": "^5.1.0",
41
41
  "@atlaskit/editor-prosemirror": "^7.3.0",
42
42
  "@atlaskit/editor-toolbar": "^0.20.0",
43
- "@atlaskit/icon": "^33.0.0",
43
+ "@atlaskit/icon": "^33.1.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
45
  "@atlaskit/prosemirror-input-rules": "^3.6.0",
46
- "@atlaskit/tmp-editor-statsig": "^46.0.0",
46
+ "@atlaskit/tmp-editor-statsig": "^46.1.0",
47
47
  "@babel/runtime": "^7.0.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@atlaskit/editor-common": "^112.9.0",
50
+ "@atlaskit/editor-common": "^112.10.0",
51
51
  "react": "^18.2.0",
52
52
  "react-intl-next": "npm:react-intl@^5.18.1"
53
53
  },