@atlaskit/editor-plugin-loom 11.0.0 → 12.1.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 +30 -0
- package/dist/cjs/entry-points/loom-plugin-state-type.js +1 -0
- package/dist/cjs/entry-points/loom-plugin-type.js +1 -0
- package/dist/cjs/entry-points/loom-plugin.js +12 -0
- package/dist/cjs/entry-points/types.js +1 -0
- package/dist/cjs/ui/LoomMenuItem.js +2 -2
- package/dist/cjs/ui/ToolbarButtonComponent.js +2 -2
- package/dist/es2019/entry-points/loom-plugin-state-type.js +0 -0
- package/dist/es2019/entry-points/loom-plugin-type.js +0 -0
- package/dist/es2019/entry-points/loom-plugin.js +2 -0
- package/dist/es2019/entry-points/types.js +0 -0
- package/dist/es2019/ui/LoomMenuItem.js +1 -1
- package/dist/es2019/ui/ToolbarButtonComponent.js +1 -1
- package/dist/esm/entry-points/loom-plugin-state-type.js +0 -0
- package/dist/esm/entry-points/loom-plugin-type.js +0 -0
- package/dist/esm/entry-points/loom-plugin.js +2 -0
- package/dist/esm/entry-points/types.js +0 -0
- package/dist/esm/ui/LoomMenuItem.js +1 -1
- package/dist/esm/ui/ToolbarButtonComponent.js +1 -1
- package/dist/types/entry-points/loom-plugin-state-type.d.ts +1 -0
- package/dist/types/entry-points/loom-plugin-type.d.ts +1 -0
- package/dist/types/entry-points/loom-plugin.d.ts +1 -0
- package/dist/types/entry-points/types.d.ts +1 -0
- package/dist/types/ui/ToolbarButtonComponent.d.ts +1 -1
- package/dist/types-ts4.5/entry-points/loom-plugin-state-type.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/loom-plugin-type.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/loom-plugin.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/types.d.ts +1 -0
- package/dist/types-ts4.5/ui/ToolbarButtonComponent.d.ts +1 -1
- package/loom-plugin/package.json +17 -0
- package/loom-plugin-state-type/package.json +17 -0
- package/loom-plugin-type/package.json +17 -0
- package/package.json +16 -15
- package/types/package.json +17 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-loom
|
|
2
2
|
|
|
3
|
+
## 12.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`a94a013546f69`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a94a013546f69) -
|
|
8
|
+
Autofix: add explicit package exports (barrel removal)
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 12.0.0
|
|
15
|
+
|
|
16
|
+
### Major Changes
|
|
17
|
+
|
|
18
|
+
- [`901c87a57486e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/901c87a57486e) -
|
|
19
|
+
Removed `react-intl-next` alias and replaced all usages with `react-intl` directly.
|
|
20
|
+
|
|
21
|
+
What changed: The `react-intl-next` npm alias (which resolved to `react-intl@^5`) has been
|
|
22
|
+
removed. All imports now reference `react-intl` directly, and `peerDependencies` have been updated
|
|
23
|
+
to `"^5.25.1 || ^6.0.0 || ^7.0.0"`.
|
|
24
|
+
|
|
25
|
+
How consumer should update their code: Ensure `react-intl` is installed at a version satisfying
|
|
26
|
+
`^5.25.1 || ^6.0.0 || ^7.0.0`. If your application was using `react-intl-next` as an npm alias, it
|
|
27
|
+
can be safely removed. Replace any remaining `react-intl-next` imports with `react-intl`.
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Updated dependencies
|
|
32
|
+
|
|
3
33
|
## 11.0.0
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "loomPlugin", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _loomPlugin.loomPlugin;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _loomPlugin = require("../loomPlugin");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.LoomMenuItem = exports.CustomisableLoomMenuItem = void 0;
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
11
11
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
12
12
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
@@ -89,7 +89,7 @@ function (_ref4, ref) {
|
|
|
89
89
|
rel = _ref4.rel;
|
|
90
90
|
var _useEditorToolbar2 = (0, _toolbar.useEditorToolbar)(),
|
|
91
91
|
editorAppearance = _useEditorToolbar2.editorAppearance;
|
|
92
|
-
var _useIntl = (0,
|
|
92
|
+
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
93
93
|
formatMessage = _useIntl.formatMessage;
|
|
94
94
|
return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItem, {
|
|
95
95
|
elemBefore: /*#__PURE__*/_react.default.createElement(_editorToolbar.LoomIcon, {
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
|
-
var
|
|
10
|
+
var _reactIntl = require("react-intl");
|
|
11
11
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
12
12
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
13
13
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
@@ -84,7 +84,7 @@ var LoomToolbarButtonInternal = /*#__PURE__*/_react.default.forwardRef(function
|
|
|
84
84
|
rel: rel
|
|
85
85
|
}, shouldShowRecordText && formatMessage(_messages.toolbarInsertBlockMessages.recordLoomShortTitle));
|
|
86
86
|
});
|
|
87
|
-
var _default_1 = (0,
|
|
87
|
+
var _default_1 = (0, _reactIntl.injectIntl)(LoomToolbarButtonInternal, {
|
|
88
88
|
forwardRef: true
|
|
89
89
|
});
|
|
90
90
|
var _default = exports.default = _default_1;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useCallback } from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
4
4
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { jsx, css } from '@emotion/react';
|
|
9
|
-
import { injectIntl } from 'react-intl
|
|
9
|
+
import { injectIntl } from 'react-intl';
|
|
10
10
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
11
11
|
import { toolbarInsertBlockMessages } from '@atlaskit/editor-common/messages';
|
|
12
12
|
import { TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useCallback } from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
4
4
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { jsx, css } from '@emotion/react';
|
|
9
|
-
import { injectIntl } from 'react-intl
|
|
9
|
+
import { injectIntl } from 'react-intl';
|
|
10
10
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
11
11
|
import { toolbarInsertBlockMessages } from '@atlaskit/editor-common/messages';
|
|
12
12
|
import { TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { LoomPluginState } from '../pm-plugins/main';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { LoomPlugin } from '../loomPluginType';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { loomPlugin } from '../loomPlugin';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { LoomPluginOptions, LoomPluginOptionsWithProvider, LoomPluginOptionsWithoutProvider, LoomProviderOptions, VideoMeta, GetClient, GetClientResult, LoomPluginErrorMessages, LoomSDKErrorMessages, ButtonComponentProps, ButtonComponent, RenderButton, PositionType, } from '../types/index';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import type { EditorAppearance, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
8
8
|
import type { LoomPlugin } from '../loomPluginType';
|
|
9
9
|
import type { ButtonComponentProps } from '../types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { LoomPluginState } from '../pm-plugins/main';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { LoomPlugin } from '../loomPluginType';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { loomPlugin } from '../loomPlugin';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { LoomPluginOptions, LoomPluginOptionsWithProvider, LoomPluginOptionsWithoutProvider, LoomProviderOptions, VideoMeta, GetClient, GetClientResult, LoomPluginErrorMessages, LoomSDKErrorMessages, ButtonComponentProps, ButtonComponent, RenderButton, PositionType, } from '../types/index';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import type { EditorAppearance, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
8
8
|
import type { LoomPlugin } from '../loomPluginType';
|
|
9
9
|
import type { ButtonComponentProps } from '../types';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-plugin-loom/loom-plugin",
|
|
3
|
+
"main": "../dist/cjs/entry-points/loom-plugin.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/loom-plugin.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/loom-plugin.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/loom-plugin.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/entry-points/loom-plugin.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-plugin-loom/loom-plugin-state-type",
|
|
3
|
+
"main": "../dist/cjs/entry-points/loom-plugin-state-type.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/loom-plugin-state-type.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/loom-plugin-state-type.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/loom-plugin-state-type.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/entry-points/loom-plugin-state-type.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-plugin-loom/loom-plugin-type",
|
|
3
|
+
"main": "../dist/cjs/entry-points/loom-plugin-type.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/loom-plugin-type.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/loom-plugin-type.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/loom-plugin-type.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/entry-points/loom-plugin-type.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-loom",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.1.0",
|
|
4
4
|
"description": "Loom plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,33 +33,34 @@
|
|
|
33
33
|
"atlaskit:src": "src/index.ts",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/button": "^23.11.0",
|
|
36
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
37
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
38
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
39
|
-
"@atlaskit/editor-plugin-hyperlink": "^
|
|
40
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^
|
|
41
|
-
"@atlaskit/editor-plugin-quick-insert": "^
|
|
42
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
43
|
-
"@atlaskit/editor-plugin-width": "^
|
|
36
|
+
"@atlaskit/editor-plugin-analytics": "^10.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-connectivity": "^10.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^12.1.0",
|
|
39
|
+
"@atlaskit/editor-plugin-hyperlink": "^12.1.0",
|
|
40
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^11.1.0",
|
|
41
|
+
"@atlaskit/editor-plugin-quick-insert": "^10.4.0",
|
|
42
|
+
"@atlaskit/editor-plugin-toolbar": "^7.2.0",
|
|
43
|
+
"@atlaskit/editor-plugin-width": "^11.0.0",
|
|
44
44
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
45
|
-
"@atlaskit/editor-toolbar": "^
|
|
46
|
-
"@atlaskit/icon": "^34.
|
|
45
|
+
"@atlaskit/editor-toolbar": "^1.2.0",
|
|
46
|
+
"@atlaskit/icon": "^34.5.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/tokens": "^13.0.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"@emotion/react": "^11.7.1",
|
|
51
|
-
"@loomhq/record-sdk": "^4.
|
|
51
|
+
"@loomhq/record-sdk": "^4.11.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@atlaskit/editor-common": "^
|
|
54
|
+
"@atlaskit/editor-common": "^114.30.0",
|
|
55
55
|
"react": "^18.2.0",
|
|
56
56
|
"react-dom": "^18.2.0",
|
|
57
|
-
"react-intl
|
|
57
|
+
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@testing-library/react": "^16.3.0",
|
|
61
61
|
"@testing-library/user-event": "^14.4.3",
|
|
62
|
-
"raf-stub": "^2.0.1"
|
|
62
|
+
"raf-stub": "^2.0.1",
|
|
63
|
+
"react-intl": "^6.6.2"
|
|
63
64
|
},
|
|
64
65
|
"techstack": {
|
|
65
66
|
"@atlassian/frontend": {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-plugin-loom/types",
|
|
3
|
+
"main": "../dist/cjs/entry-points/types.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/types.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/types.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/types.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/entry-points/types.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|