@atlaskit/editor-plugin-text-color 6.3.7 → 6.3.9

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
+ ## 6.3.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 6.3.8
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 6.3.7
4
16
 
5
17
  ### Patch Changes
@@ -2,5 +2,5 @@
2
2
  ._2rko12b0{border-radius:var(--ds-radius-small,4px)}._189ee4h9{border-width:var(--ds-border-width,1px)}
3
3
  ._195gv77o{margin-inline:var(--ds-space-025,2px)}
4
4
  ._1dqonqa1{border-style:solid}
5
- ._1h6dmuej{border-color:var(--ds-border,#091e4224)}
5
+ ._1h6d1l7x{border-color:var(--ds-border,#0b120e24)}
6
6
  ._19pk12x7{margin-top:var(--ds-space-075,6px)}
@@ -19,7 +19,7 @@ var _editorToolbar = require("@atlaskit/editor-toolbar");
19
19
  var _compiled = require("@atlaskit/primitives/compiled");
20
20
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
21
21
  var styles = {
22
- removeColorButton: "_2rko12b0 _195gv77o _189ee4h9 _1dqonqa1 _1h6dmuej _19pk12x7"
22
+ removeColorButton: "_2rko12b0 _195gv77o _189ee4h9 _1dqonqa1 _1h6d1l7x _19pk12x7"
23
23
  };
24
24
  var RemoveColorMenuItem = exports.RemoveColorMenuItem = function RemoveColorMenuItem(_ref) {
25
25
  var api = _ref.api,
@@ -24,9 +24,9 @@ var styles = {
24
24
  };
25
25
  var getIconColor = function getIconColor(textColor, defaultColor, highlightColor) {
26
26
  if (highlightColor || !textColor || textColor === defaultColor && defaultColor) {
27
- return "var(--ds-text, #172B4D)";
27
+ return "var(--ds-text, #292A2E)";
28
28
  }
29
- return (0, _editorPalette.hexToEditorTextPaletteColor)(textColor) || "var(--ds-text, #172B4D)";
29
+ return (0, _editorPalette.hexToEditorTextPaletteColor)(textColor) || "var(--ds-text, #292A2E)";
30
30
  };
31
31
  var TextColorHighlightMenu = exports.TextColorHighlightMenu = function TextColorHighlightMenu(_ref) {
32
32
  var _api$textColor2;
@@ -2,5 +2,5 @@
2
2
  ._2rko12b0{border-radius:var(--ds-radius-small,4px)}._189ee4h9{border-width:var(--ds-border-width,1px)}
3
3
  ._195gv77o{margin-inline:var(--ds-space-025,2px)}
4
4
  ._1dqonqa1{border-style:solid}
5
- ._1h6dmuej{border-color:var(--ds-border,#091e4224)}
5
+ ._1h6d1l7x{border-color:var(--ds-border,#0b120e24)}
6
6
  ._19pk12x7{margin-top:var(--ds-space-075,6px)}
@@ -10,7 +10,7 @@ import { REMOVE_HIGHLIGHT_COLOR } from '@atlaskit/editor-common/ui-color';
10
10
  import { useToolbarDropdownMenu } from '@atlaskit/editor-toolbar';
11
11
  import { Text } from '@atlaskit/primitives/compiled';
12
12
  const styles = {
13
- removeColorButton: "_2rko12b0 _195gv77o _189ee4h9 _1dqonqa1 _1h6dmuej _19pk12x7"
13
+ removeColorButton: "_2rko12b0 _195gv77o _189ee4h9 _1dqonqa1 _1h6d1l7x _19pk12x7"
14
14
  };
15
15
  export const RemoveColorMenuItem = ({
16
16
  api,
@@ -16,9 +16,9 @@ const styles = {
16
16
  };
17
17
  const getIconColor = (textColor, defaultColor, highlightColor) => {
18
18
  if (highlightColor || !textColor || textColor === defaultColor && defaultColor) {
19
- return "var(--ds-text, #172B4D)";
19
+ return "var(--ds-text, #292A2E)";
20
20
  }
21
- return hexToEditorTextPaletteColor(textColor) || "var(--ds-text, #172B4D)";
21
+ return hexToEditorTextPaletteColor(textColor) || "var(--ds-text, #292A2E)";
22
22
  };
23
23
  export const TextColorHighlightMenu = ({
24
24
  children,
@@ -2,5 +2,5 @@
2
2
  ._2rko12b0{border-radius:var(--ds-radius-small,4px)}._189ee4h9{border-width:var(--ds-border-width,1px)}
3
3
  ._195gv77o{margin-inline:var(--ds-space-025,2px)}
4
4
  ._1dqonqa1{border-style:solid}
5
- ._1h6dmuej{border-color:var(--ds-border,#091e4224)}
5
+ ._1h6d1l7x{border-color:var(--ds-border,#0b120e24)}
6
6
  ._19pk12x7{margin-top:var(--ds-space-075,6px)}
@@ -10,7 +10,7 @@ import { REMOVE_HIGHLIGHT_COLOR } from '@atlaskit/editor-common/ui-color';
10
10
  import { useToolbarDropdownMenu } from '@atlaskit/editor-toolbar';
11
11
  import { Text } from '@atlaskit/primitives/compiled';
12
12
  var styles = {
13
- removeColorButton: "_2rko12b0 _195gv77o _189ee4h9 _1dqonqa1 _1h6dmuej _19pk12x7"
13
+ removeColorButton: "_2rko12b0 _195gv77o _189ee4h9 _1dqonqa1 _1h6d1l7x _19pk12x7"
14
14
  };
15
15
  export var RemoveColorMenuItem = function RemoveColorMenuItem(_ref) {
16
16
  var api = _ref.api,
@@ -16,9 +16,9 @@ var styles = {
16
16
  };
17
17
  var getIconColor = function getIconColor(textColor, defaultColor, highlightColor) {
18
18
  if (highlightColor || !textColor || textColor === defaultColor && defaultColor) {
19
- return "var(--ds-text, #172B4D)";
19
+ return "var(--ds-text, #292A2E)";
20
20
  }
21
- return hexToEditorTextPaletteColor(textColor) || "var(--ds-text, #172B4D)";
21
+ return hexToEditorTextPaletteColor(textColor) || "var(--ds-text, #292A2E)";
22
22
  };
23
23
  export var TextColorHighlightMenu = function TextColorHighlightMenu(_ref) {
24
24
  var _api$textColor2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-color",
3
- "version": "6.3.7",
3
+ "version": "6.3.9",
4
4
  "description": "Text color plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -30,7 +30,7 @@
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
32
  "@atlaskit/adf-schema": "^51.3.2",
33
- "@atlaskit/button": "^23.5.0",
33
+ "@atlaskit/button": "^23.6.0",
34
34
  "@atlaskit/css": "^0.15.0",
35
35
  "@atlaskit/editor-palette": "^2.1.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^6.2.0",
@@ -39,22 +39,22 @@
39
39
  "@atlaskit/editor-plugin-selection-toolbar": "^7.1.0",
40
40
  "@atlaskit/editor-plugin-toolbar": "^3.4.0",
41
41
  "@atlaskit/editor-prosemirror": "7.0.0",
42
- "@atlaskit/editor-shared-styles": "^3.8.0",
42
+ "@atlaskit/editor-shared-styles": "^3.9.0",
43
43
  "@atlaskit/editor-tables": "^2.9.0",
44
44
  "@atlaskit/editor-toolbar": "^0.17.0",
45
45
  "@atlaskit/editor-toolbar-model": "^0.2.0",
46
46
  "@atlaskit/heading": "^5.2.0",
47
- "@atlaskit/icon": "^28.5.0",
47
+ "@atlaskit/icon": "^29.0.0",
48
48
  "@atlaskit/platform-feature-flags": "^1.1.0",
49
49
  "@atlaskit/primitives": "^16.1.0",
50
50
  "@atlaskit/theme": "^21.0.0",
51
- "@atlaskit/tmp-editor-statsig": "^13.22.0",
52
- "@atlaskit/tokens": "^7.0.0",
51
+ "@atlaskit/tmp-editor-statsig": "^13.35.0",
52
+ "@atlaskit/tokens": "^8.0.0",
53
53
  "@babel/runtime": "^7.0.0",
54
54
  "@emotion/react": "^11.7.1"
55
55
  },
56
56
  "peerDependencies": {
57
- "@atlaskit/editor-common": "^110.19.0",
57
+ "@atlaskit/editor-common": "^110.27.0",
58
58
  "react": "^18.2.0",
59
59
  "react-dom": "^18.2.0",
60
60
  "react-intl-next": "npm:react-intl@^5.18.1"