@atlaskit/editor-plugin-paste-options-toolbar 1.2.2 → 1.3.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,27 @@
1
1
  # @atlaskit/editor-plugin-paste-options-toolbar
2
2
 
3
+ ## 1.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#138118](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138118)
8
+ [`5e4d9eb1aefe4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5e4d9eb1aefe4) -
9
+ NOISSUE: Upgrades editor React peer dependencies to v18
10
+ - Updated dependencies
11
+
12
+ ## 1.3.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#137614](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/137614)
17
+ [`f7efc61f35951`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f7efc61f35951) -
18
+ Add export for plugin type from paste options toolbar. Slightly re-arrange plugins to meet linting
19
+ rule.
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+
3
25
  ## 1.2.2
4
26
 
5
27
  ### Patch Changes
@@ -1 +1,2 @@
1
1
  export { pasteOptionsToolbarPlugin } from './plugin';
2
+ export type { PasteOptionsToolbarPlugin } from './plugin';
@@ -1,6 +1,7 @@
1
1
  import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
2
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
3
  import type { PastePlugin } from '@atlaskit/editor-plugin-paste';
4
- export declare const pasteOptionsToolbarPlugin: NextEditorPlugin<'pasteOptionsToolbarPlugin', {
4
+ export type PasteOptionsToolbarPlugin = NextEditorPlugin<'pasteOptionsToolbarPlugin', {
5
5
  dependencies: [OptionalPlugin<AnalyticsPlugin>, PastePlugin];
6
6
  }>;
7
+ export declare const pasteOptionsToolbarPlugin: PasteOptionsToolbarPlugin;
@@ -1 +1,2 @@
1
1
  export { pasteOptionsToolbarPlugin } from './plugin';
2
+ export type { PasteOptionsToolbarPlugin } from './plugin';
@@ -1,9 +1,10 @@
1
1
  import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
2
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
3
  import type { PastePlugin } from '@atlaskit/editor-plugin-paste';
4
- export declare const pasteOptionsToolbarPlugin: NextEditorPlugin<'pasteOptionsToolbarPlugin', {
4
+ export type PasteOptionsToolbarPlugin = NextEditorPlugin<'pasteOptionsToolbarPlugin', {
5
5
  dependencies: [
6
6
  OptionalPlugin<AnalyticsPlugin>,
7
7
  PastePlugin
8
8
  ];
9
9
  }>;
10
+ export declare const pasteOptionsToolbarPlugin: PasteOptionsToolbarPlugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-paste-options-toolbar",
3
- "version": "1.2.2",
3
+ "version": "1.3.1",
4
4
  "description": "Paste options toolbar for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -10,9 +10,7 @@
10
10
  "atlassian": {
11
11
  "team": "Editor: Core Experiences",
12
12
  "singleton": true,
13
- "inPublicMirror": false,
14
- "releaseModel": "continuous",
15
- "runReact18": false
13
+ "runReact18": true
16
14
  },
17
15
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
18
16
  "main": "dist/cjs/index.js",
@@ -34,20 +32,20 @@
34
32
  "./styles": "./src/styles.ts"
35
33
  },
36
34
  "dependencies": {
37
- "@atlaskit/editor-common": "^88.0.0",
38
- "@atlaskit/editor-markdown-transformer": "^5.11.0",
35
+ "@atlaskit/editor-common": "^88.12.0",
36
+ "@atlaskit/editor-markdown-transformer": "^5.12.0",
39
37
  "@atlaskit/editor-plugin-analytics": "^1.8.0",
40
- "@atlaskit/editor-plugin-paste": "^1.10.0",
38
+ "@atlaskit/editor-plugin-paste": "^1.12.0",
41
39
  "@atlaskit/editor-prosemirror": "5.0.1",
42
40
  "@atlaskit/editor-shared-styles": "^2.13.0",
43
- "@atlaskit/icon": "^22.14.0",
41
+ "@atlaskit/icon": "^22.16.0",
44
42
  "@atlaskit/tokens": "^1.59.0",
45
43
  "@babel/runtime": "^7.0.0",
46
44
  "@emotion/react": "^11.7.1",
47
45
  "react-intl-next": "npm:react-intl@^5.18.1"
48
46
  },
49
47
  "peerDependencies": {
50
- "react": "^16.8.0"
48
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
51
49
  },
52
50
  "devDependencies": {
53
51
  "@af/visual-regression": "*",