@ckeditor/ckeditor5-paragraph 37.0.0-alpha.0 → 37.0.0-alpha.2

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-paragraph",
3
- "version": "37.0.0-alpha.0",
3
+ "version": "37.0.0-alpha.2",
4
4
  "description": "Paragraph feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,20 +12,20 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "@ckeditor/ckeditor5-core": "^37.0.0-alpha.0",
16
- "@ckeditor/ckeditor5-ui": "^37.0.0-alpha.0",
17
- "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.0"
15
+ "@ckeditor/ckeditor5-core": "^37.0.0-alpha.2",
16
+ "@ckeditor/ckeditor5-ui": "^37.0.0-alpha.2",
17
+ "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.2"
18
18
  },
19
19
  "devDependencies": {
20
- "@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.0",
21
- "@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.0",
22
- "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.0",
23
- "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.0",
24
- "@ckeditor/ckeditor5-enter": "^37.0.0-alpha.0",
25
- "@ckeditor/ckeditor5-heading": "^37.0.0-alpha.0",
26
- "@ckeditor/ckeditor5-link": "^37.0.0-alpha.0",
27
- "@ckeditor/ckeditor5-typing": "^37.0.0-alpha.0",
28
- "@ckeditor/ckeditor5-undo": "^37.0.0-alpha.0",
20
+ "@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.2",
21
+ "@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.2",
22
+ "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.2",
23
+ "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.2",
24
+ "@ckeditor/ckeditor5-enter": "^37.0.0-alpha.2",
25
+ "@ckeditor/ckeditor5-heading": "^37.0.0-alpha.2",
26
+ "@ckeditor/ckeditor5-link": "^37.0.0-alpha.2",
27
+ "@ckeditor/ckeditor5-typing": "^37.0.0-alpha.2",
28
+ "@ckeditor/ckeditor5-undo": "^37.0.0-alpha.2",
29
29
  "typescript": "^4.8.4",
30
30
  "webpack": "^5.58.1",
31
31
  "webpack-cli": "^4.9.0"
@@ -52,7 +52,7 @@
52
52
  "CHANGELOG.md"
53
53
  ],
54
54
  "scripts": {
55
- "build": "tsc -p ./tsconfig.release.json",
55
+ "build": "tsc -p ./tsconfig.json",
56
56
  "postversion": "npm run build"
57
57
  },
58
58
  "types": "src/index.d.ts"
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import type { Paragraph, ParagraphCommand, InsertParagraphCommand } from './index';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface CommandsMap {
8
+ insertParagraph: InsertParagraphCommand;
9
+ paragraph: ParagraphCommand;
10
+ }
11
+ interface PluginsMap {
12
+ [Paragraph.pluginName]: Paragraph;
13
+ }
14
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export {};
package/src/index.d.ts CHANGED
@@ -8,3 +8,5 @@
8
8
  export { default as Paragraph } from './paragraph';
9
9
  export { default as ParagraphButtonUI } from './paragraphbuttonui';
10
10
  export type { default as ParagraphCommand } from './paragraphcommand';
11
+ export type { default as InsertParagraphCommand } from './insertparagraphcommand';
12
+ import './augmentation';
package/src/index.js CHANGED
@@ -7,3 +7,4 @@
7
7
  */
8
8
  export { default as Paragraph } from './paragraph';
9
9
  export { default as ParagraphButtonUI } from './paragraphbuttonui';
10
+ import './augmentation';
@@ -38,8 +38,3 @@ export default class InsertParagraphCommand extends Command {
38
38
  attributes: Record<string, unknown>;
39
39
  }): void;
40
40
  }
41
- declare module '@ckeditor/ckeditor5-core' {
42
- interface CommandsMap {
43
- insertParagraph: InsertParagraphCommand;
44
- }
45
- }
@@ -59,8 +59,3 @@ export default class Paragraph extends Plugin {
59
59
  */
60
60
  static paragraphLikeElements: Set<string>;
61
61
  }
62
- declare module '@ckeditor/ckeditor5-core' {
63
- interface PluginsMap {
64
- [Paragraph.pluginName]: Paragraph;
65
- }
66
- }
@@ -35,8 +35,3 @@ export default class ParagraphCommand extends Command {
35
35
  selection?: Selection | DocumentSelection;
36
36
  }): void;
37
37
  }
38
- declare module '@ckeditor/ckeditor5-core' {
39
- interface CommandsMap {
40
- paragraph: ParagraphCommand;
41
- }
42
- }