@atlaskit/editor-plugin-code-block 4.4.4 → 4.4.6
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
|
@@ -7,7 +7,7 @@ import type { EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabl
|
|
|
7
7
|
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
8
8
|
import type { InteractionPlugin } from '@atlaskit/editor-plugin-interaction';
|
|
9
9
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
10
|
-
import type {
|
|
10
|
+
import type { CodeBlockPluginOptions } from './types';
|
|
11
11
|
type CodeBlockDependencies = [
|
|
12
12
|
DecorationsPlugin,
|
|
13
13
|
CompositionPlugin,
|
|
@@ -17,7 +17,7 @@ type CodeBlockDependencies = [
|
|
|
17
17
|
OptionalPlugin<InteractionPlugin>
|
|
18
18
|
];
|
|
19
19
|
export type CodeBlockPlugin = NextEditorPlugin<'codeBlock', {
|
|
20
|
-
pluginConfiguration:
|
|
20
|
+
pluginConfiguration: CodeBlockPluginOptions | undefined;
|
|
21
21
|
dependencies: CodeBlockDependencies;
|
|
22
22
|
sharedState: {
|
|
23
23
|
copyButtonHoverNode: PMNode;
|
|
@@ -37,7 +37,7 @@ export declare const createPlugin: ({ useLongPressSelection, getIntl, allowCompo
|
|
|
37
37
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
38
38
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
39
39
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"interaction", {
|
|
40
|
-
sharedState: import("@atlaskit/editor-plugin-interaction").
|
|
40
|
+
sharedState: import("@atlaskit/editor-plugin-interaction").SharedInteractionState;
|
|
41
41
|
commands: {
|
|
42
42
|
handleInteraction: import("@atlaskit/editor-common/types").EditorCommand;
|
|
43
43
|
};
|
|
@@ -7,7 +7,7 @@ import type { EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabl
|
|
|
7
7
|
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
8
8
|
import type { InteractionPlugin } from '@atlaskit/editor-plugin-interaction';
|
|
9
9
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
10
|
-
import type {
|
|
10
|
+
import type { CodeBlockPluginOptions } from './types';
|
|
11
11
|
type CodeBlockDependencies = [
|
|
12
12
|
DecorationsPlugin,
|
|
13
13
|
CompositionPlugin,
|
|
@@ -17,7 +17,7 @@ type CodeBlockDependencies = [
|
|
|
17
17
|
OptionalPlugin<InteractionPlugin>
|
|
18
18
|
];
|
|
19
19
|
export type CodeBlockPlugin = NextEditorPlugin<'codeBlock', {
|
|
20
|
-
pluginConfiguration:
|
|
20
|
+
pluginConfiguration: CodeBlockPluginOptions | undefined;
|
|
21
21
|
dependencies: CodeBlockDependencies;
|
|
22
22
|
sharedState: {
|
|
23
23
|
copyButtonHoverNode: PMNode;
|
|
@@ -45,7 +45,7 @@ export declare const createPlugin: ({ useLongPressSelection, getIntl, allowCompo
|
|
|
45
45
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
46
46
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>,
|
|
47
47
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"interaction", {
|
|
48
|
-
sharedState: import("@atlaskit/editor-plugin-interaction").
|
|
48
|
+
sharedState: import("@atlaskit/editor-plugin-interaction").SharedInteractionState;
|
|
49
49
|
commands: {
|
|
50
50
|
handleInteraction: import("@atlaskit/editor-common/types").EditorCommand;
|
|
51
51
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-code-block",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.6",
|
|
4
4
|
"description": "Code block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
35
35
|
"@atlaskit/code": "^17.2.0",
|
|
36
|
-
"@atlaskit/editor-common": "^
|
|
36
|
+
"@atlaskit/editor-common": "^106.0.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^2.3.0",
|
|
38
38
|
"@atlaskit/editor-plugin-composition": "^1.3.0",
|
|
39
39
|
"@atlaskit/editor-plugin-decorations": "^2.0.0",
|
|
40
40
|
"@atlaskit/editor-plugin-editor-disabled": "^2.0.0",
|
|
41
41
|
"@atlaskit/editor-plugin-interaction": "^1.1.0",
|
|
42
42
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
43
|
-
"@atlaskit/icon": "^26.
|
|
43
|
+
"@atlaskit/icon": "^26.4.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
45
|
"@atlaskit/prosemirror-input-rules": "^3.3.0",
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^5.2.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|