@atlaskit/editor-plugin-show-diff 6.0.0 → 6.0.2
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,3 +1,4 @@
|
|
|
1
|
+
import { type MemoizedFn } from 'memoize-one';
|
|
1
2
|
import type { IntlShape } from 'react-intl-next';
|
|
2
3
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
4
|
import { type EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
@@ -5,7 +6,7 @@ import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
|
5
6
|
import type { ColorScheme, ShowDiffPlugin } from '../showDiffPluginType';
|
|
6
7
|
import type { ShowDiffPluginState } from './main';
|
|
7
8
|
import type { NodeViewSerializer } from './NodeViewSerializer';
|
|
8
|
-
export declare const calculateDiffDecorations:
|
|
9
|
+
export declare const calculateDiffDecorations: MemoizedFn<({ state, pluginState, nodeViewSerializer, colorScheme, intl, activeIndexPos, api, }: {
|
|
9
10
|
activeIndexPos?: {
|
|
10
11
|
from: number;
|
|
11
12
|
to: number;
|
|
@@ -14,6 +15,6 @@ export declare const calculateDiffDecorations: import("memoize-one").MemoizedFn<
|
|
|
14
15
|
colorScheme?: ColorScheme;
|
|
15
16
|
intl: IntlShape;
|
|
16
17
|
nodeViewSerializer: NodeViewSerializer;
|
|
17
|
-
pluginState: Omit<ShowDiffPluginState,
|
|
18
|
+
pluginState: Omit<ShowDiffPluginState, 'decorations'>;
|
|
18
19
|
state: EditorState;
|
|
19
20
|
}) => DecorationSet>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type MemoizedFn } from 'memoize-one';
|
|
1
2
|
import type { IntlShape } from 'react-intl-next';
|
|
2
3
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
4
|
import { type EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
@@ -5,7 +6,7 @@ import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
|
5
6
|
import type { ColorScheme, ShowDiffPlugin } from '../showDiffPluginType';
|
|
6
7
|
import type { ShowDiffPluginState } from './main';
|
|
7
8
|
import type { NodeViewSerializer } from './NodeViewSerializer';
|
|
8
|
-
export declare const calculateDiffDecorations:
|
|
9
|
+
export declare const calculateDiffDecorations: MemoizedFn<({ state, pluginState, nodeViewSerializer, colorScheme, intl, activeIndexPos, api, }: {
|
|
9
10
|
activeIndexPos?: {
|
|
10
11
|
from: number;
|
|
11
12
|
to: number;
|
|
@@ -14,6 +15,6 @@ export declare const calculateDiffDecorations: import("memoize-one").MemoizedFn<
|
|
|
14
15
|
colorScheme?: ColorScheme;
|
|
15
16
|
intl: IntlShape;
|
|
16
17
|
nodeViewSerializer: NodeViewSerializer;
|
|
17
|
-
pluginState: Omit<ShowDiffPluginState,
|
|
18
|
+
pluginState: Omit<ShowDiffPluginState, 'decorations'>;
|
|
18
19
|
state: EditorState;
|
|
19
20
|
}) => DecorationSet>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-show-diff",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "ShowDiff plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
34
34
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
35
35
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
36
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
36
|
+
"@atlaskit/tmp-editor-statsig": "^37.0.0",
|
|
37
37
|
"@atlaskit/tokens": "^11.1.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0",
|
|
39
39
|
"lodash": "^4.17.21",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlassian/content-reconciliation": "^0.1.3506"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@atlaskit/editor-common": "^112.
|
|
47
|
+
"@atlaskit/editor-common": "^112.2.0",
|
|
48
48
|
"react": "^18.2.0"
|
|
49
49
|
},
|
|
50
50
|
"techstack": {
|