@atlaskit/editor-plugin-text-color 11.1.4 → 12.0.0

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,44 @@
1
1
  # @atlaskit/editor-plugin-text-color
2
2
 
3
+ ## 12.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
8
+ Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
9
+
10
+ Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
11
+
12
+ Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
13
+
14
+ ```diff
15
+ - "typesVersions": {
16
+ - ">=4.5 <4.9": {
17
+ - "*": [
18
+ - "dist/types-ts4.5/*",
19
+ - "dist/types-ts4.5/index.d.ts"
20
+ - ]
21
+ - }
22
+ - },
23
+ ```
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies
28
+
29
+ ## 11.2.0
30
+
31
+ ### Minor Changes
32
+
33
+ - [`b26d59f2d7dbf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b26d59f2d7dbf) -
34
+ [ux] [EDITOR-7589] combine text color highlight color behind experiment
35
+
36
+ ### Patch Changes
37
+
38
+ - [`3a59e88cfd890`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3a59e88cfd890) -
39
+ [ux] [EDITOR-7589] update icon colors for highlight color palette and toolbar icon
40
+ - Updated dependencies
41
+
3
42
  ## 11.1.4
4
43
 
5
44
  ### Patch Changes
@@ -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 _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
8
9
  var _main = require("../pm-plugins/main");
9
10
  var _constants = require("../pm-plugins/utils/constants");
10
11
  var _disabled = require("../pm-plugins/utils/disabled");
@@ -19,14 +20,16 @@ var toggleColor = exports.toggleColor = function toggleColor(color) {
19
20
  });
20
21
  return tr;
21
22
  }
22
- _constants.overrideMarks.forEach(function (mark) {
23
- var marks = tr.doc.type.schema.marks;
24
- if (marks[mark]) {
25
- (0, _mark.removeMark)(marks[mark])({
26
- tr: tr
27
- });
28
- }
29
- });
23
+ if (!(0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true)) {
24
+ _constants.overrideMarks.forEach(function (mark) {
25
+ var marks = tr.doc.type.schema.marks;
26
+ if (marks[mark]) {
27
+ (0, _mark.removeMark)(marks[mark])({
28
+ tr: tr
29
+ });
30
+ }
31
+ });
32
+ }
30
33
  (0, _mark.toggleMark)(textColor, {
31
34
  color: color
32
35
  })({
@@ -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 _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
8
9
  var _main = require("../main");
9
10
  var _constants = require("../utils/constants");
10
11
  var _disabled = require("../utils/disabled");
@@ -22,14 +23,16 @@ var toggleColor = exports.toggleColor = function toggleColor(color) {
22
23
  return false;
23
24
  }
24
25
  if (dispatch) {
25
- _constants.overrideMarks.forEach(function (mark) {
26
- var marks = tr.doc.type.schema.marks;
27
- if (marks[mark]) {
28
- (0, _mark.removeMark)(marks[mark])({
29
- tr: tr
30
- });
31
- }
32
- });
26
+ if (!(0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true)) {
27
+ _constants.overrideMarks.forEach(function (mark) {
28
+ var marks = tr.doc.type.schema.marks;
29
+ if (marks[mark]) {
30
+ (0, _mark.removeMark)(marks[mark])({
31
+ tr: tr
32
+ });
33
+ }
34
+ });
35
+ }
33
36
  (0, _mark.toggleMark)(textColor, {
34
37
  color: color
35
38
  })({
@@ -10,6 +10,7 @@ var _reactIntl = require("react-intl");
10
10
  var _hooks = require("@atlaskit/editor-common/hooks");
11
11
  var _keymaps = require("@atlaskit/editor-common/keymaps");
12
12
  var _messages = require("@atlaskit/editor-common/messages");
13
+ var _uiColor = require("@atlaskit/editor-common/ui-color");
13
14
  var _useSharedPluginStateSelector = require("@atlaskit/editor-common/use-shared-plugin-state-selector");
14
15
  var _editorPalette = require("@atlaskit/editor-palette");
15
16
  var _editorToolbar = require("@atlaskit/editor-toolbar");
@@ -17,6 +18,12 @@ var _platformFeatureFlagsReact = require("@atlaskit/platform-feature-flags-react
17
18
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
18
19
  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); }
19
20
  var getIconColor = function getIconColor(textColor, defaultColor, highlightColor) {
21
+ if ((0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true)) {
22
+ if (!textColor || textColor === defaultColor && defaultColor) {
23
+ return "var(--ds-text, #292A2E)";
24
+ }
25
+ return (0, _editorPalette.hexToEditorTextPaletteColor)(textColor) || "var(--ds-text, #292A2E)";
26
+ }
20
27
  if (highlightColor || !textColor || textColor === defaultColor && defaultColor) {
21
28
  return "var(--ds-text, #292A2E)";
22
29
  }
@@ -111,6 +118,35 @@ var TextColorHighlightMenu = exports.TextColorHighlightMenu = function TextColor
111
118
  };
112
119
  }, [setIsPaletteOpen, isPaletteOpen]);
113
120
  var iconColor = getIconColor(textColor, defaultColor, highlightColor);
121
+ if ((0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true)) {
122
+ return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownMenuProvider, {
123
+ isOpen: isPaletteOpen,
124
+ setIsOpen: setIsPaletteOpen
125
+ }, /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownMenu, {
126
+ iconBefore: /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarColorSwatch, {
127
+ highlightColor: getHighlightColorIcon(highlightColor)
128
+ }, /*#__PURE__*/_react.default.createElement(_editorToolbar.TextColorIcon, {
129
+ label: formatMessage(_messages.textColorMessages.textColorTooltip),
130
+ iconColor: iconColor,
131
+ shouldRecommendSmallIcon: true,
132
+ size: 'small',
133
+ isDisabled: isDisabled,
134
+ spacing: 'compact'
135
+ })),
136
+ isDisabled: isDisabled,
137
+ testId: "text-color-highlight-menu",
138
+ hasSectionMargin: false,
139
+ tooltipComponent: /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarTooltip, {
140
+ content: /*#__PURE__*/_react.default.createElement(_keymaps.ToolTipContent, {
141
+ description: formatMessage(isHighlightPluginExisted ? _messages.textColorMessages.textColorHighlightTooltip : _messages.textColorMessages.textColorTooltip),
142
+ keymap: _keymaps.toggleHighlightPalette
143
+ })
144
+ })
145
+ }, /*#__PURE__*/_react.default.createElement(_uiColor.SelectedTextColorProvider, {
146
+ textColor: textColor,
147
+ defaultColor: defaultColor
148
+ }, children)));
149
+ }
114
150
  return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownMenuProvider, {
115
151
  isOpen: isPaletteOpen,
116
152
  setIsOpen: setIsPaletteOpen
@@ -1,4 +1,5 @@
1
1
  import { removeMark, toggleMark } from '@atlaskit/editor-common/mark';
2
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
2
3
  import { ACTIONS, pluginKey } from '../pm-plugins/main';
3
4
  import { overrideMarks } from '../pm-plugins/utils/constants';
4
5
  import { getDisabledStateNew } from '../pm-plugins/utils/disabled';
@@ -15,16 +16,18 @@ export const toggleColor = color => ({
15
16
  });
16
17
  return tr;
17
18
  }
18
- overrideMarks.forEach(mark => {
19
- const {
20
- marks
21
- } = tr.doc.type.schema;
22
- if (marks[mark]) {
23
- removeMark(marks[mark])({
24
- tr
25
- });
26
- }
27
- });
19
+ if (!expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true)) {
20
+ overrideMarks.forEach(mark => {
21
+ const {
22
+ marks
23
+ } = tr.doc.type.schema;
24
+ if (marks[mark]) {
25
+ removeMark(marks[mark])({
26
+ tr
27
+ });
28
+ }
29
+ });
30
+ }
28
31
  toggleMark(textColor, {
29
32
  color
30
33
  })({
@@ -1,4 +1,5 @@
1
1
  import { removeMark, toggleMark } from '@atlaskit/editor-common/mark';
2
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
2
3
  import { ACTIONS, pluginKey } from '../main';
3
4
  import { overrideMarks } from '../utils/constants';
4
5
  import { getDisabledState } from '../utils/disabled';
@@ -17,16 +18,18 @@ export const toggleColor = color => (state, dispatch) => {
17
18
  return false;
18
19
  }
19
20
  if (dispatch) {
20
- overrideMarks.forEach(mark => {
21
- const {
22
- marks
23
- } = tr.doc.type.schema;
24
- if (marks[mark]) {
25
- removeMark(marks[mark])({
26
- tr
27
- });
28
- }
29
- });
21
+ if (!expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true)) {
22
+ overrideMarks.forEach(mark => {
23
+ const {
24
+ marks
25
+ } = tr.doc.type.schema;
26
+ if (marks[mark]) {
27
+ removeMark(marks[mark])({
28
+ tr
29
+ });
30
+ }
31
+ });
32
+ }
30
33
  toggleMark(textColor, {
31
34
  color
32
35
  })({
@@ -3,12 +3,19 @@ import { useIntl } from 'react-intl';
3
3
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
4
4
  import { toggleHighlightPalette, ToolTipContent } from '@atlaskit/editor-common/keymaps';
5
5
  import { textColorMessages as messages } from '@atlaskit/editor-common/messages';
6
+ import { SelectedTextColorProvider } from '@atlaskit/editor-common/ui-color';
6
7
  import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
7
8
  import { hexToEditorTextPaletteColor, hexToEditorTextBackgroundPaletteColor } from '@atlaskit/editor-palette';
8
9
  import { TextColorIcon, ToolbarColorSwatch, ToolbarDropdownMenu, ToolbarDropdownMenuProvider, ToolbarTooltip, useToolbarUI } from '@atlaskit/editor-toolbar';
9
10
  import { conditionalHooksFactory } from '@atlaskit/platform-feature-flags-react';
10
11
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
11
12
  const getIconColor = (textColor, defaultColor, highlightColor) => {
13
+ if (expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true)) {
14
+ if (!textColor || textColor === defaultColor && defaultColor) {
15
+ return "var(--ds-text, #292A2E)";
16
+ }
17
+ return hexToEditorTextPaletteColor(textColor) || "var(--ds-text, #292A2E)";
18
+ }
12
19
  if (highlightColor || !textColor || textColor === defaultColor && defaultColor) {
13
20
  return "var(--ds-text, #292A2E)";
14
21
  }
@@ -106,6 +113,35 @@ export const TextColorHighlightMenu = ({
106
113
  };
107
114
  }, [setIsPaletteOpen, isPaletteOpen]);
108
115
  const iconColor = getIconColor(textColor, defaultColor, highlightColor);
116
+ if (expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true)) {
117
+ return /*#__PURE__*/React.createElement(ToolbarDropdownMenuProvider, {
118
+ isOpen: isPaletteOpen,
119
+ setIsOpen: setIsPaletteOpen
120
+ }, /*#__PURE__*/React.createElement(ToolbarDropdownMenu, {
121
+ iconBefore: /*#__PURE__*/React.createElement(ToolbarColorSwatch, {
122
+ highlightColor: getHighlightColorIcon(highlightColor)
123
+ }, /*#__PURE__*/React.createElement(TextColorIcon, {
124
+ label: formatMessage(messages.textColorTooltip),
125
+ iconColor: iconColor,
126
+ shouldRecommendSmallIcon: true,
127
+ size: 'small',
128
+ isDisabled: isDisabled,
129
+ spacing: 'compact'
130
+ })),
131
+ isDisabled: isDisabled,
132
+ testId: "text-color-highlight-menu",
133
+ hasSectionMargin: false,
134
+ tooltipComponent: /*#__PURE__*/React.createElement(ToolbarTooltip, {
135
+ content: /*#__PURE__*/React.createElement(ToolTipContent, {
136
+ description: formatMessage(isHighlightPluginExisted ? messages.textColorHighlightTooltip : messages.textColorTooltip),
137
+ keymap: toggleHighlightPalette
138
+ })
139
+ })
140
+ }, /*#__PURE__*/React.createElement(SelectedTextColorProvider, {
141
+ textColor: textColor,
142
+ defaultColor: defaultColor
143
+ }, children)));
144
+ }
109
145
  return /*#__PURE__*/React.createElement(ToolbarDropdownMenuProvider, {
110
146
  isOpen: isPaletteOpen,
111
147
  setIsOpen: setIsPaletteOpen
@@ -1,4 +1,5 @@
1
1
  import { removeMark, toggleMark } from '@atlaskit/editor-common/mark';
2
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
2
3
  import { ACTIONS, pluginKey } from '../pm-plugins/main';
3
4
  import { overrideMarks } from '../pm-plugins/utils/constants';
4
5
  import { getDisabledStateNew } from '../pm-plugins/utils/disabled';
@@ -13,14 +14,16 @@ export var toggleColor = function toggleColor(color) {
13
14
  });
14
15
  return tr;
15
16
  }
16
- overrideMarks.forEach(function (mark) {
17
- var marks = tr.doc.type.schema.marks;
18
- if (marks[mark]) {
19
- removeMark(marks[mark])({
20
- tr: tr
21
- });
22
- }
23
- });
17
+ if (!expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true)) {
18
+ overrideMarks.forEach(function (mark) {
19
+ var marks = tr.doc.type.schema.marks;
20
+ if (marks[mark]) {
21
+ removeMark(marks[mark])({
22
+ tr: tr
23
+ });
24
+ }
25
+ });
26
+ }
24
27
  toggleMark(textColor, {
25
28
  color: color
26
29
  })({
@@ -1,4 +1,5 @@
1
1
  import { removeMark, toggleMark } from '@atlaskit/editor-common/mark';
2
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
2
3
  import { ACTIONS, pluginKey } from '../main';
3
4
  import { overrideMarks } from '../utils/constants';
4
5
  import { getDisabledState } from '../utils/disabled';
@@ -16,14 +17,16 @@ export var toggleColor = function toggleColor(color) {
16
17
  return false;
17
18
  }
18
19
  if (dispatch) {
19
- overrideMarks.forEach(function (mark) {
20
- var marks = tr.doc.type.schema.marks;
21
- if (marks[mark]) {
22
- removeMark(marks[mark])({
23
- tr: tr
24
- });
25
- }
26
- });
20
+ if (!expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true)) {
21
+ overrideMarks.forEach(function (mark) {
22
+ var marks = tr.doc.type.schema.marks;
23
+ if (marks[mark]) {
24
+ removeMark(marks[mark])({
25
+ tr: tr
26
+ });
27
+ }
28
+ });
29
+ }
27
30
  toggleMark(textColor, {
28
31
  color: color
29
32
  })({
@@ -3,12 +3,19 @@ import { useIntl } from 'react-intl';
3
3
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
4
4
  import { toggleHighlightPalette, ToolTipContent } from '@atlaskit/editor-common/keymaps';
5
5
  import { textColorMessages as messages } from '@atlaskit/editor-common/messages';
6
+ import { SelectedTextColorProvider } from '@atlaskit/editor-common/ui-color';
6
7
  import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
7
8
  import { hexToEditorTextPaletteColor, hexToEditorTextBackgroundPaletteColor } from '@atlaskit/editor-palette';
8
9
  import { TextColorIcon, ToolbarColorSwatch, ToolbarDropdownMenu, ToolbarDropdownMenuProvider, ToolbarTooltip, useToolbarUI } from '@atlaskit/editor-toolbar';
9
10
  import { conditionalHooksFactory } from '@atlaskit/platform-feature-flags-react';
10
11
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
11
12
  var getIconColor = function getIconColor(textColor, defaultColor, highlightColor) {
13
+ if (expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true)) {
14
+ if (!textColor || textColor === defaultColor && defaultColor) {
15
+ return "var(--ds-text, #292A2E)";
16
+ }
17
+ return hexToEditorTextPaletteColor(textColor) || "var(--ds-text, #292A2E)";
18
+ }
12
19
  if (highlightColor || !textColor || textColor === defaultColor && defaultColor) {
13
20
  return "var(--ds-text, #292A2E)";
14
21
  }
@@ -103,6 +110,35 @@ export var TextColorHighlightMenu = function TextColorHighlightMenu(_ref) {
103
110
  };
104
111
  }, [setIsPaletteOpen, isPaletteOpen]);
105
112
  var iconColor = getIconColor(textColor, defaultColor, highlightColor);
113
+ if (expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true)) {
114
+ return /*#__PURE__*/React.createElement(ToolbarDropdownMenuProvider, {
115
+ isOpen: isPaletteOpen,
116
+ setIsOpen: setIsPaletteOpen
117
+ }, /*#__PURE__*/React.createElement(ToolbarDropdownMenu, {
118
+ iconBefore: /*#__PURE__*/React.createElement(ToolbarColorSwatch, {
119
+ highlightColor: getHighlightColorIcon(highlightColor)
120
+ }, /*#__PURE__*/React.createElement(TextColorIcon, {
121
+ label: formatMessage(messages.textColorTooltip),
122
+ iconColor: iconColor,
123
+ shouldRecommendSmallIcon: true,
124
+ size: 'small',
125
+ isDisabled: isDisabled,
126
+ spacing: 'compact'
127
+ })),
128
+ isDisabled: isDisabled,
129
+ testId: "text-color-highlight-menu",
130
+ hasSectionMargin: false,
131
+ tooltipComponent: /*#__PURE__*/React.createElement(ToolbarTooltip, {
132
+ content: /*#__PURE__*/React.createElement(ToolTipContent, {
133
+ description: formatMessage(isHighlightPluginExisted ? messages.textColorHighlightTooltip : messages.textColorTooltip),
134
+ keymap: toggleHighlightPalette
135
+ })
136
+ })
137
+ }, /*#__PURE__*/React.createElement(SelectedTextColorProvider, {
138
+ textColor: textColor,
139
+ defaultColor: defaultColor
140
+ }, children)));
141
+ }
106
142
  return /*#__PURE__*/React.createElement(ToolbarDropdownMenuProvider, {
107
143
  isOpen: isPaletteOpen,
108
144
  setIsOpen: setIsPaletteOpen
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-color",
3
- "version": "11.1.4",
3
+ "version": "12.0.0",
4
4
  "description": "Text color plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -16,46 +16,38 @@
16
16
  "module": "dist/esm/index.js",
17
17
  "module:es2019": "dist/es2019/index.js",
18
18
  "types": "dist/types/index.d.ts",
19
- "typesVersions": {
20
- ">=4.5 <4.9": {
21
- "*": [
22
- "dist/types-ts4.5/*",
23
- "dist/types-ts4.5/index.d.ts"
24
- ]
25
- }
26
- },
27
19
  "sideEffects": [
28
20
  "*.compiled.css"
29
21
  ],
30
22
  "atlaskit:src": "src/index.ts",
31
23
  "dependencies": {
32
- "@atlaskit/adf-schema": "^54.0.0",
33
- "@atlaskit/button": "^23.11.0",
34
- "@atlaskit/css": "^0.19.0",
35
- "@atlaskit/editor-palette": "^2.2.0",
36
- "@atlaskit/editor-plugin-analytics": "^11.0.0",
37
- "@atlaskit/editor-plugin-highlight": "^11.0.0",
38
- "@atlaskit/editor-plugin-interaction": "^20.0.0",
39
- "@atlaskit/editor-plugin-primary-toolbar": "^12.0.0",
40
- "@atlaskit/editor-plugin-selection-toolbar": "^12.0.0",
41
- "@atlaskit/editor-plugin-toolbar": "^8.0.0",
42
- "@atlaskit/editor-prosemirror": "^7.3.0",
43
- "@atlaskit/editor-shared-styles": "^3.11.0",
44
- "@atlaskit/editor-toolbar": "^1.10.0",
45
- "@atlaskit/editor-toolbar-model": "^0.5.0",
46
- "@atlaskit/heading": "^5.4.0",
47
- "@atlaskit/icon": "^35.4.0",
48
- "@atlaskit/icon-lab": "^6.14.0",
49
- "@atlaskit/platform-feature-flags": "^1.1.0",
50
- "@atlaskit/platform-feature-flags-react": "^0.5.0",
51
- "@atlaskit/primitives": "^19.0.0",
52
- "@atlaskit/tmp-editor-statsig": "^103.0.0",
53
- "@atlaskit/tokens": "^13.4.0",
24
+ "@atlaskit/adf-schema": "^55.0.0",
25
+ "@atlaskit/button": "^24.0.0",
26
+ "@atlaskit/css": "^1.0.0",
27
+ "@atlaskit/editor-palette": "^3.0.0",
28
+ "@atlaskit/editor-plugin-analytics": "^12.0.0",
29
+ "@atlaskit/editor-plugin-highlight": "^12.0.0",
30
+ "@atlaskit/editor-plugin-interaction": "^21.0.0",
31
+ "@atlaskit/editor-plugin-primary-toolbar": "^13.0.0",
32
+ "@atlaskit/editor-plugin-selection-toolbar": "^13.0.0",
33
+ "@atlaskit/editor-plugin-toolbar": "^9.0.0",
34
+ "@atlaskit/editor-prosemirror": "^8.0.0",
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.0.0",
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": "^104.0.0",
45
+ "@atlaskit/tokens": "^14.0.0",
54
46
  "@babel/runtime": "^7.0.0",
55
47
  "@emotion/react": "^11.7.1"
56
48
  },
57
49
  "peerDependencies": {
58
- "@atlaskit/editor-common": "^115.15.0",
50
+ "@atlaskit/editor-common": "^116.0.0",
59
51
  "react": "^18.2.0",
60
52
  "react-dom": "^18.2.0",
61
53
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"