@atlaskit/editor-plugin-annotation 17.0.8 → 18.0.0

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,21 @@
1
1
  # @atlaskit/editor-plugin-annotation
2
2
 
3
+ ## 18.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 17.0.9
10
+
11
+ ### Patch Changes
12
+
13
+ - [`962e8dc0188bf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/962e8dc0188bf) -
14
+ Clean up `platform_editor_offline_editing_web` with `isEnabled: true` for Confluence, keeping
15
+ offline editing and recovery behavior enabled. Remove the retired experiment from the editor
16
+ Statsig configuration; consumers must stop querying or overriding this experiment.
17
+ - Updated dependencies
18
+
3
19
  ## 17.0.8
4
20
 
5
21
  ### 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": "18.0.0",
4
4
  "description": "Annotation plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -20,22 +20,22 @@
20
20
  "atlaskit:src": "src/index.ts",
21
21
  "dependencies": {
22
22
  "@atlaskit/adf-schema": "^57.4.0",
23
- "@atlaskit/editor-plugin-analytics": "^17.0.0",
24
- "@atlaskit/editor-plugin-connectivity": "^17.0.0",
25
- "@atlaskit/editor-plugin-editor-viewmode-effects": "^17.0.0",
26
- "@atlaskit/editor-plugin-feature-flags": "^16.0.0",
27
- "@atlaskit/editor-plugin-toolbar": "^14.0.0",
28
- "@atlaskit/editor-plugin-user-intent": "^15.0.0",
23
+ "@atlaskit/editor-plugin-analytics": "^18.0.0",
24
+ "@atlaskit/editor-plugin-connectivity": "^18.0.0",
25
+ "@atlaskit/editor-plugin-editor-viewmode-effects": "^18.0.0",
26
+ "@atlaskit/editor-plugin-feature-flags": "^17.0.0",
27
+ "@atlaskit/editor-plugin-toolbar": "^15.0.0",
28
+ "@atlaskit/editor-plugin-user-intent": "^16.0.0",
29
29
  "@atlaskit/editor-prosemirror": "^8.0.0",
30
30
  "@atlaskit/editor-toolbar": "^2.6.0",
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": "^122.0.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"