@atlaskit/editor-plugin-extension 9.1.3 → 9.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,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 9.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 9.2.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`0adf16debc7be`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0adf16debc7be) -
|
|
14
|
+
EDITOR-2450 Sync Block Prototype clean up
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 9.1.3
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -23,6 +23,8 @@ var _uniqueId = require("./pm-plugins/unique-id");
|
|
|
23
23
|
var _constants = require("./ui/ConfigPanel/constants");
|
|
24
24
|
var _contextPanel = require("./ui/context-panel");
|
|
25
25
|
var _useConfigPanelPluginHook = require("./ui/useConfigPanelPluginHook");
|
|
26
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
27
|
+
|
|
26
28
|
// Remove below line when cleaning up platform_editor_ai_object_sidebar_injection feature flag
|
|
27
29
|
|
|
28
30
|
var extensionPlugin = exports.extensionPlugin = function extensionPlugin(_ref) {
|
|
@@ -30,6 +32,7 @@ var extensionPlugin = exports.extensionPlugin = function extensionPlugin(_ref) {
|
|
|
30
32
|
var _ref$config = _ref.config,
|
|
31
33
|
options = _ref$config === void 0 ? {} : _ref$config,
|
|
32
34
|
_api = _ref.api;
|
|
35
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
33
36
|
var configPanelId = "".concat(_constants.CONFIG_PANEL_ID, "-").concat((0, _v.default)());
|
|
34
37
|
var featureFlags = (_api === null || _api === void 0 || (_api$featureFlags = _api.featureFlags) === null || _api$featureFlags === void 0 ? void 0 : _api$featureFlags.sharedState.currentState()) || {};
|
|
35
38
|
//Note: This is a hack to get the editor view reference in the plugin. Copied from table plugin.
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
1
2
|
import uuid from 'uuid/v4';
|
|
2
3
|
import { extension, extensionFrame, inlineExtension, multiBodiedExtension } from '@atlaskit/adf-schema';
|
|
3
4
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
@@ -22,6 +23,7 @@ export const extensionPlugin = ({
|
|
|
22
23
|
api
|
|
23
24
|
}) => {
|
|
24
25
|
var _api$featureFlags, _api$contextPanel, _api$contextPanel$act, _api$analytics2, _api$analytics3, _api$contextPanel4;
|
|
26
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
25
27
|
const configPanelId = `${CONFIG_PANEL_ID}-${uuid()}`;
|
|
26
28
|
const featureFlags = (api === null || api === void 0 ? void 0 : (_api$featureFlags = api.featureFlags) === null || _api$featureFlags === void 0 ? void 0 : _api$featureFlags.sharedState.currentState()) || {};
|
|
27
29
|
//Note: This is a hack to get the editor view reference in the plugin. Copied from table plugin.
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
1
2
|
import uuid from 'uuid/v4';
|
|
2
3
|
import { extension, extensionFrame, inlineExtension, multiBodiedExtension } from '@atlaskit/adf-schema';
|
|
3
4
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
@@ -22,6 +23,7 @@ export var extensionPlugin = function extensionPlugin(_ref) {
|
|
|
22
23
|
var _ref$config = _ref.config,
|
|
23
24
|
options = _ref$config === void 0 ? {} : _ref$config,
|
|
24
25
|
_api = _ref.api;
|
|
26
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
25
27
|
var configPanelId = "".concat(CONFIG_PANEL_ID, "-").concat(uuid());
|
|
26
28
|
var featureFlags = (_api === null || _api === void 0 || (_api$featureFlags = _api.featureFlags) === null || _api$featureFlags === void 0 ? void 0 : _api$featureFlags.sharedState.currentState()) || {};
|
|
27
29
|
//Note: This is a hack to get the editor view reference in the plugin. Copied from table plugin.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "9.1
|
|
3
|
+
"version": "9.2.1",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@atlaskit/adf-utils": "^19.25.0",
|
|
26
26
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
27
27
|
"@atlaskit/avatar": "^25.5.0",
|
|
28
|
-
"@atlaskit/button": "^23.
|
|
28
|
+
"@atlaskit/button": "^23.6.0",
|
|
29
29
|
"@atlaskit/checkbox": "^17.1.0",
|
|
30
30
|
"@atlaskit/datetime-picker": "^17.1.0",
|
|
31
31
|
"@atlaskit/editor-json-transformer": "^8.31.0",
|
|
@@ -46,20 +46,20 @@
|
|
|
46
46
|
"@atlaskit/icon": "^28.5.0",
|
|
47
47
|
"@atlaskit/link": "^3.2.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
|
-
"@atlaskit/primitives": "^16.
|
|
49
|
+
"@atlaskit/primitives": "^16.1.0",
|
|
50
50
|
"@atlaskit/radio": "^8.3.0",
|
|
51
|
-
"@atlaskit/section-message": "^8.
|
|
51
|
+
"@atlaskit/section-message": "^8.9.0",
|
|
52
52
|
"@atlaskit/select": "^21.3.0",
|
|
53
|
-
"@atlaskit/smart-user-picker": "^8.
|
|
53
|
+
"@atlaskit/smart-user-picker": "^8.4.0",
|
|
54
54
|
"@atlaskit/spinner": "^19.0.0",
|
|
55
55
|
"@atlaskit/tabs": "^18.2.0",
|
|
56
56
|
"@atlaskit/textarea": "^8.0.0",
|
|
57
57
|
"@atlaskit/textfield": "^8.0.0",
|
|
58
58
|
"@atlaskit/theme": "^21.0.0",
|
|
59
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
59
|
+
"@atlaskit/tmp-editor-statsig": "^13.32.0",
|
|
60
60
|
"@atlaskit/toggle": "^15.1.0",
|
|
61
|
-
"@atlaskit/tokens": "^
|
|
62
|
-
"@atlaskit/tooltip": "^20.
|
|
61
|
+
"@atlaskit/tokens": "^8.0.0",
|
|
62
|
+
"@atlaskit/tooltip": "^20.8.0",
|
|
63
63
|
"@babel/runtime": "^7.0.0",
|
|
64
64
|
"@emotion/react": "^11.7.1",
|
|
65
65
|
"bind-event-listener": "^3.0.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"uuid": "^3.1.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
|
-
"@atlaskit/editor-common": "^110.
|
|
73
|
+
"@atlaskit/editor-common": "^110.24.0",
|
|
74
74
|
"react": "^18.2.0",
|
|
75
75
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
76
76
|
},
|