@atlaskit/editor-plugin-annotation 1.26.3 → 1.26.4
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 +8 -0
- package/dist/cjs/nodeviews/index.js +5 -7
- package/dist/cjs/pm-plugins/toolbar.js +2 -2
- package/dist/cjs/ui/AnnotationViewWrapper.js +5 -7
- package/dist/es2019/pm-plugins/toolbar.js +2 -2
- package/dist/esm/nodeviews/index.js +5 -7
- package/dist/esm/pm-plugins/toolbar.js +2 -2
- package/dist/esm/ui/AnnotationViewWrapper.js +5 -7
- package/dist/types/annotationPluginType.d.ts +3 -1
- package/dist/types/editor-commands/transform.d.ts +5 -1
- package/dist/types-ts4.5/annotationPluginType.d.ts +3 -1
- package/dist/types-ts4.5/editor-commands/transform.d.ts +6 -1
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-annotation
|
|
2
2
|
|
|
3
|
+
## 1.26.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#177868](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/177868)
|
|
8
|
+
[`431c4ab75f0c5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/431c4ab75f0c5) -
|
|
9
|
+
[ux] Disable the annotation selection toolbar while offline.
|
|
10
|
+
|
|
3
11
|
## 1.26.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -7,22 +7,21 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.getBlockAnnotationViewClassname = exports.getAnnotationViewClassname = exports.AnnotationNodeView = void 0;
|
|
8
8
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
9
9
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
11
10
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
12
11
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
12
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
13
13
|
var _react = _interopRequireDefault(require("react"));
|
|
14
14
|
var _reactNodeView = _interopRequireDefault(require("@atlaskit/editor-common/react-node-view"));
|
|
15
15
|
var _styles = require("@atlaskit/editor-common/styles");
|
|
16
|
-
function
|
|
16
|
+
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
17
17
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
18
18
|
var AnnotationNodeView = exports.AnnotationNodeView = /*#__PURE__*/function (_ReactNodeView) {
|
|
19
|
-
(0, _inherits2.default)(AnnotationNodeView, _ReactNodeView);
|
|
20
|
-
var _super = _createSuper(AnnotationNodeView);
|
|
21
19
|
function AnnotationNodeView() {
|
|
22
20
|
(0, _classCallCheck2.default)(this, AnnotationNodeView);
|
|
23
|
-
return
|
|
21
|
+
return _callSuper(this, AnnotationNodeView, arguments);
|
|
24
22
|
}
|
|
25
|
-
(0,
|
|
23
|
+
(0, _inherits2.default)(AnnotationNodeView, _ReactNodeView);
|
|
24
|
+
return (0, _createClass2.default)(AnnotationNodeView, [{
|
|
26
25
|
key: "createDomRef",
|
|
27
26
|
value: function createDomRef() {
|
|
28
27
|
return document.createElement('span');
|
|
@@ -49,7 +48,6 @@ var AnnotationNodeView = exports.AnnotationNodeView = /*#__PURE__*/function (_Re
|
|
|
49
48
|
);
|
|
50
49
|
}
|
|
51
50
|
}]);
|
|
52
|
-
return AnnotationNodeView;
|
|
53
51
|
}(_reactNodeView.default);
|
|
54
52
|
var getAnnotationViewClassname = exports.getAnnotationViewClassname = function getAnnotationViewClassname(isUnresolved, hasFocus, isHovered) {
|
|
55
53
|
if (!isUnresolved) {
|
|
@@ -51,7 +51,7 @@ var createSpotlightConfig = function createSpotlightConfig(_ref) {
|
|
|
51
51
|
};
|
|
52
52
|
var buildToolbar = exports.buildToolbar = function buildToolbar(editorAnalyticsAPI) {
|
|
53
53
|
return function (_ref2) {
|
|
54
|
-
var _api$editorViewMode;
|
|
54
|
+
var _api$editorViewMode, _api$connectivity;
|
|
55
55
|
var state = _ref2.state,
|
|
56
56
|
intl = _ref2.intl,
|
|
57
57
|
_ref2$isToolbarAbove = _ref2.isToolbarAbove,
|
|
@@ -75,7 +75,7 @@ var buildToolbar = exports.buildToolbar = function buildToolbar(editorAnalyticsA
|
|
|
75
75
|
showTitle: !isViewMode && (0, _experiments.editorExperiment)('contextual_formatting_toolbar', true, {
|
|
76
76
|
exposure: true
|
|
77
77
|
}) ? false : true,
|
|
78
|
-
disabled: selectionValid === _types.AnnotationSelectionType.DISABLED,
|
|
78
|
+
disabled: selectionValid === _types.AnnotationSelectionType.DISABLED || (api === null || api === void 0 || (_api$connectivity = api.connectivity) === null || _api$connectivity === void 0 || (_api$connectivity = _api$connectivity.sharedState) === null || _api$connectivity === void 0 || (_api$connectivity = _api$connectivity.currentState()) === null || _api$connectivity === void 0 ? void 0 : _api$connectivity.mode) === 'offline',
|
|
79
79
|
testId: _types.AnnotationTestIds.floatingToolbarCreateButton,
|
|
80
80
|
icon: _comment.default,
|
|
81
81
|
iconFallback: _comment2.default,
|
|
@@ -7,21 +7,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.AnnotationViewWrapper = void 0;
|
|
8
8
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
9
9
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
11
10
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
12
11
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
12
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
13
13
|
var _react = _interopRequireDefault(require("react"));
|
|
14
|
-
function
|
|
14
|
+
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
15
15
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
16
16
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
17
17
|
var AnnotationViewWrapper = exports.AnnotationViewWrapper = /*#__PURE__*/function (_React$PureComponent) {
|
|
18
|
-
(0, _inherits2.default)(AnnotationViewWrapper, _React$PureComponent);
|
|
19
|
-
var _super = _createSuper(AnnotationViewWrapper);
|
|
20
18
|
function AnnotationViewWrapper() {
|
|
21
19
|
(0, _classCallCheck2.default)(this, AnnotationViewWrapper);
|
|
22
|
-
return
|
|
20
|
+
return _callSuper(this, AnnotationViewWrapper, arguments);
|
|
23
21
|
}
|
|
24
|
-
(0,
|
|
22
|
+
(0, _inherits2.default)(AnnotationViewWrapper, _React$PureComponent);
|
|
23
|
+
return (0, _createClass2.default)(AnnotationViewWrapper, [{
|
|
25
24
|
key: "componentDidMount",
|
|
26
25
|
value: function componentDidMount() {
|
|
27
26
|
var onViewed = this.props.onViewed;
|
|
@@ -35,5 +34,4 @@ var AnnotationViewWrapper = exports.AnnotationViewWrapper = /*#__PURE__*/functio
|
|
|
35
34
|
return this.props.children;
|
|
36
35
|
}
|
|
37
36
|
}]);
|
|
38
|
-
return AnnotationViewWrapper;
|
|
39
37
|
}(_react.default.PureComponent);
|
|
@@ -48,7 +48,7 @@ export const buildToolbar = editorAnalyticsAPI => ({
|
|
|
48
48
|
_supportedNodes = [],
|
|
49
49
|
api
|
|
50
50
|
}) => {
|
|
51
|
-
var _api$editorViewMode, _api$editorViewMode$s;
|
|
51
|
+
var _api$editorViewMode, _api$editorViewMode$s, _api$connectivity, _api$connectivity$sha, _api$connectivity$sha2;
|
|
52
52
|
const {
|
|
53
53
|
schema
|
|
54
54
|
} = state;
|
|
@@ -67,7 +67,7 @@ export const buildToolbar = editorAnalyticsAPI => ({
|
|
|
67
67
|
showTitle: !isViewMode && editorExperiment('contextual_formatting_toolbar', true, {
|
|
68
68
|
exposure: true
|
|
69
69
|
}) ? false : true,
|
|
70
|
-
disabled: selectionValid === AnnotationSelectionType.DISABLED,
|
|
70
|
+
disabled: selectionValid === AnnotationSelectionType.DISABLED || (api === null || api === void 0 ? void 0 : (_api$connectivity = api.connectivity) === null || _api$connectivity === void 0 ? void 0 : (_api$connectivity$sha = _api$connectivity.sharedState) === null || _api$connectivity$sha === void 0 ? void 0 : (_api$connectivity$sha2 = _api$connectivity$sha.currentState()) === null || _api$connectivity$sha2 === void 0 ? void 0 : _api$connectivity$sha2.mode) === 'offline',
|
|
71
71
|
testId: AnnotationTestIds.floatingToolbarCreateButton,
|
|
72
72
|
icon: CommentIcon,
|
|
73
73
|
iconFallback: LegacyCommentIcon,
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
2
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
|
-
import _inherits from "@babel/runtime/helpers/inherits";
|
|
4
3
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
5
4
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
|
-
|
|
5
|
+
import _inherits from "@babel/runtime/helpers/inherits";
|
|
6
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
7
7
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import ReactNodeView from '@atlaskit/editor-common/react-node-view';
|
|
10
10
|
import { AnnotationSharedClassNames, BlockAnnotationSharedClassNames } from '@atlaskit/editor-common/styles';
|
|
11
11
|
export var AnnotationNodeView = /*#__PURE__*/function (_ReactNodeView) {
|
|
12
|
-
_inherits(AnnotationNodeView, _ReactNodeView);
|
|
13
|
-
var _super = _createSuper(AnnotationNodeView);
|
|
14
12
|
function AnnotationNodeView() {
|
|
15
13
|
_classCallCheck(this, AnnotationNodeView);
|
|
16
|
-
return
|
|
14
|
+
return _callSuper(this, AnnotationNodeView, arguments);
|
|
17
15
|
}
|
|
18
|
-
|
|
16
|
+
_inherits(AnnotationNodeView, _ReactNodeView);
|
|
17
|
+
return _createClass(AnnotationNodeView, [{
|
|
19
18
|
key: "createDomRef",
|
|
20
19
|
value: function createDomRef() {
|
|
21
20
|
return document.createElement('span');
|
|
@@ -42,7 +41,6 @@ export var AnnotationNodeView = /*#__PURE__*/function (_ReactNodeView) {
|
|
|
42
41
|
);
|
|
43
42
|
}
|
|
44
43
|
}]);
|
|
45
|
-
return AnnotationNodeView;
|
|
46
44
|
}(ReactNodeView);
|
|
47
45
|
export var getAnnotationViewClassname = function getAnnotationViewClassname(isUnresolved, hasFocus, isHovered) {
|
|
48
46
|
if (!isUnresolved) {
|
|
@@ -44,7 +44,7 @@ var createSpotlightConfig = function createSpotlightConfig(_ref) {
|
|
|
44
44
|
};
|
|
45
45
|
export var buildToolbar = function buildToolbar(editorAnalyticsAPI) {
|
|
46
46
|
return function (_ref2) {
|
|
47
|
-
var _api$editorViewMode;
|
|
47
|
+
var _api$editorViewMode, _api$connectivity;
|
|
48
48
|
var state = _ref2.state,
|
|
49
49
|
intl = _ref2.intl,
|
|
50
50
|
_ref2$isToolbarAbove = _ref2.isToolbarAbove,
|
|
@@ -68,7 +68,7 @@ export var buildToolbar = function buildToolbar(editorAnalyticsAPI) {
|
|
|
68
68
|
showTitle: !isViewMode && editorExperiment('contextual_formatting_toolbar', true, {
|
|
69
69
|
exposure: true
|
|
70
70
|
}) ? false : true,
|
|
71
|
-
disabled: selectionValid === AnnotationSelectionType.DISABLED,
|
|
71
|
+
disabled: selectionValid === AnnotationSelectionType.DISABLED || (api === null || api === void 0 || (_api$connectivity = api.connectivity) === null || _api$connectivity === void 0 || (_api$connectivity = _api$connectivity.sharedState) === null || _api$connectivity === void 0 || (_api$connectivity = _api$connectivity.currentState()) === null || _api$connectivity === void 0 ? void 0 : _api$connectivity.mode) === 'offline',
|
|
72
72
|
testId: AnnotationTestIds.floatingToolbarCreateButton,
|
|
73
73
|
icon: CommentIcon,
|
|
74
74
|
iconFallback: LegacyCommentIcon,
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
2
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
|
-
import _inherits from "@babel/runtime/helpers/inherits";
|
|
4
3
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
5
4
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
|
-
|
|
5
|
+
import _inherits from "@babel/runtime/helpers/inherits";
|
|
6
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
7
7
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8
8
|
import React from 'react';
|
|
9
9
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
10
10
|
export var AnnotationViewWrapper = /*#__PURE__*/function (_React$PureComponent) {
|
|
11
|
-
_inherits(AnnotationViewWrapper, _React$PureComponent);
|
|
12
|
-
var _super = _createSuper(AnnotationViewWrapper);
|
|
13
11
|
function AnnotationViewWrapper() {
|
|
14
12
|
_classCallCheck(this, AnnotationViewWrapper);
|
|
15
|
-
return
|
|
13
|
+
return _callSuper(this, AnnotationViewWrapper, arguments);
|
|
16
14
|
}
|
|
17
|
-
|
|
15
|
+
_inherits(AnnotationViewWrapper, _React$PureComponent);
|
|
16
|
+
return _createClass(AnnotationViewWrapper, [{
|
|
18
17
|
key: "componentDidMount",
|
|
19
18
|
value: function componentDidMount() {
|
|
20
19
|
var onViewed = this.props.onViewed;
|
|
@@ -28,5 +27,4 @@ export var AnnotationViewWrapper = /*#__PURE__*/function (_React$PureComponent)
|
|
|
28
27
|
return this.props.children;
|
|
29
28
|
}
|
|
30
29
|
}]);
|
|
31
|
-
return AnnotationViewWrapper;
|
|
32
30
|
}(React.PureComponent);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Command, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
3
|
+
import type { ConnectivityPlugin } from '@atlaskit/editor-plugin-connectivity';
|
|
3
4
|
import type { EditorViewModePlugin } from '@atlaskit/editor-plugin-editor-viewmode';
|
|
4
5
|
import type { EditorViewModeEffectsPlugin } from '@atlaskit/editor-plugin-editor-viewmode-effects';
|
|
5
6
|
import type { EngagementPlatformPlugin } from '@atlaskit/editor-plugin-engagement-platform';
|
|
@@ -21,7 +22,8 @@ export type AnnotationPlugin = NextEditorPlugin<'annotation', {
|
|
|
21
22
|
OptionalPlugin<EditorViewModeEffectsPlugin>,
|
|
22
23
|
OptionalPlugin<EditorViewModePlugin>,
|
|
23
24
|
OptionalPlugin<FeatureFlagsPlugin>,
|
|
24
|
-
OptionalPlugin<EngagementPlatformPlugin
|
|
25
|
+
OptionalPlugin<EngagementPlatformPlugin>,
|
|
26
|
+
OptionalPlugin<ConnectivityPlugin>
|
|
25
27
|
];
|
|
26
28
|
actions: {
|
|
27
29
|
stripNonExistingAnnotations: StripNonExistingAnnotations;
|
|
@@ -120,7 +120,11 @@ declare const _default: {
|
|
|
120
120
|
actions: EditorAnalyticsAPI;
|
|
121
121
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
122
122
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
123
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
123
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
124
|
+
sharedState: {
|
|
125
|
+
mode: "offline" | "online";
|
|
126
|
+
};
|
|
127
|
+
}, undefined>>];
|
|
124
128
|
actions: {
|
|
125
129
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: EditorState) => boolean | undefined;
|
|
126
130
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: InlineCommentInputMethod, targetType?: import("../types").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Command, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
3
|
+
import type { ConnectivityPlugin } from '@atlaskit/editor-plugin-connectivity';
|
|
3
4
|
import type { EditorViewModePlugin } from '@atlaskit/editor-plugin-editor-viewmode';
|
|
4
5
|
import type { EditorViewModeEffectsPlugin } from '@atlaskit/editor-plugin-editor-viewmode-effects';
|
|
5
6
|
import type { EngagementPlatformPlugin } from '@atlaskit/editor-plugin-engagement-platform';
|
|
@@ -21,7 +22,8 @@ export type AnnotationPlugin = NextEditorPlugin<'annotation', {
|
|
|
21
22
|
OptionalPlugin<EditorViewModeEffectsPlugin>,
|
|
22
23
|
OptionalPlugin<EditorViewModePlugin>,
|
|
23
24
|
OptionalPlugin<FeatureFlagsPlugin>,
|
|
24
|
-
OptionalPlugin<EngagementPlatformPlugin
|
|
25
|
+
OptionalPlugin<EngagementPlatformPlugin>,
|
|
26
|
+
OptionalPlugin<ConnectivityPlugin>
|
|
25
27
|
];
|
|
26
28
|
actions: {
|
|
27
29
|
stripNonExistingAnnotations: StripNonExistingAnnotations;
|
|
@@ -143,7 +143,12 @@ declare const _default: {
|
|
|
143
143
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
144
144
|
];
|
|
145
145
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
146
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
146
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
|
|
147
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
148
|
+
sharedState: {
|
|
149
|
+
mode: "offline" | "online";
|
|
150
|
+
};
|
|
151
|
+
}, undefined>>
|
|
147
152
|
];
|
|
148
153
|
actions: {
|
|
149
154
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: EditorState) => boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-annotation",
|
|
3
|
-
"version": "1.26.
|
|
3
|
+
"version": "1.26.4",
|
|
4
4
|
"description": "Annotation plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,8 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^46.1.0",
|
|
35
|
-
"@atlaskit/editor-common": "^96.
|
|
35
|
+
"@atlaskit/editor-common": "^96.5.0",
|
|
36
36
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
37
|
+
"@atlaskit/editor-plugin-connectivity": "^1.0.0",
|
|
37
38
|
"@atlaskit/editor-plugin-editor-viewmode-effects": "^1.1.0",
|
|
38
39
|
"@atlaskit/editor-plugin-engagement-platform": "^2.1.0",
|
|
39
40
|
"@atlaskit/editor-plugin-feature-flags": "^1.2.0",
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
"@atlaskit/icon": "^23.1.0",
|
|
42
43
|
"@atlaskit/onboarding": "^12.2.0",
|
|
43
44
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
44
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^2.26.0",
|
|
45
46
|
"@babel/runtime": "^7.0.0"
|
|
46
47
|
},
|
|
47
48
|
"peerDependencies": {
|