@atlaskit/editor-plugin-base 27.0.3 → 27.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/editor-plugin-base
2
2
 
3
+ ## 27.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 27.0.4
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 27.0.3
4
16
 
5
17
  ### Patch Changes
@@ -10,7 +10,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
10
10
  var _doc = require("@atlaskit/adf-schema/doc");
11
11
  var _paragraph = require("@atlaskit/adf-schema/paragraph");
12
12
  var _text = require("@atlaskit/adf-schema/text");
13
- var _keymaps = require("@atlaskit/editor-common/keymaps");
13
+ var _keymap = require("@atlaskit/editor-common/keymap");
14
14
  var _commands = require("@atlaskit/editor-prosemirror/commands");
15
15
  var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
16
16
  var _history = require("@atlaskit/prosemirror-history/history");
@@ -153,7 +153,7 @@ var basePlugin = function basePlugin(_ref) {
153
153
  {
154
154
  name: 'codeBlockIndent',
155
155
  plugin: function plugin() {
156
- return (0, _keymaps.keymap)(_objectSpread(_objectSpread({}, _commands.baseKeymap), {}, {
156
+ return (0, _keymap.keymap)(_objectSpread(_objectSpread({}, _commands.baseKeymap), {}, {
157
157
  'Mod-[': function Mod() {
158
158
  return true;
159
159
  },
@@ -4,7 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _analytics = require("@atlaskit/editor-common/analytics");
7
+ var _enums = require("@atlaskit/editor-common/analytics/types/enums");
8
+ var _utils = require("@atlaskit/editor-common/analytics/utils");
8
9
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
9
10
  var hasInvalidSteps = function hasInvalidSteps(tr) {
10
11
  return (tr.steps || []).some(function (step) {
@@ -18,12 +19,12 @@ var _default = exports.default = function _default(dispatchAnalyticsEvent) {
18
19
  // eslint-disable-next-line no-console
19
20
  console.warn('The transaction was blocked because it contains invalid steps', transaction.steps);
20
21
  dispatchAnalyticsEvent({
21
- action: _analytics.ACTION.DISCARDED_INVALID_STEPS_FROM_TRANSACTION,
22
- actionSubject: _analytics.ACTION_SUBJECT.EDITOR,
22
+ action: _enums.ACTION.DISCARDED_INVALID_STEPS_FROM_TRANSACTION,
23
+ actionSubject: _enums.ACTION_SUBJECT.EDITOR,
23
24
  attributes: {
24
- analyticsEventPayloads: (0, _analytics.getAnalyticsEventsFromTransaction)(transaction)
25
+ analyticsEventPayloads: (0, _utils.getAnalyticsEventsFromTransaction)(transaction)
25
26
  },
26
- eventType: _analytics.EVENT_TYPE.OPERATIONAL
27
+ eventType: _enums.EVENT_TYPE.OPERATIONAL
27
28
  });
28
29
  return false;
29
30
  }
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.frozenEditorPluginKey = exports.default = exports.NORMAL_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = exports.DEFAULT_TRACK_SEVERITY_THRESHOLD_NORMAL = exports.DEFAULT_TRACK_SEVERITY_THRESHOLD_DEGRADED = exports.DEFAULT_FREEZE_THRESHOLD = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
- var _analytics = require("@atlaskit/editor-common/analytics");
9
+ var _enums = require("@atlaskit/editor-common/analytics/types/enums");
10
+ var _generalEvents = require("@atlaskit/editor-common/analytics/types/general-events");
10
11
  var _countNodes = require("@atlaskit/editor-common/count-nodes");
11
12
  var _isPerformanceApiAvailable = require("@atlaskit/editor-common/is-performance-api-available");
12
13
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
13
- var _analytics2 = require("@atlaskit/editor-common/utils/analytics");
14
+ var _analytics = require("@atlaskit/editor-common/utils/analytics");
14
15
  var _state = require("@atlaskit/editor-prosemirror/state");
15
16
  var _frozenEditor = require("./utils/frozen-editor");
16
17
  var _inputLatencyTracking = _interopRequireDefault(require("./utils/input-latency-tracking"));
@@ -31,8 +32,8 @@ var dispatchLongTaskEvent = function dispatchLongTaskEvent(contextIdentifierPlug
31
32
  var state = view.state;
32
33
  var nodesCount = getNodeCount(state);
33
34
  return dispatchAnalyticsEvent({
34
- action: _analytics.ACTION.BROWSER_FREEZE,
35
- actionSubject: _analytics.ACTION_SUBJECT.EDITOR,
35
+ action: _enums.ACTION.BROWSER_FREEZE,
36
+ actionSubject: _enums.ACTION_SUBJECT.EDITOR,
36
37
  attributes: _objectSpread(_objectSpread({
37
38
  objectId: contextIdentifierPlugin === null || contextIdentifierPlugin === void 0 || (_contextIdentifierPlu = contextIdentifierPlugin.sharedState.currentState()) === null || _contextIdentifierPlu === void 0 || (_contextIdentifierPlu = _contextIdentifierPlu.contextIdentifierProvider) === null || _contextIdentifierPlu === void 0 ? void 0 : _contextIdentifierPlu.objectId,
38
39
  freezeTime: time,
@@ -41,7 +42,7 @@ var dispatchLongTaskEvent = function dispatchLongTaskEvent(contextIdentifierPlug
41
42
  interactionType: interactionType,
42
43
  severity: severity
43
44
  }),
44
- eventType: _analytics.EVENT_TYPE.OPERATIONAL
45
+ eventType: _enums.EVENT_TYPE.OPERATIONAL
45
46
  });
46
47
  };
47
48
  };
@@ -50,7 +51,7 @@ var _default = exports.default = function _default(contextIdentifierPlugin) {
50
51
  var interactionType;
51
52
  var inputLatencyTracker = null;
52
53
  if (browserFreezeTracking !== null && browserFreezeTracking !== void 0 && browserFreezeTracking.trackInteractionType) {
53
- interactionType = (0, _frozenEditor.setInteractionType)(_analytics.BROWSER_FREEZE_INTERACTION_TYPE.LOADING);
54
+ interactionType = (0, _frozenEditor.setInteractionType)(_generalEvents.BROWSER_FREEZE_INTERACTION_TYPE.LOADING);
54
55
  }
55
56
  var samplingRate = inputTracking && typeof inputTracking.samplingRate === 'number' ? inputTracking.samplingRate : DEFAULT_KEYSTROKE_SAMPLING_LIMIT;
56
57
 
@@ -82,7 +83,7 @@ var _default = exports.default = function _default(contextIdentifierPlugin) {
82
83
  var nodesCount = getNodeCount(state);
83
84
  var samplePayload = {
84
85
  action: action,
85
- actionSubject: _analytics.ACTION_SUBJECT.EDITOR,
86
+ actionSubject: _enums.ACTION_SUBJECT.EDITOR,
86
87
  attributes: _objectSpread(_objectSpread({
87
88
  time: time,
88
89
  nodeSize: state.doc.nodeSize
@@ -90,7 +91,7 @@ var _default = exports.default = function _default(contextIdentifierPlugin) {
90
91
  objectId: contextIdentifierPlugin === null || contextIdentifierPlugin === void 0 || (_contextIdentifierPlu2 = contextIdentifierPlugin.sharedState.currentState()) === null || _contextIdentifierPlu2 === void 0 || (_contextIdentifierPlu2 = _contextIdentifierPlu2.contextIdentifierProvider) === null || _contextIdentifierPlu2 === void 0 ? void 0 : _contextIdentifierPlu2.objectId,
91
92
  severity: shouldTrackSeverity ? severity : undefined
92
93
  }),
93
- eventType: _analytics.EVENT_TYPE.OPERATIONAL
94
+ eventType: _enums.EVENT_TYPE.OPERATIONAL
94
95
  };
95
96
  dispatchAnalyticsEvent(samplePayload);
96
97
  };
@@ -105,7 +106,7 @@ var _default = exports.default = function _default(contextIdentifierPlugin) {
105
106
  var nodeCount = getNodeCount(state);
106
107
  var averagePayload = {
107
108
  action: action,
108
- actionSubject: _analytics.ACTION_SUBJECT.EDITOR,
109
+ actionSubject: _enums.ACTION_SUBJECT.EDITOR,
109
110
  attributes: _objectSpread(_objectSpread({
110
111
  mean: mean,
111
112
  median: median,
@@ -115,7 +116,7 @@ var _default = exports.default = function _default(contextIdentifierPlugin) {
115
116
  severity: shouldTrackSeverity ? severity : undefined,
116
117
  objectId: contextIdentifierPlugin === null || contextIdentifierPlugin === void 0 || (_contextIdentifierPlu3 = contextIdentifierPlugin.sharedState.currentState()) === null || _contextIdentifierPlu3 === void 0 || (_contextIdentifierPlu3 = _contextIdentifierPlu3.contextIdentifierProvider) === null || _contextIdentifierPlu3 === void 0 ? void 0 : _contextIdentifierPlu3.objectId
117
118
  }),
118
- eventType: _analytics.EVENT_TYPE.OPERATIONAL
119
+ eventType: _enums.EVENT_TYPE.OPERATIONAL
119
120
  };
120
121
  dispatchAnalyticsEvent(averagePayload);
121
122
  };
@@ -125,7 +126,7 @@ var _default = exports.default = function _default(contextIdentifierPlugin) {
125
126
  props: (0, _isPerformanceApiAvailable.isPerformanceAPIAvailable)() ? {
126
127
  handleTextInput: function handleTextInput(view) {
127
128
  if (browserFreezeTracking !== null && browserFreezeTracking !== void 0 && browserFreezeTracking.trackInteractionType) {
128
- interactionType = _analytics.BROWSER_FREEZE_INTERACTION_TYPE.TYPING;
129
+ interactionType = _generalEvents.BROWSER_FREEZE_INTERACTION_TYPE.TYPING;
129
130
  }
130
131
  if (inputLatencyTracker) {
131
132
  var end = inputLatencyTracker.start();
@@ -138,11 +139,11 @@ var _default = exports.default = function _default(contextIdentifierPlugin) {
138
139
  },
139
140
  handleDOMEvents: browserFreezeTracking !== null && browserFreezeTracking !== void 0 && browserFreezeTracking.trackInteractionType ? {
140
141
  click: function click() {
141
- interactionType = (0, _frozenEditor.setInteractionType)(_analytics.BROWSER_FREEZE_INTERACTION_TYPE.CLICKING);
142
+ interactionType = (0, _frozenEditor.setInteractionType)(_generalEvents.BROWSER_FREEZE_INTERACTION_TYPE.CLICKING);
142
143
  return false;
143
144
  },
144
145
  paste: function paste() {
145
- interactionType = (0, _frozenEditor.setInteractionType)(_analytics.BROWSER_FREEZE_INTERACTION_TYPE.PASTING);
146
+ interactionType = (0, _frozenEditor.setInteractionType)(_generalEvents.BROWSER_FREEZE_INTERACTION_TYPE.PASTING);
146
147
  return false;
147
148
  }
148
149
  } : undefined
@@ -156,22 +157,22 @@ var _default = exports.default = function _default(contextIdentifierPlugin) {
156
157
  slowThreshold: slowThreshold,
157
158
  normalThreshold: severityThresholdNormal,
158
159
  degradedThreshold: severityThresholdDegraded,
159
- dispatchSample: createDispatchSample(_analytics.ACTION.INPUT_PERF_SAMPLING, _view),
160
- dispatchAverage: createDispatchAverage(_analytics.ACTION.INPUT_PERF_SAMPLING_AVG, _view),
160
+ dispatchSample: createDispatchSample(_enums.ACTION.INPUT_PERF_SAMPLING, _view),
161
+ dispatchAverage: createDispatchAverage(_enums.ACTION.INPUT_PERF_SAMPLING_AVG, _view),
161
162
  onSlowInput: function onSlowInput(time) {
162
163
  var _contextIdentifierPlu4;
163
164
  var state = _view.state;
164
165
  var nodesCount = getNodeCount(state);
165
166
  dispatchAnalyticsEvent({
166
- action: _analytics.ACTION.SLOW_INPUT,
167
- actionSubject: _analytics.ACTION_SUBJECT.EDITOR,
167
+ action: _enums.ACTION.SLOW_INPUT,
168
+ actionSubject: _enums.ACTION_SUBJECT.EDITOR,
168
169
  attributes: _objectSpread(_objectSpread({
169
170
  time: time,
170
171
  nodeSize: state.doc.nodeSize
171
172
  }, nodesCount), {}, {
172
173
  objectId: contextIdentifierPlugin === null || contextIdentifierPlugin === void 0 || (_contextIdentifierPlu4 = contextIdentifierPlugin.sharedState.currentState()) === null || _contextIdentifierPlu4 === void 0 || (_contextIdentifierPlu4 = _contextIdentifierPlu4.contextIdentifierProvider) === null || _contextIdentifierPlu4 === void 0 ? void 0 : _contextIdentifierPlu4.objectId
173
174
  }),
174
- eventType: _analytics.EVENT_TYPE.OPERATIONAL
175
+ eventType: _enums.EVENT_TYPE.OPERATIONAL
175
176
  });
176
177
  }
177
178
  });
@@ -182,7 +183,7 @@ var _default = exports.default = function _default(contextIdentifierPlugin) {
182
183
  for (var i = 0; i < perfEntries.length; i++) {
183
184
  var duration = perfEntries[i].duration;
184
185
  if (duration > freezeThreshold) {
185
- dispatchLongTaskEvent(contextIdentifierPlugin)(dispatchAnalyticsEvent, _view, duration, getNodeCount, browserFreezeTracking !== null && browserFreezeTracking !== void 0 && browserFreezeTracking.trackInteractionType ? interactionType : undefined, (0, _analytics2.getAnalyticsEventSeverity)(duration,
186
+ dispatchLongTaskEvent(contextIdentifierPlugin)(dispatchAnalyticsEvent, _view, duration, getNodeCount, browserFreezeTracking !== null && browserFreezeTracking !== void 0 && browserFreezeTracking.trackInteractionType ? interactionType : undefined, (0, _analytics.getAnalyticsEventSeverity)(duration,
186
187
  // Ignored via go/ees007
187
188
  // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
188
189
  //TODO: get right values here
@@ -7,7 +7,7 @@ exports.inlineCursorTargetStateKey = exports.default = void 0;
7
7
  var _browser = require("@atlaskit/editor-common/browser");
8
8
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
9
9
  var _utils = require("@atlaskit/editor-common/utils");
10
- var _whitespace = require("@atlaskit/editor-common/whitespace");
10
+ var _whitespace = require("@atlaskit/editor-common/whitespace/whitespace");
11
11
  var _state = require("@atlaskit/editor-prosemirror/state");
12
12
  var _view = require("@atlaskit/editor-prosemirror/view");
13
13
  var inlineCursorTargetStateKey = exports.inlineCursorTargetStateKey = new _state.PluginKey('inlineCursorTargetPlugin');
@@ -1,7 +1,7 @@
1
1
  import { doc } from '@atlaskit/adf-schema/doc';
2
2
  import { paragraph } from '@atlaskit/adf-schema/paragraph';
3
3
  import { text } from '@atlaskit/adf-schema/text';
4
- import { keymap } from '@atlaskit/editor-common/keymaps';
4
+ import { keymap } from '@atlaskit/editor-common/keymap';
5
5
  import { baseKeymap } from '@atlaskit/editor-prosemirror/commands';
6
6
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
7
7
  import { history } from '@atlaskit/prosemirror-history/history';
@@ -1,4 +1,5 @@
1
- import { ACTION, ACTION_SUBJECT, EVENT_TYPE, getAnalyticsEventsFromTransaction } from '@atlaskit/editor-common/analytics';
1
+ import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics/types/enums';
2
+ import { getAnalyticsEventsFromTransaction } from '@atlaskit/editor-common/analytics/utils';
2
3
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
4
  const hasInvalidSteps = tr => (tr.steps || []).some(step => step.from > step.to);
4
5
  export default (dispatchAnalyticsEvent => {
@@ -1,4 +1,5 @@
1
- import { ACTION, ACTION_SUBJECT, BROWSER_FREEZE_INTERACTION_TYPE, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
1
+ import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics/types/enums';
2
+ import { BROWSER_FREEZE_INTERACTION_TYPE } from '@atlaskit/editor-common/analytics/types/general-events';
2
3
  import { countNodes } from '@atlaskit/editor-common/count-nodes';
3
4
  import { isPerformanceAPIAvailable, isPerformanceObserverAvailable } from '@atlaskit/editor-common/is-performance-api-available';
4
5
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
@@ -1,7 +1,7 @@
1
1
  import { getBrowserInfo } from '@atlaskit/editor-common/browser';
2
2
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
3
  import { isTextSelection } from '@atlaskit/editor-common/utils';
4
- import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
4
+ import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace/whitespace';
5
5
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
6
6
  import { Decoration, DecorationSet } from '@atlaskit/editor-prosemirror/view';
7
7
  export const inlineCursorTargetStateKey = new PluginKey('inlineCursorTargetPlugin');
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  import { doc } from '@atlaskit/adf-schema/doc';
5
5
  import { paragraph } from '@atlaskit/adf-schema/paragraph';
6
6
  import { text } from '@atlaskit/adf-schema/text';
7
- import { keymap } from '@atlaskit/editor-common/keymaps';
7
+ import { keymap } from '@atlaskit/editor-common/keymap';
8
8
  import { baseKeymap } from '@atlaskit/editor-prosemirror/commands';
9
9
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
10
10
  import { history } from '@atlaskit/prosemirror-history/history';
@@ -1,4 +1,5 @@
1
- import { ACTION, ACTION_SUBJECT, EVENT_TYPE, getAnalyticsEventsFromTransaction } from '@atlaskit/editor-common/analytics';
1
+ import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics/types/enums';
2
+ import { getAnalyticsEventsFromTransaction } from '@atlaskit/editor-common/analytics/utils';
2
3
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
4
  var hasInvalidSteps = function hasInvalidSteps(tr) {
4
5
  return (tr.steps || []).some(function (step) {
@@ -1,7 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  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; }
3
3
  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) { _defineProperty(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; }
4
- import { ACTION, ACTION_SUBJECT, BROWSER_FREEZE_INTERACTION_TYPE, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
4
+ import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics/types/enums';
5
+ import { BROWSER_FREEZE_INTERACTION_TYPE } from '@atlaskit/editor-common/analytics/types/general-events';
5
6
  import { countNodes } from '@atlaskit/editor-common/count-nodes';
6
7
  import { isPerformanceAPIAvailable, isPerformanceObserverAvailable } from '@atlaskit/editor-common/is-performance-api-available';
7
8
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
@@ -1,7 +1,7 @@
1
1
  import { getBrowserInfo } from '@atlaskit/editor-common/browser';
2
2
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
3
  import { isTextSelection } from '@atlaskit/editor-common/utils';
4
- import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
4
+ import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace/whitespace';
5
5
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
6
6
  import { Decoration, DecorationSet } from '@atlaskit/editor-prosemirror/view';
7
7
  export var inlineCursorTargetStateKey = new PluginKey('inlineCursorTargetPlugin');
@@ -1,6 +1,7 @@
1
- import type { BrowserFreezetracking, InputTracking, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
- import type { ContextIdentifierPlugin } from '@atlaskit/editor-plugin-context-identifier';
3
- import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
1
+ import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types/next-editor-plugin';
2
+ import type { BrowserFreezetracking, InputTracking } from '@atlaskit/editor-common/types/performance-tracking';
3
+ import type { ContextIdentifierPlugin } from '@atlaskit/editor-plugin-context-identifier/contextIdentifierPluginType';
4
+ import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags/featureFlagsPluginType';
4
5
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
5
6
  import type { Transaction } from '@atlaskit/editor-prosemirror/state';
6
7
  import type { setKeyboardHeight } from './editor-commands/set-keyboard-height';
@@ -1,2 +1,2 @@
1
- import type { Command } from '@atlaskit/editor-common/types';
1
+ import type { Command } from '@atlaskit/editor-common/types/command';
2
2
  export declare const setKeyboardHeight: (keyboardHeight: number) => Command;
@@ -1,4 +1,4 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import type { FeatureFlags } from '@atlaskit/editor-common/types';
2
+ import type { FeatureFlags } from '@atlaskit/editor-common/types/feature-flags';
3
3
  export default _default;
4
4
  declare function _default(featureFlags: FeatureFlags): SafePlugin;
@@ -1,4 +1,4 @@
1
- import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
1
+ import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics/types/dispatch-analytics-event';
2
2
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
3
  export default _default;
4
4
  declare function _default(dispatchAnalyticsEvent: DispatchAnalyticsEvent): SafePlugin;
@@ -1,6 +1,7 @@
1
- import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
1
+ import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics/types/dispatch-analytics-event';
2
2
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
- import type { BrowserFreezetracking, ExtractInjectionAPI, InputTracking } from '@atlaskit/editor-common/types';
3
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
4
+ import type { BrowserFreezetracking, InputTracking } from '@atlaskit/editor-common/types/performance-tracking';
4
5
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
5
6
  import type { BasePlugin } from '../index';
6
7
  export declare const frozenEditorPluginKey: PluginKey;
@@ -1,2 +1,2 @@
1
- import type { InputTracking } from '@atlaskit/editor-common/types';
1
+ import type { InputTracking } from '@atlaskit/editor-common/types/performance-tracking';
2
2
  export declare const inputTracking: InputTracking;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-base",
3
- "version": "27.0.3",
3
+ "version": "27.0.5",
4
4
  "description": "Base plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -26,7 +26,7 @@
26
26
  "@atlaskit/feature-gate-js-client": "^7.0.0",
27
27
  "@atlaskit/platform-feature-experiments": "^0.3.0",
28
28
  "@atlaskit/prosemirror-history": "^1.3.0",
29
- "@atlaskit/tmp-editor-statsig": "^230.0.0",
29
+ "@atlaskit/tmp-editor-statsig": "^232.0.0",
30
30
  "@babel/runtime": "^7.0.0"
31
31
  },
32
32
  "peerDependencies": {