@atlaskit/editor-plugin-text-color 2.1.2 → 2.1.4

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-text-color
2
2
 
3
+ ## 2.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 2.1.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 2.1.2
4
16
 
5
17
  ### Patch Changes
@@ -7,7 +7,7 @@ exports.overrideMarks = exports.DEFAULT_COLOR = void 0;
7
7
  var _colors = require("@atlaskit/theme/colors");
8
8
  var overrideMarks = exports.overrideMarks = ['backgroundColor'];
9
9
  var DEFAULT_COLOR = exports.DEFAULT_COLOR = {
10
- // TODO: https://product-fabric.atlassian.net/browse/DSP-4137
10
+ // TODO: DSP-4137 - Remove usage of N800
11
11
  /* eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage */
12
12
  color: _colors.N800.toLowerCase(),
13
13
  label: 'Dark gray'
@@ -165,7 +165,7 @@ var ToolbarTextColor = exports.ToolbarTextColor = /*#__PURE__*/function (_React$
165
165
  fitWidth = 242;
166
166
  }
167
167
  var selectedColor = this.getSelectedColor(pluginState);
168
- // TODO: This doesn't work, the label isn't translated
168
+ // TODO: ED-26959 - This doesn't work, the label isn't translated
169
169
  var selectedColorPaletteItemLabel = (_palette$find = palette.find(function (paletteItem) {
170
170
  return paletteItem.value === pluginState.color;
171
171
  })) === null || _palette$find === void 0 ? void 0 : _palette$find.label;
@@ -1,7 +1,7 @@
1
1
  import { N800 } from '@atlaskit/theme/colors';
2
2
  export const overrideMarks = ['backgroundColor'];
3
3
  export const DEFAULT_COLOR = {
4
- // TODO: https://product-fabric.atlassian.net/browse/DSP-4137
4
+ // TODO: DSP-4137 - Remove usage of N800
5
5
  /* eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage */
6
6
  color: N800.toLowerCase(),
7
7
  label: 'Dark gray'
@@ -148,7 +148,7 @@ export class ToolbarTextColor extends React.Component {
148
148
  fitWidth = 242;
149
149
  }
150
150
  const selectedColor = this.getSelectedColor(pluginState);
151
- // TODO: This doesn't work, the label isn't translated
151
+ // TODO: ED-26959 - This doesn't work, the label isn't translated
152
152
  const selectedColorPaletteItemLabel = (_palette$find = palette.find(paletteItem => paletteItem.value === pluginState.color)) === null || _palette$find === void 0 ? void 0 : _palette$find.label;
153
153
  const selectedColorPaletteItemLabelText = selectedColorPaletteItemLabel || '';
154
154
  const labelTextColor = formatMessage(messages.textColor, {
@@ -1,7 +1,7 @@
1
1
  import { N800 } from '@atlaskit/theme/colors';
2
2
  export var overrideMarks = ['backgroundColor'];
3
3
  export var DEFAULT_COLOR = {
4
- // TODO: https://product-fabric.atlassian.net/browse/DSP-4137
4
+ // TODO: DSP-4137 - Remove usage of N800
5
5
  /* eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage */
6
6
  color: N800.toLowerCase(),
7
7
  label: 'Dark gray'
@@ -161,7 +161,7 @@ export var ToolbarTextColor = /*#__PURE__*/function (_React$Component) {
161
161
  fitWidth = 242;
162
162
  }
163
163
  var selectedColor = this.getSelectedColor(pluginState);
164
- // TODO: This doesn't work, the label isn't translated
164
+ // TODO: ED-26959 - This doesn't work, the label isn't translated
165
165
  var selectedColorPaletteItemLabel = (_palette$find = palette.find(function (paletteItem) {
166
166
  return paletteItem.value === pluginState.color;
167
167
  })) === null || _palette$find === void 0 ? void 0 : _palette$find.label;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-color",
3
- "version": "2.1.2",
3
+ "version": "2.1.4",
4
4
  "description": "Text color plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,19 +34,19 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/adf-schema": "^47.6.0",
37
- "@atlaskit/editor-common": "^101.1.0",
38
- "@atlaskit/editor-palette": "2.0.0",
37
+ "@atlaskit/editor-common": "^102.4.0",
38
+ "@atlaskit/editor-palette": "^2.0.0",
39
39
  "@atlaskit/editor-plugin-analytics": "^2.1.0",
40
40
  "@atlaskit/editor-plugin-primary-toolbar": "^3.0.0",
41
41
  "@atlaskit/editor-plugin-selection-toolbar": "^2.0.0",
42
42
  "@atlaskit/editor-prosemirror": "7.0.0",
43
43
  "@atlaskit/editor-shared-styles": "^3.4.0",
44
44
  "@atlaskit/editor-tables": "^2.9.0",
45
- "@atlaskit/icon": "^24.1.0",
45
+ "@atlaskit/icon": "^25.0.0",
46
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
47
  "@atlaskit/theme": "^18.0.0",
48
- "@atlaskit/tmp-editor-statsig": "^3.4.0",
49
- "@atlaskit/tokens": "^4.3.0",
48
+ "@atlaskit/tmp-editor-statsig": "^3.6.0",
49
+ "@atlaskit/tokens": "^4.4.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1"
52
52
  },
@@ -56,9 +56,9 @@
56
56
  "react-intl-next": "npm:react-intl@^5.18.1"
57
57
  },
58
58
  "devDependencies": {
59
- "@af/visual-regression": "*",
60
- "@atlaskit/ssr": "*",
61
- "@atlaskit/visual-regression": "*",
59
+ "@af/visual-regression": "^1.3.0",
60
+ "@atlaskit/ssr": "^0.4.0",
61
+ "@atlaskit/visual-regression": "^0.10.0",
62
62
  "@testing-library/react": "^13.4.0",
63
63
  "typescript": "~5.4.2",
64
64
  "wait-for-expect": "^1.2.0"