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

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,19 @@
1
1
  # @atlaskit/editor-plugin-text-color
2
2
 
3
+ ## 7.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 7.2.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`20d29306fb10e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/20d29306fb10e) -
14
+ [ED-29451] clean up platform_editor_toolbar_aifc_patch_5
15
+ - Updated dependencies
16
+
3
17
  ## 7.2.0
4
18
 
5
19
  ### Minor Changes
@@ -42,7 +42,7 @@ var TextColorHighlightMenu = exports.TextColorHighlightMenu = function TextColor
42
42
  var isTextColorDisabled = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'textColor.disabled');
43
43
  var _useToolbarUI = (0, _editorToolbar.useToolbarUI)(),
44
44
  isToolbarDisabled = _useToolbarUI.isDisabled;
45
- var isDisabled = (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_5', 'isEnabled', true) ? Boolean(isToolbarDisabled || isTextColorDisabled) : isTextColorDisabled;
45
+ var isDisabled = Boolean(isToolbarDisabled || isTextColorDisabled);
46
46
  var highlightColor = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'highlight.activeColor');
47
47
  var textColor = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'textColor.color');
48
48
  var _useIntl = (0, _reactIntlNext.useIntl)(),
@@ -36,7 +36,7 @@ export const TextColorHighlightMenu = ({
36
36
  const {
37
37
  isDisabled: isToolbarDisabled
38
38
  } = useToolbarUI();
39
- const isDisabled = expValEquals('platform_editor_toolbar_aifc_patch_5', 'isEnabled', true) ? Boolean(isToolbarDisabled || isTextColorDisabled) : isTextColorDisabled;
39
+ const isDisabled = Boolean(isToolbarDisabled || isTextColorDisabled);
40
40
  const highlightColor = useSharedPluginStateSelector(api, 'highlight.activeColor');
41
41
  const textColor = useSharedPluginStateSelector(api, 'textColor.color');
42
42
  const {
@@ -34,7 +34,7 @@ export var TextColorHighlightMenu = function TextColorHighlightMenu(_ref) {
34
34
  var isTextColorDisabled = useSharedPluginStateSelector(api, 'textColor.disabled');
35
35
  var _useToolbarUI = useToolbarUI(),
36
36
  isToolbarDisabled = _useToolbarUI.isDisabled;
37
- var isDisabled = expValEquals('platform_editor_toolbar_aifc_patch_5', 'isEnabled', true) ? Boolean(isToolbarDisabled || isTextColorDisabled) : isTextColorDisabled;
37
+ var isDisabled = Boolean(isToolbarDisabled || isTextColorDisabled);
38
38
  var highlightColor = useSharedPluginStateSelector(api, 'highlight.activeColor');
39
39
  var textColor = useSharedPluginStateSelector(api, 'textColor.color');
40
40
  var _useIntl = useIntl(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-color",
3
- "version": "7.2.0",
3
+ "version": "7.2.2",
4
4
  "description": "Text color plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -41,19 +41,19 @@
41
41
  "@atlaskit/editor-prosemirror": "^7.2.0",
42
42
  "@atlaskit/editor-shared-styles": "^3.10.0",
43
43
  "@atlaskit/editor-toolbar": "^0.19.0",
44
- "@atlaskit/editor-toolbar-model": "^0.2.0",
44
+ "@atlaskit/editor-toolbar-model": "^0.3.0",
45
45
  "@atlaskit/heading": "^5.2.0",
46
46
  "@atlaskit/icon": "^29.4.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
- "@atlaskit/primitives": "^17.0.0",
48
+ "@atlaskit/primitives": "^17.1.0",
49
49
  "@atlaskit/theme": "^21.0.0",
50
- "@atlaskit/tmp-editor-statsig": "^16.11.0",
51
- "@atlaskit/tokens": "^9.1.0",
50
+ "@atlaskit/tmp-editor-statsig": "^16.23.0",
51
+ "@atlaskit/tokens": "^10.0.0",
52
52
  "@babel/runtime": "^7.0.0",
53
53
  "@emotion/react": "^11.7.1"
54
54
  },
55
55
  "peerDependencies": {
56
- "@atlaskit/editor-common": "^111.7.0",
56
+ "@atlaskit/editor-common": "^111.8.0",
57
57
  "react": "^18.2.0",
58
58
  "react-dom": "^18.2.0",
59
59
  "react-intl-next": "npm:react-intl@^5.18.1"