@atlaskit/editor-plugin-annotation 15.0.0 → 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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-plugin-annotation
2
2
 
3
+ ## 15.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 15.0.0
4
10
 
5
11
  ### Patch Changes
@@ -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": "15.0.0",
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,7 +19,7 @@
19
19
  "sideEffects": false,
20
20
  "atlaskit:src": "src/index.ts",
21
21
  "dependencies": {
22
- "@atlaskit/adf-schema": "^56.7.0",
22
+ "@atlaskit/adf-schema": "^57.0.0",
23
23
  "@atlaskit/editor-plugin-analytics": "^15.0.0",
24
24
  "@atlaskit/editor-plugin-connectivity": "^15.0.0",
25
25
  "@atlaskit/editor-plugin-editor-viewmode-effects": "^15.0.0",
@@ -35,7 +35,7 @@
35
35
  "@babel/runtime": "^7.0.0"
36
36
  },
37
37
  "peerDependencies": {
38
- "@atlaskit/editor-common": "^119.0.0",
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"