@atlaskit/editor-plugin-insert-block 1.5.1 → 1.6.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 (28) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/ui/ElementBrowser/InsertMenu.js +4 -1
  3. package/dist/cjs/ui/ToolbarInsertBlock/dropdown-button.js +4 -1
  4. package/dist/cjs/ui/ToolbarInsertBlock/index.js +8 -3
  5. package/dist/cjs/ui/ToolbarInsertBlock/item.js +4 -1
  6. package/dist/cjs/ui/ToolbarInsertBlock/table-selector-popup-with-listeners.js +4 -1
  7. package/dist/cjs/ui/ToolbarInsertBlock/table-selector-popup.js +4 -1
  8. package/dist/es2019/ui/ElementBrowser/InsertMenu.js +4 -1
  9. package/dist/es2019/ui/ToolbarInsertBlock/dropdown-button.js +4 -1
  10. package/dist/es2019/ui/ToolbarInsertBlock/index.js +8 -3
  11. package/dist/es2019/ui/ToolbarInsertBlock/item.js +4 -1
  12. package/dist/es2019/ui/ToolbarInsertBlock/table-selector-popup-with-listeners.js +4 -1
  13. package/dist/es2019/ui/ToolbarInsertBlock/table-selector-popup.js +4 -1
  14. package/dist/esm/ui/ElementBrowser/InsertMenu.js +4 -1
  15. package/dist/esm/ui/ToolbarInsertBlock/dropdown-button.js +4 -1
  16. package/dist/esm/ui/ToolbarInsertBlock/index.js +8 -3
  17. package/dist/esm/ui/ToolbarInsertBlock/item.js +4 -1
  18. package/dist/esm/ui/ToolbarInsertBlock/table-selector-popup-with-listeners.js +4 -1
  19. package/dist/esm/ui/ToolbarInsertBlock/table-selector-popup.js +4 -1
  20. package/dist/types/ui/ToolbarInsertBlock/dropdown-button.d.ts +4 -1
  21. package/dist/types/ui/ToolbarInsertBlock/index.d.ts +4 -1
  22. package/dist/types/ui/ToolbarInsertBlock/item.d.ts +4 -1
  23. package/dist/types/ui/ToolbarInsertBlock/table-selector-popup-with-listeners.d.ts +4 -1
  24. package/dist/types-ts4.5/ui/ToolbarInsertBlock/dropdown-button.d.ts +4 -1
  25. package/dist/types-ts4.5/ui/ToolbarInsertBlock/index.d.ts +4 -1
  26. package/dist/types-ts4.5/ui/ToolbarInsertBlock/item.d.ts +4 -1
  27. package/dist/types-ts4.5/ui/ToolbarInsertBlock/table-selector-popup-with-listeners.d.ts +4 -1
  28. package/package.json +27 -27
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @atlaskit/editor-plugin-insert-block
2
2
 
3
+ ## 1.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#124209](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124209)
8
+ [`8aa1792f12ed3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8aa1792f12ed3) -
9
+ bump @atlaskit/editor-prosemirror to 5.0.0, bump @atlaskit/adf-schema to 40.1.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 1.5.2
16
+
17
+ ### Patch Changes
18
+
19
+ - [#121899](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/121899)
20
+ [`3677f60eb34a2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3677f60eb34a2) -
21
+ [ux] Fix editor emoji selection in React 18.
22
+
3
23
  ## 1.5.1
4
24
 
5
25
  ### Patch Changes
@@ -17,7 +17,10 @@ var _uiReact = require("@atlaskit/editor-common/ui-react");
17
17
  var _theme = require("@atlaskit/theme");
18
18
  var _colors = require("@atlaskit/theme/colors");
19
19
  var _excluded = ["children"];
20
- /** @jsx jsx */
20
+ /**
21
+ * @jsxRuntime classic
22
+ * @jsx jsx
23
+ */
21
24
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
22
25
  // AFP-2532 TODO: Fix automatic suppressions below
23
26
  // eslint-disable-next-line @atlassian/tangerine/import/entry-points
@@ -13,7 +13,10 @@ var _uiMenu = require("@atlaskit/editor-common/ui-menu");
13
13
  var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron-down"));
14
14
  var _add = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/add"));
15
15
  var _styles2 = require("./styles");
16
- /** @jsx jsx */
16
+ /**
17
+ * @jsxRuntime classic
18
+ * @jsx jsx
19
+ */
17
20
 
18
21
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
19
22
 
@@ -31,7 +31,10 @@ var _createItems3 = require("./create-items");
31
31
  var _messages = require("./messages");
32
32
  var _tableSelectorPopupWithListeners = _interopRequireDefault(require("./table-selector-popup-with-listeners"));
33
33
  var _templateObject;
34
- /** @jsx jsx */
34
+ /**
35
+ * @jsxRuntime classic
36
+ * @jsx jsx
37
+ */
35
38
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
36
39
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
37
40
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -528,8 +531,10 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
528
531
  return null;
529
532
  }
530
533
  var onUnmount = function onUnmount() {
531
- var _this3$props$pluginIn;
532
- return (_this3$props$pluginIn = _this3.props.pluginInjectionApi) === null || _this3$props$pluginIn === void 0 || (_this3$props$pluginIn = _this3$props$pluginIn.core) === null || _this3$props$pluginIn === void 0 || (_this3$props$pluginIn = _this3$props$pluginIn.actions) === null || _this3$props$pluginIn === void 0 ? void 0 : _this3$props$pluginIn.focus();
534
+ requestAnimationFrame(function () {
535
+ var _this3$props$pluginIn;
536
+ return (_this3$props$pluginIn = _this3.props.pluginInjectionApi) === null || _this3$props$pluginIn === void 0 || (_this3$props$pluginIn = _this3$props$pluginIn.core) === null || _this3$props$pluginIn === void 0 || (_this3$props$pluginIn = _this3$props$pluginIn.actions) === null || _this3$props$pluginIn === void 0 ? void 0 : _this3$props$pluginIn.focus();
537
+ });
533
538
  };
534
539
  return (0, _react2.jsx)(_ui.Popup, {
535
540
  target: ref,
@@ -29,7 +29,10 @@ var _text = _interopRequireDefault(require("@atlaskit/icon/glyph/media-services/
29
29
  var _quote = _interopRequireDefault(require("@atlaskit/icon/glyph/quote"));
30
30
  var _status = _interopRequireDefault(require("@atlaskit/icon/glyph/status"));
31
31
  var _shallowEquals = require("./shallow-equals");
32
- /** @jsx jsx */
32
+ /**
33
+ * @jsxRuntime classic
34
+ * @jsx jsx
35
+ */
33
36
 
34
37
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
35
38
 
@@ -19,7 +19,10 @@ var _tableSelectorPopup = _interopRequireWildcard(require("./table-selector-popu
19
19
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
20
20
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
21
21
  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; }
22
- 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; } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
22
+ 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; } /**
23
+ * @jsxRuntime classic
24
+ * @jsx jsx
25
+ */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
23
26
  var TABLE_SELECTOR_PADDING_TOP = 8;
24
27
  var TABLE_SELECTOR_PADDING_SIDE = 10;
25
28
  var DEFAULT_TABLE_SELECTOR_ROWS = 5;
@@ -10,7 +10,10 @@ var _reactIntlNext = require("react-intl-next");
10
10
  var _messages = require("@atlaskit/editor-common/messages");
11
11
  var _primitives = require("@atlaskit/primitives");
12
12
  var _colors = require("@atlaskit/theme/colors");
13
- /** @jsx jsx */
13
+ /**
14
+ * @jsxRuntime classic
15
+ * @jsx jsx
16
+ */
14
17
 
15
18
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
16
19
 
@@ -1,5 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- /** @jsx jsx */
2
+ /**
3
+ * @jsxRuntime classic
4
+ * @jsx jsx
5
+ */
3
6
 
4
7
  import { useCallback, useState } from 'react';
5
8
 
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import React from 'react';
3
6
 
4
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -1,5 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- /** @jsx jsx */
2
+ /**
3
+ * @jsxRuntime classic
4
+ * @jsx jsx
5
+ */
3
6
  import React from 'react';
4
7
 
5
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -586,8 +589,10 @@ export class ToolbarInsertBlock extends React.PureComponent {
586
589
  return null;
587
590
  }
588
591
  const onUnmount = () => {
589
- var _this$props$pluginInj, _this$props$pluginInj2, _this$props$pluginInj3;
590
- return (_this$props$pluginInj = this.props.pluginInjectionApi) === null || _this$props$pluginInj === void 0 ? void 0 : (_this$props$pluginInj2 = _this$props$pluginInj.core) === null || _this$props$pluginInj2 === void 0 ? void 0 : (_this$props$pluginInj3 = _this$props$pluginInj2.actions) === null || _this$props$pluginInj3 === void 0 ? void 0 : _this$props$pluginInj3.focus();
592
+ requestAnimationFrame(() => {
593
+ var _this$props$pluginInj, _this$props$pluginInj2, _this$props$pluginInj3;
594
+ return (_this$props$pluginInj = this.props.pluginInjectionApi) === null || _this$props$pluginInj === void 0 ? void 0 : (_this$props$pluginInj2 = _this$props$pluginInj.core) === null || _this$props$pluginInj2 === void 0 ? void 0 : (_this$props$pluginInj3 = _this$props$pluginInj2.actions) === null || _this$props$pluginInj3 === void 0 ? void 0 : _this$props$pluginInj3.focus();
595
+ });
591
596
  };
592
597
  return jsx(Popup, {
593
598
  target: ref,
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import React from 'react';
3
6
 
4
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
 
3
6
  import { useCallback, useEffect, useRef, useState } from 'react';
4
7
 
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import { useEffect, useMemo, useRef } from 'react';
3
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
7
  import { css, jsx } from '@emotion/react';
@@ -2,7 +2,10 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  var _excluded = ["children"];
5
- /** @jsx jsx */
5
+ /**
6
+ * @jsxRuntime classic
7
+ * @jsx jsx
8
+ */
6
9
 
7
10
  import { useCallback, useState } from 'react';
8
11
 
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import React from 'react';
3
6
 
4
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -15,7 +15,10 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
15
15
  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; }
16
16
  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); }; }
17
17
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
18
- /** @jsx jsx */
18
+ /**
19
+ * @jsxRuntime classic
20
+ * @jsx jsx
21
+ */
19
22
  import React from 'react';
20
23
 
21
24
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -519,8 +522,10 @@ export var ToolbarInsertBlock = /*#__PURE__*/function (_React$PureComponent) {
519
522
  return null;
520
523
  }
521
524
  var onUnmount = function onUnmount() {
522
- var _this3$props$pluginIn;
523
- return (_this3$props$pluginIn = _this3.props.pluginInjectionApi) === null || _this3$props$pluginIn === void 0 || (_this3$props$pluginIn = _this3$props$pluginIn.core) === null || _this3$props$pluginIn === void 0 || (_this3$props$pluginIn = _this3$props$pluginIn.actions) === null || _this3$props$pluginIn === void 0 ? void 0 : _this3$props$pluginIn.focus();
525
+ requestAnimationFrame(function () {
526
+ var _this3$props$pluginIn;
527
+ return (_this3$props$pluginIn = _this3.props.pluginInjectionApi) === null || _this3$props$pluginIn === void 0 || (_this3$props$pluginIn = _this3$props$pluginIn.core) === null || _this3$props$pluginIn === void 0 || (_this3$props$pluginIn = _this3$props$pluginIn.actions) === null || _this3$props$pluginIn === void 0 ? void 0 : _this3$props$pluginIn.focus();
528
+ });
524
529
  };
525
530
  return jsx(Popup, {
526
531
  target: ref,
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import React from 'react';
3
6
 
4
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -2,7 +2,10 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  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; }
4
4
  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; }
5
- /** @jsx jsx */
5
+ /**
6
+ * @jsxRuntime classic
7
+ * @jsx jsx
8
+ */
6
9
 
7
10
  import { useCallback, useEffect, useRef, useState } from 'react';
8
11
 
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import { useEffect, useMemo, useRef } from 'react';
3
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
7
  import { css, jsx } from '@emotion/react';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import React from 'react';
3
6
  import { jsx } from '@emotion/react';
4
7
  import type { ToolbarButtonRef } from '@atlaskit/editor-common/ui-menu';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import React from 'react';
3
6
  import { jsx } from '@emotion/react';
4
7
  import type { WrappedComponentProps } from 'react-intl-next';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import React from 'react';
3
6
  import type { MemoizedFn } from 'memoize-one';
4
7
  import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import { jsx } from '@emotion/react';
3
6
  import type { OnTableSizeSelection } from './table-selector-popup';
4
7
  type SimpleEventHandler<T> = (event: T) => void;
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import React from 'react';
3
6
  import { jsx } from '@emotion/react';
4
7
  import type { ToolbarButtonRef } from '@atlaskit/editor-common/ui-menu';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import React from 'react';
3
6
  import { jsx } from '@emotion/react';
4
7
  import type { WrappedComponentProps } from 'react-intl-next';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import React from 'react';
3
6
  import type { MemoizedFn } from 'memoize-one';
4
7
  import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import { jsx } from '@emotion/react';
3
6
  import type { OnTableSizeSelection } from './table-selector-popup';
4
7
  type SimpleEventHandler<T> = (event: T) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-insert-block",
3
- "version": "1.5.1",
3
+ "version": "1.6.0",
4
4
  "description": "Insert block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,35 +33,35 @@
33
33
  ".": "./src/index.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/editor-common": "^86.0.0",
37
- "@atlaskit/editor-plugin-analytics": "^1.4.0",
38
- "@atlaskit/editor-plugin-block-type": "^3.8.0",
39
- "@atlaskit/editor-plugin-code-block": "^3.0.0",
40
- "@atlaskit/editor-plugin-date": "^2.0.0",
41
- "@atlaskit/editor-plugin-emoji": "^2.0.0",
42
- "@atlaskit/editor-plugin-expand": "^2.0.0",
43
- "@atlaskit/editor-plugin-extension": "^1.10.0",
44
- "@atlaskit/editor-plugin-hyperlink": "^2.3.0",
45
- "@atlaskit/editor-plugin-image-upload": "^1.1.0",
46
- "@atlaskit/editor-plugin-layout": "^1.4.0",
47
- "@atlaskit/editor-plugin-media": "^1.24.0",
48
- "@atlaskit/editor-plugin-mentions": "^2.0.0",
49
- "@atlaskit/editor-plugin-panel": "^2.0.0",
50
- "@atlaskit/editor-plugin-placeholder-text": "^1.4.0",
51
- "@atlaskit/editor-plugin-primary-toolbar": "^1.2.0",
52
- "@atlaskit/editor-plugin-quick-insert": "^1.1.0",
53
- "@atlaskit/editor-plugin-rule": "^1.5.0",
54
- "@atlaskit/editor-plugin-status": "^2.1.0",
55
- "@atlaskit/editor-plugin-table": "^7.20.0",
56
- "@atlaskit/editor-plugin-tasks-and-decisions": "^2.1.0",
57
- "@atlaskit/editor-plugin-type-ahead": "^1.4.0",
58
- "@atlaskit/editor-prosemirror": "4.0.1",
36
+ "@atlaskit/editor-common": "^86.8.0",
37
+ "@atlaskit/editor-plugin-analytics": "^1.6.0",
38
+ "@atlaskit/editor-plugin-block-type": "^3.10.0",
39
+ "@atlaskit/editor-plugin-code-block": "^3.2.0",
40
+ "@atlaskit/editor-plugin-date": "^2.2.0",
41
+ "@atlaskit/editor-plugin-emoji": "^2.2.0",
42
+ "@atlaskit/editor-plugin-expand": "^2.2.0",
43
+ "@atlaskit/editor-plugin-extension": "^1.12.0",
44
+ "@atlaskit/editor-plugin-hyperlink": "^2.6.0",
45
+ "@atlaskit/editor-plugin-image-upload": "^1.2.0",
46
+ "@atlaskit/editor-plugin-layout": "^1.6.0",
47
+ "@atlaskit/editor-plugin-media": "^1.27.0",
48
+ "@atlaskit/editor-plugin-mentions": "^2.2.0",
49
+ "@atlaskit/editor-plugin-panel": "^2.2.0",
50
+ "@atlaskit/editor-plugin-placeholder-text": "^1.6.0",
51
+ "@atlaskit/editor-plugin-primary-toolbar": "^1.3.0",
52
+ "@atlaskit/editor-plugin-quick-insert": "^1.2.0",
53
+ "@atlaskit/editor-plugin-rule": "^1.7.0",
54
+ "@atlaskit/editor-plugin-status": "^2.3.0",
55
+ "@atlaskit/editor-plugin-table": "^7.23.0",
56
+ "@atlaskit/editor-plugin-tasks-and-decisions": "^2.3.0",
57
+ "@atlaskit/editor-plugin-type-ahead": "^1.6.0",
58
+ "@atlaskit/editor-prosemirror": "5.0.1",
59
59
  "@atlaskit/editor-shared-styles": "^2.13.0",
60
60
  "@atlaskit/emoji": "^67.6.0",
61
- "@atlaskit/icon": "^22.6.0",
62
- "@atlaskit/primitives": "^11.0.0",
61
+ "@atlaskit/icon": "^22.7.0",
62
+ "@atlaskit/primitives": "^11.1.0",
63
63
  "@atlaskit/theme": "^12.11.0",
64
- "@atlaskit/tokens": "^1.55.0",
64
+ "@atlaskit/tokens": "^1.56.0",
65
65
  "@babel/runtime": "^7.0.0",
66
66
  "@emotion/react": "^11.7.1",
67
67
  "bind-event-listener": "^3.0.0",