@ckeditor/ckeditor5-enter 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-enter",
3
- "version": "37.0.0-alpha.0",
3
+ "version": "37.0.0-alpha.2",
4
4
  "description": "Enter feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,17 +12,17 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "@ckeditor/ckeditor5-core": "^37.0.0-alpha.0",
16
- "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.0"
15
+ "@ckeditor/ckeditor5-core": "^37.0.0-alpha.2",
16
+ "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.2"
17
17
  },
18
18
  "devDependencies": {
19
- "@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.0",
20
- "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.0",
21
- "@ckeditor/ckeditor5-heading": "^37.0.0-alpha.0",
22
- "@ckeditor/ckeditor5-link": "^37.0.0-alpha.0",
23
- "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.0",
24
- "@ckeditor/ckeditor5-typing": "^37.0.0-alpha.0",
25
- "@ckeditor/ckeditor5-undo": "^37.0.0-alpha.0",
19
+ "@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.2",
20
+ "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.2",
21
+ "@ckeditor/ckeditor5-heading": "^37.0.0-alpha.2",
22
+ "@ckeditor/ckeditor5-link": "^37.0.0-alpha.2",
23
+ "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.2",
24
+ "@ckeditor/ckeditor5-typing": "^37.0.0-alpha.2",
25
+ "@ckeditor/ckeditor5-undo": "^37.0.0-alpha.2",
26
26
  "typescript": "^4.8.4",
27
27
  "webpack": "^5.58.1",
28
28
  "webpack-cli": "^4.9.0"
@@ -49,7 +49,7 @@
49
49
  "CHANGELOG.md"
50
50
  ],
51
51
  "scripts": {
52
- "build": "tsc -p ./tsconfig.release.json",
52
+ "build": "tsc -p ./tsconfig.json",
53
53
  "postversion": "npm run build"
54
54
  },
55
55
  "types": "src/index.d.ts"
@@ -0,0 +1,15 @@
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 { Enter, ShiftEnter, EnterCommand, ShiftEnterCommand } from './index';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface PluginsMap {
8
+ [Enter.pluginName]: Enter;
9
+ [ShiftEnter.pluginName]: ShiftEnter;
10
+ }
11
+ interface CommandsMap {
12
+ enter: EnterCommand;
13
+ shiftEnter: ShiftEnterCommand;
14
+ }
15
+ }
@@ -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/enter.d.ts CHANGED
@@ -20,8 +20,3 @@ export default class Enter extends Plugin {
20
20
  static get pluginName(): 'Enter';
21
21
  init(): void;
22
22
  }
23
- declare module '@ckeditor/ckeditor5-core' {
24
- interface PluginsMap {
25
- [Enter.pluginName]: Enter;
26
- }
27
- }
@@ -42,7 +42,7 @@ export default class EnterCommand extends Command {
42
42
  /**
43
43
  * Fired after the the {@link module:enter/entercommand~EnterCommand} is finished executing.
44
44
  *
45
- * @eventName afterExecute
45
+ * @eventName ~EnterCommand#afterExecute
46
46
  */
47
47
  export type EnterCommandAfterExecuteEvent = {
48
48
  name: 'afterExecute';
@@ -50,8 +50,3 @@ export type EnterCommandAfterExecuteEvent = {
50
50
  writer: Writer;
51
51
  }];
52
52
  };
53
- declare module '@ckeditor/ckeditor5-core' {
54
- interface CommandsMap {
55
- enter: EnterCommand;
56
- }
57
- }
@@ -26,7 +26,7 @@ export default class EnterObserver extends Observer {
26
26
  * (usually registered by the {@link module:enter/enter~Enter Enter feature} and
27
27
  * {@link module:enter/shiftenter~ShiftEnter ShiftEnter feature}).
28
28
  *
29
- * @eventName enter
29
+ * @eventName module:engine/view/document~Document#enter
30
30
  */
31
31
  export type ViewDocumentEnterEvent = BubblingEvent<{
32
32
  name: 'enter';
package/src/index.d.ts CHANGED
@@ -10,3 +10,4 @@ export { default as ShiftEnter } from './shiftenter';
10
10
  export type { ViewDocumentEnterEvent } from './enterobserver';
11
11
  export type { default as EnterCommand } from './entercommand';
12
12
  export type { default as ShiftEnterCommand } from './shiftentercommand';
13
+ import './augmentation';
package/src/index.js CHANGED
@@ -7,3 +7,4 @@
7
7
  */
8
8
  export { default as Enter } from './enter';
9
9
  export { default as ShiftEnter } from './shiftenter';
10
+ import './augmentation';
@@ -17,8 +17,3 @@ export default class ShiftEnter extends Plugin {
17
17
  static get pluginName(): 'ShiftEnter';
18
18
  init(): void;
19
19
  }
20
- declare module '@ckeditor/ckeditor5-core' {
21
- interface PluginsMap {
22
- [ShiftEnter.pluginName]: ShiftEnter;
23
- }
24
- }
@@ -24,7 +24,7 @@ export default class ShiftEnterCommand extends Command {
24
24
  /**
25
25
  * Fired after the the {@link module:enter/shiftentercommand~ShiftEnterCommand} is finished executing.
26
26
  *
27
- * @eventName afterExecute
27
+ * @eventName ~ShiftEnterCommand#afterExecute
28
28
  */
29
29
  export type ShiftEnterCommandAfterExecuteEvent = {
30
30
  name: 'afterExecute';
@@ -32,8 +32,3 @@ export type ShiftEnterCommandAfterExecuteEvent = {
32
32
  writer: Writer;
33
33
  }];
34
34
  };
35
- declare module '@ckeditor/ckeditor5-core' {
36
- interface CommandsMap {
37
- shiftEnter: ShiftEnterCommand;
38
- }
39
- }