@atlaskit/editor-plugin-tasks-and-decisions 9.1.24 → 9.1.26

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,19 @@
1
1
  # @atlaskit/editor-plugin-tasks-and-decisions
2
2
 
3
+ ## 9.1.26
4
+
5
+ ### Patch Changes
6
+
7
+ - [`b5d004bf834f8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b5d004bf834f8) -
8
+ [ux] Adds block menu action to check if 'Turn into' item should be rendered or not.
9
+ - Updated dependencies
10
+
11
+ ## 9.1.25
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 9.1.24
4
18
 
5
19
  ### Patch Changes
@@ -1,30 +1,22 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- var _typeof = require("@babel/runtime/helpers/typeof");
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.DecisionListBlockMenuItem = void 0;
9
- var _react = _interopRequireWildcard(require("react"));
8
+ var _react = _interopRequireDefault(require("react"));
10
9
  var _reactIntlNext = require("react-intl-next");
11
10
  var _analytics = require("@atlaskit/editor-common/analytics");
12
- var _hooks = require("@atlaskit/editor-common/hooks");
13
11
  var _messages = require("@atlaskit/editor-common/messages");
14
12
  var _editorToolbar = require("@atlaskit/editor-toolbar");
15
13
  var _decision = _interopRequireDefault(require("@atlaskit/icon/core/decision"));
16
- 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); }
14
+ var nodeName = 'decisionList';
17
15
  var DecisionListBlockMenuItem = exports.DecisionListBlockMenuItem = function DecisionListBlockMenuItem(_ref) {
16
+ var _api$blockMenu2;
18
17
  var api = _ref.api;
19
18
  var _useIntl = (0, _reactIntlNext.useIntl)(),
20
19
  formatMessage = _useIntl.formatMessage;
21
- var selection = (0, _hooks.useSharedPluginStateWithSelector)(api, ['selection'], function (states) {
22
- var _states$selectionStat;
23
- return (_states$selectionStat = states.selectionState) === null || _states$selectionStat === void 0 ? void 0 : _states$selectionStat.selection;
24
- });
25
- var isSelected = (0, _react.useMemo)(function () {
26
- return selection && selection.$from.parent.type.name === 'decisionItem';
27
- }, [selection]);
28
20
  var onClick = function onClick(event) {
29
21
  var triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? _analytics.INPUT_METHOD.KEYBOARD : _analytics.INPUT_METHOD.MOUSE;
30
22
  var inputMethod = _analytics.INPUT_METHOD.BLOCK_MENU;
@@ -34,15 +26,18 @@ var DecisionListBlockMenuItem = exports.DecisionListBlockMenuItem = function Dec
34
26
  var command = api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.decisionList, {
35
27
  inputMethod: inputMethod,
36
28
  triggeredFrom: triggeredFrom,
37
- targetTypeName: 'decisionList'
29
+ targetTypeName: nodeName
38
30
  });
39
31
  return command ? command({
40
32
  tr: tr
41
33
  }) : null;
42
34
  });
43
35
  };
36
+ var isTransfromToPanelDisabled = api === null || api === void 0 || (_api$blockMenu2 = api.blockMenu) === null || _api$blockMenu2 === void 0 ? void 0 : _api$blockMenu2.actions.isTransformOptionDisabled(nodeName);
37
+ if (isTransfromToPanelDisabled) {
38
+ return null;
39
+ }
44
40
  return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItem, {
45
- isSelected: isSelected,
46
41
  onClick: onClick,
47
42
  elemBefore: /*#__PURE__*/_react.default.createElement(_decision.default, {
48
43
  label: ""
@@ -1,30 +1,22 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- var _typeof = require("@babel/runtime/helpers/typeof");
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.TaskListBlockMenuItem = void 0;
9
- var _react = _interopRequireWildcard(require("react"));
8
+ var _react = _interopRequireDefault(require("react"));
10
9
  var _reactIntlNext = require("react-intl-next");
11
10
  var _analytics = require("@atlaskit/editor-common/analytics");
12
- var _hooks = require("@atlaskit/editor-common/hooks");
13
11
  var _messages = require("@atlaskit/editor-common/messages");
14
12
  var _editorToolbar = require("@atlaskit/editor-toolbar");
15
13
  var _task = _interopRequireDefault(require("@atlaskit/icon/core/task"));
16
- 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); }
14
+ var nodeName = 'taskList';
17
15
  var TaskListBlockMenuItem = exports.TaskListBlockMenuItem = function TaskListBlockMenuItem(_ref) {
16
+ var _api$blockMenu2;
18
17
  var api = _ref.api;
19
18
  var _useIntl = (0, _reactIntlNext.useIntl)(),
20
19
  formatMessage = _useIntl.formatMessage;
21
- var selection = (0, _hooks.useSharedPluginStateWithSelector)(api, ['selection'], function (states) {
22
- var _states$selectionStat;
23
- return (_states$selectionStat = states.selectionState) === null || _states$selectionStat === void 0 ? void 0 : _states$selectionStat.selection;
24
- });
25
- var isSelected = (0, _react.useMemo)(function () {
26
- return selection && selection.$from.parent.type.name === 'taskItem';
27
- }, [selection]);
28
20
  var onClick = function onClick(event) {
29
21
  var triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? _analytics.INPUT_METHOD.KEYBOARD : _analytics.INPUT_METHOD.MOUSE;
30
22
  var inputMethod = _analytics.INPUT_METHOD.BLOCK_MENU;
@@ -34,15 +26,18 @@ var TaskListBlockMenuItem = exports.TaskListBlockMenuItem = function TaskListBlo
34
26
  var command = api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.taskList, {
35
27
  inputMethod: inputMethod,
36
28
  triggeredFrom: triggeredFrom,
37
- targetTypeName: 'taskList'
29
+ targetTypeName: nodeName
38
30
  });
39
31
  return command ? command({
40
32
  tr: tr
41
33
  }) : null;
42
34
  });
43
35
  };
36
+ var isTransfromToPanelDisabled = api === null || api === void 0 || (_api$blockMenu2 = api.blockMenu) === null || _api$blockMenu2 === void 0 ? void 0 : _api$blockMenu2.actions.isTransformOptionDisabled(nodeName);
37
+ if (isTransfromToPanelDisabled) {
38
+ return null;
39
+ }
44
40
  return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItem, {
45
- isSelected: isSelected,
46
41
  onClick: onClick,
47
42
  elemBefore: /*#__PURE__*/_react.default.createElement(_task.default, {
48
43
  label: ""
@@ -1,23 +1,17 @@
1
- import React, { useMemo } from 'react';
1
+ import React from 'react';
2
2
  import { useIntl } from 'react-intl-next';
3
3
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
- import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
5
4
  import { blockMenuMessages } from '@atlaskit/editor-common/messages';
6
5
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
7
6
  import DecisionIcon from '@atlaskit/icon/core/decision';
7
+ const nodeName = 'decisionList';
8
8
  export const DecisionListBlockMenuItem = ({
9
9
  api
10
10
  }) => {
11
+ var _api$blockMenu2;
11
12
  const {
12
13
  formatMessage
13
14
  } = useIntl();
14
- const selection = useSharedPluginStateWithSelector(api, ['selection'], states => {
15
- var _states$selectionStat;
16
- return (_states$selectionStat = states.selectionState) === null || _states$selectionStat === void 0 ? void 0 : _states$selectionStat.selection;
17
- });
18
- const isSelected = useMemo(() => {
19
- return selection && selection.$from.parent.type.name === 'decisionItem';
20
- }, [selection]);
21
15
  const onClick = event => {
22
16
  const triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? INPUT_METHOD.KEYBOARD : INPUT_METHOD.MOUSE;
23
17
  const inputMethod = INPUT_METHOD.BLOCK_MENU;
@@ -28,15 +22,18 @@ export const DecisionListBlockMenuItem = ({
28
22
  const command = api === null || api === void 0 ? void 0 : (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.decisionList, {
29
23
  inputMethod,
30
24
  triggeredFrom,
31
- targetTypeName: 'decisionList'
25
+ targetTypeName: nodeName
32
26
  });
33
27
  return command ? command({
34
28
  tr
35
29
  }) : null;
36
30
  });
37
31
  };
32
+ const isTransfromToPanelDisabled = api === null || api === void 0 ? void 0 : (_api$blockMenu2 = api.blockMenu) === null || _api$blockMenu2 === void 0 ? void 0 : _api$blockMenu2.actions.isTransformOptionDisabled(nodeName);
33
+ if (isTransfromToPanelDisabled) {
34
+ return null;
35
+ }
38
36
  return /*#__PURE__*/React.createElement(ToolbarDropdownItem, {
39
- isSelected: isSelected,
40
37
  onClick: onClick,
41
38
  elemBefore: /*#__PURE__*/React.createElement(DecisionIcon, {
42
39
  label: ""
@@ -1,23 +1,17 @@
1
- import React, { useMemo } from 'react';
1
+ import React from 'react';
2
2
  import { useIntl } from 'react-intl-next';
3
3
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
- import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
5
4
  import { tasksAndDecisionsMessages } from '@atlaskit/editor-common/messages';
6
5
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
7
6
  import TaskIcon from '@atlaskit/icon/core/task';
7
+ const nodeName = 'taskList';
8
8
  export const TaskListBlockMenuItem = ({
9
9
  api
10
10
  }) => {
11
+ var _api$blockMenu2;
11
12
  const {
12
13
  formatMessage
13
14
  } = useIntl();
14
- const selection = useSharedPluginStateWithSelector(api, ['selection'], states => {
15
- var _states$selectionStat;
16
- return (_states$selectionStat = states.selectionState) === null || _states$selectionStat === void 0 ? void 0 : _states$selectionStat.selection;
17
- });
18
- const isSelected = useMemo(() => {
19
- return selection && selection.$from.parent.type.name === 'taskItem';
20
- }, [selection]);
21
15
  const onClick = event => {
22
16
  const triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? INPUT_METHOD.KEYBOARD : INPUT_METHOD.MOUSE;
23
17
  const inputMethod = INPUT_METHOD.BLOCK_MENU;
@@ -28,15 +22,18 @@ export const TaskListBlockMenuItem = ({
28
22
  const command = api === null || api === void 0 ? void 0 : (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.taskList, {
29
23
  inputMethod,
30
24
  triggeredFrom,
31
- targetTypeName: 'taskList'
25
+ targetTypeName: nodeName
32
26
  });
33
27
  return command ? command({
34
28
  tr
35
29
  }) : null;
36
30
  });
37
31
  };
32
+ const isTransfromToPanelDisabled = api === null || api === void 0 ? void 0 : (_api$blockMenu2 = api.blockMenu) === null || _api$blockMenu2 === void 0 ? void 0 : _api$blockMenu2.actions.isTransformOptionDisabled(nodeName);
33
+ if (isTransfromToPanelDisabled) {
34
+ return null;
35
+ }
38
36
  return /*#__PURE__*/React.createElement(ToolbarDropdownItem, {
39
- isSelected: isSelected,
40
37
  onClick: onClick,
41
38
  elemBefore: /*#__PURE__*/React.createElement(TaskIcon, {
42
39
  label: ""
@@ -1,21 +1,15 @@
1
- import React, { useMemo } from 'react';
1
+ import React from 'react';
2
2
  import { useIntl } from 'react-intl-next';
3
3
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
- import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
5
4
  import { blockMenuMessages } from '@atlaskit/editor-common/messages';
6
5
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
7
6
  import DecisionIcon from '@atlaskit/icon/core/decision';
7
+ var nodeName = 'decisionList';
8
8
  export var DecisionListBlockMenuItem = function DecisionListBlockMenuItem(_ref) {
9
+ var _api$blockMenu2;
9
10
  var api = _ref.api;
10
11
  var _useIntl = useIntl(),
11
12
  formatMessage = _useIntl.formatMessage;
12
- var selection = useSharedPluginStateWithSelector(api, ['selection'], function (states) {
13
- var _states$selectionStat;
14
- return (_states$selectionStat = states.selectionState) === null || _states$selectionStat === void 0 ? void 0 : _states$selectionStat.selection;
15
- });
16
- var isSelected = useMemo(function () {
17
- return selection && selection.$from.parent.type.name === 'decisionItem';
18
- }, [selection]);
19
13
  var onClick = function onClick(event) {
20
14
  var triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? INPUT_METHOD.KEYBOARD : INPUT_METHOD.MOUSE;
21
15
  var inputMethod = INPUT_METHOD.BLOCK_MENU;
@@ -25,15 +19,18 @@ export var DecisionListBlockMenuItem = function DecisionListBlockMenuItem(_ref)
25
19
  var command = api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.decisionList, {
26
20
  inputMethod: inputMethod,
27
21
  triggeredFrom: triggeredFrom,
28
- targetTypeName: 'decisionList'
22
+ targetTypeName: nodeName
29
23
  });
30
24
  return command ? command({
31
25
  tr: tr
32
26
  }) : null;
33
27
  });
34
28
  };
29
+ var isTransfromToPanelDisabled = api === null || api === void 0 || (_api$blockMenu2 = api.blockMenu) === null || _api$blockMenu2 === void 0 ? void 0 : _api$blockMenu2.actions.isTransformOptionDisabled(nodeName);
30
+ if (isTransfromToPanelDisabled) {
31
+ return null;
32
+ }
35
33
  return /*#__PURE__*/React.createElement(ToolbarDropdownItem, {
36
- isSelected: isSelected,
37
34
  onClick: onClick,
38
35
  elemBefore: /*#__PURE__*/React.createElement(DecisionIcon, {
39
36
  label: ""
@@ -1,21 +1,15 @@
1
- import React, { useMemo } from 'react';
1
+ import React from 'react';
2
2
  import { useIntl } from 'react-intl-next';
3
3
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
- import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
5
4
  import { tasksAndDecisionsMessages } from '@atlaskit/editor-common/messages';
6
5
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
7
6
  import TaskIcon from '@atlaskit/icon/core/task';
7
+ var nodeName = 'taskList';
8
8
  export var TaskListBlockMenuItem = function TaskListBlockMenuItem(_ref) {
9
+ var _api$blockMenu2;
9
10
  var api = _ref.api;
10
11
  var _useIntl = useIntl(),
11
12
  formatMessage = _useIntl.formatMessage;
12
- var selection = useSharedPluginStateWithSelector(api, ['selection'], function (states) {
13
- var _states$selectionStat;
14
- return (_states$selectionStat = states.selectionState) === null || _states$selectionStat === void 0 ? void 0 : _states$selectionStat.selection;
15
- });
16
- var isSelected = useMemo(function () {
17
- return selection && selection.$from.parent.type.name === 'taskItem';
18
- }, [selection]);
19
13
  var onClick = function onClick(event) {
20
14
  var triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? INPUT_METHOD.KEYBOARD : INPUT_METHOD.MOUSE;
21
15
  var inputMethod = INPUT_METHOD.BLOCK_MENU;
@@ -25,15 +19,18 @@ export var TaskListBlockMenuItem = function TaskListBlockMenuItem(_ref) {
25
19
  var command = api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.taskList, {
26
20
  inputMethod: inputMethod,
27
21
  triggeredFrom: triggeredFrom,
28
- targetTypeName: 'taskList'
22
+ targetTypeName: nodeName
29
23
  });
30
24
  return command ? command({
31
25
  tr: tr
32
26
  }) : null;
33
27
  });
34
28
  };
29
+ var isTransfromToPanelDisabled = api === null || api === void 0 || (_api$blockMenu2 = api.blockMenu) === null || _api$blockMenu2 === void 0 ? void 0 : _api$blockMenu2.actions.isTransformOptionDisabled(nodeName);
30
+ if (isTransfromToPanelDisabled) {
31
+ return null;
32
+ }
35
33
  return /*#__PURE__*/React.createElement(ToolbarDropdownItem, {
36
- isSelected: isSelected,
37
34
  onClick: onClick,
38
35
  elemBefore: /*#__PURE__*/React.createElement(TaskIcon, {
39
36
  label: ""
@@ -3,4 +3,4 @@ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
4
4
  export declare const DecisionListBlockMenuItem: ({ api, }: {
5
5
  api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined;
6
- }) => React.JSX.Element;
6
+ }) => React.JSX.Element | null;
@@ -3,4 +3,4 @@ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
4
4
  export declare const TaskListBlockMenuItem: ({ api, }: {
5
5
  api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined;
6
- }) => React.JSX.Element;
6
+ }) => React.JSX.Element | null;
@@ -3,4 +3,4 @@ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
4
4
  export declare const DecisionListBlockMenuItem: ({ api, }: {
5
5
  api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined;
6
- }) => React.JSX.Element;
6
+ }) => React.JSX.Element | null;
@@ -3,4 +3,4 @@ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
4
4
  export declare const TaskListBlockMenuItem: ({ api, }: {
5
5
  api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined;
6
- }) => React.JSX.Element;
6
+ }) => React.JSX.Element | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-tasks-and-decisions",
3
- "version": "9.1.24",
3
+ "version": "9.1.26",
4
4
  "description": "Tasks and decisions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,14 +31,14 @@
31
31
  "dependencies": {
32
32
  "@atlaskit/adf-schema": "^51.5.0",
33
33
  "@atlaskit/analytics-namespaced-context": "^7.2.0",
34
- "@atlaskit/css": "^0.18.0",
34
+ "@atlaskit/css": "^0.19.0",
35
35
  "@atlaskit/editor-plugin-analytics": "^6.2.0",
36
36
  "@atlaskit/editor-plugin-block-menu": "^5.2.0",
37
37
  "@atlaskit/editor-plugin-context-identifier": "^6.0.0",
38
38
  "@atlaskit/editor-plugin-editor-viewmode": "^8.0.0",
39
39
  "@atlaskit/editor-plugin-selection": "^6.1.0",
40
- "@atlaskit/editor-plugin-toolbar": "^3.4.0",
41
- "@atlaskit/editor-plugin-type-ahead": "^6.5.0",
40
+ "@atlaskit/editor-plugin-toolbar": "^3.5.0",
41
+ "@atlaskit/editor-plugin-type-ahead": "^6.6.0",
42
42
  "@atlaskit/editor-prosemirror": "^7.2.0",
43
43
  "@atlaskit/editor-shared-styles": "^3.10.0",
44
44
  "@atlaskit/editor-toolbar": "^0.18.0",
@@ -46,17 +46,17 @@
46
46
  "@atlaskit/heading": "^5.2.0",
47
47
  "@atlaskit/icon": "^29.3.0",
48
48
  "@atlaskit/platform-feature-flags": "^1.1.0",
49
- "@atlaskit/primitives": "^16.4.0",
49
+ "@atlaskit/primitives": "^17.0.0",
50
50
  "@atlaskit/prosemirror-input-rules": "^3.6.0",
51
51
  "@atlaskit/task-decision": "^19.2.0",
52
- "@atlaskit/tmp-editor-statsig": "^16.0.0",
53
- "@atlaskit/tokens": "^8.6.0",
52
+ "@atlaskit/tmp-editor-statsig": "^16.1.0",
53
+ "@atlaskit/tokens": "^9.0.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@compiled/react": "^0.18.6",
56
56
  "bind-event-listener": "^3.0.0"
57
57
  },
58
58
  "peerDependencies": {
59
- "@atlaskit/editor-common": "^110.46.0",
59
+ "@atlaskit/editor-common": "^110.48.0",
60
60
  "react": "^18.2.0",
61
61
  "react-dom": "^18.2.0",
62
62
  "react-intl-next": "npm:react-intl@^5.18.1"