@atlaskit/editor-plugin-text-color 7.1.1 → 7.2.1

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,24 @@
1
1
  # @atlaskit/editor-plugin-text-color
2
2
 
3
+ ## 7.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`20d29306fb10e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/20d29306fb10e) -
8
+ [ED-29451] clean up platform_editor_toolbar_aifc_patch_5
9
+ - Updated dependencies
10
+
11
+ ## 7.2.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [`87b12e64ff750`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/87b12e64ff750) -
16
+ Removed usages of LEGACY icon props
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+
3
22
  ## 7.1.1
4
23
 
5
24
  ### Patch 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)(),
@@ -217,7 +217,6 @@ var ToolbarTextColor = exports.ToolbarTextColor = /*#__PURE__*/function (_React$
217
217
  }, (0, _react2.jsx)(_chevronDown.default, {
218
218
  label: "",
219
219
  color: "currentColor",
220
- LEGACY_margin: "0 0 0 -8px",
221
220
  size: "small"
222
221
  })))
223
222
  })
@@ -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 {
@@ -197,7 +197,6 @@ export class ToolbarTextColor extends React.Component {
197
197
  }, jsx(ChevronDownIcon, {
198
198
  label: "",
199
199
  color: "currentColor",
200
- LEGACY_margin: "0 0 0 -8px",
201
200
  size: "small"
202
201
  })))
203
202
  })
@@ -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(),
@@ -213,7 +213,6 @@ export var ToolbarTextColor = /*#__PURE__*/function (_React$Component) {
213
213
  }, jsx(ChevronDownIcon, {
214
214
  label: "",
215
215
  color: "currentColor",
216
- LEGACY_margin: "0 0 0 -8px",
217
216
  size: "small"
218
217
  })))
219
218
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-color",
3
- "version": "7.1.1",
3
+ "version": "7.2.1",
4
4
  "description": "Text color plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,26 +34,26 @@
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.1.0",
37
+ "@atlaskit/editor-plugin-highlight": "^7.2.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",
41
41
  "@atlaskit/editor-prosemirror": "^7.2.0",
42
42
  "@atlaskit/editor-shared-styles": "^3.10.0",
43
- "@atlaskit/editor-toolbar": "^0.18.0",
43
+ "@atlaskit/editor-toolbar": "^0.19.0",
44
44
  "@atlaskit/editor-toolbar-model": "^0.2.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
48
  "@atlaskit/primitives": "^17.0.0",
49
49
  "@atlaskit/theme": "^21.0.0",
50
- "@atlaskit/tmp-editor-statsig": "^16.8.0",
50
+ "@atlaskit/tmp-editor-statsig": "^16.19.0",
51
51
  "@atlaskit/tokens": "^9.1.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.6.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"