@atlaskit/editor-plugin-paste-options-toolbar 1.4.7 → 1.6.0

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,29 @@
1
1
  # @atlaskit/editor-plugin-paste-options-toolbar
2
2
 
3
+ ## 1.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#105322](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105322)
8
+ [`8876083532adc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8876083532adc) -
9
+ Bumped editor-prosemirror version to 7.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 1.5.0
16
+
17
+ ### Minor Changes
18
+
19
+ - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
20
+ [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
21
+ Update `React` from v16 to v18
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies
26
+
3
27
  ## 1.4.7
4
28
 
5
29
  ### Patch Changes
@@ -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 type PasteOptionsToolbarPluginDependencies = [OptionalPlugin<AnalyticsPlugin>, PastePlugin];
4
5
  export type PasteOptionsToolbarPlugin = NextEditorPlugin<'pasteOptionsToolbarPlugin', {
5
- dependencies: [OptionalPlugin<AnalyticsPlugin>, PastePlugin];
6
+ dependencies: PasteOptionsToolbarPluginDependencies;
6
7
  }>;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type IconProps } from '@atlaskit/icon';
3
3
  declare const EditorPasteIcon: {
4
- (props: IconProps): JSX.Element;
4
+ (props: IconProps): React.JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default EditorPasteIcon;
@@ -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 type PasteOptionsToolbarPluginDependencies = [
5
+ OptionalPlugin<AnalyticsPlugin>,
6
+ PastePlugin
7
+ ];
4
8
  export type PasteOptionsToolbarPlugin = NextEditorPlugin<'pasteOptionsToolbarPlugin', {
5
- dependencies: [
6
- OptionalPlugin<AnalyticsPlugin>,
7
- PastePlugin
8
- ];
9
+ dependencies: PasteOptionsToolbarPluginDependencies;
9
10
  }>;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type IconProps } from '@atlaskit/icon';
3
3
  declare const EditorPasteIcon: {
4
- (props: IconProps): JSX.Element;
4
+ (props: IconProps): React.JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default EditorPasteIcon;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-paste-options-toolbar",
3
- "version": "1.4.7",
3
+ "version": "1.6.0",
4
4
  "description": "Paste options toolbar for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,14 +32,14 @@
32
32
  "./styles": "./src/ui/styles.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@atlaskit/editor-common": "^99.0.0",
36
- "@atlaskit/editor-markdown-transformer": "^5.13.0",
37
- "@atlaskit/editor-plugin-analytics": "^1.10.0",
38
- "@atlaskit/editor-plugin-paste": "^2.0.0",
39
- "@atlaskit/editor-prosemirror": "6.2.1",
35
+ "@atlaskit/editor-common": "^99.10.0",
36
+ "@atlaskit/editor-markdown-transformer": "^5.15.0",
37
+ "@atlaskit/editor-plugin-analytics": "^1.12.0",
38
+ "@atlaskit/editor-plugin-paste": "^2.2.0",
39
+ "@atlaskit/editor-prosemirror": "7.0.0",
40
40
  "@atlaskit/editor-shared-styles": "^3.2.0",
41
- "@atlaskit/icon": "^23.3.0",
42
- "@atlaskit/tokens": "^3.0.0",
41
+ "@atlaskit/icon": "^23.7.0",
42
+ "@atlaskit/tokens": "^3.3.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "@emotion/react": "^11.7.1",
45
45
  "react-intl-next": "npm:react-intl@^5.18.1"
@@ -52,7 +52,7 @@
52
52
  "@af/visual-regression": "*",
53
53
  "@atlaskit/ssr": "*",
54
54
  "@atlaskit/visual-regression": "*",
55
- "@testing-library/react": "^12.1.5",
55
+ "@testing-library/react": "^13.4.0",
56
56
  "typescript": "~5.4.2",
57
57
  "wait-for-expect": "^1.2.0"
58
58
  },