@atlaskit/editor-plugin-selection-marker 7.0.0 → 7.0.1
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
|
@@ -15,9 +15,9 @@ export declare const key: PluginKey<PluginState>;
|
|
|
15
15
|
type DecorationType = 'blur' | 'highlight' | 'none';
|
|
16
16
|
export declare const applyNextPluginState: (tr: ReadonlyTransaction, currentState: PluginState, oldEditorState: EditorState) => PluginState | {
|
|
17
17
|
decorations: DecorationSet;
|
|
18
|
-
|
|
18
|
+
decorationType: "none" | "blur";
|
|
19
19
|
forceHide: any;
|
|
20
|
-
|
|
20
|
+
shouldHideDecorations: any;
|
|
21
21
|
};
|
|
22
22
|
export declare const createPlugin: (api: ExtractInjectionAPI<SelectionMarkerPlugin> | undefined) => SafePlugin<PluginState>;
|
|
23
23
|
export declare function dispatchShouldHideDecorations(editorView: EditorView, shouldHideDecorations: boolean): void;
|
|
@@ -15,9 +15,9 @@ export declare const key: PluginKey<PluginState>;
|
|
|
15
15
|
type DecorationType = 'blur' | 'highlight' | 'none';
|
|
16
16
|
export declare const applyNextPluginState: (tr: ReadonlyTransaction, currentState: PluginState, oldEditorState: EditorState) => PluginState | {
|
|
17
17
|
decorations: DecorationSet;
|
|
18
|
-
|
|
18
|
+
decorationType: "none" | "blur";
|
|
19
19
|
forceHide: any;
|
|
20
|
-
|
|
20
|
+
shouldHideDecorations: any;
|
|
21
21
|
};
|
|
22
22
|
export declare const createPlugin: (api: ExtractInjectionAPI<SelectionMarkerPlugin> | undefined) => SafePlugin<PluginState>;
|
|
23
23
|
export declare function dispatchShouldHideDecorations(editorView: EditorView, shouldHideDecorations: boolean): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-selection-marker",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"description": "Selection marker plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
"@atlaskit/editor-plugin-type-ahead": "^7.0.0",
|
|
36
36
|
"@atlaskit/editor-plugin-user-intent": "^5.0.0",
|
|
37
37
|
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
38
|
-
"@atlaskit/link": "^3.
|
|
38
|
+
"@atlaskit/link": "^3.3.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
40
|
"@atlaskit/theme": "^21.0.0",
|
|
41
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
42
|
-
"@atlaskit/tokens": "^
|
|
41
|
+
"@atlaskit/tmp-editor-statsig": "^16.23.0",
|
|
42
|
+
"@atlaskit/tokens": "^10.0.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@emotion/react": "^11.7.1",
|
|
45
45
|
"lodash": "^4.17.21"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@atlaskit/editor-common": "^111.
|
|
48
|
+
"@atlaskit/editor-common": "^111.8.0",
|
|
49
49
|
"react": "^18.2.0",
|
|
50
50
|
"react-dom": "^18.2.0"
|
|
51
51
|
},
|