@atlaskit/editor-plugin-collab-edit 17.0.12 → 17.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/editor-plugin-collab-edit
2
2
 
3
+ ## 17.0.14
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 17.0.13
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 17.0.12
4
16
 
5
17
  ### Patch Changes
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.sendTransaction = void 0;
7
- var _steps = require("@atlaskit/adf-schema/steps");
7
+ var _analytics = require("@atlaskit/adf-schema/steps/analytics");
8
8
  var _actions = require("../actions");
9
9
  var _pluginKey = require("../main/plugin-key");
10
10
  var sendTransaction = exports.sendTransaction = function sendTransaction(_ref) {
@@ -22,7 +22,7 @@ var sendTransaction = exports.sendTransaction = function sendTransaction(_ref) {
22
22
  var currentPluginState = _pluginKey.pluginKey.getState(newEditorState);
23
23
  var trNoAnalytics = oldEditorState.tr;
24
24
  docChangedTransaction === null || docChangedTransaction === void 0 || docChangedTransaction.steps.forEach(function (step) {
25
- if (!(step instanceof _steps.AnalyticsStep)) {
25
+ if (!(step instanceof _analytics.AnalyticsStep)) {
26
26
  trNoAnalytics.step(step);
27
27
  }
28
28
  });
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.filterAnalyticsSteps = filterAnalyticsSteps;
7
- var _steps = require("@atlaskit/adf-schema/steps");
7
+ var _analytics = require("@atlaskit/adf-schema/steps/analytics");
8
8
  var _prosemirrorCollab = require("@atlaskit/prosemirror-collab");
9
9
  /**
10
10
  * Filter out AnalyticsStep from the steps.
@@ -15,7 +15,7 @@ var _prosemirrorCollab = require("@atlaskit/prosemirror-collab");
15
15
  */
16
16
  function filterAnalyticsSteps(steps) {
17
17
  var filteredSteps = steps.reduce(function (acc, rebaseable) {
18
- if (!(rebaseable.step instanceof _steps.AnalyticsStep)) {
18
+ if (!(rebaseable.step instanceof _analytics.AnalyticsStep)) {
19
19
  acc.push(new _prosemirrorCollab.Rebaseable(rebaseable.step, rebaseable.inverted, rebaseable.origin));
20
20
  }
21
21
  return acc;
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.monitorOrganic = exports.getScheduler = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
- var _steps = require("@atlaskit/adf-schema/steps");
10
+ var _analytics = require("@atlaskit/adf-schema/steps/analytics");
11
11
  var _trackLastOrganicChange = require("./track-last-organic-change");
12
12
  var _trackSteps = require("./track-steps");
13
13
  var _excluded = ["steps"];
@@ -87,7 +87,7 @@ var monitorOrganic = exports.monitorOrganic = function monitorOrganic(_ref) {
87
87
  var newSteps = transactions.flatMap(function (t) {
88
88
  return t.steps;
89
89
  }).filter(function (step) {
90
- return !(step instanceof _steps.AnalyticsStep);
90
+ return !(step instanceof _analytics.AnalyticsStep);
91
91
  });
92
92
  var scheduler = getScheduler(window);
93
93
  if (!newSteps.length || !scheduler) {
@@ -6,7 +6,10 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.createPlugin = exports.createFilterTransaction = void 0;
7
7
  exports.generateTransactionKey = generateTransactionKey;
8
8
  exports.trackSpammingStepsPluginKey = exports.sanitizeFilteredStep = void 0;
9
- var _steps = require("@atlaskit/adf-schema/steps");
9
+ var _analytics = require("@atlaskit/adf-schema/steps/analytics");
10
+ var _typeAhead = require("@atlaskit/adf-schema/steps/type-ahead");
11
+ var _linkMetaStep = require("@atlaskit/adf-schema/steps/link-meta-step");
12
+ var _setAttrs = require("@atlaskit/adf-schema/steps/set-attrs");
10
13
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
11
14
  var _state = require("@atlaskit/editor-prosemirror/state");
12
15
  var _transform = require("@atlaskit/editor-prosemirror/transform");
@@ -38,7 +41,7 @@ var sanitizeFilteredStep = exports.sanitizeFilteredStep = function sanitizeFilte
38
41
  } else if (step instanceof _transform.DocAttrStep) {
39
42
  sanitizedStep.attr = step.attr;
40
43
  sanitizedStep.stepInstance = 'DocAttrStep';
41
- } else if (step instanceof _steps.SetAttrsStep) {
44
+ } else if (step instanceof _setAttrs.SetAttrsStep) {
42
45
  // Combines all attrs keys separated by _ to one single string
43
46
  sanitizedStep.attr = Object.keys(step.attrs).sort().join('_');
44
47
  sanitizedStep.stepInstance = 'SetAttrsStep';
@@ -58,11 +61,11 @@ var sanitizeFilteredStep = exports.sanitizeFilteredStep = function sanitizeFilte
58
61
  sanitizedStep.stepInstance = 'ReplaceStep';
59
62
  } else if (step instanceof _transform.ReplaceAroundStep) {
60
63
  sanitizedStep.stepInstance = 'ReplaceAroundStep';
61
- } else if (step instanceof _steps.AnalyticsStep) {
64
+ } else if (step instanceof _analytics.AnalyticsStep) {
62
65
  sanitizedStep.stepInstance = 'AnalyticsStep';
63
- } else if (step instanceof _steps.InsertTypeAheadStep) {
66
+ } else if (step instanceof _typeAhead.InsertTypeAheadStep) {
64
67
  sanitizedStep.stepInstance = 'InsertTypeAheadStep';
65
- } else if (step instanceof _steps.LinkMetaStep) {
68
+ } else if (step instanceof _linkMetaStep.LinkMetaStep) {
66
69
  sanitizedStep.stepInstance = 'LinkMetaStep';
67
70
  }
68
71
  return sanitizedStep;
@@ -77,7 +80,7 @@ var createFilterTransaction = exports.createFilterTransaction = function createF
77
80
  return true;
78
81
  }
79
82
  var containsExcludedSteps = tr.steps.some(function (step) {
80
- return step instanceof _steps.AnalyticsStep || step instanceof _transform.ReplaceStep || step instanceof _transform.ReplaceAroundStep || step instanceof _steps.LinkMetaStep;
83
+ return step instanceof _analytics.AnalyticsStep || step instanceof _transform.ReplaceStep || step instanceof _transform.ReplaceAroundStep || step instanceof _linkMetaStep.LinkMetaStep;
81
84
  });
82
85
  if (containsExcludedSteps) {
83
86
  return true;
@@ -118,13 +121,13 @@ var createFilterTransaction = exports.createFilterTransaction = function createF
118
121
  // Helper function to create a u ique transaction key
119
122
  function generateTransactionKey(tr) {
120
123
  var stepPositions = tr.steps.map(function (step) {
121
- if (step instanceof _transform.RemoveNodeMarkStep || step instanceof _transform.AddNodeMarkStep || step instanceof _steps.SetAttrsStep || step instanceof _transform.AttrStep) {
124
+ if (step instanceof _transform.RemoveNodeMarkStep || step instanceof _transform.AddNodeMarkStep || step instanceof _setAttrs.SetAttrsStep || step instanceof _transform.AttrStep) {
122
125
  if (step.pos !== undefined) {
123
126
  return "".concat(step.pos);
124
127
  }
125
128
  } else if (step instanceof _transform.AddMarkStep || step instanceof _transform.RemoveMarkStep) {
126
129
  return "from_".concat(step.from, "_to_").concat(step.to);
127
- } else if (step instanceof _steps.InsertTypeAheadStep) {
130
+ } else if (step instanceof _typeAhead.InsertTypeAheadStep) {
128
131
  return "insertTypeAheadStep";
129
132
  }
130
133
  return '';
@@ -6,7 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.track = exports.task = exports.sanitizeStep = exports.groupSteps = void 0;
8
8
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
9
- var _steps = require("@atlaskit/adf-schema/steps");
9
+ var _analytics = require("@atlaskit/adf-schema/steps/analytics");
10
+ var _setAttrs = require("@atlaskit/adf-schema/steps/set-attrs");
11
+ var _batchAttrsStep = require("@atlaskit/adf-schema/steps/batch-attrs-step");
10
12
  var _transform = require("@atlaskit/editor-prosemirror/transform");
11
13
  var _prosemirrorCollab = require("@atlaskit/prosemirror-collab");
12
14
  var _trackStepMetrics = require("./track-step-metrics");
@@ -51,12 +53,12 @@ var sanitizeStep = exports.sanitizeStep = function sanitizeStep(step) {
51
53
  };
52
54
  if (step instanceof _transform.AttrStep || step instanceof _transform.DocAttrStep) {
53
55
  sanitizedStep.attr = step.attr;
54
- } else if (step instanceof _steps.SetAttrsStep) {
56
+ } else if (step instanceof _setAttrs.SetAttrsStep) {
55
57
  // Combines all attrs keys separated by _ to one single string
56
58
  sanitizedStep.attr = Object.keys(step.attrs).sort().join('_');
57
59
  } else if (step instanceof _transform.AddMarkStep || step instanceof _transform.RemoveMarkStep || step instanceof _transform.RemoveNodeMarkStep || step instanceof _transform.AddNodeMarkStep) {
58
60
  sanitizedStep.markType = step.mark.type.name;
59
- } else if (step instanceof _steps.BatchAttrsStep) {
61
+ } else if (step instanceof _batchAttrsStep.BatchAttrsStep) {
60
62
  var batched = step.data.map(function (_ref) {
61
63
  var nodeType = _ref.nodeType,
62
64
  attrs = _ref.attrs;
@@ -184,7 +186,7 @@ var track = exports.track = function track(_ref4) {
184
186
  (0, _trackStepMetrics.updateNcsSessionStepMetrics)({
185
187
  api: api,
186
188
  steps: newSteps.filter(function (step) {
187
- return !(step instanceof _steps.AnalyticsStep);
189
+ return !(step instanceof _analytics.AnalyticsStep);
188
190
  })
189
191
  });
190
192
  scheduler.postTask(function () {
@@ -8,8 +8,10 @@ exports.findPointers = exports.createTelepointers = void 0;
8
8
  exports.getAvatarColor = getAvatarColor;
9
9
  exports.scrollToCollabCursor = exports.replaceDocument = exports.originalTransactionHasMeta = exports.isReplaceStep = exports.isOrganicChange = exports.hasExistingNudge = exports.getPositionOfTelepointer = void 0;
10
10
  var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
11
- var _steps = require("@atlaskit/adf-schema/steps");
12
- var _analytics = require("@atlaskit/editor-common/analytics");
11
+ var _analytics = require("@atlaskit/adf-schema/steps/analytics");
12
+ var _batchAttrsStep = require("@atlaskit/adf-schema/steps/batch-attrs-step");
13
+ var _setAttrs = require("@atlaskit/adf-schema/steps/set-attrs");
14
+ var _analytics2 = require("@atlaskit/editor-common/analytics");
13
15
  var _collab = require("@atlaskit/editor-common/collab");
14
16
  var _processRawValue = require("@atlaskit/editor-common/process-raw-value");
15
17
  var _whitespace = require("@atlaskit/editor-common/whitespace");
@@ -192,9 +194,9 @@ var scrollToCollabCursor = exports.scrollToCollabCursor = function scrollToColla
192
194
  var state = editorView.state;
193
195
  var tr = state.tr;
194
196
  var analyticsPayload = {
195
- action: _analytics.ACTION.MATCHED,
196
- actionSubject: _analytics.ACTION_SUBJECT.SELECTION,
197
- eventType: _analytics.EVENT_TYPE.TRACK
197
+ action: _analytics2.ACTION.MATCHED,
198
+ actionSubject: _analytics2.ACTION_SUBJECT.SELECTION,
199
+ eventType: _analytics2.EVENT_TYPE.TRACK
198
200
  };
199
201
  tr.setSelection(_state.Selection.near(tr.doc.resolve(selectedUser.cursorPos)));
200
202
  editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 || editorAnalyticsAPI.attachAnalyticsEvent(analyticsPayload)(tr);
@@ -255,7 +257,7 @@ var isOrganicChange = exports.isOrganicChange = function isOrganicChange(tr) {
255
257
  }
256
258
  return tr.steps.some(function (step) {
257
259
  // If a step is an instance of AnalyticsStep, it is not considered organic
258
- if (step instanceof _steps.AnalyticsStep) {
260
+ if (step instanceof _analytics.AnalyticsStep) {
259
261
  return false;
260
262
  }
261
263
 
@@ -265,7 +267,7 @@ var isOrganicChange = exports.isOrganicChange = function isOrganicChange(tr) {
265
267
  }
266
268
 
267
269
  // editor-plugin-local-id uses BatchAttrStep to set the localId attribute
268
- if (step instanceof _steps.BatchAttrsStep) {
270
+ if (step instanceof _batchAttrsStep.BatchAttrsStep) {
269
271
  var _allAttributes = step.data.map(function (data) {
270
272
  return Object.keys(data.attrs);
271
273
  }).flat();
@@ -275,7 +277,7 @@ var isOrganicChange = exports.isOrganicChange = function isOrganicChange(tr) {
275
277
  }
276
278
 
277
279
  // If a step is not an instance of SetAttrsStep, it is considered organic
278
- if (!(step instanceof _steps.SetAttrsStep)) {
280
+ if (!(step instanceof _setAttrs.SetAttrsStep)) {
279
281
  return true;
280
282
  }
281
283
  var allAttributes = Object.keys(step.attrs);
@@ -1,4 +1,4 @@
1
- import { AnalyticsStep } from '@atlaskit/adf-schema/steps';
1
+ import { AnalyticsStep } from '@atlaskit/adf-schema/steps/analytics';
2
2
  import { getSendableSelection } from '../actions';
3
3
  import { pluginKey } from '../main/plugin-key';
4
4
  export const sendTransaction = ({
@@ -1,4 +1,4 @@
1
- import { AnalyticsStep } from '@atlaskit/adf-schema/steps';
1
+ import { AnalyticsStep } from '@atlaskit/adf-schema/steps/analytics';
2
2
  import { Rebaseable } from '@atlaskit/prosemirror-collab';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { AnalyticsStep } from '@atlaskit/adf-schema/steps';
1
+ import { AnalyticsStep } from '@atlaskit/adf-schema/steps/analytics';
2
2
  import { trackLastOrganicChangePluginKey } from './track-last-organic-change';
3
3
  import { groupSteps, sanitizeStep } from './track-steps';
4
4
  // This is essentially a queue of cached events. When the background task runs to send these items then this queue is flushed.
@@ -1,4 +1,7 @@
1
- import { AnalyticsStep, InsertTypeAheadStep, LinkMetaStep, SetAttrsStep } from '@atlaskit/adf-schema/steps';
1
+ import { AnalyticsStep } from '@atlaskit/adf-schema/steps/analytics';
2
+ import { InsertTypeAheadStep } from '@atlaskit/adf-schema/steps/type-ahead';
3
+ import { LinkMetaStep } from '@atlaskit/adf-schema/steps/link-meta-step';
4
+ import { SetAttrsStep } from '@atlaskit/adf-schema/steps/set-attrs';
2
5
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
6
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
4
7
  import { AddMarkStep, AddNodeMarkStep, AttrStep, DocAttrStep, RemoveMarkStep, RemoveNodeMarkStep, ReplaceAroundStep, ReplaceStep } from '@atlaskit/editor-prosemirror/transform';
@@ -1,5 +1,7 @@
1
1
  // delete this file when cleaning up platform_editor_remove_collab_step_metrics
2
- import { AnalyticsStep, SetAttrsStep, BatchAttrsStep } from '@atlaskit/adf-schema/steps';
2
+ import { AnalyticsStep } from '@atlaskit/adf-schema/steps/analytics';
3
+ import { SetAttrsStep } from '@atlaskit/adf-schema/steps/set-attrs';
4
+ import { BatchAttrsStep } from '@atlaskit/adf-schema/steps/batch-attrs-step';
3
5
  import { AddMarkStep, AddNodeMarkStep, AttrStep, DocAttrStep, RemoveMarkStep, RemoveNodeMarkStep } from '@atlaskit/editor-prosemirror/transform';
4
6
  import { sendableSteps } from '@atlaskit/prosemirror-collab';
5
7
  import { updateNcsSessionStepMetrics } from './track-step-metrics';
@@ -1,4 +1,6 @@
1
- import { AnalyticsStep, BatchAttrsStep, SetAttrsStep } from '@atlaskit/adf-schema/steps';
1
+ import { AnalyticsStep } from '@atlaskit/adf-schema/steps/analytics';
2
+ import { BatchAttrsStep } from '@atlaskit/adf-schema/steps/batch-attrs-step';
3
+ import { SetAttrsStep } from '@atlaskit/adf-schema/steps/set-attrs';
2
4
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
3
5
  import { TELEPOINTER_DATA_SESSION_ID_ATTR, TELEPOINTER_PULSE_DURING_TR_CLASS, TELEPOINTER_PULSE_DURING_TR_DURATION_MS } from '@atlaskit/editor-common/collab';
4
6
  import { processRawValueWithoutValidation } from '@atlaskit/editor-common/process-raw-value';
@@ -1,4 +1,4 @@
1
- import { AnalyticsStep } from '@atlaskit/adf-schema/steps';
1
+ import { AnalyticsStep } from '@atlaskit/adf-schema/steps/analytics';
2
2
  import { getSendableSelection } from '../actions';
3
3
  import { pluginKey } from '../main/plugin-key';
4
4
  export var sendTransaction = function sendTransaction(_ref) {
@@ -1,4 +1,4 @@
1
- import { AnalyticsStep } from '@atlaskit/adf-schema/steps';
1
+ import { AnalyticsStep } from '@atlaskit/adf-schema/steps/analytics';
2
2
  import { Rebaseable } from '@atlaskit/prosemirror-collab';
3
3
 
4
4
  /**
@@ -6,7 +6,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
6
6
  function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
7
7
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
8
8
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
9
- import { AnalyticsStep } from '@atlaskit/adf-schema/steps';
9
+ import { AnalyticsStep } from '@atlaskit/adf-schema/steps/analytics';
10
10
  import { trackLastOrganicChangePluginKey } from './track-last-organic-change';
11
11
  import { groupSteps, sanitizeStep } from './track-steps';
12
12
  // This is essentially a queue of cached events. When the background task runs to send these items then this queue is flushed.
@@ -1,4 +1,7 @@
1
- import { AnalyticsStep, InsertTypeAheadStep, LinkMetaStep, SetAttrsStep } from '@atlaskit/adf-schema/steps';
1
+ import { AnalyticsStep } from '@atlaskit/adf-schema/steps/analytics';
2
+ import { InsertTypeAheadStep } from '@atlaskit/adf-schema/steps/type-ahead';
3
+ import { LinkMetaStep } from '@atlaskit/adf-schema/steps/link-meta-step';
4
+ import { SetAttrsStep } from '@atlaskit/adf-schema/steps/set-attrs';
2
5
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
6
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
4
7
  import { AddMarkStep, AddNodeMarkStep, AttrStep, DocAttrStep, RemoveMarkStep, RemoveNodeMarkStep, ReplaceAroundStep, ReplaceStep } from '@atlaskit/editor-prosemirror/transform';
@@ -3,7 +3,9 @@ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol
3
3
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
4
4
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
5
5
  // delete this file when cleaning up platform_editor_remove_collab_step_metrics
6
- import { AnalyticsStep, SetAttrsStep, BatchAttrsStep } from '@atlaskit/adf-schema/steps';
6
+ import { AnalyticsStep } from '@atlaskit/adf-schema/steps/analytics';
7
+ import { SetAttrsStep } from '@atlaskit/adf-schema/steps/set-attrs';
8
+ import { BatchAttrsStep } from '@atlaskit/adf-schema/steps/batch-attrs-step';
7
9
  import { AddMarkStep, AddNodeMarkStep, AttrStep, DocAttrStep, RemoveMarkStep, RemoveNodeMarkStep } from '@atlaskit/editor-prosemirror/transform';
8
10
  import { sendableSteps } from '@atlaskit/prosemirror-collab';
9
11
  import { updateNcsSessionStepMetrics } from './track-step-metrics';
@@ -1,5 +1,7 @@
1
1
  import _typeof from "@babel/runtime/helpers/typeof";
2
- import { AnalyticsStep, BatchAttrsStep, SetAttrsStep } from '@atlaskit/adf-schema/steps';
2
+ import { AnalyticsStep } from '@atlaskit/adf-schema/steps/analytics';
3
+ import { BatchAttrsStep } from '@atlaskit/adf-schema/steps/batch-attrs-step';
4
+ import { SetAttrsStep } from '@atlaskit/adf-schema/steps/set-attrs';
3
5
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
4
6
  import { TELEPOINTER_DATA_SESSION_ID_ATTR, TELEPOINTER_PULSE_DURING_TR_CLASS, TELEPOINTER_PULSE_DURING_TR_DURATION_MS } from '@atlaskit/editor-common/collab';
5
7
  import { processRawValueWithoutValidation } from '@atlaskit/editor-common/process-raw-value';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-collab-edit",
3
- "version": "17.0.12",
3
+ "version": "17.0.14",
4
4
  "description": "Collab Edit plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,13 +32,13 @@
32
32
  "@atlaskit/platform-feature-experiments": "^0.3.0",
33
33
  "@atlaskit/platform-feature-flags": "^2.2.0",
34
34
  "@atlaskit/prosemirror-collab": "^1.1.0",
35
- "@atlaskit/tmp-editor-statsig": "^171.0.0",
35
+ "@atlaskit/tmp-editor-statsig": "^173.0.0",
36
36
  "@atlaskit/tokens": "^16.11.0",
37
37
  "@babel/runtime": "^7.0.0",
38
38
  "memoize-one": "^6.0.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "@atlaskit/editor-common": "^120.10.0",
41
+ "@atlaskit/editor-common": "^120.11.0",
42
42
  "react": "^18.2.0 || ^19.2.0",
43
43
  "react-dom": "^18.2.0 || ^19.2.0"
44
44
  },
@@ -48,42 +48,6 @@
48
48
  "react-dom": "^19.2.0",
49
49
  "wait-for-expect": "^1.2.0"
50
50
  },
51
- "techstack": {
52
- "@atlassian/frontend": {
53
- "code-structure": [
54
- "editor-plugin"
55
- ],
56
- "import-structure": [
57
- "atlassian-conventions"
58
- ],
59
- "circular-dependencies": [
60
- "file-and-folder-level"
61
- ]
62
- },
63
- "@repo/internal": {
64
- "dom-events": "use-bind-event-listener",
65
- "analytics": [
66
- "analytics-next"
67
- ],
68
- "design-tokens": [
69
- "color"
70
- ],
71
- "theming": [
72
- "react-context"
73
- ],
74
- "ui-components": [
75
- "lite-mode"
76
- ],
77
- "deprecation": "no-deprecated-imports",
78
- "styling": [
79
- "emotion",
80
- "emotion"
81
- ],
82
- "imports": [
83
- "import-no-extraneous-disable-for-examples-and-docs"
84
- ]
85
- }
86
- },
87
51
  "platform-feature-flags": {
88
52
  "platform_editor_agent_be_review_undo": {
89
53
  "type": "boolean"