@ckeditor/ckeditor5-heading 37.0.0-alpha.1 → 37.0.0-alpha.3

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-heading",
3
- "version": "37.0.0-alpha.1",
3
+ "version": "37.0.0-alpha.3",
4
4
  "description": "Headings feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,26 +12,26 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "^37.0.0-alpha.1"
15
+ "ckeditor5": "^37.0.0-alpha.3"
16
16
  },
17
17
  "devDependencies": {
18
- "@ckeditor/ckeditor5-alignment": "^37.0.0-alpha.1",
19
- "@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.1",
20
- "@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.1",
21
- "@ckeditor/ckeditor5-core": "^37.0.0-alpha.1",
22
- "@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.1",
18
+ "@ckeditor/ckeditor5-alignment": "^37.0.0-alpha.3",
19
+ "@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.3",
20
+ "@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.3",
21
+ "@ckeditor/ckeditor5-core": "^37.0.0-alpha.3",
22
+ "@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.3",
23
23
  "@ckeditor/ckeditor5-dev-utils": "^35.0.0",
24
- "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.1",
25
- "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.1",
26
- "@ckeditor/ckeditor5-enter": "^37.0.0-alpha.1",
27
- "@ckeditor/ckeditor5-image": "^37.0.0-alpha.1",
28
- "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.1",
29
- "@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.1",
30
- "@ckeditor/ckeditor5-typing": "^37.0.0-alpha.1",
31
- "@ckeditor/ckeditor5-ui": "^37.0.0-alpha.1",
32
- "@ckeditor/ckeditor5-undo": "^37.0.0-alpha.1",
33
- "@ckeditor/ckeditor5-upload": "^37.0.0-alpha.1",
34
- "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.1",
24
+ "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.3",
25
+ "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.3",
26
+ "@ckeditor/ckeditor5-enter": "^37.0.0-alpha.3",
27
+ "@ckeditor/ckeditor5-image": "^37.0.0-alpha.3",
28
+ "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.3",
29
+ "@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.3",
30
+ "@ckeditor/ckeditor5-typing": "^37.0.0-alpha.3",
31
+ "@ckeditor/ckeditor5-ui": "^37.0.0-alpha.3",
32
+ "@ckeditor/ckeditor5-undo": "^37.0.0-alpha.3",
33
+ "@ckeditor/ckeditor5-upload": "^37.0.0-alpha.3",
34
+ "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.3",
35
35
  "typescript": "^4.8.4",
36
36
  "webpack": "^5.58.1",
37
37
  "webpack-cli": "^4.9.0"
package/src/heading.d.ts CHANGED
@@ -5,7 +5,9 @@
5
5
  /**
6
6
  * @module heading/heading
7
7
  */
8
- import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import HeadingEditing from './headingediting';
10
+ import HeadingUI from './headingui';
9
11
  import '../theme/heading.css';
10
12
  /**
11
13
  * The headings feature.
@@ -22,7 +24,7 @@ export default class Heading extends Plugin {
22
24
  /**
23
25
  * @inheritDoc
24
26
  */
25
- static get requires(): PluginDependencies;
27
+ static get requires(): readonly [typeof HeadingEditing, typeof HeadingUI];
26
28
  /**
27
29
  * @inheritDoc
28
30
  */
@@ -5,7 +5,8 @@
5
5
  /**
6
6
  * @module heading/headingediting
7
7
  */
8
- import { Plugin, type Editor, type PluginDependencies } from 'ckeditor5/src/core';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core';
9
+ import { Paragraph } from 'ckeditor5/src/paragraph';
9
10
  /**
10
11
  * The headings engine feature. It handles switching between block formats – headings and paragraph.
11
12
  * This class represents the engine part of the heading feature. See also {@link module:heading/heading~Heading}.
@@ -23,7 +24,7 @@ export default class HeadingEditing extends Plugin {
23
24
  /**
24
25
  * @inheritDoc
25
26
  */
26
- static get requires(): PluginDependencies;
27
+ static get requires(): readonly [typeof Paragraph];
27
28
  /**
28
29
  * @inheritDoc
29
30
  */
package/src/title.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module heading/title
7
7
  */
8
- import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
9
  /**
10
10
  * The Title plugin.
11
11
  *
@@ -24,7 +24,7 @@ export default class Title extends Plugin {
24
24
  /**
25
25
  * @inheritDoc
26
26
  */
27
- static get requires(): PluginDependencies;
27
+ static get requires(): readonly ["Paragraph"];
28
28
  /**
29
29
  * @inheritDoc
30
30
  */