@atlaskit/editor-plugin-text-color 7.2.2 → 7.2.3

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,13 @@
1
1
  # @atlaskit/editor-plugin-text-color
2
2
 
3
+ ## 7.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ee5135bafb31d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee5135bafb31d) -
8
+ [EDITOR-4495] clean up platform_editor_toolbar_aifc_patch_4
9
+ - Updated dependencies
10
+
3
11
  ## 7.2.2
4
12
 
5
13
  ### Patch Changes
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.getToolbarComponents = void 0;
8
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
8
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
9
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
  var _toolbar = require("@atlaskit/editor-common/toolbar");
12
12
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
@@ -55,7 +55,7 @@ var getToolbarComponents = exports.getToolbarComponents = function getToolbarCom
55
55
  parents: parents
56
56
  });
57
57
  }
58
- })].concat((0, _toConsumableArray2.default)((0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_4', 'isEnabled', true) ? [_objectSpread(_objectSpread({}, _toolbar.CLEAR_COLOR_MENU_ITEM), {}, {
58
+ }), _objectSpread(_objectSpread({}, _toolbar.CLEAR_COLOR_MENU_ITEM), {}, {
59
59
  parents: [_objectSpread(_objectSpread({}, _toolbar.TEXT_COLOR_HIGHLIGHT_MENU_SECTION), {}, {
60
60
  rank: _toolbar.TEXT_COLOR_HIGHLIGHT_MENU_SECTION_RANK[_toolbar.CLEAR_COLOR_MENU_ITEM.key]
61
61
  })],
@@ -66,5 +66,5 @@ var getToolbarComponents = exports.getToolbarComponents = function getToolbarCom
66
66
  parents: parents
67
67
  });
68
68
  }
69
- })] : []));
69
+ })];
70
70
  };
@@ -50,7 +50,7 @@ export const getToolbarComponents = api => {
50
50
  api: api,
51
51
  parents: parents
52
52
  })
53
- }, ...(expValEquals('platform_editor_toolbar_aifc_patch_4', 'isEnabled', true) ? [{
53
+ }, {
54
54
  ...CLEAR_COLOR_MENU_ITEM,
55
55
  parents: [{
56
56
  ...TEXT_COLOR_HIGHLIGHT_MENU_SECTION,
@@ -64,5 +64,5 @@ export const getToolbarComponents = api => {
64
64
  parents: parents
65
65
  });
66
66
  }
67
- }] : [])];
67
+ }];
68
68
  };
@@ -1,5 +1,5 @@
1
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
1
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  import React from 'react';
@@ -48,7 +48,7 @@ export var getToolbarComponents = function getToolbarComponents(api) {
48
48
  parents: parents
49
49
  });
50
50
  }
51
- })].concat(_toConsumableArray(expValEquals('platform_editor_toolbar_aifc_patch_4', 'isEnabled', true) ? [_objectSpread(_objectSpread({}, CLEAR_COLOR_MENU_ITEM), {}, {
51
+ }), _objectSpread(_objectSpread({}, CLEAR_COLOR_MENU_ITEM), {}, {
52
52
  parents: [_objectSpread(_objectSpread({}, TEXT_COLOR_HIGHLIGHT_MENU_SECTION), {}, {
53
53
  rank: TEXT_COLOR_HIGHLIGHT_MENU_SECTION_RANK[CLEAR_COLOR_MENU_ITEM.key]
54
54
  })],
@@ -59,5 +59,5 @@ export var getToolbarComponents = function getToolbarComponents(api) {
59
59
  parents: parents
60
60
  });
61
61
  }
62
- })] : []));
62
+ })];
63
63
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-color",
3
- "version": "7.2.2",
3
+ "version": "7.2.3",
4
4
  "description": "Text color plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  "@atlaskit/css": "^0.19.0",
35
35
  "@atlaskit/editor-palette": "^2.1.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^7.0.0",
37
- "@atlaskit/editor-plugin-highlight": "^7.2.0",
37
+ "@atlaskit/editor-plugin-highlight": "^7.3.0",
38
38
  "@atlaskit/editor-plugin-primary-toolbar": "^8.0.0",
39
39
  "@atlaskit/editor-plugin-selection-toolbar": "^8.0.0",
40
40
  "@atlaskit/editor-plugin-toolbar": "^4.0.0",
@@ -47,7 +47,7 @@
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
48
  "@atlaskit/primitives": "^17.1.0",
49
49
  "@atlaskit/theme": "^21.0.0",
50
- "@atlaskit/tmp-editor-statsig": "^16.23.0",
50
+ "@atlaskit/tmp-editor-statsig": "^16.25.0",
51
51
  "@atlaskit/tokens": "^10.0.0",
52
52
  "@babel/runtime": "^7.0.0",
53
53
  "@emotion/react": "^11.7.1"