@atlaskit/editor-plugin-annotation 1.26.13 → 1.26.14

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
+ ## 1.26.14
4
+
5
+ ### Patch Changes
6
+
7
+ - [#105009](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105009)
8
+ [`a4039ebf7ed11`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a4039ebf7ed11) -
9
+ [ux] Implement variant 2 cohorts experience for platform_editor_contextual_formatting_toolbar_v2
10
+ experiment
11
+ - Updated dependencies
12
+
3
13
  ## 1.26.13
4
14
 
5
15
  ### Patch Changes
@@ -97,7 +97,7 @@ var annotationPlugin = exports.annotationPlugin = function annotationPlugin(_ref
97
97
  return undefined;
98
98
  } else {
99
99
  return _objectSpread(_objectSpread({}, toolbarConfig), {}, {
100
- rank: (0, _experiments.editorExperiment)('contextual_formatting_toolbar', true) ? 1 : undefined
100
+ rank: (0, _experiments.editorExperiment)('contextual_formatting_toolbar', true) || (0, _experiments.editorExperiment)('platform_editor_contextual_formatting_toolbar_v2', 'variant2') ? 1 : undefined
101
101
  });
102
102
  }
103
103
  }
@@ -90,7 +90,7 @@ export const annotationPlugin = ({
90
90
  } else {
91
91
  return {
92
92
  ...toolbarConfig,
93
- rank: editorExperiment('contextual_formatting_toolbar', true) ? 1 : undefined
93
+ rank: editorExperiment('contextual_formatting_toolbar', true) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant2') ? 1 : undefined
94
94
  };
95
95
  }
96
96
  }
@@ -90,7 +90,7 @@ export var annotationPlugin = function annotationPlugin(_ref) {
90
90
  return undefined;
91
91
  } else {
92
92
  return _objectSpread(_objectSpread({}, toolbarConfig), {}, {
93
- rank: editorExperiment('contextual_formatting_toolbar', true) ? 1 : undefined
93
+ rank: editorExperiment('contextual_formatting_toolbar', true) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant2') ? 1 : undefined
94
94
  });
95
95
  }
96
96
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-annotation",
3
- "version": "1.26.13",
3
+ "version": "1.26.14",
4
4
  "description": "Annotation plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^46.1.0",
35
- "@atlaskit/editor-common": "^99.3.0",
36
- "@atlaskit/editor-plugin-analytics": "^1.10.0",
35
+ "@atlaskit/editor-common": "^99.5.0",
36
+ "@atlaskit/editor-plugin-analytics": "^1.11.0",
37
37
  "@atlaskit/editor-plugin-connectivity": "^1.1.0",
38
38
  "@atlaskit/editor-plugin-editor-viewmode-effects": "^1.1.0",
39
39
  "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/icon": "^23.4.0",
42
42
  "@atlaskit/onboarding": "^12.2.0",
43
43
  "@atlaskit/platform-feature-flags": "^0.3.0",
44
- "@atlaskit/tmp-editor-statsig": "^2.37.0",
44
+ "@atlaskit/tmp-editor-statsig": "^2.39.0",
45
45
  "@babel/runtime": "^7.0.0"
46
46
  },
47
47
  "peerDependencies": {