@atlaskit/editor-plugin-decorations 3.0.0 → 3.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
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/editor-plugin-decorations
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`265c1bf0cefa4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/265c1bf0cefa4) -
8
+ Sorted type and interface props to improve Atlaskit docs
9
+
3
10
  ## 3.0.0
4
11
 
5
12
  ### Major Changes
@@ -1,9 +1,9 @@
1
1
  import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
2
  import type { DecorationState, HoverDecorationHandler, removeDecoration } from './pm-plugins/main';
3
3
  export type DecorationsPlugin = NextEditorPlugin<'decorations', {
4
- sharedState: DecorationState;
5
4
  actions: {
6
5
  hoverDecoration: HoverDecorationHandler;
7
6
  removeDecoration: typeof removeDecoration;
8
7
  };
8
+ sharedState: DecorationState;
9
9
  }>;
@@ -1,9 +1,9 @@
1
1
  import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
2
  import type { DecorationState, HoverDecorationHandler, removeDecoration } from './pm-plugins/main';
3
3
  export type DecorationsPlugin = NextEditorPlugin<'decorations', {
4
- sharedState: DecorationState;
5
4
  actions: {
6
5
  hoverDecoration: HoverDecorationHandler;
7
6
  removeDecoration: typeof removeDecoration;
8
7
  };
8
+ sharedState: DecorationState;
9
9
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-decorations",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Decorations plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -27,14 +27,13 @@
27
27
  "@babel/runtime": "^7.0.0"
28
28
  },
29
29
  "peerDependencies": {
30
- "@atlaskit/editor-common": "^107.6.0",
30
+ "@atlaskit/editor-common": "^107.28.0",
31
31
  "react": "^18.2.0",
32
32
  "react-dom": "^18.2.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@atlaskit/editor-plugin-mentions": "^5.0.0",
35
+ "@atlaskit/editor-plugin-mentions": "^5.2.0",
36
36
  "@testing-library/react": "^13.4.0",
37
- "typescript": "~5.4.2",
38
37
  "wait-for-expect": "^1.2.0"
39
38
  },
40
39
  "techstack": {