@atlaskit/editor-plugin-primary-toolbar 17.0.6 → 17.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-primary-toolbar
2
2
 
3
+ ## 17.0.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 17.0.7
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 17.0.6
4
16
 
5
17
  ### Patch Changes
@@ -6,13 +6,13 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.getToolbarComponents = void 0;
8
8
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
9
- var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
9
+ var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
10
10
  var getToolbarComponents = exports.getToolbarComponents = function getToolbarComponents(_ref) {
11
11
  var componentRegistry = _ref.componentRegistry,
12
12
  editorState = _ref.editorState,
13
13
  contextualFormattingEnabled = _ref.contextualFormattingEnabled;
14
14
  var configuration;
15
- if (contextualFormattingEnabled && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1', {
15
+ if (contextualFormattingEnabled && (0, _editorExperiment.editorExperiment)('platform_editor_controls', 'variant1', {
16
16
  exposure: true
17
17
  })) {
18
18
  configuration = toolbarConfigurationV2(true);
@@ -1,4 +1,4 @@
1
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
1
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
2
2
  export const getToolbarComponents = ({
3
3
  componentRegistry,
4
4
  editorState,
@@ -1,5 +1,5 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
2
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
3
3
  export var getToolbarComponents = function getToolbarComponents(_ref) {
4
4
  var componentRegistry = _ref.componentRegistry,
5
5
  editorState = _ref.editorState,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-primary-toolbar",
3
- "version": "17.0.6",
3
+ "version": "17.0.8",
4
4
  "description": "Primary toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -26,12 +26,12 @@
26
26
  "dependencies": {
27
27
  "@atlaskit/editor-prosemirror": "^8.0.0",
28
28
  "@atlaskit/platform-feature-flags": "^2.1.0",
29
- "@atlaskit/tmp-editor-statsig": "^166.0.0",
29
+ "@atlaskit/tmp-editor-statsig": "^168.0.0",
30
30
  "@babel/runtime": "^7.0.0",
31
31
  "@emotion/react": "^11.7.1"
32
32
  },
33
33
  "peerDependencies": {
34
- "@atlaskit/editor-common": "^120.6.0",
34
+ "@atlaskit/editor-common": "^120.7.0",
35
35
  "react": "^18.2.0 || ^19.2.0"
36
36
  },
37
37
  "techstack": {