@atlaskit/editor-plugin-annotation 26.0.2 → 26.0.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
CHANGED
|
@@ -13,7 +13,6 @@ var _messages = require("@atlaskit/editor-common/messages");
|
|
|
13
13
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
14
14
|
var _editorToolbar = require("@atlaskit/editor-toolbar");
|
|
15
15
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
16
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
17
16
|
var _utils = require("../../pm-plugins/utils");
|
|
18
17
|
var _types = require("../../types");
|
|
19
18
|
var _hooks2 = require("./hooks");
|
|
@@ -86,7 +85,7 @@ var CommentButton = exports.CommentButton = function CommentButton(_ref) {
|
|
|
86
85
|
return commentDisabledMessage;
|
|
87
86
|
} else {
|
|
88
87
|
// i.e. isOffline. No tooltip message needed.
|
|
89
|
-
return
|
|
88
|
+
return undefined;
|
|
90
89
|
}
|
|
91
90
|
};
|
|
92
91
|
return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarTooltip, {
|
|
@@ -6,7 +6,6 @@ import { annotationMessages } from '@atlaskit/editor-common/messages';
|
|
|
6
6
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
7
7
|
import { ToolbarButton, CommentIcon as NewCommentIcon, ToolbarTooltip } from '@atlaskit/editor-toolbar';
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
9
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
10
9
|
import { isSelectionValid } from '../../pm-plugins/utils';
|
|
11
10
|
import { AnnotationSelectionType, AnnotationTestIds } from '../../types';
|
|
12
11
|
import { useCommentButtonMount } from './hooks';
|
|
@@ -84,7 +83,7 @@ export const CommentButton = ({
|
|
|
84
83
|
return commentDisabledMessage;
|
|
85
84
|
} else {
|
|
86
85
|
// i.e. isOffline. No tooltip message needed.
|
|
87
|
-
return
|
|
86
|
+
return undefined;
|
|
88
87
|
}
|
|
89
88
|
};
|
|
90
89
|
return /*#__PURE__*/React.createElement(ToolbarTooltip, {
|
|
@@ -6,7 +6,6 @@ import { annotationMessages } from '@atlaskit/editor-common/messages';
|
|
|
6
6
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
7
7
|
import { ToolbarButton, CommentIcon as NewCommentIcon, ToolbarTooltip } from '@atlaskit/editor-toolbar';
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
9
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
10
9
|
import { isSelectionValid } from '../../pm-plugins/utils';
|
|
11
10
|
import { AnnotationSelectionType, AnnotationTestIds } from '../../types';
|
|
12
11
|
import { useCommentButtonMount } from './hooks';
|
|
@@ -79,7 +78,7 @@ export var CommentButton = function CommentButton(_ref) {
|
|
|
79
78
|
return commentDisabledMessage;
|
|
80
79
|
} else {
|
|
81
80
|
// i.e. isOffline. No tooltip message needed.
|
|
82
|
-
return
|
|
81
|
+
return undefined;
|
|
83
82
|
}
|
|
84
83
|
};
|
|
85
84
|
return /*#__PURE__*/React.createElement(ToolbarTooltip, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-annotation",
|
|
3
|
-
"version": "26.0.
|
|
3
|
+
"version": "26.0.4",
|
|
4
4
|
"description": "Annotation plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
32
32
|
"@atlaskit/icon": "^38.0.0",
|
|
33
33
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
34
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
34
|
+
"@atlaskit/tmp-editor-statsig": "^231.0.0",
|
|
35
35
|
"@babel/runtime": "^7.0.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|