@atlaskit/editor-plugin-clipboard 1.3.10 → 1.3.12
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 +14 -0
- package/dist/cjs/clipboardPluginType.js +5 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/pm-plugins/main.js +1 -1
- package/dist/es2019/clipboardPluginType.js +1 -0
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/pm-plugins/main.js +1 -1
- package/dist/esm/clipboardPluginType.js +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/pm-plugins/main.js +1 -1
- package/dist/types/clipboardPlugin.d.ts +3 -0
- package/dist/types/{plugin.d.ts → clipboardPluginType.d.ts} +0 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types-ts4.5/clipboardPlugin.d.ts +3 -0
- package/dist/types-ts4.5/{plugin.d.ts → clipboardPluginType.d.ts} +0 -2
- package/dist/types-ts4.5/index.d.ts +2 -2
- package/package.json +6 -3
- /package/dist/cjs/{plugin.js → clipboardPlugin.js} +0 -0
- /package/dist/cjs/{plugin-key.js → pm-plugins/plugin-key.js} +0 -0
- /package/dist/es2019/{plugin.js → clipboardPlugin.js} +0 -0
- /package/dist/es2019/{plugin-key.js → pm-plugins/plugin-key.js} +0 -0
- /package/dist/esm/{plugin.js → clipboardPlugin.js} +0 -0
- /package/dist/esm/{plugin-key.js → pm-plugins/plugin-key.js} +0 -0
- /package/dist/types/{plugin-key.d.ts → pm-plugins/plugin-key.d.ts} +0 -0
- /package/dist/types-ts4.5/{plugin-key.d.ts → pm-plugins/plugin-key.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-clipboard
|
|
2
2
|
|
|
3
|
+
## 1.3.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.3.11
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#168198](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168198)
|
|
14
|
+
[`c191e2b8a81ea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c191e2b8a81ea) -
|
|
15
|
+
ED-25807: refactors plugins to meet folder standards
|
|
16
|
+
|
|
3
17
|
## 1.3.10
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/index.js
CHANGED
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
Object.defineProperty(exports, "clipboardPlugin", {
|
|
8
8
|
enumerable: true,
|
|
9
9
|
get: function get() {
|
|
10
|
-
return
|
|
10
|
+
return _clipboardPlugin.default;
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
|
-
var
|
|
13
|
+
var _clipboardPlugin = _interopRequireDefault(require("./clipboardPlugin"));
|
|
@@ -18,7 +18,7 @@ var _clipboard = require("@atlaskit/editor-common/clipboard");
|
|
|
18
18
|
var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
|
|
19
19
|
var _model = require("@atlaskit/editor-prosemirror/model");
|
|
20
20
|
var _utils = require("@atlaskit/editor-prosemirror/utils");
|
|
21
|
-
var _pluginKey = require("
|
|
21
|
+
var _pluginKey = require("./plugin-key");
|
|
22
22
|
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; }
|
|
23
23
|
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; }
|
|
24
24
|
var ClipboardEventType = exports.ClipboardEventType = /*#__PURE__*/function (ClipboardEventType) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es2019/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as clipboardPlugin } from './
|
|
1
|
+
export { default as clipboardPlugin } from './clipboardPlugin';
|
|
@@ -3,7 +3,7 @@ import { getAnalyticsPayload } from '@atlaskit/editor-common/clipboard';
|
|
|
3
3
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
4
4
|
import { DOMSerializer, Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
import { findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
6
|
-
import { clipboardPluginKey } from '
|
|
6
|
+
import { clipboardPluginKey } from './plugin-key';
|
|
7
7
|
export let ClipboardEventType = /*#__PURE__*/function (ClipboardEventType) {
|
|
8
8
|
ClipboardEventType["CUT"] = "CUT";
|
|
9
9
|
ClipboardEventType["COPY"] = "COPY";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as clipboardPlugin } from './
|
|
1
|
+
export { default as clipboardPlugin } from './clipboardPlugin';
|
|
@@ -6,7 +6,7 @@ import { getAnalyticsPayload } from '@atlaskit/editor-common/clipboard';
|
|
|
6
6
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
7
7
|
import { DOMSerializer, Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
8
8
|
import { findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
9
|
-
import { clipboardPluginKey } from '
|
|
9
|
+
import { clipboardPluginKey } from './plugin-key';
|
|
10
10
|
export var ClipboardEventType = /*#__PURE__*/function (ClipboardEventType) {
|
|
11
11
|
ClipboardEventType["CUT"] = "CUT";
|
|
12
12
|
ClipboardEventType["COPY"] = "COPY";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as clipboardPlugin } from './
|
|
2
|
-
export type { ClipboardPlugin } from './
|
|
1
|
+
export { default as clipboardPlugin } from './clipboardPlugin';
|
|
2
|
+
export type { ClipboardPlugin } from './clipboardPluginType';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as clipboardPlugin } from './
|
|
2
|
-
export type { ClipboardPlugin } from './
|
|
1
|
+
export { default as clipboardPlugin } from './clipboardPlugin';
|
|
2
|
+
export type { ClipboardPlugin } from './clipboardPluginType';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-clipboard",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.12",
|
|
4
4
|
"description": "Clipboard plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/editor-common": "^
|
|
35
|
-
"@atlaskit/editor-prosemirror": "6.
|
|
34
|
+
"@atlaskit/editor-common": "^96.0.0",
|
|
35
|
+
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
36
36
|
"@babel/runtime": "^7.0.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -49,6 +49,9 @@
|
|
|
49
49
|
},
|
|
50
50
|
"techstack": {
|
|
51
51
|
"@atlassian/frontend": {
|
|
52
|
+
"code-structure": [
|
|
53
|
+
"editor-plugin"
|
|
54
|
+
],
|
|
52
55
|
"import-structure": [
|
|
53
56
|
"atlassian-conventions"
|
|
54
57
|
],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|