@ckeditor/ckeditor5-clipboard 37.0.0-alpha.2 → 37.0.0-rc.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-clipboard",
3
- "version": "37.0.0-alpha.2",
3
+ "version": "37.0.0-rc.0",
4
4
  "description": "Clipboard integration feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,36 +12,36 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "@ckeditor/ckeditor5-core": "^37.0.0-alpha.2",
16
- "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.2",
17
- "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.2",
18
- "@ckeditor/ckeditor5-widget": "^37.0.0-alpha.2",
15
+ "@ckeditor/ckeditor5-core": "^37.0.0-rc.0",
16
+ "@ckeditor/ckeditor5-engine": "^37.0.0-rc.0",
17
+ "@ckeditor/ckeditor5-utils": "^37.0.0-rc.0",
18
+ "@ckeditor/ckeditor5-widget": "^37.0.0-rc.0",
19
19
  "lodash-es": "^4.17.15"
20
20
  },
21
21
  "devDependencies": {
22
- "@ckeditor/ckeditor5-alignment": "^37.0.0-alpha.2",
23
- "@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.2",
24
- "@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.2",
25
- "@ckeditor/ckeditor5-cloud-services": "^37.0.0-alpha.2",
26
- "@ckeditor/ckeditor5-code-block": "^37.0.0-alpha.2",
27
- "@ckeditor/ckeditor5-easy-image": "^37.0.0-alpha.2",
28
- "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.2",
29
- "@ckeditor/ckeditor5-enter": "^37.0.0-alpha.2",
30
- "@ckeditor/ckeditor5-horizontal-line": "^37.0.0-alpha.2",
31
- "@ckeditor/ckeditor5-image": "^37.0.0-alpha.2",
32
- "@ckeditor/ckeditor5-link": "^37.0.0-alpha.2",
33
- "@ckeditor/ckeditor5-page-break": "^37.0.0-alpha.2",
34
- "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.2",
35
- "@ckeditor/ckeditor5-paste-from-office": "^37.0.0-alpha.2",
36
- "@ckeditor/ckeditor5-remove-format": "^37.0.0-alpha.2",
37
- "@ckeditor/ckeditor5-table": "^37.0.0-alpha.2",
38
- "@ckeditor/ckeditor5-typing": "^37.0.0-alpha.2",
22
+ "@ckeditor/ckeditor5-alignment": "^37.0.0-rc.0",
23
+ "@ckeditor/ckeditor5-basic-styles": "^37.0.0-rc.0",
24
+ "@ckeditor/ckeditor5-block-quote": "^37.0.0-rc.0",
25
+ "@ckeditor/ckeditor5-cloud-services": "^37.0.0-rc.0",
26
+ "@ckeditor/ckeditor5-code-block": "^37.0.0-rc.0",
27
+ "@ckeditor/ckeditor5-easy-image": "^37.0.0-rc.0",
28
+ "@ckeditor/ckeditor5-editor-classic": "^37.0.0-rc.0",
29
+ "@ckeditor/ckeditor5-enter": "^37.0.0-rc.0",
30
+ "@ckeditor/ckeditor5-horizontal-line": "^37.0.0-rc.0",
31
+ "@ckeditor/ckeditor5-image": "^37.0.0-rc.0",
32
+ "@ckeditor/ckeditor5-link": "^37.0.0-rc.0",
33
+ "@ckeditor/ckeditor5-page-break": "^37.0.0-rc.0",
34
+ "@ckeditor/ckeditor5-paragraph": "^37.0.0-rc.0",
35
+ "@ckeditor/ckeditor5-paste-from-office": "^37.0.0-rc.0",
36
+ "@ckeditor/ckeditor5-remove-format": "^37.0.0-rc.0",
37
+ "@ckeditor/ckeditor5-table": "^37.0.0-rc.0",
38
+ "@ckeditor/ckeditor5-typing": "^37.0.0-rc.0",
39
39
  "typescript": "^4.8.4",
40
40
  "webpack": "^5.58.1",
41
41
  "webpack-cli": "^4.9.0"
42
42
  },
43
43
  "engines": {
44
- "node": ">=14.0.0",
44
+ "node": ">=16.0.0",
45
45
  "npm": ">=5.7.1"
46
46
  },
47
47
  "author": "CKSource (http://cksource.com/)",
@@ -5,7 +5,10 @@
5
5
  /**
6
6
  * @module clipboard/clipboard
7
7
  */
8
- import { Plugin, type PluginDependencies } from '@ckeditor/ckeditor5-core';
8
+ import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import ClipboardPipeline from './clipboardpipeline';
10
+ import DragDrop from './dragdrop';
11
+ import PastePlainText from './pasteplaintext';
9
12
  /**
10
13
  * The clipboard feature.
11
14
  *
@@ -24,5 +27,5 @@ export default class Clipboard extends Plugin {
24
27
  /**
25
28
  * @inheritDoc
26
29
  */
27
- static get requires(): PluginDependencies;
30
+ static get requires(): readonly [typeof ClipboardPipeline, typeof DragDrop, typeof PastePlainText];
28
31
  }
package/src/dragdrop.d.ts CHANGED
@@ -5,7 +5,9 @@
5
5
  /**
6
6
  * @module clipboard/dragdrop
7
7
  */
8
- import { Plugin, type PluginDependencies } from '@ckeditor/ckeditor5-core';
8
+ import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import { Widget } from '@ckeditor/ckeditor5-widget';
10
+ import ClipboardPipeline from './clipboardpipeline';
9
11
  import '../theme/clipboard.css';
10
12
  /**
11
13
  * The drag and drop feature. It works on top of the {@link module:clipboard/clipboardpipeline~ClipboardPipeline}.
@@ -46,7 +48,7 @@ export default class DragDrop extends Plugin {
46
48
  /**
47
49
  * @inheritDoc
48
50
  */
49
- static get requires(): PluginDependencies;
51
+ static get requires(): readonly [typeof ClipboardPipeline, typeof Widget];
50
52
  /**
51
53
  * @inheritDoc
52
54
  */
@@ -5,7 +5,8 @@
5
5
  /**
6
6
  * @module clipboard/pasteplaintext
7
7
  */
8
- import { Plugin, type PluginDependencies } from '@ckeditor/ckeditor5-core';
8
+ import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import ClipboardPipeline from './clipboardpipeline';
9
10
  /**
10
11
  * The plugin detects the user's intention to paste plain text.
11
12
  *
@@ -19,7 +20,7 @@ export default class PastePlainText extends Plugin {
19
20
  /**
20
21
  * @inheritDoc
21
22
  */
22
- static get requires(): PluginDependencies;
23
+ static get requires(): readonly [typeof ClipboardPipeline];
23
24
  /**
24
25
  * @inheritDoc
25
26
  */