@ckeditor/ckeditor5-basic-styles 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-basic-styles",
3
- "version": "37.0.0-alpha.0",
3
+ "version": "37.0.0-alpha.2",
4
4
  "description": "Basic styles feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,18 +12,18 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "^37.0.0-alpha.0"
15
+ "ckeditor5": "^37.0.0-alpha.2"
16
16
  },
17
17
  "devDependencies": {
18
- "@ckeditor/ckeditor5-core": "^37.0.0-alpha.0",
19
- "@ckeditor/ckeditor5-dev-utils": "^34.0.0",
20
- "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.0",
21
- "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.0",
22
- "@ckeditor/ckeditor5-essentials": "^37.0.0-alpha.0",
23
- "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.0",
24
- "@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.0",
25
- "@ckeditor/ckeditor5-ui": "^37.0.0-alpha.0",
26
- "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.0",
18
+ "@ckeditor/ckeditor5-core": "^37.0.0-alpha.2",
19
+ "@ckeditor/ckeditor5-dev-utils": "^35.0.0",
20
+ "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.2",
21
+ "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.2",
22
+ "@ckeditor/ckeditor5-essentials": "^37.0.0-alpha.2",
23
+ "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.2",
24
+ "@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.2",
25
+ "@ckeditor/ckeditor5-ui": "^37.0.0-alpha.2",
26
+ "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.2",
27
27
  "typescript": "^4.8.4",
28
28
  "webpack": "^5.58.1",
29
29
  "webpack-cli": "^4.9.0"
@@ -52,7 +52,7 @@
52
52
  ],
53
53
  "scripts": {
54
54
  "dll:build": "webpack",
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"
@@ -72,14 +72,3 @@ export default class AttributeCommand extends Command {
72
72
  */
73
73
  private _getValueFromFirstAllowedNode;
74
74
  }
75
- declare module '@ckeditor/ckeditor5-core' {
76
- interface CommandsMap {
77
- bold: AttributeCommand;
78
- code: AttributeCommand;
79
- italic: AttributeCommand;
80
- strikethrough: AttributeCommand;
81
- subscript: AttributeCommand;
82
- superscript: AttributeCommand;
83
- underline: AttributeCommand;
84
- }
85
- }
@@ -0,0 +1,40 @@
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 { Superscript, Subscript, Bold, Code, AttributeCommand, BoldUI, CodeEditing, CodeUI, Italic, ItalicEditing, ItalicUI, Strikethrough, StrikethroughEditing, StrikethroughUI, SubscriptEditing, SubscriptUI, SuperscriptEditing, SuperscriptUI, Underline, UnderlineEditing, UnderlineUI } from './index';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface PluginsMap {
8
+ [Superscript.pluginName]: Superscript;
9
+ [Subscript.pluginName]: Subscript;
10
+ [Bold.pluginName]: Bold;
11
+ [Code.pluginName]: Code;
12
+ [Code.pluginName]: Code;
13
+ [Code.pluginName]: Code;
14
+ [BoldUI.pluginName]: BoldUI;
15
+ [CodeEditing.pluginName]: CodeEditing;
16
+ [CodeUI.pluginName]: CodeUI;
17
+ [Italic.pluginName]: Italic;
18
+ [ItalicEditing.pluginName]: ItalicEditing;
19
+ [ItalicUI.pluginName]: ItalicUI;
20
+ [Strikethrough.pluginName]: Strikethrough;
21
+ [StrikethroughEditing.pluginName]: StrikethroughEditing;
22
+ [StrikethroughUI.pluginName]: StrikethroughUI;
23
+ [SubscriptEditing.pluginName]: SubscriptEditing;
24
+ [SubscriptUI.pluginName]: SubscriptUI;
25
+ [SuperscriptEditing.pluginName]: SuperscriptEditing;
26
+ [SuperscriptUI.pluginName]: SuperscriptUI;
27
+ [Underline.pluginName]: Underline;
28
+ [UnderlineEditing.pluginName]: UnderlineEditing;
29
+ [UnderlineUI.pluginName]: UnderlineUI;
30
+ }
31
+ interface CommandsMap {
32
+ bold: AttributeCommand;
33
+ code: AttributeCommand;
34
+ italic: AttributeCommand;
35
+ strikethrough: AttributeCommand;
36
+ subscript: AttributeCommand;
37
+ superscript: AttributeCommand;
38
+ underline: AttributeCommand;
39
+ }
40
+ }
@@ -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 {};
@@ -22,8 +22,3 @@ export default class BoldEditing extends Plugin {
22
22
  */
23
23
  init(): void;
24
24
  }
25
- declare module '@ckeditor/ckeditor5-core' {
26
- interface PluginsMap {
27
- [BoldEditing.pluginName]: BoldEditing;
28
- }
29
- }
@@ -19,8 +19,3 @@ export default class BoldUI extends Plugin {
19
19
  */
20
20
  init(): void;
21
21
  }
22
- declare module '@ckeditor/ckeditor5-core' {
23
- interface PluginsMap {
24
- [BoldUI.pluginName]: BoldUI;
25
- }
26
- }
package/src/bold.d.ts CHANGED
@@ -25,8 +25,3 @@ export default class Bold extends Plugin {
25
25
  */
26
26
  static get pluginName(): 'Bold';
27
27
  }
28
- declare module '@ckeditor/ckeditor5-core' {
29
- interface PluginsMap {
30
- [Bold.pluginName]: Bold;
31
- }
32
- }
@@ -26,8 +26,3 @@ export default class CodeEditing extends Plugin {
26
26
  */
27
27
  init(): void;
28
28
  }
29
- declare module '@ckeditor/ckeditor5-core' {
30
- interface PluginsMap {
31
- [CodeEditing.pluginName]: CodeEditing;
32
- }
33
- }
@@ -20,8 +20,3 @@ export default class CodeUI extends Plugin {
20
20
  */
21
21
  init(): void;
22
22
  }
23
- declare module '@ckeditor/ckeditor5-core' {
24
- interface PluginsMap {
25
- [CodeUI.pluginName]: CodeUI;
26
- }
27
- }
package/src/code.d.ts CHANGED
@@ -26,8 +26,3 @@ export default class Code extends Plugin {
26
26
  */
27
27
  static get pluginName(): 'Code';
28
28
  }
29
- declare module '@ckeditor/ckeditor5-core' {
30
- interface PluginsMap {
31
- [Code.pluginName]: Code;
32
- }
33
- }
package/src/index.d.ts CHANGED
@@ -26,3 +26,5 @@ export { default as SuperscriptUI } from './superscript/superscriptui';
26
26
  export { default as Underline } from './underline';
27
27
  export { default as UnderlineEditing } from './underline/underlineediting';
28
28
  export { default as UnderlineUI } from './underline/underlineui';
29
+ export type { default as AttributeCommand } from './attributecommand';
30
+ import './augmentation';
package/src/index.js CHANGED
@@ -26,3 +26,4 @@ export { default as SuperscriptUI } from './superscript/superscriptui';
26
26
  export { default as Underline } from './underline';
27
27
  export { default as UnderlineEditing } from './underline/underlineediting';
28
28
  export { default as UnderlineUI } from './underline/underlineui';
29
+ import './augmentation';
@@ -22,8 +22,3 @@ export default class ItalicEditing extends Plugin {
22
22
  */
23
23
  init(): void;
24
24
  }
25
- declare module '@ckeditor/ckeditor5-core' {
26
- interface PluginsMap {
27
- [ItalicEditing.pluginName]: ItalicEditing;
28
- }
29
- }
@@ -19,8 +19,3 @@ export default class ItalicUI extends Plugin {
19
19
  */
20
20
  init(): void;
21
21
  }
22
- declare module '@ckeditor/ckeditor5-core' {
23
- interface PluginsMap {
24
- [ItalicUI.pluginName]: ItalicUI;
25
- }
26
- }
package/src/italic.d.ts CHANGED
@@ -25,8 +25,3 @@ export default class Italic extends Plugin {
25
25
  */
26
26
  static get pluginName(): 'Italic';
27
27
  }
28
- declare module '@ckeditor/ckeditor5-core' {
29
- interface PluginsMap {
30
- [Italic.pluginName]: Italic;
31
- }
32
- }
@@ -23,8 +23,3 @@ export default class StrikethroughEditing extends Plugin {
23
23
  */
24
24
  init(): void;
25
25
  }
26
- declare module '@ckeditor/ckeditor5-core' {
27
- interface PluginsMap {
28
- [StrikethroughEditing.pluginName]: StrikethroughEditing;
29
- }
30
- }
@@ -19,8 +19,3 @@ export default class StrikethroughUI extends Plugin {
19
19
  */
20
20
  init(): void;
21
21
  }
22
- declare module '@ckeditor/ckeditor5-core' {
23
- interface PluginsMap {
24
- [StrikethroughUI.pluginName]: StrikethroughUI;
25
- }
26
- }
@@ -25,8 +25,3 @@ export default class Strikethrough extends Plugin {
25
25
  */
26
26
  static get pluginName(): 'Strikethrough';
27
27
  }
28
- declare module '@ckeditor/ckeditor5-core' {
29
- interface PluginsMap {
30
- [Strikethrough.pluginName]: Strikethrough;
31
- }
32
- }
@@ -22,8 +22,3 @@ export default class SubscriptEditing extends Plugin {
22
22
  */
23
23
  init(): void;
24
24
  }
25
- declare module '@ckeditor/ckeditor5-core' {
26
- interface PluginsMap {
27
- [SubscriptEditing.pluginName]: SubscriptEditing;
28
- }
29
- }
@@ -19,8 +19,3 @@ export default class SubscriptUI extends Plugin {
19
19
  */
20
20
  init(): void;
21
21
  }
22
- declare module '@ckeditor/ckeditor5-core' {
23
- interface PluginsMap {
24
- [SubscriptUI.pluginName]: SubscriptUI;
25
- }
26
- }
@@ -22,8 +22,3 @@ export default class Subscript extends Plugin {
22
22
  */
23
23
  static get pluginName(): 'Subscript';
24
24
  }
25
- declare module '@ckeditor/ckeditor5-core' {
26
- interface PluginsMap {
27
- [Subscript.pluginName]: Subscript;
28
- }
29
- }
@@ -22,8 +22,3 @@ export default class SuperscriptEditing extends Plugin {
22
22
  */
23
23
  init(): void;
24
24
  }
25
- declare module '@ckeditor/ckeditor5-core' {
26
- interface PluginsMap {
27
- [SuperscriptEditing.pluginName]: SuperscriptEditing;
28
- }
29
- }
@@ -19,8 +19,3 @@ export default class SuperscriptUI extends Plugin {
19
19
  */
20
20
  init(): void;
21
21
  }
22
- declare module '@ckeditor/ckeditor5-core' {
23
- interface PluginsMap {
24
- [SuperscriptUI.pluginName]: SuperscriptUI;
25
- }
26
- }
@@ -22,8 +22,3 @@ export default class Superscript extends Plugin {
22
22
  */
23
23
  static get pluginName(): 'Superscript';
24
24
  }
25
- declare module '@ckeditor/ckeditor5-core' {
26
- interface PluginsMap {
27
- [Superscript.pluginName]: Superscript;
28
- }
29
- }
@@ -22,8 +22,3 @@ export default class UnderlineEditing extends Plugin {
22
22
  */
23
23
  init(): void;
24
24
  }
25
- declare module '@ckeditor/ckeditor5-core' {
26
- interface PluginsMap {
27
- [UnderlineEditing.pluginName]: UnderlineEditing;
28
- }
29
- }
@@ -19,8 +19,3 @@ export default class UnderlineUI extends Plugin {
19
19
  */
20
20
  init(): void;
21
21
  }
22
- declare module '@ckeditor/ckeditor5-core' {
23
- interface PluginsMap {
24
- [UnderlineUI.pluginName]: UnderlineUI;
25
- }
26
- }
@@ -25,8 +25,3 @@ export default class Underline extends Plugin {
25
25
  */
26
26
  static get pluginName(): 'Underline';
27
27
  }
28
- declare module '@ckeditor/ckeditor5-core' {
29
- interface PluginsMap {
30
- [Underline.pluginName]: Underline;
31
- }
32
- }