@atlaskit/editor-core 197.4.2 → 197.5.0

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 (86) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/CollapsedEditor/index.js +2 -2
  3. package/dist/cjs/composable-editor/BaseThemeWrapper.js +1 -1
  4. package/dist/cjs/composable-editor/composable-editor.js +1 -1
  5. package/dist/cjs/composable-editor/utils/getBaseFontSize.js +1 -1
  6. package/dist/cjs/create-editor/ErrorBoundary.js +1 -1
  7. package/dist/cjs/create-editor/ReactEditorView.js +2 -2
  8. package/dist/cjs/create-editor/create-plugins-list.js +7 -22
  9. package/dist/cjs/create-editor/index.js +1 -1
  10. package/dist/cjs/editor.js +1 -1
  11. package/dist/cjs/messages.js +1 -1
  12. package/dist/cjs/nodeviews/context-adapter.js +1 -1
  13. package/dist/cjs/presets/context.js +1 -1
  14. package/dist/cjs/presets/default.js +1 -2
  15. package/dist/cjs/presets/universal.js +9 -11
  16. package/dist/cjs/ui/Addon/ClickAreaMobile/index.js +1 -1
  17. package/dist/cjs/ui/Addon/Dropdown/index.js +1 -1
  18. package/dist/cjs/ui/Addon/index.js +1 -8
  19. package/dist/cjs/ui/Appearance/Chromeless.js +2 -2
  20. package/dist/cjs/ui/Appearance/Comment/Comment.js +1 -1
  21. package/dist/cjs/ui/Appearance/Comment/Toolbar.js +1 -1
  22. package/dist/cjs/ui/Appearance/FullPage/FullPage.js +1 -1
  23. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +1 -1
  24. package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +1 -1
  25. package/dist/cjs/ui/ChromeCollapsed/index.js +2 -2
  26. package/dist/cjs/ui/CollapsedEditor/index.js +1 -1
  27. package/dist/cjs/ui/ContentStyles/index.js +1 -1
  28. package/dist/cjs/ui/ContextPanel/index.js +1 -1
  29. package/dist/cjs/ui/EditorContext/index.js +1 -1
  30. package/dist/cjs/ui/ErrorBoundary/index.js +1 -1
  31. package/dist/cjs/ui/IntlProviderIfMissingWrapper/IntlProviderIfMissingWrapper.js +1 -1
  32. package/dist/cjs/ui/PluginSlot/index.js +1 -1
  33. package/dist/cjs/ui/Toolbar/ToolbarInner.js +1 -1
  34. package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +1 -1
  35. package/dist/cjs/ui/WithEditorActions/index.js +1 -1
  36. package/dist/cjs/ui/WithFlash/index.js +1 -1
  37. package/dist/cjs/ui/WithHelpTrigger/index.js +1 -1
  38. package/dist/cjs/utils/deprecation-warnings.js +3 -3
  39. package/dist/cjs/utils/performance/instrumented-plugin.js +1 -1
  40. package/dist/cjs/utils/performance/track-transactions.js +3 -3
  41. package/dist/cjs/version-wrapper.js +1 -1
  42. package/dist/es2019/composable-editor/utils/getBaseFontSize.js +1 -1
  43. package/dist/es2019/create-editor/ReactEditorView.js +1 -1
  44. package/dist/es2019/create-editor/create-plugins-list.js +7 -20
  45. package/dist/es2019/presets/default.js +1 -2
  46. package/dist/es2019/presets/universal.js +9 -11
  47. package/dist/es2019/ui/Addon/index.js +1 -2
  48. package/dist/es2019/version-wrapper.js +1 -1
  49. package/dist/esm/CollapsedEditor/index.js +1 -1
  50. package/dist/esm/composable-editor/utils/getBaseFontSize.js +1 -1
  51. package/dist/esm/create-editor/ErrorBoundary.js +1 -1
  52. package/dist/esm/create-editor/ReactEditorView.js +2 -2
  53. package/dist/esm/create-editor/create-plugins-list.js +7 -22
  54. package/dist/esm/editor.js +1 -1
  55. package/dist/esm/nodeviews/context-adapter.js +1 -1
  56. package/dist/esm/presets/default.js +1 -2
  57. package/dist/esm/presets/universal.js +9 -11
  58. package/dist/esm/ui/Addon/ClickAreaMobile/index.js +1 -1
  59. package/dist/esm/ui/Addon/Dropdown/index.js +1 -1
  60. package/dist/esm/ui/Addon/index.js +1 -2
  61. package/dist/esm/ui/Appearance/Chromeless.js +1 -1
  62. package/dist/esm/ui/ChromeCollapsed/index.js +1 -1
  63. package/dist/esm/ui/CollapsedEditor/index.js +1 -1
  64. package/dist/esm/ui/ContextPanel/index.js +1 -1
  65. package/dist/esm/ui/EditorContext/index.js +1 -1
  66. package/dist/esm/ui/ErrorBoundary/index.js +1 -1
  67. package/dist/esm/ui/PluginSlot/index.js +1 -1
  68. package/dist/esm/ui/Toolbar/ToolbarInner.js +1 -1
  69. package/dist/esm/ui/WithEditorActions/index.js +1 -1
  70. package/dist/esm/ui/WithFlash/index.js +1 -1
  71. package/dist/esm/ui/WithHelpTrigger/index.js +1 -1
  72. package/dist/esm/utils/deprecation-warnings.js +3 -3
  73. package/dist/esm/utils/performance/instrumented-plugin.js +1 -1
  74. package/dist/esm/utils/performance/track-transactions.js +3 -3
  75. package/dist/esm/version-wrapper.js +1 -1
  76. package/dist/types/create-editor/create-universal-preset.d.ts +8 -8
  77. package/dist/types/presets/default.d.ts +8 -8
  78. package/dist/types/presets/universal.d.ts +8 -8
  79. package/dist/types/presets/useUniversalPreset.d.ts +8 -8
  80. package/dist/types/ui/Addon/index.d.ts +0 -1
  81. package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +8 -8
  82. package/dist/types-ts4.5/presets/default.d.ts +8 -8
  83. package/dist/types-ts4.5/presets/universal.d.ts +8 -8
  84. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +8 -8
  85. package/dist/types-ts4.5/ui/Addon/index.d.ts +0 -1
  86. package/package.json +9 -13
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  /**
11
11
  * @jsxRuntime classic
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  /**
11
11
  * @jsxRuntime classic
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  import React from 'react';
11
11
  import ChromeCollapsed from '../ChromeCollapsed';
@@ -8,7 +8,7 @@ import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
8
8
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
9
9
  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; }
10
10
  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; }
11
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
11
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
12
12
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
13
13
  /**
14
14
  * @jsxRuntime classic
@@ -4,7 +4,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
5
5
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
6
6
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
7
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
7
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
8
8
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
9
  import React from 'react';
10
10
  import PropTypes from 'prop-types';
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  import React from 'react';
11
11
  import { ACTION, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  /**
11
11
  * @jsxRuntime classic
@@ -4,7 +4,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
5
5
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
6
6
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
7
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
7
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
8
8
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
9
  /**
10
10
  * @jsxRuntime classic
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  import React from 'react';
11
11
  import PropTypes from 'prop-types';
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  /**
11
11
  * @jsxRuntime classic
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  import React from 'react';
11
11
  import PropTypes from 'prop-types';
@@ -1,6 +1,6 @@
1
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
2
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
3
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
1
+ 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; } } }; }
2
+ 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; } }
3
+ 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; }
4
4
  function deprecationWarnings(className, props, deprecations) {
5
5
  if (process.env.NODE_ENV === 'production') {
6
6
  return;
@@ -4,7 +4,7 @@ import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized
4
4
  import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
7
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
8
8
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
9
  import { startMeasure, stopMeasure } from '@atlaskit/editor-common/performance-measures';
10
10
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
@@ -59,17 +59,17 @@ export var TransactionTracker = /*#__PURE__*/function () {
59
59
  }
60
60
  var startTime = _this.measureMap.get(measureName);
61
61
  if (startTime) {
62
- var _duration = getTimeSince(startTime);
62
+ var duration = getTimeSince(startTime);
63
63
  _this.measureMap.delete(measureName);
64
64
  if (onMeasureComplete) {
65
- onMeasureComplete(_duration, startTime);
65
+ onMeasureComplete(duration, startTime);
66
66
  }
67
67
 
68
68
  // Call each subscribed listener
69
69
  _this.measureListeners.forEach(function (listener) {
70
70
  return listener({
71
71
  name: measureName,
72
- duration: _duration,
72
+ duration: duration,
73
73
  startTime: startTime
74
74
  });
75
75
  });
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "197.4.2";
2
+ export var version = "197.5.0";
@@ -60,7 +60,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
60
60
  }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
61
61
  actions: import("@atlaskit/editor-plugin-better-type-history").BetterTypeHistoryAPI;
62
62
  }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
63
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
63
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
64
64
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
65
65
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
66
66
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -380,7 +380,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
380
380
  }, undefined>>];
381
381
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
382
382
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
383
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
383
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
384
384
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
385
385
  sharedState: {
386
386
  createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
@@ -1382,7 +1382,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1382
1382
  };
1383
1383
  sharedState: import("@atlaskit/editor-plugin-status").StatusState | undefined;
1384
1384
  }, import("@atlaskit/editor-plugin-status").StatusPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
1385
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
1385
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
1386
1386
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1387
1387
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1388
1388
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -1702,7 +1702,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1702
1702
  }, undefined>>];
1703
1703
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
1704
1704
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
1705
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
1705
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
1706
1706
  pluginConfiguration: import("@atlaskit/editor-plugin-layout").LayoutPluginOptions | undefined;
1707
1707
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
1708
1708
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
@@ -5003,7 +5003,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5003
5003
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
5004
5004
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
5005
5005
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
5006
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
5006
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
5007
5007
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5008
5008
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
5009
5009
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -5323,7 +5323,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5323
5323
  }, undefined>>];
5324
5324
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
5325
5325
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
5326
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5326
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5327
5327
  sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
5328
5328
  dependencies: [];
5329
5329
  pluginConfiguration?: {
@@ -5579,7 +5579,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5579
5579
  }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
5580
5580
  actions: import("@atlaskit/editor-plugin-better-type-history").BetterTypeHistoryAPI;
5581
5581
  }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
5582
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
5582
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
5583
5583
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5584
5584
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
5585
5585
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -5899,7 +5899,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5899
5899
  }, undefined>>];
5900
5900
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
5901
5901
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
5902
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
5902
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
5903
5903
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
5904
5904
  sharedState: {
5905
5905
  createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
@@ -963,7 +963,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
963
963
  }, FeatureFlags>>];
964
964
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
965
965
  }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
966
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
966
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
967
967
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
968
968
  pluginConfiguration: FeatureFlags;
969
969
  sharedState: FeatureFlags;
@@ -1283,7 +1283,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1283
1283
  }, undefined>>];
1284
1284
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
1285
1285
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
1286
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1286
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1287
1287
  sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
1288
1288
  dependencies: [];
1289
1289
  pluginConfiguration?: {
@@ -1539,7 +1539,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1539
1539
  }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
1540
1540
  actions: import("@atlaskit/editor-plugins/better-type-history").BetterTypeHistoryAPI;
1541
1541
  }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
1542
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
1542
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
1543
1543
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1544
1544
  pluginConfiguration: FeatureFlags;
1545
1545
  sharedState: FeatureFlags;
@@ -1859,7 +1859,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1859
1859
  }, undefined>>];
1860
1860
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
1861
1861
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
1862
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
1862
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
1863
1863
  pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
1864
1864
  sharedState: {
1865
1865
  createAnalyticsEvent: CreateUIAnalyticsEvent | null;
@@ -3455,7 +3455,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3455
3455
  }, FeatureFlags>>];
3456
3456
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3457
3457
  }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
3458
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
3458
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
3459
3459
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3460
3460
  pluginConfiguration: FeatureFlags;
3461
3461
  sharedState: FeatureFlags;
@@ -3775,7 +3775,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3775
3775
  }, undefined>>];
3776
3776
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
3777
3777
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
3778
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3778
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3779
3779
  sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
3780
3780
  dependencies: [];
3781
3781
  pluginConfiguration?: {
@@ -4031,7 +4031,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4031
4031
  }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
4032
4032
  actions: import("@atlaskit/editor-plugins/better-type-history").BetterTypeHistoryAPI;
4033
4033
  }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
4034
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
4034
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
4035
4035
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4036
4036
  pluginConfiguration: FeatureFlags;
4037
4037
  sharedState: FeatureFlags;
@@ -4351,7 +4351,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4351
4351
  }, undefined>>];
4352
4352
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
4353
4353
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
4354
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
4354
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
4355
4355
  pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
4356
4356
  sharedState: {
4357
4357
  createAnalyticsEvent: CreateUIAnalyticsEvent | null;
@@ -107,7 +107,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
107
107
  }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
108
108
  actions: import("@atlaskit/editor-plugin-better-type-history").BetterTypeHistoryAPI;
109
109
  }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
110
- pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions;
110
+ pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
111
111
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
112
112
  pluginConfiguration: FeatureFlags;
113
113
  sharedState: FeatureFlags;
@@ -427,7 +427,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
427
427
  }, undefined>>];
428
428
  sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
429
429
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
430
- }, import("@atlaskit/editor-plugins/card").CardPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
430
+ }, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
431
431
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
432
432
  sharedState: {
433
433
  createAnalyticsEvent: CreateUIAnalyticsEvent | null;
@@ -1429,7 +1429,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1429
1429
  };
1430
1430
  sharedState: import("@atlaskit/editor-plugins/status").StatusState | undefined;
1431
1431
  }, import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
1432
- pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions;
1432
+ pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
1433
1433
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1434
1434
  pluginConfiguration: FeatureFlags;
1435
1435
  sharedState: FeatureFlags;
@@ -1749,7 +1749,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1749
1749
  }, undefined>>];
1750
1750
  sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
1751
1751
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
1752
- }, import("@atlaskit/editor-plugins/card").CardPluginOptions> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
1752
+ }, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
1753
1753
  pluginConfiguration: import("@atlaskit/editor-plugins/layout").LayoutPluginOptions | undefined;
1754
1754
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
1755
1755
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
@@ -5050,7 +5050,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5050
5050
  }, FeatureFlags>>];
5051
5051
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
5052
5052
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
5053
- pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions;
5053
+ pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
5054
5054
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5055
5055
  pluginConfiguration: FeatureFlags;
5056
5056
  sharedState: FeatureFlags;
@@ -5370,7 +5370,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5370
5370
  }, undefined>>];
5371
5371
  sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
5372
5372
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
5373
- }, import("@atlaskit/editor-plugins/card").CardPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5373
+ }, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5374
5374
  sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
5375
5375
  dependencies: [];
5376
5376
  pluginConfiguration?: {
@@ -5626,7 +5626,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5626
5626
  }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
5627
5627
  actions: import("@atlaskit/editor-plugin-better-type-history").BetterTypeHistoryAPI;
5628
5628
  }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
5629
- pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions;
5629
+ pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
5630
5630
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5631
5631
  pluginConfiguration: FeatureFlags;
5632
5632
  sharedState: FeatureFlags;
@@ -5946,7 +5946,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5946
5946
  }, undefined>>];
5947
5947
  sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
5948
5948
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
5949
- }, import("@atlaskit/editor-plugins/card").CardPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
5949
+ }, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
5950
5950
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
5951
5951
  sharedState: {
5952
5952
  createAnalyticsEvent: CreateUIAnalyticsEvent | null;
@@ -60,7 +60,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
60
60
  }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
61
61
  actions: import("@atlaskit/editor-plugin-better-type-history").BetterTypeHistoryAPI;
62
62
  }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
63
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
63
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
64
64
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
65
65
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
66
66
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -380,7 +380,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
380
380
  }, undefined>>];
381
381
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
382
382
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
383
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
383
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
384
384
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
385
385
  sharedState: {
386
386
  createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
@@ -1382,7 +1382,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1382
1382
  };
1383
1383
  sharedState: import("@atlaskit/editor-plugin-status").StatusState | undefined;
1384
1384
  }, import("@atlaskit/editor-plugin-status").StatusPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
1385
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
1385
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
1386
1386
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1387
1387
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1388
1388
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -1702,7 +1702,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1702
1702
  }, undefined>>];
1703
1703
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
1704
1704
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
1705
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
1705
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
1706
1706
  pluginConfiguration: import("@atlaskit/editor-plugin-layout").LayoutPluginOptions | undefined;
1707
1707
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
1708
1708
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
@@ -5003,7 +5003,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5003
5003
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
5004
5004
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
5005
5005
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
5006
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
5006
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
5007
5007
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5008
5008
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
5009
5009
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -5323,7 +5323,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5323
5323
  }, undefined>>];
5324
5324
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
5325
5325
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
5326
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5326
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5327
5327
  sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
5328
5328
  dependencies: [];
5329
5329
  pluginConfiguration?: {
@@ -5579,7 +5579,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5579
5579
  }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
5580
5580
  actions: import("@atlaskit/editor-plugin-better-type-history").BetterTypeHistoryAPI;
5581
5581
  }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
5582
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
5582
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
5583
5583
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5584
5584
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
5585
5585
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -5899,7 +5899,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5899
5899
  }, undefined>>];
5900
5900
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
5901
5901
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
5902
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
5902
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
5903
5903
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
5904
5904
  sharedState: {
5905
5905
  createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
@@ -2,4 +2,3 @@ export type { AddonActions, AddonCommonProps, AddonConfiguration, AddonProps, Re
2
2
  export { default as Dropdown } from './Dropdown';
3
3
  export { default as ClickAreaInline } from './ClickAreaInline';
4
4
  export { default as ClickAreaBlock } from './ClickAreaBlock';
5
- export { default as ClickAreaMobile } from './ClickAreaMobile';
@@ -153,7 +153,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
153
153
  actions: import("@atlaskit/editor-plugin-better-type-history").BetterTypeHistoryAPI;
154
154
  }, undefined>,
155
155
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
156
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
156
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
157
157
  dependencies: [
158
158
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
159
159
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -538,7 +538,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
538
538
  ];
539
539
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
540
540
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
541
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions>>,
541
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>,
542
542
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
543
543
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
544
544
  sharedState: {
@@ -1744,7 +1744,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1744
1744
  }, import("@atlaskit/editor-plugin-status").StatusPluginOptions | undefined> | undefined,
1745
1745
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {}, undefined> | undefined,
1746
1746
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
1747
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
1747
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
1748
1748
  dependencies: [
1749
1749
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1750
1750
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -2129,7 +2129,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2129
2129
  ];
2130
2130
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
2131
2131
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
2132
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions> | undefined,
2132
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined> | undefined,
2133
2133
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
2134
2134
  pluginConfiguration: import("@atlaskit/editor-plugin-layout").LayoutPluginOptions | undefined;
2135
2135
  dependencies: [
@@ -6118,7 +6118,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6118
6118
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
6119
6119
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
6120
6120
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
6121
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
6121
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
6122
6122
  dependencies: [
6123
6123
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
6124
6124
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -6503,7 +6503,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6503
6503
  ];
6504
6504
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
6505
6505
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
6506
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions>>,
6506
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>,
6507
6507
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
6508
6508
  sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
6509
6509
  dependencies: [
@@ -6811,7 +6811,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6811
6811
  actions: import("@atlaskit/editor-plugin-better-type-history").BetterTypeHistoryAPI;
6812
6812
  }, undefined>,
6813
6813
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
6814
- pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
6814
+ pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
6815
6815
  dependencies: [
6816
6816
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
6817
6817
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -7196,7 +7196,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
7196
7196
  ];
7197
7197
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
7198
7198
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
7199
- }, import("@atlaskit/editor-plugin-card").CardPluginOptions>>,
7199
+ }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>,
7200
7200
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
7201
7201
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
7202
7202
  sharedState: {