@atlaskit/editor-plugin-clipboard 1.3.10 → 1.3.11

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/editor-plugin-clipboard
2
2
 
3
+ ## 1.3.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [#168198](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168198)
8
+ [`c191e2b8a81ea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c191e2b8a81ea) -
9
+ ED-25807: refactors plugins to meet folder standards
10
+
3
11
  ## 1.3.10
4
12
 
5
13
  ### Patch Changes
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
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 _plugin.default;
10
+ return _clipboardPlugin.default;
11
11
  }
12
12
  });
13
- var _plugin = _interopRequireDefault(require("./plugin"));
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("../plugin-key");
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 {};
@@ -1 +1 @@
1
- export { default as clipboardPlugin } from './plugin';
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 '../plugin-key';
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 './plugin';
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 '../plugin-key';
9
+ import { clipboardPluginKey } from './plugin-key';
10
10
  export var ClipboardEventType = /*#__PURE__*/function (ClipboardEventType) {
11
11
  ClipboardEventType["CUT"] = "CUT";
12
12
  ClipboardEventType["COPY"] = "COPY";
@@ -0,0 +1,3 @@
1
+ import type { ClipboardPlugin } from './clipboardPluginType';
2
+ declare const clipboard: ClipboardPlugin;
3
+ export default clipboard;
@@ -1,4 +1,2 @@
1
1
  import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
2
  export type ClipboardPlugin = NextEditorPlugin<'clipboard'>;
3
- declare const clipboard: ClipboardPlugin;
4
- export default clipboard;
@@ -1,2 +1,2 @@
1
- export { default as clipboardPlugin } from './plugin';
2
- export type { ClipboardPlugin } from './plugin';
1
+ export { default as clipboardPlugin } from './clipboardPlugin';
2
+ export type { ClipboardPlugin } from './clipboardPluginType';
@@ -0,0 +1,3 @@
1
+ import type { ClipboardPlugin } from './clipboardPluginType';
2
+ declare const clipboard: ClipboardPlugin;
3
+ export default clipboard;
@@ -1,4 +1,2 @@
1
1
  import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
2
  export type ClipboardPlugin = NextEditorPlugin<'clipboard'>;
3
- declare const clipboard: ClipboardPlugin;
4
- export default clipboard;
@@ -1,2 +1,2 @@
1
- export { default as clipboardPlugin } from './plugin';
2
- export type { ClipboardPlugin } from './plugin';
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.10",
3
+ "version": "1.3.11",
4
4
  "description": "Clipboard plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,7 +31,7 @@
31
31
  ".": "./src/index.ts"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/editor-common": "^95.0.0",
34
+ "@atlaskit/editor-common": "^95.6.0",
35
35
  "@atlaskit/editor-prosemirror": "6.0.0",
36
36
  "@babel/runtime": "^7.0.0"
37
37
  },
@@ -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