@atlaskit/editor-plugin-insert-block 1.5.2 → 1.6.1
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 +18 -0
- package/dist/cjs/ui/ElementBrowser/InsertMenu.js +4 -1
- package/dist/cjs/ui/ToolbarInsertBlock/dropdown-button.js +4 -1
- package/dist/cjs/ui/ToolbarInsertBlock/index.js +4 -1
- package/dist/cjs/ui/ToolbarInsertBlock/item.js +4 -1
- package/dist/cjs/ui/ToolbarInsertBlock/table-selector-popup-with-listeners.js +4 -1
- package/dist/cjs/ui/ToolbarInsertBlock/table-selector-popup.js +4 -1
- package/dist/es2019/ui/ElementBrowser/InsertMenu.js +4 -1
- package/dist/es2019/ui/ToolbarInsertBlock/dropdown-button.js +4 -1
- package/dist/es2019/ui/ToolbarInsertBlock/index.js +4 -1
- package/dist/es2019/ui/ToolbarInsertBlock/item.js +4 -1
- package/dist/es2019/ui/ToolbarInsertBlock/table-selector-popup-with-listeners.js +4 -1
- package/dist/es2019/ui/ToolbarInsertBlock/table-selector-popup.js +4 -1
- package/dist/esm/ui/ElementBrowser/InsertMenu.js +4 -1
- package/dist/esm/ui/ToolbarInsertBlock/dropdown-button.js +4 -1
- package/dist/esm/ui/ToolbarInsertBlock/index.js +4 -1
- package/dist/esm/ui/ToolbarInsertBlock/item.js +4 -1
- package/dist/esm/ui/ToolbarInsertBlock/table-selector-popup-with-listeners.js +4 -1
- package/dist/esm/ui/ToolbarInsertBlock/table-selector-popup.js +4 -1
- package/dist/types/ui/ToolbarInsertBlock/dropdown-button.d.ts +4 -1
- package/dist/types/ui/ToolbarInsertBlock/index.d.ts +4 -1
- package/dist/types/ui/ToolbarInsertBlock/item.d.ts +4 -1
- package/dist/types/ui/ToolbarInsertBlock/table-selector-popup-with-listeners.d.ts +4 -1
- package/dist/types-ts4.5/ui/ToolbarInsertBlock/dropdown-button.d.ts +4 -1
- package/dist/types-ts4.5/ui/ToolbarInsertBlock/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/ToolbarInsertBlock/item.d.ts +4 -1
- package/dist/types-ts4.5/ui/ToolbarInsertBlock/table-selector-popup-with-listeners.d.ts +4 -1
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-insert-block
|
|
2
2
|
|
|
3
|
+
## 1.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.6.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#124209](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124209)
|
|
14
|
+
[`8aa1792f12ed3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8aa1792f12ed3) -
|
|
15
|
+
bump @atlaskit/editor-prosemirror to 5.0.0, bump @atlaskit/adf-schema to 40.1.0
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 1.5.2
|
|
4
22
|
|
|
5
23
|
### 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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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; }
|
|
@@ -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
|
-
/**
|
|
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; } /**
|
|
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
|
-
/**
|
|
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 _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
/**
|
|
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
|
|
@@ -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
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* @jsxRuntime classic
|
|
7
|
+
* @jsx jsx
|
|
8
|
+
*/
|
|
6
9
|
|
|
7
10
|
import { useCallback, useState } from 'react';
|
|
8
11
|
|
|
@@ -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
|
-
/**
|
|
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
|
|
@@ -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
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* @jsxRuntime classic
|
|
7
|
+
* @jsx jsx
|
|
8
|
+
*/
|
|
6
9
|
|
|
7
10
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
8
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-insert-block",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "Insert block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,33 +33,33 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/editor-common": "^
|
|
37
|
-
"@atlaskit/editor-plugin-analytics": "^1.
|
|
38
|
-
"@atlaskit/editor-plugin-block-type": "^3.
|
|
39
|
-
"@atlaskit/editor-plugin-code-block": "^3.
|
|
40
|
-
"@atlaskit/editor-plugin-date": "^2.
|
|
41
|
-
"@atlaskit/editor-plugin-emoji": "^2.
|
|
42
|
-
"@atlaskit/editor-plugin-expand": "^2.
|
|
43
|
-
"@atlaskit/editor-plugin-extension": "^1.
|
|
44
|
-
"@atlaskit/editor-plugin-hyperlink": "^2.
|
|
45
|
-
"@atlaskit/editor-plugin-image-upload": "^1.
|
|
46
|
-
"@atlaskit/editor-plugin-layout": "^1.
|
|
47
|
-
"@atlaskit/editor-plugin-media": "^1.
|
|
48
|
-
"@atlaskit/editor-plugin-mentions": "^2.
|
|
49
|
-
"@atlaskit/editor-plugin-panel": "^2.
|
|
50
|
-
"@atlaskit/editor-plugin-placeholder-text": "^1.
|
|
51
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^1.
|
|
52
|
-
"@atlaskit/editor-plugin-quick-insert": "^1.
|
|
53
|
-
"@atlaskit/editor-plugin-rule": "^1.
|
|
54
|
-
"@atlaskit/editor-plugin-status": "^2.
|
|
55
|
-
"@atlaskit/editor-plugin-table": "^7.
|
|
56
|
-
"@atlaskit/editor-plugin-tasks-and-decisions": "^2.
|
|
57
|
-
"@atlaskit/editor-plugin-type-ahead": "^1.
|
|
58
|
-
"@atlaskit/editor-prosemirror": "
|
|
36
|
+
"@atlaskit/editor-common": "^87.0.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.24.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.
|
|
62
|
-
"@atlaskit/primitives": "^11.
|
|
61
|
+
"@atlaskit/icon": "^22.7.0",
|
|
62
|
+
"@atlaskit/primitives": "^11.1.0",
|
|
63
63
|
"@atlaskit/theme": "^12.11.0",
|
|
64
64
|
"@atlaskit/tokens": "^1.56.0",
|
|
65
65
|
"@babel/runtime": "^7.0.0",
|