@atlaskit/editor-plugin-primary-toolbar 3.2.13 → 3.2.15

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
+ ## 3.2.15
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.2.14
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 3.2.13
4
16
 
5
17
  ### Patch Changes
@@ -19,7 +19,7 @@ var getToolbarComponents = exports.getToolbarComponents = function getToolbarCom
19
19
  var shouldShowUndoRedoGroup = (0, _platformFeatureFlags.fg)('platform_editor_undo_redo_find_on_primary_toolbar');
20
20
  configuration = toolbarConfigurationV2(true, shouldShowUndoRedoGroup);
21
21
  } else {
22
- var shouldShowFindGroup = !(!contextualFormattingEnabled && (0, _platformFeatureFlags.fg)('platform_editor_controls_fix_toolbar_config_embeds'));
22
+ var shouldShowFindGroup = !!contextualFormattingEnabled;
23
23
  configuration = toolbarConfiguration(shouldShowFindGroup);
24
24
  }
25
25
  return configuration.filter(function (toolbarElement) {
@@ -12,7 +12,7 @@ export const getToolbarComponents = ({
12
12
  const shouldShowUndoRedoGroup = fg('platform_editor_undo_redo_find_on_primary_toolbar');
13
13
  configuration = toolbarConfigurationV2(true, shouldShowUndoRedoGroup);
14
14
  } else {
15
- const shouldShowFindGroup = !(!contextualFormattingEnabled && fg('platform_editor_controls_fix_toolbar_config_embeds'));
15
+ const shouldShowFindGroup = !!contextualFormattingEnabled;
16
16
  configuration = toolbarConfiguration(shouldShowFindGroup);
17
17
  }
18
18
  return configuration.filter(toolbarElement => typeof toolbarElement.enabled === 'undefined' || toolbarElement.enabled(componentRegistry, editorState)).reduce((acc, toolbarElement) => {
@@ -12,7 +12,7 @@ export var getToolbarComponents = function getToolbarComponents(_ref) {
12
12
  var shouldShowUndoRedoGroup = fg('platform_editor_undo_redo_find_on_primary_toolbar');
13
13
  configuration = toolbarConfigurationV2(true, shouldShowUndoRedoGroup);
14
14
  } else {
15
- var shouldShowFindGroup = !(!contextualFormattingEnabled && fg('platform_editor_controls_fix_toolbar_config_embeds'));
15
+ var shouldShowFindGroup = !!contextualFormattingEnabled;
16
16
  configuration = toolbarConfiguration(shouldShowFindGroup);
17
17
  }
18
18
  return configuration.filter(function (toolbarElement) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-primary-toolbar",
3
- "version": "3.2.13",
3
+ "version": "3.2.15",
4
4
  "description": "Primary toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,10 +36,10 @@
36
36
  ".": "./src/index.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@atlaskit/editor-common": "^106.6.0",
39
+ "@atlaskit/editor-common": "^107.0.0",
40
40
  "@atlaskit/editor-prosemirror": "7.0.0",
41
41
  "@atlaskit/platform-feature-flags": "^1.1.0",
42
- "@atlaskit/tmp-editor-statsig": "^7.0.0",
42
+ "@atlaskit/tmp-editor-statsig": "^8.0.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "@emotion/react": "^11.7.1"
45
45
  },
@@ -87,9 +87,6 @@
87
87
  "platform-feature-flags": {
88
88
  "platform_editor_undo_redo_find_on_primary_toolbar": {
89
89
  "type": "boolean"
90
- },
91
- "platform_editor_controls_fix_toolbar_config_embeds": {
92
- "type": "boolean"
93
90
  }
94
91
  }
95
92
  }