@atlaskit/editor-plugin-annotation 14.0.5 → 15.0.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 +12 -0
- package/compass.yml +2 -2
- package/dist/cjs/editor-commands/index.js +2 -0
- package/dist/cjs/ui/CommentButton/hooks.js +2 -0
- package/dist/es2019/editor-commands/index.js +2 -0
- package/dist/es2019/ui/CommentButton/hooks.js +2 -0
- package/dist/esm/editor-commands/index.js +2 -0
- package/dist/esm/ui/CommentButton/hooks.js +2 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
package/compass.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
configVersion: 1
|
|
2
2
|
id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/900eacf8-0bbb-4442-9e23-9cbf5793143d
|
|
3
3
|
name: '@atlaskit/editor-plugin-annotation'
|
|
4
|
-
ownerId: ari:cloud:identity::team/
|
|
4
|
+
ownerId: ari:cloud:identity::team/cf6a670b-5252-4c68-a769-9207de366beb # Editor Developers
|
|
5
5
|
labels:
|
|
6
6
|
- platform-code
|
|
7
7
|
- platform-afm
|
|
@@ -23,7 +23,7 @@ links:
|
|
|
23
23
|
customFields:
|
|
24
24
|
- name: Department
|
|
25
25
|
type: text
|
|
26
|
-
value:
|
|
26
|
+
value: Editor Developers
|
|
27
27
|
- name: Trusted Reviewer Teams
|
|
28
28
|
type: text
|
|
29
29
|
value: ari:cloud:identity::team/cf6a670b-5252-4c68-a769-9207de366beb
|
|
@@ -15,6 +15,8 @@ var _utils = require("../pm-plugins/utils");
|
|
|
15
15
|
var _types2 = require("../types");
|
|
16
16
|
var _transform = _interopRequireDefault(require("./transform"));
|
|
17
17
|
var _utils2 = require("./utils");
|
|
18
|
+
// oxlint-disable-next-line import/no-duplicates
|
|
19
|
+
|
|
18
20
|
var updateInlineCommentResolvedState = exports.updateInlineCommentResolvedState = function updateInlineCommentResolvedState(editorAnalyticsAPI) {
|
|
19
21
|
return function (partialNewState, resolveMethod) {
|
|
20
22
|
var command = {
|
|
@@ -8,6 +8,8 @@ var _react = require("react");
|
|
|
8
8
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
9
9
|
var _utils2 = require("../../pm-plugins/utils");
|
|
10
10
|
var _utils3 = require("./utils");
|
|
11
|
+
// oxlint-disable-next-line import/no-duplicates
|
|
12
|
+
|
|
11
13
|
var useCommentButtonMount = exports.useCommentButtonMount = function useCommentButtonMount(_ref) {
|
|
12
14
|
var state = _ref.state,
|
|
13
15
|
annotationProviders = _ref.annotationProviders,
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { AnnotationTypes } from '@atlaskit/adf-schema';
|
|
2
|
+
// oxlint-disable-next-line import/no-duplicates
|
|
3
|
+
|
|
2
4
|
import { INPUT_METHOD, RESOLVE_METHOD } from '@atlaskit/editor-common/analytics';
|
|
3
5
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
4
6
|
import { createCommand } from '../pm-plugins/plugin-factory';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { useEffect } from 'react';
|
|
2
2
|
import { getRangeInlineNodeNames } from '@atlaskit/editor-common/utils';
|
|
3
3
|
import { resolveDraftBookmark } from '../../pm-plugins/utils';
|
|
4
|
+
// oxlint-disable-next-line import/no-duplicates
|
|
5
|
+
|
|
4
6
|
import { fireCommentButtonViewedAnalyticsEvent } from './utils';
|
|
5
7
|
export const useCommentButtonMount = ({
|
|
6
8
|
state,
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import { AnnotationTypes } from '@atlaskit/adf-schema';
|
|
3
|
+
// oxlint-disable-next-line import/no-duplicates
|
|
4
|
+
|
|
3
5
|
import { INPUT_METHOD, RESOLVE_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
6
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
5
7
|
import { createCommand } from '../pm-plugins/plugin-factory';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { useEffect } from 'react';
|
|
2
2
|
import { getRangeInlineNodeNames } from '@atlaskit/editor-common/utils';
|
|
3
3
|
import { resolveDraftBookmark } from '../../pm-plugins/utils';
|
|
4
|
+
// oxlint-disable-next-line import/no-duplicates
|
|
5
|
+
|
|
4
6
|
import { fireCommentButtonViewedAnalyticsEvent } from './utils';
|
|
5
7
|
export var useCommentButtonMount = function useCommentButtonMount(_ref) {
|
|
6
8
|
var state = _ref.state,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-annotation",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.1",
|
|
4
4
|
"description": "Annotation plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"atlaskit:src": "src/index.ts",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@atlaskit/adf-schema": "^
|
|
23
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
24
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
25
|
-
"@atlaskit/editor-plugin-editor-viewmode-effects": "^
|
|
26
|
-
"@atlaskit/editor-plugin-feature-flags": "^
|
|
27
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
28
|
-
"@atlaskit/editor-plugin-user-intent": "^
|
|
22
|
+
"@atlaskit/adf-schema": "^57.0.0",
|
|
23
|
+
"@atlaskit/editor-plugin-analytics": "^15.0.0",
|
|
24
|
+
"@atlaskit/editor-plugin-connectivity": "^15.0.0",
|
|
25
|
+
"@atlaskit/editor-plugin-editor-viewmode-effects": "^15.0.0",
|
|
26
|
+
"@atlaskit/editor-plugin-feature-flags": "^14.0.0",
|
|
27
|
+
"@atlaskit/editor-plugin-toolbar": "^12.0.0",
|
|
28
|
+
"@atlaskit/editor-plugin-user-intent": "^13.0.0",
|
|
29
29
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
30
30
|
"@atlaskit/editor-toolbar": "^2.4.0",
|
|
31
31
|
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
32
32
|
"@atlaskit/icon": "^37.3.0",
|
|
33
33
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
34
|
-
"@atlaskit/tmp-editor-statsig": "^147.
|
|
34
|
+
"@atlaskit/tmp-editor-statsig": "^147.1.0",
|
|
35
35
|
"@babel/runtime": "^7.0.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@atlaskit/editor-common": "^
|
|
38
|
+
"@atlaskit/editor-common": "^119.4.0",
|
|
39
39
|
"react": "^18.2.0 || ^19.2.0",
|
|
40
40
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
41
41
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|