@atlaskit/editor-plugin-tasks-and-decisions 2.12.16 → 2.12.17

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.
Files changed (72) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/cjs/index.js +2 -2
  3. package/dist/cjs/pm-plugins/commands.js +1 -1
  4. package/dist/cjs/pm-plugins/input-rules.js +4 -4
  5. package/dist/cjs/{commands.js → pm-plugins/insert-commands.js} +2 -2
  6. package/dist/cjs/pm-plugins/keymaps.js +8 -8
  7. package/dist/cjs/{plugin.js → tasksAndDecisionsPlugin.js} +8 -8
  8. package/dist/cjs/types/index.js +5 -0
  9. package/dist/cjs/ui/ToolbarDecision/index.js +2 -2
  10. package/dist/cjs/ui/ToolbarTask/index.js +2 -2
  11. package/dist/es2019/index.js +1 -1
  12. package/dist/es2019/pm-plugins/commands.js +1 -1
  13. package/dist/es2019/pm-plugins/input-rules.js +1 -1
  14. package/dist/es2019/{commands.js → pm-plugins/insert-commands.js} +2 -2
  15. package/dist/es2019/pm-plugins/keymaps.js +2 -2
  16. package/dist/es2019/{plugin.js → tasksAndDecisionsPlugin.js} +2 -2
  17. package/dist/es2019/ui/ToolbarDecision/index.js +1 -1
  18. package/dist/es2019/ui/ToolbarTask/index.js +1 -1
  19. package/dist/esm/index.js +1 -1
  20. package/dist/esm/pm-plugins/commands.js +1 -1
  21. package/dist/esm/pm-plugins/input-rules.js +1 -1
  22. package/dist/esm/{commands.js → pm-plugins/insert-commands.js} +2 -2
  23. package/dist/esm/pm-plugins/keymaps.js +2 -2
  24. package/dist/esm/{plugin.js → tasksAndDecisionsPlugin.js} +2 -2
  25. package/dist/esm/tasksAndDecisionsPluginType.js +1 -0
  26. package/dist/esm/types/index.js +1 -0
  27. package/dist/esm/ui/ToolbarDecision/index.js +1 -1
  28. package/dist/esm/ui/ToolbarTask/index.js +1 -1
  29. package/dist/types/index.d.ts +3 -2
  30. package/dist/types/nodeviews/decision-lazy-node-view.d.ts +1 -1
  31. package/dist/types/nodeviews/decisionItem.d.ts +1 -1
  32. package/dist/types/nodeviews/hooks/use-show-placeholder.d.ts +1 -1
  33. package/dist/types/nodeviews/task-lazy-node-view.d.ts +1 -1
  34. package/dist/types/nodeviews/taskItem.d.ts +1 -1
  35. package/dist/{types-ts4.5/commands.d.ts → types/pm-plugins/insert-commands.d.ts} +1 -1
  36. package/dist/types/pm-plugins/keymaps.d.ts +1 -1
  37. package/dist/types/pm-plugins/main.d.ts +2 -1
  38. package/dist/types/{plugin.d.ts → tasksAndDecisionsPlugin.d.ts} +1 -1
  39. package/dist/types/tasksAndDecisionsPluginType.d.ts +29 -0
  40. package/dist/{types-ts4.5/types.d.ts → types/types/index.d.ts} +1 -27
  41. package/dist/types/ui/Task/index.d.ts +2 -1
  42. package/dist/types/ui/ToolbarDecision/index.d.ts +1 -1
  43. package/dist/types/ui/ToolbarTask/index.d.ts +1 -1
  44. package/dist/types-ts4.5/index.d.ts +3 -2
  45. package/dist/types-ts4.5/nodeviews/decision-lazy-node-view.d.ts +1 -1
  46. package/dist/types-ts4.5/nodeviews/decisionItem.d.ts +1 -1
  47. package/dist/types-ts4.5/nodeviews/hooks/use-show-placeholder.d.ts +1 -1
  48. package/dist/types-ts4.5/nodeviews/task-lazy-node-view.d.ts +1 -1
  49. package/dist/types-ts4.5/nodeviews/taskItem.d.ts +1 -1
  50. package/dist/{types/commands.d.ts → types-ts4.5/pm-plugins/insert-commands.d.ts} +1 -1
  51. package/dist/types-ts4.5/pm-plugins/keymaps.d.ts +1 -1
  52. package/dist/types-ts4.5/pm-plugins/main.d.ts +2 -1
  53. package/dist/types-ts4.5/{plugin.d.ts → tasksAndDecisionsPlugin.d.ts} +1 -1
  54. package/dist/types-ts4.5/tasksAndDecisionsPluginType.d.ts +29 -0
  55. package/dist/{types/types.d.ts → types-ts4.5/types/index.d.ts} +1 -27
  56. package/dist/types-ts4.5/ui/Task/index.d.ts +2 -1
  57. package/dist/types-ts4.5/ui/ToolbarDecision/index.d.ts +1 -1
  58. package/dist/types-ts4.5/ui/ToolbarTask/index.d.ts +1 -1
  59. package/package.json +5 -2
  60. /package/dist/cjs/{toDOM-fixes → nodeviews/toDOM-fixes}/decisionItem.js +0 -0
  61. /package/dist/cjs/{utils.js → pm-plugins/utils.js} +0 -0
  62. /package/dist/cjs/{types.js → tasksAndDecisionsPluginType.js} +0 -0
  63. /package/dist/es2019/{toDOM-fixes → nodeviews/toDOM-fixes}/decisionItem.js +0 -0
  64. /package/dist/es2019/{utils.js → pm-plugins/utils.js} +0 -0
  65. /package/dist/es2019/{types.js → tasksAndDecisionsPluginType.js} +0 -0
  66. /package/dist/{esm/types.js → es2019/types/index.js} +0 -0
  67. /package/dist/esm/{toDOM-fixes → nodeviews/toDOM-fixes}/decisionItem.js +0 -0
  68. /package/dist/esm/{utils.js → pm-plugins/utils.js} +0 -0
  69. /package/dist/types/{toDOM-fixes → nodeviews/toDOM-fixes}/decisionItem.d.ts +0 -0
  70. /package/dist/types/{utils.d.ts → pm-plugins/utils.d.ts} +0 -0
  71. /package/dist/types-ts4.5/{toDOM-fixes → nodeviews/toDOM-fixes}/decisionItem.d.ts +0 -0
  72. /package/dist/types-ts4.5/{utils.d.ts → pm-plugins/utils.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaskit/editor-plugin-tasks-and-decisions
2
2
 
3
+ ## 2.12.17
4
+
5
+ ### Patch Changes
6
+
7
+ - [#171551](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/171551)
8
+ [`702c918817e78`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/702c918817e78) -
9
+ ED-25817: refactors plugins to meet folder standards
10
+ - Updated dependencies
11
+
3
12
  ## 2.12.16
4
13
 
5
14
  ### Patch Changes
package/dist/cjs/index.js CHANGED
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "tasksAndDecisionsPlugin", {
7
7
  enumerable: true,
8
8
  get: function get() {
9
- return _plugin.tasksAndDecisionsPlugin;
9
+ return _tasksAndDecisionsPlugin.tasksAndDecisionsPlugin;
10
10
  }
11
11
  });
12
- var _plugin = require("./plugin");
12
+ var _tasksAndDecisionsPlugin = require("./tasksAndDecisionsPlugin");
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.wrapSelectionInTaskList = exports.liftSelection = exports.joinAtCut = void 0;
7
7
  var _commands = require("@atlaskit/editor-common/commands");
8
8
  var _transform = require("@atlaskit/editor-prosemirror/transform");
9
- var _utils = require("../utils");
10
9
  var _helpers = require("./helpers");
10
+ var _utils = require("./utils");
11
11
  var liftSelection = exports.liftSelection = function liftSelection(state, dispatch) {
12
12
  var normalizedSelection = (0, _utils.normalizeTaskItemsSelection)(state.selection);
13
13
  var $from = normalizedSelection.$from,
@@ -12,14 +12,14 @@ var _utils = require("@atlaskit/editor-common/utils");
12
12
  var _state = require("@atlaskit/editor-prosemirror/state");
13
13
  var _utils2 = require("@atlaskit/editor-prosemirror/utils");
14
14
  var _prosemirrorInputRules = require("@atlaskit/prosemirror-input-rules");
15
- var _commands = require("../commands");
15
+ var _insertCommands = require("./insert-commands");
16
16
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17
17
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18
18
  var createListRule = function createListRule(editorAnalyticsAPI, getContextIdentifierProvider) {
19
19
  return function (regex, listType, itemAttrs) {
20
20
  return (0, _utils.createRule)(regex, function (state, _match, start, end) {
21
21
  var paragraph = state.schema.nodes.paragraph;
22
- var _getListTypes = (0, _commands.getListTypes)(listType, state.schema),
22
+ var _getListTypes = (0, _insertCommands.getListTypes)(listType, state.schema),
23
23
  list = _getListTypes.list;
24
24
  var $end = state.doc.resolve(end);
25
25
  var $endOfParent = state.doc.resolve($end.after());
@@ -28,7 +28,7 @@ var createListRule = function createListRule(editorAnalyticsAPI, getContextIdent
28
28
  if ($end.parent.type !== paragraph || !(0, _utils2.canInsert)($endOfParent, list.createAndFill())) {
29
29
  return null;
30
30
  }
31
- var insertTr = (0, _commands.insertTaskDecisionAction)(editorAnalyticsAPI, getContextIdentifierProvider)(state, listType, _analytics.INPUT_METHOD.FORMATTING, addItem(start, end), undefined, undefined, itemAttrs);
31
+ var insertTr = (0, _insertCommands.insertTaskDecisionAction)(editorAnalyticsAPI, getContextIdentifierProvider)(state, listType, _analytics.INPUT_METHOD.FORMATTING, addItem(start, end), undefined, undefined, itemAttrs);
32
32
  return insertTr;
33
33
  });
34
34
  };
@@ -77,7 +77,7 @@ var addItem = function addItem(start, end) {
77
77
  }, itemAttrs), content)])).delete(start + 1, end + 1).setSelection(new _state.TextSelection(tr.doc.resolve(start + 1)));
78
78
  return tr;
79
79
  }
80
- var depthAdjustment = (0, _commands.changeInDepth)($from, tr.selection.$from);
80
+ var depthAdjustment = (0, _insertCommands.changeInDepth)($from, tr.selection.$from);
81
81
  tr.split($from.pos).setSelection(new _state.NodeSelection(tr.doc.resolve($from.pos + 1))).replaceSelectionWith(list.create({
82
82
  localId: listLocalId
83
83
  }, [item.create(_objectSpread({
@@ -14,8 +14,8 @@ var _model = require("@atlaskit/editor-prosemirror/model");
14
14
  var _state = require("@atlaskit/editor-prosemirror/state");
15
15
  var _transform = require("@atlaskit/editor-prosemirror/transform");
16
16
  var _utils2 = require("@atlaskit/editor-prosemirror/utils");
17
- var _pluginKey = require("./pm-plugins/plugin-key");
18
- var _types = require("./pm-plugins/types");
17
+ var _pluginKey = require("./plugin-key");
18
+ var _types = require("./types");
19
19
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
20
20
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21
21
  var getContextData = function getContextData() {
@@ -18,10 +18,10 @@ var _keymap = require("@atlaskit/editor-prosemirror/keymap");
18
18
  var _model = require("@atlaskit/editor-prosemirror/model");
19
19
  var _state = require("@atlaskit/editor-prosemirror/state");
20
20
  var _utils2 = require("@atlaskit/editor-prosemirror/utils");
21
- var _commands2 = require("../commands");
22
- var _utils3 = require("../utils");
23
- var _commands3 = require("./commands");
21
+ var _commands2 = require("./commands");
24
22
  var _helpers = require("./helpers");
23
+ var _insertCommands = require("./insert-commands");
24
+ var _utils3 = require("./utils");
25
25
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
26
26
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
27
27
  var indentationAnalytics = function indentationAnalytics(curIndentLevel, direction, inputMethod) {
@@ -69,7 +69,7 @@ var joinTaskDecisionFollowing = function joinTaskDecisionFollowing(state, dispat
69
69
  if (!parentList) {
70
70
  if ($next.parent.type === paragraph) {
71
71
  // try to join paragraph and taskList when backspacing
72
- return (0, _commands3.joinAtCut)($next.doc.resolve($next.pos))(state, dispatch);
72
+ return (0, _commands2.joinAtCut)($next.doc.resolve($next.pos))(state, dispatch);
73
73
  }
74
74
  // If the item we are joining is a list
75
75
  if ($next.parent.type === bulletList || $next.parent.type === orderedList) {
@@ -106,7 +106,7 @@ var getUnindentCommand = exports.getUnindentCommand = function getUnindentComman
106
106
  if (!curIndentLevel || curIndentLevel === 1) {
107
107
  return false;
108
108
  }
109
- return (0, _editorAnalytics.withAnalytics)(editorAnalyticsAPI, indentationAnalytics(curIndentLevel, _analytics.INDENT_DIRECTION.OUTDENT, inputMethod))((0, _commands.autoJoin)(_commands3.liftSelection, ['taskList']))(state, dispatch);
109
+ return (0, _editorAnalytics.withAnalytics)(editorAnalyticsAPI, indentationAnalytics(curIndentLevel, _analytics.INDENT_DIRECTION.OUTDENT, inputMethod))((0, _commands.autoJoin)(_commands2.liftSelection, ['taskList']))(state, dispatch);
110
110
  });
111
111
  };
112
112
  };
@@ -134,7 +134,7 @@ var getIndentCommand = exports.getIndentCommand = function getIndentCommand(edit
134
134
  if (!curIndentLevel || curIndentLevel >= 6) {
135
135
  return true;
136
136
  }
137
- return (0, _editorAnalytics.withAnalytics)(editorAnalyticsAPI, indentationAnalytics(curIndentLevel, _analytics.INDENT_DIRECTION.INDENT, inputMethod))((0, _commands.autoJoin)(_commands3.wrapSelectionInTaskList, ['taskList']))(state, dispatch);
137
+ return (0, _editorAnalytics.withAnalytics)(editorAnalyticsAPI, indentationAnalytics(curIndentLevel, _analytics.INDENT_DIRECTION.INDENT, inputMethod))((0, _commands.autoJoin)(_commands2.wrapSelectionInTaskList, ['taskList']))(state, dispatch);
138
138
  });
139
139
  };
140
140
  };
@@ -173,7 +173,7 @@ var backspaceFrom = function backspaceFrom(editorAnalyticsAPI) {
173
173
  };
174
174
  var backspace = function backspace(editorAnalyticsAPI) {
175
175
  return (0, _utils.filterCommand)(_utils.isEmptySelectionAtStart, (0, _commands.autoJoin)((0, _commands.chainCommands)(function (state, dispatch) {
176
- return (0, _commands3.joinAtCut)(state.selection.$from)(state, dispatch);
176
+ return (0, _commands2.joinAtCut)(state.selection.$from)(state, dispatch);
177
177
  }, (0, _utils.filterCommand)(_helpers.isInsideTaskOrDecisionItem, function (state, dispatch) {
178
178
  return backspaceFrom(editorAnalyticsAPI)(state.selection.$from)(state, dispatch);
179
179
  })), ['taskList', 'decisionList']));
@@ -372,7 +372,7 @@ var enter = function enter(editorAnalyticsAPI, getContextIdentifier) {
372
372
  }
373
373
  }]);
374
374
  };
375
- var insertTr = (0, _commands2.insertTaskDecisionWithAnalytics)(editorAnalyticsAPI, getContextIdentifier)(state, listType, _analytics.INPUT_METHOD.KEYBOARD, addItem);
375
+ var insertTr = (0, _insertCommands.insertTaskDecisionWithAnalytics)(editorAnalyticsAPI, getContextIdentifier)(state, listType, _analytics.INPUT_METHOD.KEYBOARD, addItem);
376
376
  if (insertTr && dispatch) {
377
377
  insertTr.scrollIntoView();
378
378
  dispatch(insertTr);
@@ -18,13 +18,13 @@ var _messages = require("@atlaskit/editor-common/messages");
18
18
  var _quickInsert = require("@atlaskit/editor-common/quick-insert");
19
19
  var _styles = require("@atlaskit/editor-common/styles");
20
20
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
21
- var _commands = require("./commands");
21
+ var _decisionItem = require("./nodeviews/toDOM-fixes/decisionItem");
22
22
  var _helpers = require("./pm-plugins/helpers");
23
23
  var _inputRules = _interopRequireDefault(require("./pm-plugins/input-rules"));
24
+ var _insertCommands = require("./pm-plugins/insert-commands");
24
25
  var _keymaps = _interopRequireWildcard(require("./pm-plugins/keymaps"));
25
26
  var _main = require("./pm-plugins/main");
26
27
  var _pluginKey = require("./pm-plugins/plugin-key");
27
- var _decisionItem = require("./toDOM-fixes/decisionItem");
28
28
  var _ToolbarDecision = _interopRequireDefault(require("./ui/ToolbarDecision"));
29
29
  var _ToolbarTask = _interopRequireDefault(require("./ui/ToolbarTask"));
30
30
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
@@ -105,7 +105,7 @@ var addItem = function addItem(insert, listType, schema) {
105
105
  return function (_ref) {
106
106
  var listLocalId = _ref.listLocalId,
107
107
  itemLocalId = _ref.itemLocalId;
108
- var _getListTypes = (0, _commands.getListTypes)(listType, schema),
108
+ var _getListTypes = (0, _insertCommands.getListTypes)(listType, schema),
109
109
  list = _getListTypes.list,
110
110
  item = _getListTypes.item;
111
111
  return insert(list.createChecked({
@@ -139,7 +139,7 @@ var tasksAndDecisionsPlugin = exports.tasksAndDecisionsPlugin = function tasksAn
139
139
  taskDecisionProvider.then(function (provider) {
140
140
  api === null || api === void 0 || api.core.actions.execute(function (_ref3) {
141
141
  var tr = _ref3.tr;
142
- return (0, _commands.setProvider)(provider)(tr);
142
+ return (0, _insertCommands.setProvider)(provider)(tr);
143
143
  });
144
144
  });
145
145
  }
@@ -199,7 +199,7 @@ var tasksAndDecisionsPlugin = exports.tasksAndDecisionsPlugin = function tasksAn
199
199
  }
200
200
  },
201
201
  actions: {
202
- insertTaskDecision: (0, _commands.insertTaskDecisionCommand)(api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions, getIdentifierProvider),
202
+ insertTaskDecision: (0, _insertCommands.insertTaskDecisionCommand)(api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions, getIdentifierProvider),
203
203
  indentTaskList: (0, _keymaps.getIndentCommand)(api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions),
204
204
  outdentTaskList: (0, _keymaps.getUnindentCommand)(api === null || api === void 0 || (_api$analytics3 = api.analytics) === null || _api$analytics3 === void 0 ? void 0 : _api$analytics3.actions),
205
205
  setProvider: function () {
@@ -222,7 +222,7 @@ var tasksAndDecisionsPlugin = exports.tasksAndDecisionsPlugin = function tasksAn
222
222
  previousTaskAndDecisionProvider = provider;
223
223
  return _context.abrupt("return", (_api$core$actions$exe = api === null || api === void 0 ? void 0 : api.core.actions.execute(function (_ref6) {
224
224
  var tr = _ref6.tr;
225
- return (0, _commands.setProvider)(provider)(tr);
225
+ return (0, _insertCommands.setProvider)(provider)(tr);
226
226
  })) !== null && _api$core$actions$exe !== void 0 ? _api$core$actions$exe : false);
227
227
  case 7:
228
228
  case "end":
@@ -295,7 +295,7 @@ var tasksAndDecisionsPlugin = exports.tasksAndDecisionsPlugin = function tasksAn
295
295
  },
296
296
  action: function action(insert, state) {
297
297
  var _api$analytics5;
298
- return (0, _commands.insertTaskDecisionAction)(api === null || api === void 0 || (_api$analytics5 = api.analytics) === null || _api$analytics5 === void 0 ? void 0 : _api$analytics5.actions, getIdentifierProvider)(state, 'taskList', _analytics.INPUT_METHOD.QUICK_INSERT, addItem(insert, 'taskList', state.schema));
298
+ return (0, _insertCommands.insertTaskDecisionAction)(api === null || api === void 0 || (_api$analytics5 = api.analytics) === null || _api$analytics5 === void 0 ? void 0 : _api$analytics5.actions, getIdentifierProvider)(state, 'taskList', _analytics.INPUT_METHOD.QUICK_INSERT, addItem(insert, 'taskList', state.schema));
299
299
  }
300
300
  }, {
301
301
  id: 'decision',
@@ -308,7 +308,7 @@ var tasksAndDecisionsPlugin = exports.tasksAndDecisionsPlugin = function tasksAn
308
308
  },
309
309
  action: function action(insert, state) {
310
310
  var _api$analytics6;
311
- return (0, _commands.insertTaskDecisionAction)(api === null || api === void 0 || (_api$analytics6 = api.analytics) === null || _api$analytics6 === void 0 ? void 0 : _api$analytics6.actions, getIdentifierProvider)(state, 'decisionList', _analytics.INPUT_METHOD.QUICK_INSERT, addItem(insert, 'decisionList', state.schema));
311
+ return (0, _insertCommands.insertTaskDecisionAction)(api === null || api === void 0 || (_api$analytics6 = api.analytics) === null || _api$analytics6 === void 0 ? void 0 : _api$analytics6.actions, getIdentifierProvider)(state, 'decisionList', _analytics.INPUT_METHOD.QUICK_INSERT, addItem(insert, 'decisionList', state.schema));
312
312
  }
313
313
  }];
314
314
  }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -10,7 +10,7 @@ var _reactIntlNext = require("react-intl-next");
10
10
  var _messages = require("@atlaskit/editor-common/messages");
11
11
  var _uiMenu = require("@atlaskit/editor-common/ui-menu");
12
12
  var _decision = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/decision"));
13
- var _commands = require("../../commands");
13
+ var _insertCommands = require("../../pm-plugins/insert-commands");
14
14
  var ToolbarDecision = function ToolbarDecision(_ref) {
15
15
  var isDisabled = _ref.isDisabled,
16
16
  isReducedSpacing = _ref.isReducedSpacing,
@@ -27,7 +27,7 @@ var ToolbarDecision = function ToolbarDecision(_ref) {
27
27
  var _editorAPI$contextIde;
28
28
  return editorAPI === null || editorAPI === void 0 || (_editorAPI$contextIde = editorAPI.contextIdentifier) === null || _editorAPI$contextIde === void 0 || (_editorAPI$contextIde = _editorAPI$contextIde.sharedState.currentState()) === null || _editorAPI$contextIde === void 0 ? void 0 : _editorAPI$contextIde.contextIdentifierProvider;
29
29
  };
30
- (0, _commands.insertTaskDecisionCommand)(editorAPI === null || editorAPI === void 0 || (_editorAPI$analytics = editorAPI.analytics) === null || _editorAPI$analytics === void 0 ? void 0 : _editorAPI$analytics.actions, getContextIdentifier)('decisionList')(editorView.state, editorView.dispatch);
30
+ (0, _insertCommands.insertTaskDecisionCommand)(editorAPI === null || editorAPI === void 0 || (_editorAPI$analytics = editorAPI.analytics) === null || _editorAPI$analytics === void 0 ? void 0 : _editorAPI$analytics.actions, getContextIdentifier)('decisionList')(editorView.state, editorView.dispatch);
31
31
  return true;
32
32
  };
33
33
  return /*#__PURE__*/_react.default.createElement(_uiMenu.ToolbarButton, {
@@ -10,7 +10,7 @@ var _reactIntlNext = require("react-intl-next");
10
10
  var _messages = require("@atlaskit/editor-common/messages");
11
11
  var _uiMenu = require("@atlaskit/editor-common/ui-menu");
12
12
  var _task = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/task"));
13
- var _commands = require("../../commands");
13
+ var _insertCommands = require("../../pm-plugins/insert-commands");
14
14
  var ToolbarTask = function ToolbarTask(_ref) {
15
15
  var isDisabled = _ref.isDisabled,
16
16
  isReducedSpacing = _ref.isReducedSpacing,
@@ -27,7 +27,7 @@ var ToolbarTask = function ToolbarTask(_ref) {
27
27
  var _editorAPI$contextIde;
28
28
  return editorAPI === null || editorAPI === void 0 || (_editorAPI$contextIde = editorAPI.contextIdentifier) === null || _editorAPI$contextIde === void 0 || (_editorAPI$contextIde = _editorAPI$contextIde.sharedState.currentState()) === null || _editorAPI$contextIde === void 0 ? void 0 : _editorAPI$contextIde.contextIdentifierProvider;
29
29
  };
30
- (0, _commands.insertTaskDecisionCommand)(editorAPI === null || editorAPI === void 0 || (_editorAPI$analytics = editorAPI.analytics) === null || _editorAPI$analytics === void 0 ? void 0 : _editorAPI$analytics.actions, getContextIdentifier)('taskList')(editorView.state, editorView.dispatch);
30
+ (0, _insertCommands.insertTaskDecisionCommand)(editorAPI === null || editorAPI === void 0 || (_editorAPI$analytics = editorAPI.analytics) === null || _editorAPI$analytics === void 0 ? void 0 : _editorAPI$analytics.actions, getContextIdentifier)('taskList')(editorView.state, editorView.dispatch);
31
31
  return true;
32
32
  };
33
33
  return /*#__PURE__*/_react.default.createElement(_uiMenu.ToolbarButton, {
@@ -1 +1 @@
1
- export { tasksAndDecisionsPlugin } from './plugin';
1
+ export { tasksAndDecisionsPlugin } from './tasksAndDecisionsPlugin';
@@ -1,7 +1,7 @@
1
1
  import { findCutBefore } from '@atlaskit/editor-common/commands';
2
2
  import { findWrapping, ReplaceAroundStep } from '@atlaskit/editor-prosemirror/transform';
3
- import { normalizeTaskItemsSelection } from '../utils';
4
3
  import { getBlockRange, isActionOrDecisionItem, isActionOrDecisionList, liftBlock, subtreeHeight } from './helpers';
4
+ import { normalizeTaskItemsSelection } from './utils';
5
5
  export const liftSelection = (state, dispatch) => {
6
6
  const normalizedSelection = normalizeTaskItemsSelection(state.selection);
7
7
  const {
@@ -4,7 +4,7 @@ import { createRule } from '@atlaskit/editor-common/utils';
4
4
  import { NodeSelection, TextSelection } from '@atlaskit/editor-prosemirror/state';
5
5
  import { canInsert } from '@atlaskit/editor-prosemirror/utils';
6
6
  import { createPlugin, leafNodeReplacementCharacter } from '@atlaskit/prosemirror-input-rules';
7
- import { changeInDepth, getListTypes, insertTaskDecisionAction } from '../commands';
7
+ import { changeInDepth, getListTypes, insertTaskDecisionAction } from './insert-commands';
8
8
  const createListRule = (editorAnalyticsAPI, getContextIdentifierProvider) => (regex, listType, itemAttrs) => {
9
9
  return createRule(regex, (state, _match, start, end) => {
10
10
  const {
@@ -6,8 +6,8 @@ import { NodeRange } from '@atlaskit/editor-prosemirror/model';
6
6
  import { TextSelection } from '@atlaskit/editor-prosemirror/state';
7
7
  import { liftTarget } from '@atlaskit/editor-prosemirror/transform';
8
8
  import { findParentNodeOfType, hasParentNodeOfType, replaceParentNodeOfType, safeInsert, setTextSelection } from '@atlaskit/editor-prosemirror/utils';
9
- import { stateKey } from './pm-plugins/plugin-key';
10
- import { ACTIONS } from './pm-plugins/types';
9
+ import { stateKey } from './plugin-key';
10
+ import { ACTIONS } from './types';
11
11
  const getContextData = (contextProvider = {}) => {
12
12
  const {
13
13
  objectId,
@@ -9,10 +9,10 @@ import { keymap } from '@atlaskit/editor-prosemirror/keymap';
9
9
  import { Fragment, Slice } from '@atlaskit/editor-prosemirror/model';
10
10
  import { TextSelection } from '@atlaskit/editor-prosemirror/state';
11
11
  import { findParentNodeOfType, findParentNodeOfTypeClosestToPos, hasParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
12
- import { insertTaskDecisionWithAnalytics } from '../commands';
13
- import { normalizeTaskItemsSelection } from '../utils';
14
12
  import { joinAtCut, liftSelection, wrapSelectionInTaskList } from './commands';
15
13
  import { findFirstParentListNode, getBlockRange, getCurrentIndentLevel, getTaskItemIndex, isActionOrDecisionItem, isActionOrDecisionList, isEmptyTaskDecision, isInsideDecision, isInsideTask, isInsideTaskOrDecisionItem, isTable, liftBlock, walkOut } from './helpers';
14
+ import { insertTaskDecisionWithAnalytics } from './insert-commands';
15
+ import { normalizeTaskItemsSelection } from './utils';
16
16
  const indentationAnalytics = (curIndentLevel, direction, inputMethod) => ({
17
17
  action: ACTION.FORMATTED,
18
18
  actionSubject: ACTION_SUBJECT.TEXT,
@@ -12,13 +12,13 @@ import { toolbarInsertBlockMessages as insertBlockMessages } from '@atlaskit/edi
12
12
  import { IconAction, IconDecision } from '@atlaskit/editor-common/quick-insert';
13
13
  import { TaskDecisionSharedCssClassName } from '@atlaskit/editor-common/styles';
14
14
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
15
- import { getListTypes, insertTaskDecisionAction, insertTaskDecisionCommand, setProvider } from './commands';
15
+ import { decisionItemSpecWithFixedToDOM } from './nodeviews/toDOM-fixes/decisionItem';
16
16
  import { getCurrentIndentLevel, getTaskItemIndex, isInsideTask } from './pm-plugins/helpers';
17
17
  import inputRulePlugin from './pm-plugins/input-rules';
18
+ import { getListTypes, insertTaskDecisionAction, insertTaskDecisionCommand, setProvider } from './pm-plugins/insert-commands';
18
19
  import keymap, { getIndentCommand, getUnindentCommand } from './pm-plugins/keymaps';
19
20
  import { createPlugin } from './pm-plugins/main';
20
21
  import { stateKey as taskPluginKey } from './pm-plugins/plugin-key';
21
- import { decisionItemSpecWithFixedToDOM } from './toDOM-fixes/decisionItem';
22
22
  import ToolbarDecision from './ui/ToolbarDecision';
23
23
  import ToolbarTask from './ui/ToolbarTask';
24
24
  const taskDecisionToolbarGroupStyles = css({
@@ -3,7 +3,7 @@ import { injectIntl } from 'react-intl-next';
3
3
  import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
4
4
  import { TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
5
5
  import DecisionIcon from '@atlaskit/icon/glyph/editor/decision';
6
- import { insertTaskDecisionCommand } from '../../commands';
6
+ import { insertTaskDecisionCommand } from '../../pm-plugins/insert-commands';
7
7
  const ToolbarDecision = ({
8
8
  isDisabled,
9
9
  isReducedSpacing,
@@ -3,7 +3,7 @@ import { injectIntl } from 'react-intl-next';
3
3
  import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
4
4
  import { TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
5
5
  import TaskIcon from '@atlaskit/icon/glyph/editor/task';
6
- import { insertTaskDecisionCommand } from '../../commands';
6
+ import { insertTaskDecisionCommand } from '../../pm-plugins/insert-commands';
7
7
  const ToolbarTask = ({
8
8
  isDisabled,
9
9
  isReducedSpacing,
package/dist/esm/index.js CHANGED
@@ -1 +1 @@
1
- export { tasksAndDecisionsPlugin } from './plugin';
1
+ export { tasksAndDecisionsPlugin } from './tasksAndDecisionsPlugin';
@@ -1,7 +1,7 @@
1
1
  import { findCutBefore } from '@atlaskit/editor-common/commands';
2
2
  import { findWrapping, ReplaceAroundStep } from '@atlaskit/editor-prosemirror/transform';
3
- import { normalizeTaskItemsSelection } from '../utils';
4
3
  import { getBlockRange, isActionOrDecisionItem, isActionOrDecisionList, liftBlock, subtreeHeight } from './helpers';
4
+ import { normalizeTaskItemsSelection } from './utils';
5
5
  export var liftSelection = function liftSelection(state, dispatch) {
6
6
  var normalizedSelection = normalizeTaskItemsSelection(state.selection);
7
7
  var $from = normalizedSelection.$from,
@@ -7,7 +7,7 @@ import { createRule } from '@atlaskit/editor-common/utils';
7
7
  import { NodeSelection, TextSelection } from '@atlaskit/editor-prosemirror/state';
8
8
  import { canInsert } from '@atlaskit/editor-prosemirror/utils';
9
9
  import { createPlugin, leafNodeReplacementCharacter } from '@atlaskit/prosemirror-input-rules';
10
- import { changeInDepth, getListTypes, insertTaskDecisionAction } from '../commands';
10
+ import { changeInDepth, getListTypes, insertTaskDecisionAction } from './insert-commands';
11
11
  var createListRule = function createListRule(editorAnalyticsAPI, getContextIdentifierProvider) {
12
12
  return function (regex, listType, itemAttrs) {
13
13
  return createRule(regex, function (state, _match, start, end) {
@@ -9,8 +9,8 @@ import { NodeRange } from '@atlaskit/editor-prosemirror/model';
9
9
  import { TextSelection } from '@atlaskit/editor-prosemirror/state';
10
10
  import { liftTarget } from '@atlaskit/editor-prosemirror/transform';
11
11
  import { findParentNodeOfType, hasParentNodeOfType, replaceParentNodeOfType, safeInsert, setTextSelection } from '@atlaskit/editor-prosemirror/utils';
12
- import { stateKey } from './pm-plugins/plugin-key';
13
- import { ACTIONS } from './pm-plugins/types';
12
+ import { stateKey } from './plugin-key';
13
+ import { ACTIONS } from './types';
14
14
  var getContextData = function getContextData() {
15
15
  var contextProvider = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
16
16
  var objectId = contextProvider.objectId,
@@ -12,10 +12,10 @@ import { keymap } from '@atlaskit/editor-prosemirror/keymap';
12
12
  import { Fragment, Slice } from '@atlaskit/editor-prosemirror/model';
13
13
  import { TextSelection } from '@atlaskit/editor-prosemirror/state';
14
14
  import { findParentNodeOfType, findParentNodeOfTypeClosestToPos, hasParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
15
- import { insertTaskDecisionWithAnalytics } from '../commands';
16
- import { normalizeTaskItemsSelection } from '../utils';
17
15
  import { joinAtCut, liftSelection, wrapSelectionInTaskList } from './commands';
18
16
  import { findFirstParentListNode, getBlockRange, getCurrentIndentLevel, getTaskItemIndex, isActionOrDecisionItem, isActionOrDecisionList, isEmptyTaskDecision, isInsideDecision, isInsideTask, isInsideTaskOrDecisionItem, isTable, liftBlock, walkOut } from './helpers';
17
+ import { insertTaskDecisionWithAnalytics } from './insert-commands';
18
+ import { normalizeTaskItemsSelection } from './utils';
19
19
  var indentationAnalytics = function indentationAnalytics(curIndentLevel, direction, inputMethod) {
20
20
  return {
21
21
  action: ACTION.FORMATTED,
@@ -17,13 +17,13 @@ import { toolbarInsertBlockMessages as insertBlockMessages } from '@atlaskit/edi
17
17
  import { IconAction, IconDecision } from '@atlaskit/editor-common/quick-insert';
18
18
  import { TaskDecisionSharedCssClassName } from '@atlaskit/editor-common/styles';
19
19
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
20
- import { getListTypes, insertTaskDecisionAction, insertTaskDecisionCommand, setProvider as _setProvider } from './commands';
20
+ import { decisionItemSpecWithFixedToDOM } from './nodeviews/toDOM-fixes/decisionItem';
21
21
  import { getCurrentIndentLevel, getTaskItemIndex, isInsideTask } from './pm-plugins/helpers';
22
22
  import inputRulePlugin from './pm-plugins/input-rules';
23
+ import { getListTypes, insertTaskDecisionAction, insertTaskDecisionCommand, setProvider as _setProvider } from './pm-plugins/insert-commands';
23
24
  import keymap, { getIndentCommand, getUnindentCommand } from './pm-plugins/keymaps';
24
25
  import { createPlugin } from './pm-plugins/main';
25
26
  import { stateKey as taskPluginKey } from './pm-plugins/plugin-key';
26
- import { decisionItemSpecWithFixedToDOM } from './toDOM-fixes/decisionItem';
27
27
  import ToolbarDecision from './ui/ToolbarDecision';
28
28
  import ToolbarTask from './ui/ToolbarTask';
29
29
  var taskDecisionToolbarGroupStyles = css({
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -3,7 +3,7 @@ import { injectIntl } from 'react-intl-next';
3
3
  import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
4
4
  import { TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
5
5
  import DecisionIcon from '@atlaskit/icon/glyph/editor/decision';
6
- import { insertTaskDecisionCommand } from '../../commands';
6
+ import { insertTaskDecisionCommand } from '../../pm-plugins/insert-commands';
7
7
  var ToolbarDecision = function ToolbarDecision(_ref) {
8
8
  var isDisabled = _ref.isDisabled,
9
9
  isReducedSpacing = _ref.isReducedSpacing,
@@ -3,7 +3,7 @@ import { injectIntl } from 'react-intl-next';
3
3
  import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
4
4
  import { TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
5
5
  import TaskIcon from '@atlaskit/icon/glyph/editor/task';
6
- import { insertTaskDecisionCommand } from '../../commands';
6
+ import { insertTaskDecisionCommand } from '../../pm-plugins/insert-commands';
7
7
  var ToolbarTask = function ToolbarTask(_ref) {
8
8
  var isDisabled = _ref.isDisabled,
9
9
  isReducedSpacing = _ref.isReducedSpacing,
@@ -1,2 +1,3 @@
1
- export { tasksAndDecisionsPlugin } from './plugin';
2
- export type { TasksAndDecisionsPlugin, TaskDecisionPluginOptions, TaskAndDecisionsSharedState, TaskDecisionListType, AddItemTransactionCreator, } from './types';
1
+ export { tasksAndDecisionsPlugin } from './tasksAndDecisionsPlugin';
2
+ export type { TasksAndDecisionsPlugin } from './tasksAndDecisionsPluginType';
3
+ export type { TaskDecisionPluginOptions, TaskAndDecisionsSharedState, TaskDecisionListType, AddItemTransactionCreator, } from './types';
@@ -1,5 +1,5 @@
1
1
  import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
2
2
  import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
- import type { TasksAndDecisionsPlugin } from '../types';
4
+ import type { TasksAndDecisionsPlugin } from '../tasksAndDecisionsPluginType';
5
5
  export declare const lazyDecisionView: (portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined) => import("@atlaskit/editor-common/lazy-node-view").NodeViewConstructor;
@@ -3,7 +3,7 @@ import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
5
5
  import type { EditorView, NodeView } from '@atlaskit/editor-prosemirror/view';
6
- import type { TasksAndDecisionsPlugin } from '../types';
6
+ import type { TasksAndDecisionsPlugin } from '../tasksAndDecisionsPluginType';
7
7
  type getPosHandler = getPosHandlerNode | boolean;
8
8
  type getPosHandlerNode = () => number | undefined;
9
9
  export declare const decisionItemNodeView: (portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined) => (node: PMNode, view: EditorView, getPos: getPosHandler) => NodeView;
@@ -1,6 +1,6 @@
1
1
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
2
2
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
- import type { TasksAndDecisionsPlugin } from '../../types';
3
+ import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
4
4
  type Props2 = {
5
5
  editorView: EditorView;
6
6
  api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined;
@@ -2,5 +2,5 @@ import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
2
2
  import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
- import type { TasksAndDecisionsPlugin } from '../types';
5
+ import type { TasksAndDecisionsPlugin } from '../tasksAndDecisionsPluginType';
6
6
  export declare const lazyTaskView: (portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined, placeholder?: string) => import("@atlaskit/editor-common/lazy-node-view").NodeViewConstructor;
@@ -4,7 +4,7 @@ import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
6
6
  import type { EditorView, NodeView } from '@atlaskit/editor-prosemirror/view';
7
- import type { TasksAndDecisionsPlugin } from '../types';
7
+ import type { TasksAndDecisionsPlugin } from '../tasksAndDecisionsPluginType';
8
8
  type getPosHandler = getPosHandlerNode | boolean;
9
9
  type getPosHandlerNode = () => number | undefined;
10
10
  export interface Props {
@@ -4,7 +4,7 @@ import type { Command, TOOLBAR_MENU_TYPE } from '@atlaskit/editor-common/types';
4
4
  import type { NodeType, ResolvedPos, Schema } from '@atlaskit/editor-prosemirror/model';
5
5
  import type { EditorState, Selection, Transaction } from '@atlaskit/editor-prosemirror/state';
6
6
  import type { TaskDecisionProvider } from '@atlaskit/task-decision/types';
7
- import type { AddItemAttrs, AddItemTransactionCreator, GetContextIdentifier, TaskDecisionInputMethod, TaskDecisionListType } from './types';
7
+ import type { AddItemAttrs, AddItemTransactionCreator, GetContextIdentifier, TaskDecisionInputMethod, TaskDecisionListType } from '../types';
8
8
  export declare const getListTypes: (listType: TaskDecisionListType, schema: Schema) => {
9
9
  list: NodeType;
10
10
  item: NodeType;
@@ -3,7 +3,7 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
3
3
  import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
4
4
  import type { Command, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { Schema } from '@atlaskit/editor-prosemirror/model';
6
- import type { TasksAndDecisionsPlugin } from '../types';
6
+ import type { TasksAndDecisionsPlugin } from '../tasksAndDecisionsPluginType';
7
7
  type IndentationInputMethod = INPUT_METHOD.KEYBOARD | INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
8
8
  export declare const getUnindentCommand: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (inputMethod?: IndentationInputMethod) => Command;
9
9
  export declare const getIndentCommand: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (inputMethod?: IndentationInputMethod) => Command;
@@ -3,5 +3,6 @@ import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
4
4
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
5
5
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
6
- import type { TaskDecisionPluginState, TasksAndDecisionsPlugin } from '../types';
6
+ import type { TasksAndDecisionsPlugin } from '../tasksAndDecisionsPluginType';
7
+ import type { TaskDecisionPluginState } from '../types';
7
8
  export declare function createPlugin(portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, dispatch: Dispatch, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined, useLongPressSelection?: boolean, hasEditPermission?: boolean, hasRequestedEditPermission?: boolean, requestToEditContent?: () => void, taskPlaceholder?: string): SafePlugin<TaskDecisionPluginState>;
@@ -1,3 +1,3 @@
1
- import type { TasksAndDecisionsPlugin } from './types';
1
+ import type { TasksAndDecisionsPlugin } from './tasksAndDecisionsPluginType';
2
2
  export declare const taskItemSpecWithFixedToDOM: () => import("prosemirror-model").NodeSpec;
3
3
  export declare const tasksAndDecisionsPlugin: TasksAndDecisionsPlugin;
@@ -0,0 +1,29 @@
1
+ import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
+ import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
+ import type { ContextIdentifierPlugin } from '@atlaskit/editor-plugin-context-identifier';
4
+ import type { EditorViewModePlugin } from '@atlaskit/editor-plugin-editor-viewmode';
5
+ import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
6
+ import type { TaskDecisionProvider } from '@atlaskit/task-decision/types';
7
+ import type { insertTaskDecisionCommand } from './pm-plugins/insert-commands';
8
+ import type { getIndentCommand, getUnindentCommand } from './pm-plugins/keymaps';
9
+ import type { TaskAndDecisionsSharedState, TaskDecisionPluginOptions } from './types';
10
+ export type TasksAndDecisionsPlugin = NextEditorPlugin<'taskDecision', {
11
+ pluginConfiguration: TaskDecisionPluginOptions | undefined;
12
+ sharedState: TaskAndDecisionsSharedState | undefined;
13
+ dependencies: [
14
+ OptionalPlugin<TypeAheadPlugin>,
15
+ OptionalPlugin<AnalyticsPlugin>,
16
+ OptionalPlugin<ContextIdentifierPlugin>,
17
+ OptionalPlugin<EditorViewModePlugin>
18
+ ];
19
+ actions: {
20
+ insertTaskDecision: ReturnType<typeof insertTaskDecisionCommand>;
21
+ indentTaskList: ReturnType<typeof getIndentCommand>;
22
+ outdentTaskList: ReturnType<typeof getUnindentCommand>;
23
+ setProvider: (provider: Promise<TaskDecisionProvider>) => Promise<boolean>;
24
+ };
25
+ commands: {
26
+ updateEditPermission: (hasEditPermission: boolean | undefined) => EditorCommand;
27
+ updateHasRequestedEditPermission: (hasRequestedEditPermission: boolean) => EditorCommand;
28
+ };
29
+ }>;
@@ -1,16 +1,10 @@
1
1
  import type { DecisionItemDefinition, TaskItemDefinition } from '@atlaskit/adf-schema';
2
2
  import type { INPUT_METHOD, USER_CONTEXT } from '@atlaskit/editor-common/analytics';
3
3
  import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
4
- import type { EditorCommand, LongPressSelectionPluginOptions, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
5
- import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
6
- import type { ContextIdentifierPlugin } from '@atlaskit/editor-plugin-context-identifier';
7
- import type { EditorViewModePlugin } from '@atlaskit/editor-plugin-editor-viewmode';
8
- import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
4
+ import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
9
5
  import type { NodeType } from '@atlaskit/editor-prosemirror/model';
10
6
  import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
11
7
  import type { TaskDecisionProvider } from '@atlaskit/task-decision/types';
12
- import type { insertTaskDecisionCommand } from './commands';
13
- import type { getIndentCommand, getUnindentCommand } from './pm-plugins/keymaps';
14
8
  export type TaskDecisionListType = 'taskList' | 'decisionList';
15
9
  export type TaskDecisionInputMethod = INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.FORMATTING | INPUT_METHOD.KEYBOARD;
16
10
  export type ContextData = {
@@ -83,24 +77,4 @@ export type TaskAndDecisionsSharedState = Pick<TaskDecisionPluginState, 'focused
83
77
  indentDisabled: boolean;
84
78
  outdentDisabled: boolean;
85
79
  };
86
- export type TasksAndDecisionsPlugin = NextEditorPlugin<'taskDecision', {
87
- pluginConfiguration: TaskDecisionPluginOptions | undefined;
88
- sharedState: TaskAndDecisionsSharedState | undefined;
89
- dependencies: [
90
- OptionalPlugin<TypeAheadPlugin>,
91
- OptionalPlugin<AnalyticsPlugin>,
92
- OptionalPlugin<ContextIdentifierPlugin>,
93
- OptionalPlugin<EditorViewModePlugin>
94
- ];
95
- actions: {
96
- insertTaskDecision: ReturnType<typeof insertTaskDecisionCommand>;
97
- indentTaskList: ReturnType<typeof getIndentCommand>;
98
- outdentTaskList: ReturnType<typeof getUnindentCommand>;
99
- setProvider: (provider: Promise<TaskDecisionProvider>) => Promise<boolean>;
100
- };
101
- commands: {
102
- updateEditPermission: (hasEditPermission: boolean | undefined) => EditorCommand;
103
- updateHasRequestedEditPermission: (hasRequestedEditPermission: boolean) => EditorCommand;
104
- };
105
- }>;
106
80
  export type GetContextIdentifier = () => ContextIdentifierProvider | undefined;
@@ -4,7 +4,8 @@ import type { WrappedComponentProps } from 'react-intl-next';
4
4
  import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
5
5
  import { type ExtractInjectionAPI } from '@atlaskit/editor-common/types';
6
6
  import type { ContentRef } from '@atlaskit/task-decision';
7
- import { type TaskAndDecisionsSharedState, type TasksAndDecisionsPlugin } from '../../types';
7
+ import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
8
+ import { type TaskAndDecisionsSharedState } from '../../types';
8
9
  export interface TaskProps {
9
10
  taskId: string;
10
11
  isDone: boolean;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { WrappedComponentProps } from 'react-intl-next';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
- import type { TasksAndDecisionsPlugin } from '../../types';
5
+ import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
6
6
  export interface Props {
7
7
  editorView?: EditorView;
8
8
  isDisabled?: boolean;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { WrappedComponentProps } from 'react-intl-next';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
- import type { TasksAndDecisionsPlugin } from '../../types';
5
+ import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
6
6
  export interface Props {
7
7
  editorView?: EditorView;
8
8
  isDisabled?: boolean;
@@ -1,2 +1,3 @@
1
- export { tasksAndDecisionsPlugin } from './plugin';
2
- export type { TasksAndDecisionsPlugin, TaskDecisionPluginOptions, TaskAndDecisionsSharedState, TaskDecisionListType, AddItemTransactionCreator, } from './types';
1
+ export { tasksAndDecisionsPlugin } from './tasksAndDecisionsPlugin';
2
+ export type { TasksAndDecisionsPlugin } from './tasksAndDecisionsPluginType';
3
+ export type { TaskDecisionPluginOptions, TaskAndDecisionsSharedState, TaskDecisionListType, AddItemTransactionCreator, } from './types';
@@ -1,5 +1,5 @@
1
1
  import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
2
2
  import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
- import type { TasksAndDecisionsPlugin } from '../types';
4
+ import type { TasksAndDecisionsPlugin } from '../tasksAndDecisionsPluginType';
5
5
  export declare const lazyDecisionView: (portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined) => import("@atlaskit/editor-common/lazy-node-view").NodeViewConstructor;
@@ -3,7 +3,7 @@ import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
5
5
  import type { EditorView, NodeView } from '@atlaskit/editor-prosemirror/view';
6
- import type { TasksAndDecisionsPlugin } from '../types';
6
+ import type { TasksAndDecisionsPlugin } from '../tasksAndDecisionsPluginType';
7
7
  type getPosHandler = getPosHandlerNode | boolean;
8
8
  type getPosHandlerNode = () => number | undefined;
9
9
  export declare const decisionItemNodeView: (portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined) => (node: PMNode, view: EditorView, getPos: getPosHandler) => NodeView;
@@ -1,6 +1,6 @@
1
1
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
2
2
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
- import type { TasksAndDecisionsPlugin } from '../../types';
3
+ import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
4
4
  type Props2 = {
5
5
  editorView: EditorView;
6
6
  api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined;
@@ -2,5 +2,5 @@ import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
2
2
  import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
- import type { TasksAndDecisionsPlugin } from '../types';
5
+ import type { TasksAndDecisionsPlugin } from '../tasksAndDecisionsPluginType';
6
6
  export declare const lazyTaskView: (portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined, placeholder?: string) => import("@atlaskit/editor-common/lazy-node-view").NodeViewConstructor;
@@ -4,7 +4,7 @@ import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
6
6
  import type { EditorView, NodeView } from '@atlaskit/editor-prosemirror/view';
7
- import type { TasksAndDecisionsPlugin } from '../types';
7
+ import type { TasksAndDecisionsPlugin } from '../tasksAndDecisionsPluginType';
8
8
  type getPosHandler = getPosHandlerNode | boolean;
9
9
  type getPosHandlerNode = () => number | undefined;
10
10
  export interface Props {
@@ -4,7 +4,7 @@ import type { Command, TOOLBAR_MENU_TYPE } from '@atlaskit/editor-common/types';
4
4
  import type { NodeType, ResolvedPos, Schema } from '@atlaskit/editor-prosemirror/model';
5
5
  import type { EditorState, Selection, Transaction } from '@atlaskit/editor-prosemirror/state';
6
6
  import type { TaskDecisionProvider } from '@atlaskit/task-decision/types';
7
- import type { AddItemAttrs, AddItemTransactionCreator, GetContextIdentifier, TaskDecisionInputMethod, TaskDecisionListType } from './types';
7
+ import type { AddItemAttrs, AddItemTransactionCreator, GetContextIdentifier, TaskDecisionInputMethod, TaskDecisionListType } from '../types';
8
8
  export declare const getListTypes: (listType: TaskDecisionListType, schema: Schema) => {
9
9
  list: NodeType;
10
10
  item: NodeType;
@@ -3,7 +3,7 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
3
3
  import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
4
4
  import type { Command, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { Schema } from '@atlaskit/editor-prosemirror/model';
6
- import type { TasksAndDecisionsPlugin } from '../types';
6
+ import type { TasksAndDecisionsPlugin } from '../tasksAndDecisionsPluginType';
7
7
  type IndentationInputMethod = INPUT_METHOD.KEYBOARD | INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
8
8
  export declare const getUnindentCommand: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (inputMethod?: IndentationInputMethod) => Command;
9
9
  export declare const getIndentCommand: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (inputMethod?: IndentationInputMethod) => Command;
@@ -3,5 +3,6 @@ import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
4
4
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
5
5
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
6
- import type { TaskDecisionPluginState, TasksAndDecisionsPlugin } from '../types';
6
+ import type { TasksAndDecisionsPlugin } from '../tasksAndDecisionsPluginType';
7
+ import type { TaskDecisionPluginState } from '../types';
7
8
  export declare function createPlugin(portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, dispatch: Dispatch, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined, useLongPressSelection?: boolean, hasEditPermission?: boolean, hasRequestedEditPermission?: boolean, requestToEditContent?: () => void, taskPlaceholder?: string): SafePlugin<TaskDecisionPluginState>;
@@ -1,3 +1,3 @@
1
- import type { TasksAndDecisionsPlugin } from './types';
1
+ import type { TasksAndDecisionsPlugin } from './tasksAndDecisionsPluginType';
2
2
  export declare const taskItemSpecWithFixedToDOM: () => import("prosemirror-model").NodeSpec;
3
3
  export declare const tasksAndDecisionsPlugin: TasksAndDecisionsPlugin;
@@ -0,0 +1,29 @@
1
+ import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
+ import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
+ import type { ContextIdentifierPlugin } from '@atlaskit/editor-plugin-context-identifier';
4
+ import type { EditorViewModePlugin } from '@atlaskit/editor-plugin-editor-viewmode';
5
+ import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
6
+ import type { TaskDecisionProvider } from '@atlaskit/task-decision/types';
7
+ import type { insertTaskDecisionCommand } from './pm-plugins/insert-commands';
8
+ import type { getIndentCommand, getUnindentCommand } from './pm-plugins/keymaps';
9
+ import type { TaskAndDecisionsSharedState, TaskDecisionPluginOptions } from './types';
10
+ export type TasksAndDecisionsPlugin = NextEditorPlugin<'taskDecision', {
11
+ pluginConfiguration: TaskDecisionPluginOptions | undefined;
12
+ sharedState: TaskAndDecisionsSharedState | undefined;
13
+ dependencies: [
14
+ OptionalPlugin<TypeAheadPlugin>,
15
+ OptionalPlugin<AnalyticsPlugin>,
16
+ OptionalPlugin<ContextIdentifierPlugin>,
17
+ OptionalPlugin<EditorViewModePlugin>
18
+ ];
19
+ actions: {
20
+ insertTaskDecision: ReturnType<typeof insertTaskDecisionCommand>;
21
+ indentTaskList: ReturnType<typeof getIndentCommand>;
22
+ outdentTaskList: ReturnType<typeof getUnindentCommand>;
23
+ setProvider: (provider: Promise<TaskDecisionProvider>) => Promise<boolean>;
24
+ };
25
+ commands: {
26
+ updateEditPermission: (hasEditPermission: boolean | undefined) => EditorCommand;
27
+ updateHasRequestedEditPermission: (hasRequestedEditPermission: boolean) => EditorCommand;
28
+ };
29
+ }>;
@@ -1,16 +1,10 @@
1
1
  import type { DecisionItemDefinition, TaskItemDefinition } from '@atlaskit/adf-schema';
2
2
  import type { INPUT_METHOD, USER_CONTEXT } from '@atlaskit/editor-common/analytics';
3
3
  import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
4
- import type { EditorCommand, LongPressSelectionPluginOptions, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
5
- import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
6
- import type { ContextIdentifierPlugin } from '@atlaskit/editor-plugin-context-identifier';
7
- import type { EditorViewModePlugin } from '@atlaskit/editor-plugin-editor-viewmode';
8
- import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
4
+ import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
9
5
  import type { NodeType } from '@atlaskit/editor-prosemirror/model';
10
6
  import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
11
7
  import type { TaskDecisionProvider } from '@atlaskit/task-decision/types';
12
- import type { insertTaskDecisionCommand } from './commands';
13
- import type { getIndentCommand, getUnindentCommand } from './pm-plugins/keymaps';
14
8
  export type TaskDecisionListType = 'taskList' | 'decisionList';
15
9
  export type TaskDecisionInputMethod = INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.FORMATTING | INPUT_METHOD.KEYBOARD;
16
10
  export type ContextData = {
@@ -83,24 +77,4 @@ export type TaskAndDecisionsSharedState = Pick<TaskDecisionPluginState, 'focused
83
77
  indentDisabled: boolean;
84
78
  outdentDisabled: boolean;
85
79
  };
86
- export type TasksAndDecisionsPlugin = NextEditorPlugin<'taskDecision', {
87
- pluginConfiguration: TaskDecisionPluginOptions | undefined;
88
- sharedState: TaskAndDecisionsSharedState | undefined;
89
- dependencies: [
90
- OptionalPlugin<TypeAheadPlugin>,
91
- OptionalPlugin<AnalyticsPlugin>,
92
- OptionalPlugin<ContextIdentifierPlugin>,
93
- OptionalPlugin<EditorViewModePlugin>
94
- ];
95
- actions: {
96
- insertTaskDecision: ReturnType<typeof insertTaskDecisionCommand>;
97
- indentTaskList: ReturnType<typeof getIndentCommand>;
98
- outdentTaskList: ReturnType<typeof getUnindentCommand>;
99
- setProvider: (provider: Promise<TaskDecisionProvider>) => Promise<boolean>;
100
- };
101
- commands: {
102
- updateEditPermission: (hasEditPermission: boolean | undefined) => EditorCommand;
103
- updateHasRequestedEditPermission: (hasRequestedEditPermission: boolean) => EditorCommand;
104
- };
105
- }>;
106
80
  export type GetContextIdentifier = () => ContextIdentifierProvider | undefined;
@@ -4,7 +4,8 @@ import type { WrappedComponentProps } from 'react-intl-next';
4
4
  import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
5
5
  import { type ExtractInjectionAPI } from '@atlaskit/editor-common/types';
6
6
  import type { ContentRef } from '@atlaskit/task-decision';
7
- import { type TaskAndDecisionsSharedState, type TasksAndDecisionsPlugin } from '../../types';
7
+ import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
8
+ import { type TaskAndDecisionsSharedState } from '../../types';
8
9
  export interface TaskProps {
9
10
  taskId: string;
10
11
  isDone: boolean;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { WrappedComponentProps } from 'react-intl-next';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
- import type { TasksAndDecisionsPlugin } from '../../types';
5
+ import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
6
6
  export interface Props {
7
7
  editorView?: EditorView;
8
8
  isDisabled?: boolean;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { WrappedComponentProps } from 'react-intl-next';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
- import type { TasksAndDecisionsPlugin } from '../../types';
5
+ import type { TasksAndDecisionsPlugin } from '../../tasksAndDecisionsPluginType';
6
6
  export interface Props {
7
7
  editorView?: EditorView;
8
8
  isDisabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-tasks-and-decisions",
3
- "version": "2.12.16",
3
+ "version": "2.12.17",
4
4
  "description": "Tasks and decisions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^46.1.0",
35
35
  "@atlaskit/analytics-namespaced-context": "^6.12.0",
36
- "@atlaskit/analytics-next": "^10.1.0",
36
+ "@atlaskit/analytics-next": "^10.2.0",
37
37
  "@atlaskit/editor-common": "^96.3.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^1.10.0",
39
39
  "@atlaskit/editor-plugin-context-identifier": "^1.3.0",
@@ -69,6 +69,9 @@
69
69
  },
70
70
  "techstack": {
71
71
  "@atlassian/frontend": {
72
+ "code-structure": [
73
+ "editor-plugin"
74
+ ],
72
75
  "import-structure": [
73
76
  "atlassian-conventions"
74
77
  ],
File without changes
File without changes
File without changes
File without changes