@ckeditor/ckeditor5-mention 37.0.0-alpha.2 → 37.0.0-alpha.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-mention",
3
- "version": "37.0.0-alpha.2",
3
+ "version": "37.0.0-alpha.3",
4
4
  "description": "Mention feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,28 +12,28 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "^37.0.0-alpha.2",
15
+ "ckeditor5": "^37.0.0-alpha.3",
16
16
  "lodash-es": "^4.17.15"
17
17
  },
18
18
  "devDependencies": {
19
- "@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.2",
20
- "@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.2",
21
- "@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.2",
22
- "@ckeditor/ckeditor5-cloud-services": "^37.0.0-alpha.2",
23
- "@ckeditor/ckeditor5-core": "^37.0.0-alpha.2",
19
+ "@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.3",
20
+ "@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.3",
21
+ "@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.3",
22
+ "@ckeditor/ckeditor5-cloud-services": "^37.0.0-alpha.3",
23
+ "@ckeditor/ckeditor5-core": "^37.0.0-alpha.3",
24
24
  "@ckeditor/ckeditor5-dev-utils": "^35.0.0",
25
- "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.2",
26
- "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.2",
27
- "@ckeditor/ckeditor5-font": "^37.0.0-alpha.2",
28
- "@ckeditor/ckeditor5-link": "^37.0.0-alpha.2",
29
- "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.2",
30
- "@ckeditor/ckeditor5-table": "^37.0.0-alpha.2",
31
- "@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.2",
32
- "@ckeditor/ckeditor5-typing": "^37.0.0-alpha.2",
33
- "@ckeditor/ckeditor5-ui": "^37.0.0-alpha.2",
34
- "@ckeditor/ckeditor5-undo": "^37.0.0-alpha.2",
35
- "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.2",
36
- "@ckeditor/ckeditor5-widget": "^37.0.0-alpha.2",
25
+ "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.3",
26
+ "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.3",
27
+ "@ckeditor/ckeditor5-font": "^37.0.0-alpha.3",
28
+ "@ckeditor/ckeditor5-link": "^37.0.0-alpha.3",
29
+ "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.3",
30
+ "@ckeditor/ckeditor5-table": "^37.0.0-alpha.3",
31
+ "@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.3",
32
+ "@ckeditor/ckeditor5-typing": "^37.0.0-alpha.3",
33
+ "@ckeditor/ckeditor5-ui": "^37.0.0-alpha.3",
34
+ "@ckeditor/ckeditor5-undo": "^37.0.0-alpha.3",
35
+ "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.3",
36
+ "@ckeditor/ckeditor5-widget": "^37.0.0-alpha.3",
37
37
  "lodash": "^4.17.15",
38
38
  "typescript": "^4.8.4",
39
39
  "webpack": "^5.58.1",
package/src/mention.d.ts CHANGED
@@ -5,8 +5,10 @@
5
5
  /**
6
6
  * @module mention/mention
7
7
  */
8
- import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
9
  import type { Element } from 'ckeditor5/src/engine';
10
+ import MentionEditing from './mentionediting';
11
+ import MentionUI from './mentionui';
10
12
  import '../theme/mention.css';
11
13
  /**
12
14
  * The mention plugin.
@@ -36,7 +38,7 @@ export default class Mention extends Plugin {
36
38
  /**
37
39
  * @inheritDoc
38
40
  */
39
- static get requires(): PluginDependencies;
41
+ static get requires(): readonly [typeof MentionEditing, typeof MentionUI];
40
42
  }
41
43
  /**
42
44
  * Represents a mention in the model.
@@ -5,7 +5,8 @@
5
5
  /**
6
6
  * @module mention/mentionui
7
7
  */
8
- import { Plugin, type Editor, type PluginDependencies } from 'ckeditor5/src/core';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core';
9
+ import { ContextualBalloon } from 'ckeditor5/src/ui';
9
10
  /**
10
11
  * The mention UI feature.
11
12
  */
@@ -35,7 +36,7 @@ export default class MentionUI extends Plugin {
35
36
  /**
36
37
  * @inheritDoc
37
38
  */
38
- static get requires(): PluginDependencies;
39
+ static get requires(): readonly [typeof ContextualBalloon];
39
40
  /**
40
41
  * @inheritDoc
41
42
  */