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

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.0",
3
+ "version": "37.0.0-alpha.1",
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.0"
15
+ "ckeditor5": "^37.0.0-alpha.1"
16
16
  },
17
17
  "devDependencies": {
18
- "@ckeditor/ckeditor5-alignment": "^37.0.0-alpha.0",
19
- "@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.0",
20
- "@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.0",
21
- "@ckeditor/ckeditor5-core": "^37.0.0-alpha.0",
22
- "@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.0",
23
- "@ckeditor/ckeditor5-dev-utils": "^34.0.0",
24
- "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.0",
25
- "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.0",
26
- "@ckeditor/ckeditor5-enter": "^37.0.0-alpha.0",
27
- "@ckeditor/ckeditor5-image": "^37.0.0-alpha.0",
28
- "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.0",
29
- "@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.0",
30
- "@ckeditor/ckeditor5-typing": "^37.0.0-alpha.0",
31
- "@ckeditor/ckeditor5-ui": "^37.0.0-alpha.0",
32
- "@ckeditor/ckeditor5-undo": "^37.0.0-alpha.0",
33
- "@ckeditor/ckeditor5-upload": "^37.0.0-alpha.0",
34
- "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.0",
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",
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",
35
35
  "typescript": "^4.8.4",
36
36
  "webpack": "^5.58.1",
37
37
  "webpack-cli": "^4.9.0"
@@ -60,7 +60,7 @@
60
60
  ],
61
61
  "scripts": {
62
62
  "dll:build": "webpack",
63
- "build": "tsc -p ./tsconfig.release.json",
63
+ "build": "tsc -p ./tsconfig.json",
64
64
  "postversion": "npm run build"
65
65
  },
66
66
  "types": "src/index.d.ts"
@@ -0,0 +1,30 @@
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 { Heading, HeadingCommand, HeadingConfig, HeadingEditing, HeadingUI, Title, TitleConfig } from './index';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface EditorConfig {
8
+ /**
9
+ * The configuration of the heading feature. Introduced by the {@link module:heading/headingediting~HeadingEditing} feature.
10
+ *
11
+ * Read more in {@link module:heading/headingconfig~HeadingConfig}.
12
+ */
13
+ heading?: HeadingConfig;
14
+ /**
15
+ * The configuration of the {@link module:heading/title~Title title feature}.
16
+ *
17
+ * Read more in {@link module:heading/title~TitleConfig}.
18
+ */
19
+ title?: TitleConfig;
20
+ }
21
+ interface PluginsMap {
22
+ [Heading.pluginName]: Heading;
23
+ [HeadingEditing.pluginName]: HeadingEditing;
24
+ [HeadingUI.pluginName]: HeadingUI;
25
+ [Title.pluginName]: Title;
26
+ }
27
+ interface CommandsMap {
28
+ heading: HeadingCommand;
29
+ }
30
+ }
@@ -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/heading.d.ts CHANGED
@@ -28,8 +28,3 @@ export default class Heading extends Plugin {
28
28
  */
29
29
  static get pluginName(): 'Heading';
30
30
  }
31
- declare module '@ckeditor/ckeditor5-core' {
32
- interface PluginsMap {
33
- [Heading.pluginName]: Heading;
34
- }
35
- }
@@ -46,8 +46,3 @@ export default class HeadingCommand extends Command {
46
46
  value: string;
47
47
  }): void;
48
48
  }
49
- declare module '@ckeditor/ckeditor5-core' {
50
- interface CommandsMap {
51
- heading: HeadingCommand;
52
- }
53
- }
@@ -108,13 +108,3 @@ export interface HeadingParagraphOption {
108
108
  */
109
109
  icon?: string;
110
110
  }
111
- declare module '@ckeditor/ckeditor5-core' {
112
- interface EditorConfig {
113
- /**
114
- * The configuration of the heading feature. Introduced by the {@link module:heading/headingediting~HeadingEditing} feature.
115
- *
116
- * Read more in {@link module:heading/headingconfig~HeadingConfig}.
117
- */
118
- heading?: HeadingConfig;
119
- }
120
- }
@@ -39,8 +39,3 @@ export default class HeadingEditing extends Plugin {
39
39
  */
40
40
  private _addDefaultH1Conversion;
41
41
  }
42
- declare module '@ckeditor/ckeditor5-core' {
43
- interface PluginsMap {
44
- [HeadingEditing.pluginName]: HeadingEditing;
45
- }
46
- }
@@ -20,8 +20,3 @@ export default class HeadingUI extends Plugin {
20
20
  */
21
21
  init(): void;
22
22
  }
23
- declare module '@ckeditor/ckeditor5-core' {
24
- interface PluginsMap {
25
- [HeadingUI.pluginName]: HeadingUI;
26
- }
27
- }
package/src/index.d.ts CHANGED
@@ -10,5 +10,7 @@ export type { HeadingOption } from './headingconfig';
10
10
  export { default as HeadingEditing } from './headingediting';
11
11
  export { default as HeadingUI } from './headingui';
12
12
  export { default as HeadingButtonsUI } from './headingbuttonsui';
13
- export { default as Title } from './title';
13
+ export { default as Title, type TitleConfig } from './title';
14
+ export type { HeadingConfig } from './headingconfig';
14
15
  export type { default as HeadingCommand } from './headingcommand';
16
+ import './augmentation';
package/src/index.js CHANGED
@@ -10,3 +10,4 @@ export { default as HeadingEditing } from './headingediting';
10
10
  export { default as HeadingUI } from './headingui';
11
11
  export { default as HeadingButtonsUI } from './headingbuttonsui';
12
12
  export { default as Title } from './title';
13
+ import './augmentation';
package/src/title.d.ts CHANGED
@@ -113,16 +113,3 @@ export interface TitleConfig {
113
113
  */
114
114
  placeholder?: string;
115
115
  }
116
- declare module '@ckeditor/ckeditor5-core' {
117
- interface PluginsMap {
118
- [Title.pluginName]: Title;
119
- }
120
- interface EditorConfig {
121
- /**
122
- * The configuration of the {@link module:heading/title~Title title feature}.
123
- *
124
- * Read more in {@link module:heading/title~TitleConfig}.
125
- */
126
- title?: TitleConfig;
127
- }
128
- }