@atlaskit/editor-plugin-synced-block 6.0.11 → 6.0.14
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 +22 -0
- package/dist/cjs/nodeviews/bodiedSyncedBlock.js +1 -2
- package/dist/cjs/pm-plugins/main.js +39 -136
- package/dist/cjs/pm-plugins/menu-and-toolbar-experiences.js +43 -25
- package/dist/cjs/pm-plugins/utils/utils.js +1 -6
- package/dist/cjs/syncedBlockPlugin.js +1 -2
- package/dist/cjs/ui/SyncBlockRefresher.js +1 -17
- package/dist/es2019/nodeviews/bodiedSyncedBlock.js +1 -2
- package/dist/es2019/pm-plugins/main.js +31 -125
- package/dist/es2019/pm-plugins/menu-and-toolbar-experiences.js +47 -26
- package/dist/es2019/pm-plugins/utils/utils.js +1 -6
- package/dist/es2019/syncedBlockPlugin.js +1 -2
- package/dist/es2019/ui/SyncBlockRefresher.js +0 -16
- package/dist/esm/nodeviews/bodiedSyncedBlock.js +1 -2
- package/dist/esm/pm-plugins/main.js +33 -130
- package/dist/esm/pm-plugins/menu-and-toolbar-experiences.js +44 -26
- package/dist/esm/pm-plugins/utils/utils.js +1 -6
- package/dist/esm/syncedBlockPlugin.js +1 -2
- package/dist/esm/ui/SyncBlockRefresher.js +0 -16
- package/dist/types/ui/SyncBlockRefresher.d.ts +0 -1
- package/dist/types-ts4.5/ui/SyncBlockRefresher.d.ts +0 -1
- package/docs/0-intro.tsx +10 -10
- package/package.json +11 -11
- package/dist/cjs/nodeviews/bodiedLazySyncedBlock.js +0 -27
- package/dist/es2019/nodeviews/bodiedLazySyncedBlock.js +0 -17
- package/dist/esm/nodeviews/bodiedLazySyncedBlock.js +0 -16
- package/dist/types/nodeviews/bodiedLazySyncedBlock.d.ts +0 -3
- package/dist/types-ts4.5/nodeviews/bodiedLazySyncedBlock.d.ts +0 -3
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.lazyBodiedSyncBlockView = void 0;
|
|
8
|
-
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
9
|
-
var _lazyNodeView = require("@atlaskit/editor-common/lazy-node-view");
|
|
10
|
-
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" != (0, _typeof2.default)(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); }
|
|
11
|
-
// Delete this file when cleaning up platform_synced_block_patch_5
|
|
12
|
-
var lazyBodiedSyncBlockView = exports.lazyBodiedSyncBlockView = function lazyBodiedSyncBlockView(props) {
|
|
13
|
-
return (0, _lazyNodeView.withLazyLoading)({
|
|
14
|
-
nodeName: 'bodiedSyncBlock',
|
|
15
|
-
getNodeViewOptions: function getNodeViewOptions() {},
|
|
16
|
-
loader: function loader() {
|
|
17
|
-
var result = Promise.resolve().then(function () {
|
|
18
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_editor-plugin-bodied-synced-block-nodeview" */
|
|
19
|
-
'./bodiedSyncedBlock'));
|
|
20
|
-
}).then(function (_ref) {
|
|
21
|
-
var bodiedSyncBlockNodeView = _ref.bodiedSyncBlockNodeView;
|
|
22
|
-
return bodiedSyncBlockNodeView(props);
|
|
23
|
-
});
|
|
24
|
-
return result;
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { withLazyLoading } from '@atlaskit/editor-common/lazy-node-view';
|
|
2
|
-
// Delete this file when cleaning up platform_synced_block_patch_5
|
|
3
|
-
export const lazyBodiedSyncBlockView = props => {
|
|
4
|
-
return withLazyLoading({
|
|
5
|
-
nodeName: 'bodiedSyncBlock',
|
|
6
|
-
getNodeViewOptions: () => {},
|
|
7
|
-
loader: () => {
|
|
8
|
-
const result = import( /* webpackChunkName: "@atlaskit-internal_editor-plugin-bodied-synced-block-nodeview" */
|
|
9
|
-
'./bodiedSyncedBlock').then(({
|
|
10
|
-
bodiedSyncBlockNodeView
|
|
11
|
-
}) => {
|
|
12
|
-
return bodiedSyncBlockNodeView(props);
|
|
13
|
-
});
|
|
14
|
-
return result;
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { withLazyLoading } from '@atlaskit/editor-common/lazy-node-view';
|
|
2
|
-
// Delete this file when cleaning up platform_synced_block_patch_5
|
|
3
|
-
export var lazyBodiedSyncBlockView = function lazyBodiedSyncBlockView(props) {
|
|
4
|
-
return withLazyLoading({
|
|
5
|
-
nodeName: 'bodiedSyncBlock',
|
|
6
|
-
getNodeViewOptions: function getNodeViewOptions() {},
|
|
7
|
-
loader: function loader() {
|
|
8
|
-
var result = import( /* webpackChunkName: "@atlaskit-internal_editor-plugin-bodied-synced-block-nodeview" */
|
|
9
|
-
'./bodiedSyncedBlock').then(function (_ref) {
|
|
10
|
-
var bodiedSyncBlockNodeView = _ref.bodiedSyncBlockNodeView;
|
|
11
|
-
return bodiedSyncBlockNodeView(props);
|
|
12
|
-
});
|
|
13
|
-
return result;
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { NodeViewConstructor } from '@atlaskit/editor-common/lazy-node-view';
|
|
2
|
-
import type { BodiedSyncBlockNodeViewProperties } from './bodiedSyncedBlock';
|
|
3
|
-
export declare const lazyBodiedSyncBlockView: (props: BodiedSyncBlockNodeViewProperties) => NodeViewConstructor;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { NodeViewConstructor } from '@atlaskit/editor-common/lazy-node-view';
|
|
2
|
-
import type { BodiedSyncBlockNodeViewProperties } from './bodiedSyncedBlock';
|
|
3
|
-
export declare const lazyBodiedSyncBlockView: (props: BodiedSyncBlockNodeViewProperties) => NodeViewConstructor;
|