@atlaskit/editor-plugin-annotation 16.0.6 → 16.0.8

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,17 @@
1
1
  # @atlaskit/editor-plugin-annotation
2
2
 
3
+ ## 16.0.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 16.0.7
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 16.0.6
4
16
 
5
17
  ### Patch Changes
@@ -11,7 +11,7 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
11
11
  var _react = _interopRequireDefault(require("react"));
12
12
  var _coreUtils = require("@atlaskit/editor-common/core-utils");
13
13
  var _hooks = require("@atlaskit/editor-common/hooks");
14
- var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
14
+ var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
15
15
  var _editorCommands = require("./editor-commands");
16
16
  var _annotationMark = require("./nodeviews/annotationMark");
17
17
  var _inlineComment = require("./pm-plugins/inline-comment");
@@ -179,7 +179,7 @@ var annotationPlugin = exports.annotationPlugin = function annotationPlugin(_ref
179
179
  return undefined;
180
180
  } else {
181
181
  return _objectSpread(_objectSpread({}, toolbarConfig), {}, {
182
- rank: (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? 1 : undefined
182
+ rank: (0, _editorExperiment.editorExperiment)('platform_editor_controls', 'variant1') ? 1 : undefined
183
183
  });
184
184
  }
185
185
  }
@@ -14,7 +14,7 @@ var _useSharedPluginStateSelector = require("@atlaskit/editor-common/use-shared-
14
14
  var _utils = require("@atlaskit/editor-common/utils");
15
15
  var _editorPluginConnectivity = require("@atlaskit/editor-plugin-connectivity");
16
16
  var _utils2 = require("@atlaskit/editor-prosemirror/utils");
17
- var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
17
+ var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
18
18
  var _editorCommands = require("../editor-commands");
19
19
  var _utils3 = require("../pm-plugins/utils");
20
20
  var _types = require("../types");
@@ -97,7 +97,7 @@ function InlineCommentView(_ref) {
97
97
 
98
98
  // Network Status
99
99
  var networkStatusSelector = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(editorAPI, 'connectivity.mode', {
100
- disabled: (0, _experiments.editorExperiment)('platform_editor_offline_editing_web', false)
100
+ disabled: (0, _editorExperiment.editorExperiment)('platform_editor_offline_editing_web', false)
101
101
  });
102
102
  if (!dom) {
103
103
  return null;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { isSSR } from '@atlaskit/editor-common/core-utils';
3
3
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
4
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
4
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
5
5
  import { setInlineCommentDraftState, setSelectedAnnotation, setPendingSelectedAnnotation, showInlineCommentForBlockNode } from './editor-commands';
6
6
  import { annotationWithToDOMFix } from './nodeviews/annotationMark';
7
7
  import { inlineCommentPlugin } from './pm-plugins/inline-comment';
@@ -6,7 +6,7 @@ import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared
6
6
  import { getAnnotationInlineNodeTypes, getRangeInlineNodeNames } from '@atlaskit/editor-common/utils';
7
7
  import { isOfflineMode } from '@atlaskit/editor-plugin-connectivity';
8
8
  import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
9
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
9
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
10
10
  import { closeComponent, createAnnotation, removeInlineCommentNearSelection, setInlineCommentDraftState, updateInlineCommentResolvedState } from '../editor-commands';
11
11
  import { getAllAnnotations, getAnnotationViewKey, getSelectionPositions } from '../pm-plugins/utils';
12
12
  import { AnnotationTestIds } from '../types';
@@ -6,7 +6,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
6
6
  import React from 'react';
7
7
  import { isSSR } from '@atlaskit/editor-common/core-utils';
8
8
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
9
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
9
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
10
10
  import { setInlineCommentDraftState, setSelectedAnnotation, setPendingSelectedAnnotation, showInlineCommentForBlockNode } from './editor-commands';
11
11
  import { annotationWithToDOMFix } from './nodeviews/annotationMark';
12
12
  import { inlineCommentPlugin } from './pm-plugins/inline-comment';
@@ -7,7 +7,7 @@ import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared
7
7
  import { getAnnotationInlineNodeTypes, getRangeInlineNodeNames } from '@atlaskit/editor-common/utils';
8
8
  import { isOfflineMode } from '@atlaskit/editor-plugin-connectivity';
9
9
  import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
10
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
10
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
11
11
  import { closeComponent, createAnnotation, removeInlineCommentNearSelection, setInlineCommentDraftState, updateInlineCommentResolvedState } from '../editor-commands';
12
12
  import { getAllAnnotations, getAnnotationViewKey, getSelectionPositions } from '../pm-plugins/utils';
13
13
  import { AnnotationTestIds } from '../types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-annotation",
3
- "version": "16.0.6",
3
+ "version": "16.0.8",
4
4
  "description": "Annotation plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,11 +31,11 @@
31
31
  "@atlaskit/editor-toolbar-model": "^1.2.0",
32
32
  "@atlaskit/icon": "^37.5.0",
33
33
  "@atlaskit/platform-feature-flags": "^2.1.0",
34
- "@atlaskit/tmp-editor-statsig": "^166.0.0",
34
+ "@atlaskit/tmp-editor-statsig": "^168.0.0",
35
35
  "@babel/runtime": "^7.0.0"
36
36
  },
37
37
  "peerDependencies": {
38
- "@atlaskit/editor-common": "^120.6.0",
38
+ "@atlaskit/editor-common": "^120.7.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"