@atlaskit/editor-plugin-decorations 0.2.6 → 0.2.7
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 +6 -0
- package/package.json +5 -4
- package/tmp/api-report-tmp.d.ts +0 -40
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-decorations",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "Decorations plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
"atlassian": {
|
|
11
11
|
"team": "Editor: Lego",
|
|
12
12
|
"singleton": true,
|
|
13
|
-
"releaseModel": "continuous"
|
|
13
|
+
"releaseModel": "continuous",
|
|
14
|
+
"runReact18": false
|
|
14
15
|
},
|
|
15
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
16
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
16
17
|
"main": "dist/cjs/index.js",
|
|
17
18
|
"module": "dist/esm/index.js",
|
|
18
19
|
"module:es2019": "dist/es2019/index.js",
|
|
@@ -23,7 +24,7 @@
|
|
|
23
24
|
".": "./src/index.ts"
|
|
24
25
|
},
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@atlaskit/editor-common": "^
|
|
27
|
+
"@atlaskit/editor-common": "^77.0.0",
|
|
27
28
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
28
29
|
"@babel/runtime": "^7.0.0"
|
|
29
30
|
},
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/editor-plugin-decorations"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import type { Command } from '@atlaskit/editor-common/types';
|
|
8
|
-
import { Decoration } from '@atlaskit/editor-prosemirror/view';
|
|
9
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
10
|
-
import { NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
11
|
-
|
|
12
|
-
// @public (undocumented)
|
|
13
|
-
export type DecorationsPlugin = NextEditorPlugin<'decorations', {
|
|
14
|
-
sharedState: DecorationState;
|
|
15
|
-
actions: {
|
|
16
|
-
hoverDecoration: HoverDecorationHandler;
|
|
17
|
-
removeDecoration: typeof removeDecoration;
|
|
18
|
-
};
|
|
19
|
-
}>;
|
|
20
|
-
|
|
21
|
-
// @public
|
|
22
|
-
export const decorationsPlugin: DecorationsPlugin;
|
|
23
|
-
|
|
24
|
-
// @public (undocumented)
|
|
25
|
-
export type DecorationState = {
|
|
26
|
-
decoration?: Decoration;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
// @public (undocumented)
|
|
30
|
-
const hoverDecoration: (nodeType: Array<NodeType> | NodeType, add: boolean, className?: string) => Command;
|
|
31
|
-
|
|
32
|
-
// @public (undocumented)
|
|
33
|
-
export type HoverDecorationHandler = typeof hoverDecoration;
|
|
34
|
-
|
|
35
|
-
// @public (undocumented)
|
|
36
|
-
const removeDecoration: Command;
|
|
37
|
-
|
|
38
|
-
// (No @packageDocumentation comment for this package)
|
|
39
|
-
|
|
40
|
-
```
|