@atlaskit/editor-plugin-decorations 0.2.6 → 0.2.8

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,17 @@
1
1
  # @atlaskit/editor-plugin-decorations
2
2
 
3
+ ## 0.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572) [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) - Upgrading @atlaskit/editor-prosemirror dependency
8
+
9
+ ## 0.2.7
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 0.2.6
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-decorations",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
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,15 +24,15 @@
23
24
  ".": "./src/index.ts"
24
25
  },
25
26
  "dependencies": {
26
- "@atlaskit/editor-common": "^76.18.0",
27
- "@atlaskit/editor-prosemirror": "1.1.0",
27
+ "@atlaskit/editor-common": "^77.3.0",
28
+ "@atlaskit/editor-prosemirror": "3.0.0",
28
29
  "@babel/runtime": "^7.0.0"
29
30
  },
30
31
  "peerDependencies": {
31
32
  "react": "^16.8.0"
32
33
  },
33
34
  "devDependencies": {
34
- "@atlaskit/editor-plugin-mentions": "^0.1.0",
35
+ "@atlaskit/editor-plugin-mentions": "^0.2.0",
35
36
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
36
37
  "@testing-library/react": "^12.1.5",
37
38
  "react-dom": "^16.8.0",
@@ -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
- ```