@atlaskit/editor-plugin-text-color 12.3.3 → 12.3.5

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,22 @@
1
1
  # @atlaskit/editor-plugin-text-color
2
2
 
3
+ ## 12.3.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`283c55290e6cc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/283c55290e6cc) -
8
+ Preserve visual selection after applying text color or highlight
9
+ - Updated dependencies
10
+
11
+ ## 12.3.4
12
+
13
+ ### Patch Changes
14
+
15
+ - [`262d8099a9e63`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/262d8099a9e63) -
16
+ [ux] [EDITOR-7851] address minor UI fixes for platform_editor_lovability_text_bg_color experiment
17
+ behind platform_editor_lovability_text_bg_color_patch_1
18
+ - Updated dependencies
19
+
3
20
  ## 12.3.3
4
21
 
5
22
  ### Patch Changes
@@ -5,9 +5,17 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.changeColor = void 0;
7
7
  var _analytics = require("@atlaskit/editor-common/analytics");
8
+ var _selection = require("@atlaskit/editor-common/selection");
9
+ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
8
10
  var _color = require("../pm-plugins/utils/color");
9
11
  var _removeColor = require("./remove-color");
10
12
  var _toggleColor = require("./toggle-color");
13
+ var maybeSyncSelectionAfterFormat = function maybeSyncSelectionAfterFormat(tr) {
14
+ if (tr.docChanged && (0, _expValEquals.expValEquals)('platform_editor_fix_selection_text_color_change', 'isEnabled', true)) {
15
+ tr.setMeta(_selection.FORMAT_SELECTION_SYNC_META, true);
16
+ }
17
+ };
18
+
11
19
  /**
12
20
  * Helper to create an analytics payload
13
21
  * @param newColor - Color to be change in hex code
@@ -58,12 +66,14 @@ var changeColor = exports.changeColor = function changeColor(color, api, inputMe
58
66
  (0, _removeColor.removeColor)({
59
67
  tr: tr
60
68
  });
69
+ maybeSyncSelectionAfterFormat(tr);
61
70
  return tr;
62
71
  }
63
72
  api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 || _api$analytics2.actions.attachAnalyticsEvent(colorAnalyticsPayload)(tr);
64
73
  (0, _toggleColor.toggleColor)(color)({
65
74
  tr: tr
66
75
  });
76
+ maybeSyncSelectionAfterFormat(tr);
67
77
  return tr;
68
78
  };
69
79
  };
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.removeColor = void 0;
7
7
  var _mark = require("@atlaskit/editor-common/mark");
8
+ var _selection = require("@atlaskit/editor-common/selection");
9
+ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
8
10
  var _main = require("../main");
9
11
  var removeColor = exports.removeColor = function removeColor() {
10
12
  return function (state, dispatch) {
@@ -15,6 +17,9 @@ var removeColor = exports.removeColor = function removeColor() {
15
17
  tr: tr
16
18
  });
17
19
  if (dispatch) {
20
+ if (tr.docChanged && (0, _expValEquals.expValEquals)('platform_editor_fix_selection_text_color_change', 'isEnabled', true)) {
21
+ tr.setMeta(_selection.FORMAT_SELECTION_SYNC_META, true);
22
+ }
18
23
  dispatch(tr.setMeta(_main.pluginKey, {
19
24
  action: _main.ACTIONS.RESET_COLOR
20
25
  }));
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.toggleColor = void 0;
7
7
  var _mark = require("@atlaskit/editor-common/mark");
8
+ var _selection = require("@atlaskit/editor-common/selection");
8
9
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
9
10
  var _main = require("../main");
10
11
  var _constants = require("../utils/constants");
@@ -38,6 +39,9 @@ var toggleColor = exports.toggleColor = function toggleColor(color) {
38
39
  })({
39
40
  tr: tr
40
41
  });
42
+ if (tr.docChanged && (0, _expValEquals.expValEquals)('platform_editor_fix_selection_text_color_change', 'isEnabled', true)) {
43
+ tr.setMeta(_selection.FORMAT_SELECTION_SYNC_META, true);
44
+ }
41
45
  dispatch(tr);
42
46
  }
43
47
  return true;
@@ -17,6 +17,7 @@ var _uiColor = require("@atlaskit/editor-common/ui-color");
17
17
  var _editorPalette = require("@atlaskit/editor-palette");
18
18
  var _accessibility = _interopRequireDefault(require("@atlaskit/icon/core/accessibility"));
19
19
  var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/core/question-circle"));
20
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
20
21
  var _compiled = require("@atlaskit/primitives/compiled");
21
22
  var _tokens = require("@atlaskit/tokens");
22
23
  var _colorContrast = require("../pm-plugins/utils/color-contrast");
@@ -121,7 +122,8 @@ var ColorAccessibilityMenuItem = exports.ColorAccessibilityMenuItem = function C
121
122
  space: "space.050"
122
123
  }, /*#__PURE__*/_react.default.createElement(_accessibility.default, {
123
124
  label: "",
124
- size: "medium"
125
+ size: "medium",
126
+ color: (0, _platformFeatureFlags.fg)('platform_editor_lovability_text_bg_color_patch_1') ? "var(--ds-icon-subtle, #505258)" : undefined
125
127
  }), /*#__PURE__*/_react.default.createElement(_compiled.Text, {
126
128
  as: "span",
127
129
  size: "small",
@@ -17,6 +17,7 @@ var _toolbar = require("@atlaskit/editor-common/toolbar");
17
17
  var _uiColor = require("@atlaskit/editor-common/ui-color");
18
18
  var _editorToolbar = require("@atlaskit/editor-toolbar");
19
19
  var _colourNone = _interopRequireDefault(require("@atlaskit/icon-lab/core/colour-none"));
20
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
20
21
  var _compiled = require("@atlaskit/primitives/compiled");
21
22
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
22
23
  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); }
@@ -59,6 +60,22 @@ var RemoveColorMenuItem = exports.RemoveColorMenuItem = function RemoveColorMenu
59
60
  }
60
61
  };
61
62
  if ((0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true)) {
63
+ if ((0, _platformFeatureFlags.fg)('platform_editor_lovability_text_bg_color_patch_1')) {
64
+ return /*#__PURE__*/React.createElement("div", {
65
+ className: (0, _runtime.ax)([styles.removeColorButton])
66
+ }, /*#__PURE__*/React.createElement(_new.default, {
67
+ shouldFitContainer: true,
68
+ appearance: "subtle",
69
+ onClick: onClick
70
+ }, /*#__PURE__*/React.createElement("span", {
71
+ className: (0, _runtime.ax)([styles.iconContainer])
72
+ }, /*#__PURE__*/React.createElement(_colourNone.default, {
73
+ size: "medium",
74
+ label: ""
75
+ }), /*#__PURE__*/React.createElement(_compiled.Text, {
76
+ color: "color.text.subtle"
77
+ }, formatMessage(_messages.highlightMessages.clearColors)))));
78
+ }
62
79
  return /*#__PURE__*/React.createElement("div", {
63
80
  className: (0, _runtime.ax)([styles.removeColorButton])
64
81
  }, /*#__PURE__*/React.createElement(_new.default, {
@@ -1,7 +1,14 @@
1
1
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
2
+ import { FORMAT_SELECTION_SYNC_META } from '@atlaskit/editor-common/selection';
3
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
2
4
  import { getActiveColorNew } from '../pm-plugins/utils/color';
3
5
  import { removeColor } from './remove-color';
4
6
  import { toggleColor } from './toggle-color';
7
+ const maybeSyncSelectionAfterFormat = tr => {
8
+ if (tr.docChanged && expValEquals('platform_editor_fix_selection_text_color_change', 'isEnabled', true)) {
9
+ tr.setMeta(FORMAT_SELECTION_SYNC_META, true);
10
+ }
11
+ };
5
12
 
6
13
  /**
7
14
  * Helper to create an analytics payload
@@ -53,11 +60,13 @@ export const changeColor = (color, api, inputMethod) => ({
53
60
  removeColor({
54
61
  tr
55
62
  });
63
+ maybeSyncSelectionAfterFormat(tr);
56
64
  return tr;
57
65
  }
58
66
  api === null || api === void 0 ? void 0 : (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions.attachAnalyticsEvent(colorAnalyticsPayload)(tr);
59
67
  toggleColor(color)({
60
68
  tr
61
69
  });
70
+ maybeSyncSelectionAfterFormat(tr);
62
71
  return tr;
63
72
  };
@@ -1,4 +1,6 @@
1
1
  import { removeMark } from '@atlaskit/editor-common/mark';
2
+ import { FORMAT_SELECTION_SYNC_META } from '@atlaskit/editor-common/selection';
3
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
2
4
  import { ACTIONS, pluginKey } from '../main';
3
5
  export const removeColor = () => (state, dispatch) => {
4
6
  const {
@@ -12,6 +14,9 @@ export const removeColor = () => (state, dispatch) => {
12
14
  tr
13
15
  });
14
16
  if (dispatch) {
17
+ if (tr.docChanged && expValEquals('platform_editor_fix_selection_text_color_change', 'isEnabled', true)) {
18
+ tr.setMeta(FORMAT_SELECTION_SYNC_META, true);
19
+ }
15
20
  dispatch(tr.setMeta(pluginKey, {
16
21
  action: ACTIONS.RESET_COLOR
17
22
  }));
@@ -1,4 +1,5 @@
1
1
  import { removeMark, toggleMark } from '@atlaskit/editor-common/mark';
2
+ import { FORMAT_SELECTION_SYNC_META } from '@atlaskit/editor-common/selection';
2
3
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
3
4
  import { ACTIONS, pluginKey } from '../main';
4
5
  import { overrideMarks } from '../utils/constants';
@@ -35,6 +36,9 @@ export const toggleColor = color => (state, dispatch) => {
35
36
  })({
36
37
  tr
37
38
  });
39
+ if (tr.docChanged && expValEquals('platform_editor_fix_selection_text_color_change', 'isEnabled', true)) {
40
+ tr.setMeta(FORMAT_SELECTION_SYNC_META, true);
41
+ }
38
42
  dispatch(tr);
39
43
  }
40
44
  return true;
@@ -10,6 +10,7 @@ import { getTokenCSSVariableValue } from '@atlaskit/editor-common/ui-color';
10
10
  import { hexToEditorTextBackgroundPaletteColor, hexToEditorTextPaletteColor } from '@atlaskit/editor-palette';
11
11
  import AccessibilityIcon from '@atlaskit/icon/core/accessibility';
12
12
  import QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
13
+ import { fg } from '@atlaskit/platform-feature-flags';
13
14
  import { Box, Inline, Text } from '@atlaskit/primitives/compiled';
14
15
  import { getTokenValue } from '@atlaskit/tokens';
15
16
  import { getContrastRatio as calcContrastRatio } from '../pm-plugins/utils/color-contrast';
@@ -118,7 +119,8 @@ export const ColorAccessibilityMenuItem = ({
118
119
  space: "space.050"
119
120
  }, /*#__PURE__*/React.createElement(AccessibilityIcon, {
120
121
  label: "",
121
- size: "medium"
122
+ size: "medium",
123
+ color: fg('platform_editor_lovability_text_bg_color_patch_1') ? "var(--ds-icon-subtle, #505258)" : undefined
122
124
  }), /*#__PURE__*/React.createElement(Text, {
123
125
  as: "span",
124
126
  size: "small",
@@ -9,6 +9,7 @@ import { getInputMethodFromParentKeys } from '@atlaskit/editor-common/toolbar';
9
9
  import { REMOVE_HIGHLIGHT_COLOR } from '@atlaskit/editor-common/ui-color';
10
10
  import { useToolbarDropdownMenu } from '@atlaskit/editor-toolbar';
11
11
  import ColourNoneIcon from '@atlaskit/icon-lab/core/colour-none';
12
+ import { fg } from '@atlaskit/platform-feature-flags';
12
13
  import { Text } from '@atlaskit/primitives/compiled';
13
14
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
14
15
  const styles = {
@@ -53,6 +54,22 @@ export const RemoveColorMenuItem = ({
53
54
  }
54
55
  };
55
56
  if (expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true)) {
57
+ if (fg('platform_editor_lovability_text_bg_color_patch_1')) {
58
+ return /*#__PURE__*/React.createElement("div", {
59
+ className: ax([styles.removeColorButton])
60
+ }, /*#__PURE__*/React.createElement(Button, {
61
+ shouldFitContainer: true,
62
+ appearance: "subtle",
63
+ onClick: onClick
64
+ }, /*#__PURE__*/React.createElement("span", {
65
+ className: ax([styles.iconContainer])
66
+ }, /*#__PURE__*/React.createElement(ColourNoneIcon, {
67
+ size: "medium",
68
+ label: ""
69
+ }), /*#__PURE__*/React.createElement(Text, {
70
+ color: "color.text.subtle"
71
+ }, formatMessage(messages.clearColors)))));
72
+ }
56
73
  return /*#__PURE__*/React.createElement("div", {
57
74
  className: ax([styles.removeColorButton])
58
75
  }, /*#__PURE__*/React.createElement(Button, {
@@ -1,7 +1,14 @@
1
1
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
2
+ import { FORMAT_SELECTION_SYNC_META } from '@atlaskit/editor-common/selection';
3
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
2
4
  import { getActiveColorNew } from '../pm-plugins/utils/color';
3
5
  import { removeColor } from './remove-color';
4
6
  import { toggleColor } from './toggle-color';
7
+ var maybeSyncSelectionAfterFormat = function maybeSyncSelectionAfterFormat(tr) {
8
+ if (tr.docChanged && expValEquals('platform_editor_fix_selection_text_color_change', 'isEnabled', true)) {
9
+ tr.setMeta(FORMAT_SELECTION_SYNC_META, true);
10
+ }
11
+ };
5
12
 
6
13
  /**
7
14
  * Helper to create an analytics payload
@@ -53,12 +60,14 @@ export var changeColor = function changeColor(color, api, inputMethod) {
53
60
  removeColor({
54
61
  tr: tr
55
62
  });
63
+ maybeSyncSelectionAfterFormat(tr);
56
64
  return tr;
57
65
  }
58
66
  api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 || _api$analytics2.actions.attachAnalyticsEvent(colorAnalyticsPayload)(tr);
59
67
  toggleColor(color)({
60
68
  tr: tr
61
69
  });
70
+ maybeSyncSelectionAfterFormat(tr);
62
71
  return tr;
63
72
  };
64
73
  };
@@ -1,4 +1,6 @@
1
1
  import { removeMark } from '@atlaskit/editor-common/mark';
2
+ import { FORMAT_SELECTION_SYNC_META } from '@atlaskit/editor-common/selection';
3
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
2
4
  import { ACTIONS, pluginKey } from '../main';
3
5
  export var removeColor = function removeColor() {
4
6
  return function (state, dispatch) {
@@ -9,6 +11,9 @@ export var removeColor = function removeColor() {
9
11
  tr: tr
10
12
  });
11
13
  if (dispatch) {
14
+ if (tr.docChanged && expValEquals('platform_editor_fix_selection_text_color_change', 'isEnabled', true)) {
15
+ tr.setMeta(FORMAT_SELECTION_SYNC_META, true);
16
+ }
12
17
  dispatch(tr.setMeta(pluginKey, {
13
18
  action: ACTIONS.RESET_COLOR
14
19
  }));
@@ -1,4 +1,5 @@
1
1
  import { removeMark, toggleMark } from '@atlaskit/editor-common/mark';
2
+ import { FORMAT_SELECTION_SYNC_META } from '@atlaskit/editor-common/selection';
2
3
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
3
4
  import { ACTIONS, pluginKey } from '../main';
4
5
  import { overrideMarks } from '../utils/constants';
@@ -32,6 +33,9 @@ export var toggleColor = function toggleColor(color) {
32
33
  })({
33
34
  tr: tr
34
35
  });
36
+ if (tr.docChanged && expValEquals('platform_editor_fix_selection_text_color_change', 'isEnabled', true)) {
37
+ tr.setMeta(FORMAT_SELECTION_SYNC_META, true);
38
+ }
35
39
  dispatch(tr);
36
40
  }
37
41
  return true;
@@ -10,6 +10,7 @@ import { getTokenCSSVariableValue } from '@atlaskit/editor-common/ui-color';
10
10
  import { hexToEditorTextBackgroundPaletteColor, hexToEditorTextPaletteColor } from '@atlaskit/editor-palette';
11
11
  import AccessibilityIcon from '@atlaskit/icon/core/accessibility';
12
12
  import QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
13
+ import { fg } from '@atlaskit/platform-feature-flags';
13
14
  import { Box, Inline, Text } from '@atlaskit/primitives/compiled';
14
15
  import { getTokenValue } from '@atlaskit/tokens';
15
16
  import { getContrastRatio as calcContrastRatio } from '../pm-plugins/utils/color-contrast';
@@ -114,7 +115,8 @@ export var ColorAccessibilityMenuItem = function ColorAccessibilityMenuItem(_ref
114
115
  space: "space.050"
115
116
  }, /*#__PURE__*/React.createElement(AccessibilityIcon, {
116
117
  label: "",
117
- size: "medium"
118
+ size: "medium",
119
+ color: fg('platform_editor_lovability_text_bg_color_patch_1') ? "var(--ds-icon-subtle, #505258)" : undefined
118
120
  }), /*#__PURE__*/React.createElement(Text, {
119
121
  as: "span",
120
122
  size: "small",
@@ -9,6 +9,7 @@ import { getInputMethodFromParentKeys } from '@atlaskit/editor-common/toolbar';
9
9
  import { REMOVE_HIGHLIGHT_COLOR } from '@atlaskit/editor-common/ui-color';
10
10
  import { useToolbarDropdownMenu } from '@atlaskit/editor-toolbar';
11
11
  import ColourNoneIcon from '@atlaskit/icon-lab/core/colour-none';
12
+ import { fg } from '@atlaskit/platform-feature-flags';
12
13
  import { Text } from '@atlaskit/primitives/compiled';
13
14
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
14
15
  var styles = {
@@ -50,6 +51,22 @@ export var RemoveColorMenuItem = function RemoveColorMenuItem(_ref) {
50
51
  }
51
52
  };
52
53
  if (expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true)) {
54
+ if (fg('platform_editor_lovability_text_bg_color_patch_1')) {
55
+ return /*#__PURE__*/React.createElement("div", {
56
+ className: ax([styles.removeColorButton])
57
+ }, /*#__PURE__*/React.createElement(Button, {
58
+ shouldFitContainer: true,
59
+ appearance: "subtle",
60
+ onClick: onClick
61
+ }, /*#__PURE__*/React.createElement("span", {
62
+ className: ax([styles.iconContainer])
63
+ }, /*#__PURE__*/React.createElement(ColourNoneIcon, {
64
+ size: "medium",
65
+ label: ""
66
+ }), /*#__PURE__*/React.createElement(Text, {
67
+ color: "color.text.subtle"
68
+ }, formatMessage(messages.clearColors)))));
69
+ }
53
70
  return /*#__PURE__*/React.createElement("div", {
54
71
  className: ax([styles.removeColorButton])
55
72
  }, /*#__PURE__*/React.createElement(Button, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-color",
3
- "version": "12.3.3",
3
+ "version": "12.3.5",
4
4
  "description": "Text color plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -22,7 +22,7 @@
22
22
  "atlaskit:src": "src/index.ts",
23
23
  "dependencies": {
24
24
  "@atlaskit/adf-schema": "^56.0.0",
25
- "@atlaskit/button": "^24.1.0",
25
+ "@atlaskit/button": "^24.3.0",
26
26
  "@atlaskit/css": "^1.0.0",
27
27
  "@atlaskit/editor-palette": "^3.1.0",
28
28
  "@atlaskit/editor-plugin-analytics": "^12.0.0",
@@ -33,21 +33,21 @@
33
33
  "@atlaskit/editor-plugin-toolbar": "^9.0.0",
34
34
  "@atlaskit/editor-prosemirror": "^8.0.0",
35
35
  "@atlaskit/editor-shared-styles": "^4.0.0",
36
- "@atlaskit/editor-toolbar": "^2.0.0",
37
- "@atlaskit/editor-toolbar-model": "^1.0.0",
38
- "@atlaskit/heading": "^6.0.0",
39
- "@atlaskit/icon": "^36.0.0",
40
- "@atlaskit/icon-lab": "^7.1.0",
36
+ "@atlaskit/editor-toolbar": "^2.1.0",
37
+ "@atlaskit/editor-toolbar-model": "^1.1.0",
38
+ "@atlaskit/heading": "^6.1.0",
39
+ "@atlaskit/icon": "^36.1.0",
40
+ "@atlaskit/icon-lab": "^7.2.0",
41
41
  "@atlaskit/platform-feature-flags": "^2.0.0",
42
- "@atlaskit/platform-feature-flags-react": "^1.0.0",
43
- "@atlaskit/primitives": "^20.0.0",
44
- "@atlaskit/tmp-editor-statsig": "^114.0.0",
45
- "@atlaskit/tokens": "^15.0.0",
42
+ "@atlaskit/platform-feature-flags-react": "^1.1.0",
43
+ "@atlaskit/primitives": "^20.2.0",
44
+ "@atlaskit/tmp-editor-statsig": "^114.6.0",
45
+ "@atlaskit/tokens": "^15.2.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@emotion/react": "^11.7.1"
48
48
  },
49
49
  "peerDependencies": {
50
- "@atlaskit/editor-common": "^116.13.0",
50
+ "@atlaskit/editor-common": "^116.17.0",
51
51
  "react": "^18.2.0",
52
52
  "react-dom": "^18.2.0",
53
53
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
@@ -99,6 +99,9 @@
99
99
  "platform-feature-flags": {
100
100
  "platform_editor_use_preferences_plugin": {
101
101
  "type": "boolean"
102
+ },
103
+ "platform_editor_lovability_text_bg_color_patch_1": {
104
+ "type": "boolean"
102
105
  }
103
106
  }
104
107
  }