@atlaskit/editor-plugin-expand 3.2.13 → 3.2.15
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 +12 -0
- package/dist/cjs/legacyExpand/nodeviews/index.js +6 -6
- package/dist/cjs/legacyExpand/ui/ExpandIconButton.js +1 -2
- package/dist/cjs/singlePlayerExpand/node-views/index.js +3 -3
- package/dist/cjs/singlePlayerExpand/ui/ExpandButton.js +1 -2
- package/dist/esm/legacyExpand/nodeviews/index.js +6 -6
- package/dist/esm/singlePlayerExpand/node-views/index.js +3 -3
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -385,17 +385,17 @@ var ExpandNodeView = exports.ExpandNodeView = /*#__PURE__*/function () {
|
|
|
385
385
|
}
|
|
386
386
|
});
|
|
387
387
|
(0, _defineProperty2.default)(this, "handleUndoFromTitle", function (event) {
|
|
388
|
-
var _this$
|
|
389
|
-
state = _this$
|
|
390
|
-
dispatch = _this$
|
|
388
|
+
var _this$view0 = _this.view,
|
|
389
|
+
state = _this$view0.state,
|
|
390
|
+
dispatch = _this$view0.dispatch;
|
|
391
391
|
(0, _history.undo)(state, dispatch);
|
|
392
392
|
event.preventDefault();
|
|
393
393
|
return;
|
|
394
394
|
});
|
|
395
395
|
(0, _defineProperty2.default)(this, "handleRedoFromTitle", function (event) {
|
|
396
|
-
var _this$
|
|
397
|
-
state = _this$
|
|
398
|
-
dispatch = _this$
|
|
396
|
+
var _this$view1 = _this.view,
|
|
397
|
+
state = _this$view1.state,
|
|
398
|
+
dispatch = _this$view1.dispatch;
|
|
399
399
|
(0, _history.redo)(state, dispatch);
|
|
400
400
|
event.preventDefault();
|
|
401
401
|
return;
|
|
@@ -24,8 +24,7 @@ var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron
|
|
|
24
24
|
var _chevronRight2 = _interopRequireDefault(require("@atlaskit/icon/utility/chevron-right"));
|
|
25
25
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
26
26
|
var _excluded = ["buttonStyles"];
|
|
27
|
-
function
|
|
28
|
-
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 && {}.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; }
|
|
27
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
29
28
|
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; }
|
|
30
29
|
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; }
|
|
31
30
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
@@ -350,9 +350,9 @@ var ExpandNodeView = exports.ExpandNodeView = /*#__PURE__*/function () {
|
|
|
350
350
|
return;
|
|
351
351
|
});
|
|
352
352
|
(0, _defineProperty2.default)(this, "handleRedoFromTitle", function (event) {
|
|
353
|
-
var _this$
|
|
354
|
-
state = _this$
|
|
355
|
-
dispatch = _this$
|
|
353
|
+
var _this$view0 = _this.view,
|
|
354
|
+
state = _this$view0.state,
|
|
355
|
+
dispatch = _this$view0.dispatch;
|
|
356
356
|
(0, _history.redo)(state, dispatch);
|
|
357
357
|
event.preventDefault();
|
|
358
358
|
return;
|
|
@@ -24,8 +24,7 @@ var _excluded = ["buttonStyles"];
|
|
|
24
24
|
* @jsx jsx
|
|
25
25
|
*/
|
|
26
26
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
27
|
-
function
|
|
28
|
-
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 && {}.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; }
|
|
27
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
29
28
|
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; }
|
|
30
29
|
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; }
|
|
31
30
|
function withTooltip(Component) {
|
|
@@ -377,17 +377,17 @@ export var ExpandNodeView = /*#__PURE__*/function () {
|
|
|
377
377
|
}
|
|
378
378
|
});
|
|
379
379
|
_defineProperty(this, "handleUndoFromTitle", function (event) {
|
|
380
|
-
var _this$
|
|
381
|
-
state = _this$
|
|
382
|
-
dispatch = _this$
|
|
380
|
+
var _this$view0 = _this.view,
|
|
381
|
+
state = _this$view0.state,
|
|
382
|
+
dispatch = _this$view0.dispatch;
|
|
383
383
|
undo(state, dispatch);
|
|
384
384
|
event.preventDefault();
|
|
385
385
|
return;
|
|
386
386
|
});
|
|
387
387
|
_defineProperty(this, "handleRedoFromTitle", function (event) {
|
|
388
|
-
var _this$
|
|
389
|
-
state = _this$
|
|
390
|
-
dispatch = _this$
|
|
388
|
+
var _this$view1 = _this.view,
|
|
389
|
+
state = _this$view1.state,
|
|
390
|
+
dispatch = _this$view1.dispatch;
|
|
391
391
|
redo(state, dispatch);
|
|
392
392
|
event.preventDefault();
|
|
393
393
|
return;
|
|
@@ -342,9 +342,9 @@ export var ExpandNodeView = /*#__PURE__*/function () {
|
|
|
342
342
|
return;
|
|
343
343
|
});
|
|
344
344
|
_defineProperty(this, "handleRedoFromTitle", function (event) {
|
|
345
|
-
var _this$
|
|
346
|
-
state = _this$
|
|
347
|
-
dispatch = _this$
|
|
345
|
+
var _this$view0 = _this.view,
|
|
346
|
+
state = _this$view0.state,
|
|
347
|
+
dispatch = _this$view0.dispatch;
|
|
348
348
|
redo(state, dispatch);
|
|
349
349
|
event.preventDefault();
|
|
350
350
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-expand",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.15",
|
|
4
4
|
"description": "Expand plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
37
37
|
"@atlaskit/button": "^23.2.0",
|
|
38
|
-
"@atlaskit/editor-common": "^
|
|
38
|
+
"@atlaskit/editor-common": "^106.1.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^2.3.0",
|
|
40
40
|
"@atlaskit/editor-plugin-decorations": "^2.0.0",
|
|
41
41
|
"@atlaskit/editor-plugin-editor-disabled": "^2.0.0",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
46
46
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
47
47
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
48
|
-
"@atlaskit/icon": "^26.
|
|
48
|
+
"@atlaskit/icon": "^26.4.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
50
|
-
"@atlaskit/tmp-editor-statsig": "^5.
|
|
51
|
-
"@atlaskit/tokens": "^
|
|
52
|
-
"@atlaskit/tooltip": "^20.
|
|
50
|
+
"@atlaskit/tmp-editor-statsig": "^5.7.0",
|
|
51
|
+
"@atlaskit/tokens": "^5.0.0",
|
|
52
|
+
"@atlaskit/tooltip": "^20.2.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
54
54
|
"@emotion/react": "^11.7.1",
|
|
55
55
|
"uuid": "^3.1.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@atlaskit/analytics-next": "^11.
|
|
64
|
+
"@atlaskit/analytics-next": "^11.1.0",
|
|
65
65
|
"@atlaskit/editor-plugin-content-insertion": "^2.1.0",
|
|
66
66
|
"@atlaskit/editor-plugin-guideline": "^2.0.0",
|
|
67
67
|
"@atlaskit/editor-plugin-quick-insert": "^2.5.0",
|