@atlaskit/editor-plugin-annotation 17.0.8 → 17.0.9

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,15 @@
1
1
  # @atlaskit/editor-plugin-annotation
2
2
 
3
+ ## 17.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [`962e8dc0188bf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/962e8dc0188bf) -
8
+ Clean up `platform_editor_offline_editing_web` with `isEnabled: true` for Confluence, keeping
9
+ offline editing and recovery behavior enabled. Remove the retired experiment from the editor
10
+ Statsig configuration; consumers must stop querying or overriding this experiment.
11
+ - Updated dependencies
12
+
3
13
  ## 17.0.8
4
14
 
5
15
  ### Patch Changes
@@ -14,7 +14,6 @@ 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 _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
18
17
  var _editorCommands = require("../editor-commands");
19
18
  var _utils3 = require("../pm-plugins/utils");
20
19
  var _types = require("../types");
@@ -96,9 +95,7 @@ function InlineCommentView(_ref) {
96
95
  }
97
96
 
98
97
  // Network Status
99
- var networkStatusSelector = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(editorAPI, 'connectivity.mode', {
100
- disabled: (0, _editorExperiment.editorExperiment)('platform_editor_offline_editing_web', false)
101
- });
98
+ var networkStatusSelector = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(editorAPI, 'connectivity.mode');
102
99
  if (!dom) {
103
100
  return null;
104
101
  }
@@ -6,7 +6,6 @@ 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/editor-experiment';
10
9
  import { closeComponent, createAnnotation, removeInlineCommentNearSelection, setInlineCommentDraftState, updateInlineCommentResolvedState } from '../editor-commands';
11
10
  import { getAllAnnotations, getAnnotationViewKey, getSelectionPositions } from '../pm-plugins/utils';
12
11
  import { AnnotationTestIds } from '../types';
@@ -96,9 +95,7 @@ export function InlineCommentView({
96
95
  }
97
96
 
98
97
  // Network Status
99
- const networkStatusSelector = useSharedPluginStateSelector(editorAPI, 'connectivity.mode', {
100
- disabled: editorExperiment('platform_editor_offline_editing_web', false)
101
- });
98
+ const networkStatusSelector = useSharedPluginStateSelector(editorAPI, 'connectivity.mode');
102
99
  if (!dom) {
103
100
  return null;
104
101
  }
@@ -7,7 +7,6 @@ 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/editor-experiment';
11
10
  import { closeComponent, createAnnotation, removeInlineCommentNearSelection, setInlineCommentDraftState, updateInlineCommentResolvedState } from '../editor-commands';
12
11
  import { getAllAnnotations, getAnnotationViewKey, getSelectionPositions } from '../pm-plugins/utils';
13
12
  import { AnnotationTestIds } from '../types';
@@ -89,9 +88,7 @@ export function InlineCommentView(_ref) {
89
88
  }
90
89
 
91
90
  // Network Status
92
- var networkStatusSelector = useSharedPluginStateSelector(editorAPI, 'connectivity.mode', {
93
- disabled: editorExperiment('platform_editor_offline_editing_web', false)
94
- });
91
+ var networkStatusSelector = useSharedPluginStateSelector(editorAPI, 'connectivity.mode');
95
92
  if (!dom) {
96
93
  return null;
97
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-annotation",
3
- "version": "17.0.8",
3
+ "version": "17.0.9",
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.6.0",
33
33
  "@atlaskit/platform-feature-flags": "^2.2.0",
34
- "@atlaskit/tmp-editor-statsig": "^187.0.0",
34
+ "@atlaskit/tmp-editor-statsig": "^188.0.0",
35
35
  "@babel/runtime": "^7.0.0"
36
36
  },
37
37
  "peerDependencies": {
38
- "@atlaskit/editor-common": "^121.4.0",
38
+ "@atlaskit/editor-common": "^121.5.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"