@atlaskit/editor-plugin-loom 2.2.0 → 2.2.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,118 +1,152 @@
1
1
  # @atlaskit/editor-plugin-loom
2
2
 
3
+ ## 2.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#93654](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93654)
8
+ [`19a2873de742`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/19a2873de742) -
9
+ Export loom recordVideo action in loom plugin
10
+
3
11
  ## 2.2.0
4
12
 
5
13
  ### Minor Changes
6
14
 
7
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934) [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) - bumped editor-prosemirror version to 4.0.0
15
+ - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
16
+ [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
17
+ bumped editor-prosemirror version to 4.0.0
8
18
 
9
19
  ### Patch Changes
10
20
 
11
- - Updated dependencies
21
+ - Updated dependencies
12
22
 
13
23
  ## 2.1.0
14
24
 
15
25
  ### Minor Changes
16
26
 
17
- - [#90626](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90626) [`8efec4489602`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8efec4489602) - show/hide loom button in toolbar via editor plugin config
27
+ - [#90626](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90626)
28
+ [`8efec4489602`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8efec4489602) -
29
+ show/hide loom button in toolbar via editor plugin config
18
30
 
19
31
  ### Patch Changes
20
32
 
21
- - [#90878](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90878) [`962275ee0910`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/962275ee0910) - [ux] [ED-22852] Update loom quick insert title, description and logo
22
- - Updated dependencies
33
+ - [#90878](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90878)
34
+ [`962275ee0910`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/962275ee0910) -
35
+ [ux] [ED-22852] Update loom quick insert title, description and logo
36
+ - Updated dependencies
23
37
 
24
38
  ## 2.0.1
25
39
 
26
40
  ### Patch Changes
27
41
 
28
- - [#90526](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90526) [`2f75eb73984f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2f75eb73984f) - [ux] Update toolbar icon to Loom
42
+ - [#90526](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90526)
43
+ [`2f75eb73984f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2f75eb73984f) -
44
+ [ux] Update toolbar icon to Loom
29
45
 
30
46
  ## 2.0.0
31
47
 
32
48
  ### Major Changes
33
49
 
34
- - [#85470](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/85470) [`32cb4d4ca34f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32cb4d4ca34f) - Update loom plugin to take in interface and remove SDK references
50
+ - [#85470](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/85470)
51
+ [`32cb4d4ca34f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32cb4d4ca34f) -
52
+ Update loom plugin to take in interface and remove SDK references
35
53
 
36
54
  ### Patch Changes
37
55
 
38
- - Updated dependencies
56
+ - Updated dependencies
39
57
 
40
58
  ## 1.0.2
41
59
 
42
60
  ### Patch Changes
43
61
 
44
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
62
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
63
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
64
+ Upgrade Typescript from `4.9.5` to `5.4.2`
45
65
 
46
66
  ## 1.0.1
47
67
 
48
68
  ### Patch Changes
49
69
 
50
- - Updated dependencies
70
+ - Updated dependencies
51
71
 
52
72
  ## 1.0.0
53
73
 
54
74
  ### Major Changes
55
75
 
56
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386) [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) - This changeset exists to bump all editor plugins that currently don't have a major version. This is to address an issue with Jira plugin consumption.
76
+ - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
77
+ [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
78
+ This changeset exists to bump all editor plugins that currently don't have a major version. This
79
+ is to address an issue with Jira plugin consumption.
57
80
 
58
81
  ### Patch Changes
59
82
 
60
- - Updated dependencies
83
+ - Updated dependencies
61
84
 
62
85
  ## 0.3.1
63
86
 
64
87
  ### Patch Changes
65
88
 
66
- - [#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
89
+ - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
90
+ [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
91
+ Upgrading @atlaskit/editor-prosemirror dependency
67
92
 
68
93
  ## 0.3.0
69
94
 
70
95
  ### Minor Changes
71
96
 
72
- - [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790) [`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) - Support maybeAdd plugins in usePreset. Add typing support for universal preset.
97
+ - [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790)
98
+ [`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) -
99
+ Support maybeAdd plugins in usePreset. Add typing support for universal preset.
73
100
 
74
- Now when using the editor API with the universal preset
101
+ Now when using the editor API with the universal preset
75
102
 
76
103
  ### Patch Changes
77
104
 
78
- - Updated dependencies
105
+ - Updated dependencies
79
106
 
80
107
  ## 0.2.4
81
108
 
82
109
  ### Patch Changes
83
110
 
84
- - Updated dependencies
111
+ - Updated dependencies
85
112
 
86
113
  ## 0.2.3
87
114
 
88
115
  ### Patch Changes
89
116
 
90
- - [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238) [`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) - [ED-21835] Change EditorAPI type to always union with undefined
117
+ - [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
118
+ [`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
119
+ [ED-21835] Change EditorAPI type to always union with undefined
91
120
 
92
121
  ## 0.2.2
93
122
 
94
123
  ### Patch Changes
95
124
 
96
- - Updated dependencies
125
+ - Updated dependencies
97
126
 
98
127
  ## 0.2.1
99
128
 
100
129
  ### Patch Changes
101
130
 
102
- - Updated dependencies
131
+ - Updated dependencies
103
132
 
104
133
  ## 0.2.0
105
134
 
106
135
  ### Minor Changes
107
136
 
108
- - [#59421](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59421) [`3747754f8ab0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3747754f8ab0) - NO-ISSUE Added the capability to directly trigger an analytics event as an action to the editor analytics plugin
137
+ - [#59421](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59421)
138
+ [`3747754f8ab0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3747754f8ab0) -
139
+ NO-ISSUE Added the capability to directly trigger an analytics event as an action to the editor
140
+ analytics plugin
109
141
 
110
142
  ### Patch Changes
111
143
 
112
- - Updated dependencies
144
+ - Updated dependencies
113
145
 
114
146
  ## 0.1.1
115
147
 
116
148
  ### Patch Changes
117
149
 
118
- - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147) [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) - Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
150
+ - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
151
+ [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
152
+ Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
@@ -20,6 +20,9 @@ var loomPlugin = exports.loomPlugin = function loomPlugin(_ref) {
20
20
  var editorAnalyticsAPI = api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions;
21
21
  return {
22
22
  name: 'loom',
23
+ actions: {
24
+ recordVideo: _commands.recordVideo
25
+ },
23
26
  pmPlugins: function pmPlugins() {
24
27
  return [{
25
28
  name: 'loom',
@@ -14,6 +14,9 @@ export const loomPlugin = ({
14
14
  const editorAnalyticsAPI = api === null || api === void 0 ? void 0 : (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions;
15
15
  return {
16
16
  name: 'loom',
17
+ actions: {
18
+ recordVideo
19
+ },
17
20
  pmPlugins: () => [{
18
21
  name: 'loom',
19
22
  plugin: () => createPlugin({
@@ -13,6 +13,9 @@ export var loomPlugin = function loomPlugin(_ref) {
13
13
  var editorAnalyticsAPI = api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions;
14
14
  return {
15
15
  name: 'loom',
16
+ actions: {
17
+ recordVideo: recordVideo
18
+ },
16
19
  pmPlugins: function pmPlugins() {
17
20
  return [{
18
21
  name: 'loom',
@@ -1,4 +1,6 @@
1
- import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
1
+ import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
2
+ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
3
+ import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
4
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
5
  import type { HyperlinkPlugin } from '@atlaskit/editor-plugin-hyperlink';
4
6
  import type { LoomPluginState } from './pm-plugin';
@@ -10,5 +12,11 @@ export type LoomPlugin = NextEditorPlugin<'loom', {
10
12
  HyperlinkPlugin
11
13
  ];
12
14
  sharedState: LoomPluginState | undefined;
15
+ actions: {
16
+ recordVideo: ({ inputMethod, editorAnalyticsAPI, }: {
17
+ inputMethod: INPUT_METHOD;
18
+ editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
19
+ }) => EditorCommand;
20
+ };
13
21
  }>;
14
22
  export declare const loomPlugin: LoomPlugin;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { WrappedComponentProps } from 'react-intl-next';
3
+ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
3
4
  declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
4
5
  disabled: boolean;
5
6
  api: import("@atlaskit/editor-common/types").PublicPluginAPI<[import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"loom", {
@@ -44,6 +45,12 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
44
45
  sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
45
46
  }, import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined>];
46
47
  sharedState: import("..").LoomPluginState | undefined;
48
+ actions: {
49
+ recordVideo: ({ inputMethod, editorAnalyticsAPI, }: {
50
+ inputMethod: INPUT_METHOD;
51
+ editorAnalyticsAPI: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI | undefined;
52
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
53
+ };
47
54
  }, import("..").LoomPluginOptions>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
48
55
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
49
56
  sharedState: {
@@ -128,6 +135,12 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
128
135
  sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
129
136
  }, import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined>];
130
137
  sharedState: import("..").LoomPluginState | undefined;
138
+ actions: {
139
+ recordVideo: ({ inputMethod, editorAnalyticsAPI, }: {
140
+ inputMethod: INPUT_METHOD;
141
+ editorAnalyticsAPI: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI | undefined;
142
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
143
+ };
131
144
  }, import("..").LoomPluginOptions>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
132
145
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
133
146
  sharedState: {
@@ -1,4 +1,6 @@
1
- import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
1
+ import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
2
+ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
3
+ import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
4
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
5
  import type { HyperlinkPlugin } from '@atlaskit/editor-plugin-hyperlink';
4
6
  import type { LoomPluginState } from './pm-plugin';
@@ -10,5 +12,11 @@ export type LoomPlugin = NextEditorPlugin<'loom', {
10
12
  HyperlinkPlugin
11
13
  ];
12
14
  sharedState: LoomPluginState | undefined;
15
+ actions: {
16
+ recordVideo: ({ inputMethod, editorAnalyticsAPI, }: {
17
+ inputMethod: INPUT_METHOD;
18
+ editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
19
+ }) => EditorCommand;
20
+ };
13
21
  }>;
14
22
  export declare const loomPlugin: LoomPlugin;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { WrappedComponentProps } from 'react-intl-next';
3
+ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
3
4
  declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
4
5
  disabled: boolean;
5
6
  api: import("@atlaskit/editor-common/types").PublicPluginAPI<[
@@ -54,6 +55,12 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
54
55
  }, import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined>
55
56
  ];
56
57
  sharedState: import("..").LoomPluginState | undefined;
58
+ actions: {
59
+ recordVideo: ({ inputMethod, editorAnalyticsAPI, }: {
60
+ inputMethod: INPUT_METHOD;
61
+ editorAnalyticsAPI: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI | undefined;
62
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
63
+ };
57
64
  }, import("..").LoomPluginOptions>,
58
65
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
59
66
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
@@ -157,6 +164,12 @@ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
157
164
  }, import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined>
158
165
  ];
159
166
  sharedState: import("..").LoomPluginState | undefined;
167
+ actions: {
168
+ recordVideo: ({ inputMethod, editorAnalyticsAPI, }: {
169
+ inputMethod: INPUT_METHOD;
170
+ editorAnalyticsAPI: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI | undefined;
171
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
172
+ };
160
173
  }, import("..").LoomPluginOptions>,
161
174
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
162
175
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-loom",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Loom plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,7 +36,7 @@
36
36
  ".": "./src/index.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@atlaskit/editor-common": "^78.31.0",
39
+ "@atlaskit/editor-common": "^78.36.0",
40
40
  "@atlaskit/editor-plugin-analytics": "^1.1.0",
41
41
  "@atlaskit/editor-plugin-hyperlink": "^1.6.0",
42
42
  "@atlaskit/editor-prosemirror": "4.0.0",
@@ -55,7 +55,7 @@
55
55
  "@atlaskit/editor-plugin-decorations": "^1.1.0",
56
56
  "@atlaskit/editor-plugin-editor-disabled": "^1.1.0",
57
57
  "@atlaskit/editor-plugin-feature-flags": "^1.1.0",
58
- "@atlaskit/editor-plugin-floating-toolbar": "^1.3.0",
58
+ "@atlaskit/editor-plugin-floating-toolbar": "^1.4.0",
59
59
  "@atlaskit/editor-plugin-grid": "^1.1.0",
60
60
  "@atlaskit/editor-plugin-width": "^1.1.0",
61
61
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",