@atlaskit/editor-plugin-loom 3.1.36 → 3.2.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 +18 -0
- package/dist/cjs/pm-plugins/commands.js +1 -4
- package/dist/es2019/pm-plugins/commands.js +1 -4
- package/dist/esm/pm-plugins/commands.js +1 -4
- package/dist/types/ui/ToolbarButtonComponent.d.ts +1 -1
- package/dist/types-ts4.5/ui/ToolbarButtonComponent.d.ts +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-loom
|
|
2
2
|
|
|
3
|
+
## 3.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
8
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
9
|
+
Update `React` from v16 to v18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 3.1.37
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 3.1.36
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -119,10 +119,7 @@ var getPositions = function getPositions(tr, posType) {
|
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
|
-
var insertLoom = exports.insertLoom = function insertLoom(editorView, api, video, positionType
|
|
123
|
-
// Ignored via go/ees005
|
|
124
|
-
// eslint-disable-next-line @typescript-eslint/max-params
|
|
125
|
-
) {
|
|
122
|
+
var insertLoom = exports.insertLoom = function insertLoom(editorView, api, video, positionType) {
|
|
126
123
|
var _api$hyperlink$action, _api$hyperlink;
|
|
127
124
|
if (!editorView) {
|
|
128
125
|
return false;
|
|
@@ -112,10 +112,7 @@ const getPositions = (tr, posType) => {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
|
-
export const insertLoom = (editorView, api, video, positionType
|
|
116
|
-
// Ignored via go/ees005
|
|
117
|
-
// eslint-disable-next-line @typescript-eslint/max-params
|
|
118
|
-
) => {
|
|
115
|
+
export const insertLoom = (editorView, api, video, positionType) => {
|
|
119
116
|
var _api$hyperlink$action, _api$hyperlink;
|
|
120
117
|
if (!editorView) {
|
|
121
118
|
return false;
|
|
@@ -114,10 +114,7 @@ var getPositions = function getPositions(tr, posType) {
|
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
|
-
export var insertLoom = function insertLoom(editorView, api, video, positionType
|
|
118
|
-
// Ignored via go/ees005
|
|
119
|
-
// eslint-disable-next-line @typescript-eslint/max-params
|
|
120
|
-
) {
|
|
117
|
+
export var insertLoom = function insertLoom(editorView, api, video, positionType) {
|
|
121
118
|
var _api$hyperlink$action, _api$hyperlink;
|
|
122
119
|
if (!editorView) {
|
|
123
120
|
return false;
|
|
@@ -14,7 +14,7 @@ interface Props extends Omit<ButtonComponentProps, 'onClickBeforeInit'> {
|
|
|
14
14
|
onClick: (event: React.MouseEvent<HTMLElement>) => void;
|
|
15
15
|
hideTooltip?: boolean;
|
|
16
16
|
}
|
|
17
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
17
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl-next").WithIntlProps<React.PropsWithChildren<Props & WrappedComponentProps & React.RefAttributes<HTMLElement>>>, "ref"> & React.RefAttributes<any>> & {
|
|
18
18
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps & React.RefAttributes<HTMLElement>>;
|
|
19
19
|
};
|
|
20
20
|
export default _default;
|
|
@@ -14,7 +14,7 @@ interface Props extends Omit<ButtonComponentProps, 'onClickBeforeInit'> {
|
|
|
14
14
|
onClick: (event: React.MouseEvent<HTMLElement>) => void;
|
|
15
15
|
hideTooltip?: boolean;
|
|
16
16
|
}
|
|
17
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
17
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl-next").WithIntlProps<React.PropsWithChildren<Props & WrappedComponentProps & React.RefAttributes<HTMLElement>>>, "ref"> & React.RefAttributes<any>> & {
|
|
18
18
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps & React.RefAttributes<HTMLElement>>;
|
|
19
19
|
};
|
|
20
20
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-loom",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Loom plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
".": "./src/index.ts"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@atlaskit/button": "^20.
|
|
38
|
-
"@atlaskit/editor-common": "^99.
|
|
39
|
-
"@atlaskit/editor-plugin-analytics": "^1.
|
|
40
|
-
"@atlaskit/editor-plugin-hyperlink": "^3.
|
|
37
|
+
"@atlaskit/button": "^20.4.0",
|
|
38
|
+
"@atlaskit/editor-common": "^99.6.0",
|
|
39
|
+
"@atlaskit/editor-plugin-analytics": "^1.11.0",
|
|
40
|
+
"@atlaskit/editor-plugin-hyperlink": "^3.3.0",
|
|
41
41
|
"@atlaskit/editor-plugin-primary-toolbar": "^2.1.0",
|
|
42
|
-
"@atlaskit/editor-plugin-quick-insert": "^1.
|
|
42
|
+
"@atlaskit/editor-plugin-quick-insert": "^1.9.0",
|
|
43
43
|
"@atlaskit/editor-plugin-width": "^2.0.0",
|
|
44
44
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
45
|
-
"@atlaskit/icon": "23.
|
|
45
|
+
"@atlaskit/icon": "23.5.0",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "0.3.0",
|
|
47
|
-
"@atlaskit/tokens": "3.
|
|
47
|
+
"@atlaskit/tokens": "3.3.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@emotion/react": "^11.7.1",
|
|
50
50
|
"@loomhq/record-sdk": "^2.36.18"
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@atlaskit/editor-plugin-base": "^2.1.0",
|
|
59
59
|
"@atlaskit/editor-plugin-card": "^4.5.0",
|
|
60
|
-
"@atlaskit/editor-plugin-copy-button": "^1.
|
|
61
|
-
"@atlaskit/editor-plugin-decorations": "^1.
|
|
62
|
-
"@atlaskit/editor-plugin-editor-disabled": "^1.
|
|
60
|
+
"@atlaskit/editor-plugin-copy-button": "^1.4.0",
|
|
61
|
+
"@atlaskit/editor-plugin-decorations": "^1.4.0",
|
|
62
|
+
"@atlaskit/editor-plugin-editor-disabled": "^1.4.0",
|
|
63
63
|
"@atlaskit/editor-plugin-feature-flags": "^1.2.0",
|
|
64
|
-
"@atlaskit/editor-plugin-floating-toolbar": "^1.
|
|
65
|
-
"@atlaskit/editor-plugin-grid": "^1.
|
|
66
|
-
"@testing-library/react": "^
|
|
64
|
+
"@atlaskit/editor-plugin-floating-toolbar": "^1.16.0",
|
|
65
|
+
"@atlaskit/editor-plugin-grid": "^1.3.0",
|
|
66
|
+
"@testing-library/react": "^13.4.0",
|
|
67
67
|
"@testing-library/user-event": "^14.4.3",
|
|
68
68
|
"raf-stub": "^2.0.1",
|
|
69
69
|
"typescript": "~5.4.2"
|