@atlaskit/editor-common 106.6.0 → 106.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 106.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#170866](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/170866)
8
+ [`0d19a8feca6a0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0d19a8feca6a0) -
9
+ Fixing a bug where we were unsubscribing the wrong provider call-back
10
+
11
+ ## 106.6.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 106.6.0
4
18
 
5
19
  ### Minor Changes
@@ -290,6 +290,8 @@ var ElementListMultipleColumns = function ElementListMultipleColumns(props) {
290
290
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766 -- Ignored via go/DSP-18766
291
291
  ,
292
292
  className: "element-item-wrapper",
293
+ role: "gridcell",
294
+ tabIndex: 0,
293
295
  css: elementItemWrapper,
294
296
  onKeyDown: function onKeyDown(e) {
295
297
  if (e.key === 'Tab') {
@@ -326,6 +328,7 @@ var ElementListMultipleColumns = function ElementListMultipleColumns(props) {
326
328
  // eslint-disable-next-line react-hooks/exhaustive-deps
327
329
  [cache, items, fullMode, selectedItemIndex, columnCount, focusedItemIndex, selectedCategoryIndex, setFocusedCategoryIndex, setFocusedItemIndex, props]);
328
330
  return (0, _react2.jsx)(_reactVirtualized.Grid, (0, _extends2.default)({
331
+ containerRole: "row",
329
332
  cellRenderer: cellRenderer,
330
333
  height: height,
331
334
  width: containerWidth - _constants.ELEMENT_LIST_PADDING * 2 // containerWidth - padding on Left/Right (for focus outline)
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
17
17
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
18
18
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
19
- var packageVersion = "106.6.0";
19
+ var packageVersion = "106.6.2";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // Ignored via go/ees007
@@ -12,6 +12,7 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
12
12
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
13
13
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
14
14
  var _react = require("react");
15
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
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; }
16
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; }
17
18
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
@@ -70,7 +71,7 @@ var WithProviders = exports.WithProviders = /*#__PURE__*/function (_PureComponen
70
71
  providers = _this$props.providers,
71
72
  providerFactory = _this$props.providerFactory;
72
73
  providers.forEach(function (name) {
73
- providerFactory.unsubscribe(name, _this2.handleProvider);
74
+ providerFactory.unsubscribe(name, (0, _platformFeatureFlags.fg)('platform_editor_fix_unsubscribe_of_provider') ? _this2.handleProviderIfMounted : _this2.handleProvider);
74
75
  });
75
76
  }
76
77
  }, {
@@ -9,7 +9,6 @@ exports.memoProcessQuickInsertItems = void 0;
9
9
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
10
10
  var _fuse = _interopRequireDefault(require("fuse.js"));
11
11
  var _memoizeOne = _interopRequireDefault(require("memoize-one"));
12
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
12
  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; }
14
13
  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; }
15
14
  var processQuickInsertItems = function processQuickInsertItems(items, intl) {
@@ -38,26 +37,6 @@ var memoProcessQuickInsertItems = exports.memoProcessQuickInsertItems = function
38
37
  });
39
38
  };
40
39
  var options = {
41
- threshold: 0.3,
42
- includeScore: true,
43
- keys: [{
44
- name: 'title',
45
- weight: 0.57
46
- }, {
47
- name: 'priority',
48
- weight: 0.3
49
- }, {
50
- name: 'keywords',
51
- weight: 0.08
52
- }, {
53
- name: 'description',
54
- weight: 0.04
55
- }, {
56
- name: 'keyshortcut',
57
- weight: 0.01
58
- }]
59
- };
60
- var optionsWithPriorityRemoved = {
61
40
  threshold: 0.3,
62
41
  includeScore: true,
63
42
  keys: [{
@@ -90,7 +69,7 @@ function find(query, items, prioritySortingFn) {
90
69
  return (a.priority || Number.POSITIVE_INFINITY) - (b.priority || Number.POSITIVE_INFINITY);
91
70
  });
92
71
  }
93
- var fuseOptions = _objectSpread({}, (0, _platformFeatureFlags.fg)('platform_editor_remove_quick_insert_priority_key') ? optionsWithPriorityRemoved : options);
72
+ var fuseOptions = _objectSpread({}, options);
94
73
  if (prioritySortingFn) {
95
74
  var sortFn = prioritySortingFn(items);
96
75
  // prioritySortingFn will trigger the experiment exposure, but sortFn
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
23
23
  * @jsx jsx
24
24
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
25
25
  var packageName = "@atlaskit/editor-common";
26
- var packageVersion = "106.6.0";
26
+ var packageVersion = "106.6.2";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -280,6 +280,8 @@ const ElementListMultipleColumns = props => {
280
280
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766 -- Ignored via go/DSP-18766
281
281
  ,
282
282
  className: "element-item-wrapper",
283
+ role: "gridcell",
284
+ tabIndex: 0,
283
285
  css: elementItemWrapper,
284
286
  onKeyDown: e => {
285
287
  if (e.key === 'Tab') {
@@ -315,6 +317,7 @@ const ElementListMultipleColumns = props => {
315
317
  // eslint-disable-next-line react-hooks/exhaustive-deps
316
318
  [cache, items, fullMode, selectedItemIndex, columnCount, focusedItemIndex, selectedCategoryIndex, setFocusedCategoryIndex, setFocusedItemIndex, props]);
317
319
  return jsx(Grid, _extends({
320
+ containerRole: "row",
318
321
  cellRenderer: cellRenderer,
319
322
  height: height,
320
323
  width: containerWidth - ELEMENT_LIST_PADDING * 2 // containerWidth - padding on Left/Right (for focus outline)
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "106.6.0";
4
+ const packageVersion = "106.6.2";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -1,6 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /* eslint-disable @repo/internal/react/no-class-components */
3
3
  import { PureComponent } from 'react';
4
+ import { fg } from '@atlaskit/platform-feature-flags';
4
5
  // Ignored via go/ees005
5
6
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
6
7
  export class WithProviders extends PureComponent {
@@ -51,7 +52,7 @@ export class WithProviders extends PureComponent {
51
52
  providerFactory
52
53
  } = this.props;
53
54
  providers.forEach(name => {
54
- providerFactory.unsubscribe(name, this.handleProvider);
55
+ providerFactory.unsubscribe(name, fg('platform_editor_fix_unsubscribe_of_provider') ? this.handleProviderIfMounted : this.handleProvider);
55
56
  });
56
57
  }
57
58
  render() {
@@ -1,6 +1,5 @@
1
1
  import Fuse from 'fuse.js';
2
2
  import memoizeOne from 'memoize-one';
3
- import { fg } from '@atlaskit/platform-feature-flags';
4
3
  const processQuickInsertItems = (items, intl) => {
5
4
  return items.reduce((acc, item) => {
6
5
  if (typeof item === 'function' &&
@@ -23,26 +22,6 @@ export const memoProcessQuickInsertItems = (items, intl) => {
23
22
  return memoizedResults.flatMap(item => typeof item === 'function' && item.disableMemo ? item(intl) : item);
24
23
  };
25
24
  const options = {
26
- threshold: 0.3,
27
- includeScore: true,
28
- keys: [{
29
- name: 'title',
30
- weight: 0.57
31
- }, {
32
- name: 'priority',
33
- weight: 0.3
34
- }, {
35
- name: 'keywords',
36
- weight: 0.08
37
- }, {
38
- name: 'description',
39
- weight: 0.04
40
- }, {
41
- name: 'keyshortcut',
42
- weight: 0.01
43
- }]
44
- };
45
- const optionsWithPriorityRemoved = {
46
25
  threshold: 0.3,
47
26
  includeScore: true,
48
27
  keys: [{
@@ -74,7 +53,7 @@ export function find(query, items, prioritySortingFn) {
74
53
  return items.slice(0).sort((a, b) => (a.priority || Number.POSITIVE_INFINITY) - (b.priority || Number.POSITIVE_INFINITY));
75
54
  }
76
55
  const fuseOptions = {
77
- ...(fg('platform_editor_remove_quick_insert_priority_key') ? optionsWithPriorityRemoved : options)
56
+ ...options
78
57
  };
79
58
  if (prioritySortingFn) {
80
59
  const sortFn = prioritySortingFn(items);
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
13
13
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import Layer from '../Layer';
15
15
  const packageName = "@atlaskit/editor-common";
16
- const packageVersion = "106.6.0";
16
+ const packageVersion = "106.6.2";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -279,6 +279,8 @@ var ElementListMultipleColumns = function ElementListMultipleColumns(props) {
279
279
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766 -- Ignored via go/DSP-18766
280
280
  ,
281
281
  className: "element-item-wrapper",
282
+ role: "gridcell",
283
+ tabIndex: 0,
282
284
  css: elementItemWrapper,
283
285
  onKeyDown: function onKeyDown(e) {
284
286
  if (e.key === 'Tab') {
@@ -315,6 +317,7 @@ var ElementListMultipleColumns = function ElementListMultipleColumns(props) {
315
317
  // eslint-disable-next-line react-hooks/exhaustive-deps
316
318
  [cache, items, fullMode, selectedItemIndex, columnCount, focusedItemIndex, selectedCategoryIndex, setFocusedCategoryIndex, setFocusedItemIndex, props]);
317
319
  return jsx(Grid, _extends({
320
+ containerRole: "row",
318
321
  cellRenderer: cellRenderer,
319
322
  height: height,
320
323
  width: containerWidth - ELEMENT_LIST_PADDING * 2 // containerWidth - padding on Left/Right (for focus outline)
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "106.6.0";
10
+ var packageVersion = "106.6.2";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -10,6 +10,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
10
10
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
11
  /* eslint-disable @repo/internal/react/no-class-components */
12
12
  import { PureComponent } from 'react';
13
+ import { fg } from '@atlaskit/platform-feature-flags';
13
14
  // Ignored via go/ees005
14
15
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
15
16
  export var WithProviders = /*#__PURE__*/function (_PureComponent) {
@@ -64,7 +65,7 @@ export var WithProviders = /*#__PURE__*/function (_PureComponent) {
64
65
  providers = _this$props.providers,
65
66
  providerFactory = _this$props.providerFactory;
66
67
  providers.forEach(function (name) {
67
- providerFactory.unsubscribe(name, _this2.handleProvider);
68
+ providerFactory.unsubscribe(name, fg('platform_editor_fix_unsubscribe_of_provider') ? _this2.handleProviderIfMounted : _this2.handleProvider);
68
69
  });
69
70
  }
70
71
  }, {
@@ -3,7 +3,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
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
4
  import Fuse from 'fuse.js';
5
5
  import memoizeOne from 'memoize-one';
6
- import { fg } from '@atlaskit/platform-feature-flags';
7
6
  var processQuickInsertItems = function processQuickInsertItems(items, intl) {
8
7
  return items.reduce(function (acc, item) {
9
8
  if (typeof item === 'function' &&
@@ -30,26 +29,6 @@ export var memoProcessQuickInsertItems = function memoProcessQuickInsertItems(it
30
29
  });
31
30
  };
32
31
  var options = {
33
- threshold: 0.3,
34
- includeScore: true,
35
- keys: [{
36
- name: 'title',
37
- weight: 0.57
38
- }, {
39
- name: 'priority',
40
- weight: 0.3
41
- }, {
42
- name: 'keywords',
43
- weight: 0.08
44
- }, {
45
- name: 'description',
46
- weight: 0.04
47
- }, {
48
- name: 'keyshortcut',
49
- weight: 0.01
50
- }]
51
- };
52
- var optionsWithPriorityRemoved = {
53
32
  threshold: 0.3,
54
33
  includeScore: true,
55
34
  keys: [{
@@ -82,7 +61,7 @@ export function find(query, items, prioritySortingFn) {
82
61
  return (a.priority || Number.POSITIVE_INFINITY) - (b.priority || Number.POSITIVE_INFINITY);
83
62
  });
84
63
  }
85
- var fuseOptions = _objectSpread({}, fg('platform_editor_remove_quick_insert_priority_key') ? optionsWithPriorityRemoved : options);
64
+ var fuseOptions = _objectSpread({}, options);
86
65
  if (prioritySortingFn) {
87
66
  var sortFn = prioritySortingFn(items);
88
67
  // prioritySortingFn will trigger the experiment exposure, but sortFn
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
20
20
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import Layer from '../Layer';
22
22
  var packageName = "@atlaskit/editor-common";
23
- var packageVersion = "106.6.0";
23
+ var packageVersion = "106.6.2";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -13,7 +13,7 @@ import type { AIProactiveEventPayload } from './ai-proactive-events';
13
13
  import type { AIUnifiedEventPayload } from './ai-unified-events';
14
14
  import type { AlignmentEventPayload } from './alignment-events';
15
15
  import type { AvatarEventPayload } from './avatar';
16
- import { type BreakoutEventPayload } from './breakout-events';
16
+ import type { BreakoutEventPayload } from './breakout-events';
17
17
  import type { TextColorEventPayload } from './color-events';
18
18
  import type { ConfigPanelEventPayload } from './config-panel-events';
19
19
  import type { CutCopyEventPayload } from './cut-copy-events';
@@ -36,10 +36,10 @@ import type { CreateLinkInlineDialogEventPayload, EditLinkToolbarAEP, OpenSettin
36
36
  import type { ListEventPayload } from './list-events';
37
37
  import type { LoomEventPayload } from './loom-events';
38
38
  import type { MediaEventPayload } from './media-events';
39
- import { type MentionEventPayload } from './mention-events';
39
+ import type { MentionEventPayload } from './mention-events';
40
40
  import type { MoveContentEventPayload } from './move-content-events';
41
- import { NcsSessionStepEventAEP } from './ncs-session-step-events';
42
- import { type NestedTableActionsEventPayload } from './nested-table-events';
41
+ import type { NcsSessionStepEventAEP } from './ncs-session-step-events';
42
+ import type { NestedTableActionsEventPayload } from './nested-table-events';
43
43
  import type { NodeEventPayload } from './node-events';
44
44
  import type { OfflineEditingEventPayload } from './offline-editing-event';
45
45
  import type { PasteEventPayload } from './paste-events';
@@ -1,6 +1,6 @@
1
1
  import { PureComponent } from 'react';
2
2
  import type ProviderFactory from './provider-factory';
3
- import { type ProviderName, type Providers } from './types';
3
+ import type { ProviderName, Providers } from './types';
4
4
  export interface Props {
5
5
  providerFactory: ProviderFactory;
6
6
  providers: ProviderName[];
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement, ReactNode } from 'react';
2
- import { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl-next';
3
3
  import { type Fragment, type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
5
5
  import type { TypeAheadPayload } from '../analytics/types/type-ahead';
@@ -13,7 +13,7 @@ import type { AIProactiveEventPayload } from './ai-proactive-events';
13
13
  import type { AIUnifiedEventPayload } from './ai-unified-events';
14
14
  import type { AlignmentEventPayload } from './alignment-events';
15
15
  import type { AvatarEventPayload } from './avatar';
16
- import { type BreakoutEventPayload } from './breakout-events';
16
+ import type { BreakoutEventPayload } from './breakout-events';
17
17
  import type { TextColorEventPayload } from './color-events';
18
18
  import type { ConfigPanelEventPayload } from './config-panel-events';
19
19
  import type { CutCopyEventPayload } from './cut-copy-events';
@@ -36,10 +36,10 @@ import type { CreateLinkInlineDialogEventPayload, EditLinkToolbarAEP, OpenSettin
36
36
  import type { ListEventPayload } from './list-events';
37
37
  import type { LoomEventPayload } from './loom-events';
38
38
  import type { MediaEventPayload } from './media-events';
39
- import { type MentionEventPayload } from './mention-events';
39
+ import type { MentionEventPayload } from './mention-events';
40
40
  import type { MoveContentEventPayload } from './move-content-events';
41
- import { NcsSessionStepEventAEP } from './ncs-session-step-events';
42
- import { type NestedTableActionsEventPayload } from './nested-table-events';
41
+ import type { NcsSessionStepEventAEP } from './ncs-session-step-events';
42
+ import type { NestedTableActionsEventPayload } from './nested-table-events';
43
43
  import type { NodeEventPayload } from './node-events';
44
44
  import type { OfflineEditingEventPayload } from './offline-editing-event';
45
45
  import type { PasteEventPayload } from './paste-events';
@@ -1,6 +1,6 @@
1
1
  import { PureComponent } from 'react';
2
2
  import type ProviderFactory from './provider-factory';
3
- import { type ProviderName, type Providers } from './types';
3
+ import type { ProviderName, Providers } from './types';
4
4
  export interface Props {
5
5
  providerFactory: ProviderFactory;
6
6
  providers: ProviderName[];
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement, ReactNode } from 'react';
2
- import { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl-next';
3
3
  import { type Fragment, type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
5
5
  import type { TypeAheadPayload } from '../analytics/types/type-ahead';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "106.6.0",
3
+ "version": "106.6.2",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -147,7 +147,7 @@
147
147
  "@atlaskit/link-datasource": "^4.11.0",
148
148
  "@atlaskit/link-picker": "^3.5.0",
149
149
  "@atlaskit/media-card": "^79.3.0",
150
- "@atlaskit/media-client": "^33.3.0",
150
+ "@atlaskit/media-client": "^33.4.0",
151
151
  "@atlaskit/media-client-react": "^4.1.0",
152
152
  "@atlaskit/media-common": "^12.1.0",
153
153
  "@atlaskit/media-file-preview": "^0.11.0",
@@ -170,7 +170,7 @@
170
170
  "@atlaskit/task-decision": "^19.2.0",
171
171
  "@atlaskit/textfield": "^8.0.0",
172
172
  "@atlaskit/theme": "^18.0.0",
173
- "@atlaskit/tmp-editor-statsig": "^6.2.0",
173
+ "@atlaskit/tmp-editor-statsig": "^7.0.0",
174
174
  "@atlaskit/tokens": "^5.1.0",
175
175
  "@atlaskit/tooltip": "^20.3.0",
176
176
  "@atlaskit/width-detector": "^5.0.0",
@@ -299,9 +299,6 @@
299
299
  "forge-ui-macro-autoconvert": {
300
300
  "type": "boolean"
301
301
  },
302
- "platform_editor_remove_quick_insert_priority_key": {
303
- "type": "boolean"
304
- },
305
302
  "platform_editor_add_media_from_url_rollout": {
306
303
  "type": "boolean"
307
304
  },
@@ -400,6 +397,9 @@
400
397
  },
401
398
  "platform_editor_breakout_resizing_hello_release": {
402
399
  "type": "boolean"
400
+ },
401
+ "platform_editor_fix_unsubscribe_of_provider": {
402
+ "type": "boolean"
403
403
  }
404
404
  }
405
405
  }