@ckeditor/ckeditor5-highlight 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-highlight",
3
- "version": "37.0.0-alpha.0",
3
+ "version": "37.0.0-alpha.1",
4
4
  "description": "Highlight feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,22 +12,22 @@
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-block-quote": "^37.0.0-alpha.0",
19
- "@ckeditor/ckeditor5-core": "^37.0.0-alpha.0",
20
- "@ckeditor/ckeditor5-dev-utils": "^34.0.0",
21
- "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.0",
22
- "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.0",
23
- "@ckeditor/ckeditor5-enter": "^37.0.0-alpha.0",
24
- "@ckeditor/ckeditor5-heading": "^37.0.0-alpha.0",
25
- "@ckeditor/ckeditor5-image": "^37.0.0-alpha.0",
26
- "@ckeditor/ckeditor5-list": "^37.0.0-alpha.0",
27
- "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.0",
28
- "@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.0",
29
- "@ckeditor/ckeditor5-typing": "^37.0.0-alpha.0",
30
- "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.0",
18
+ "@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.1",
19
+ "@ckeditor/ckeditor5-core": "^37.0.0-alpha.1",
20
+ "@ckeditor/ckeditor5-dev-utils": "^35.0.0",
21
+ "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.1",
22
+ "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.1",
23
+ "@ckeditor/ckeditor5-enter": "^37.0.0-alpha.1",
24
+ "@ckeditor/ckeditor5-heading": "^37.0.0-alpha.1",
25
+ "@ckeditor/ckeditor5-image": "^37.0.0-alpha.1",
26
+ "@ckeditor/ckeditor5-list": "^37.0.0-alpha.1",
27
+ "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.1",
28
+ "@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.1",
29
+ "@ckeditor/ckeditor5-typing": "^37.0.0-alpha.1",
30
+ "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.1",
31
31
  "typescript": "^4.8.4",
32
32
  "webpack": "^5.58.1",
33
33
  "webpack-cli": "^4.9.0"
@@ -56,7 +56,7 @@
56
56
  ],
57
57
  "scripts": {
58
58
  "dll:build": "webpack",
59
- "build": "tsc -p ./tsconfig.release.json",
59
+ "build": "tsc -p ./tsconfig.json",
60
60
  "postversion": "npm run build"
61
61
  },
62
62
  "types": "src/index.d.ts"
@@ -0,0 +1,23 @@
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 { Highlight, HighlightCommand, HighlightConfig, HighlightEditing, HighlightUI } from './index';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface EditorConfig {
8
+ /**
9
+ * The configuration of the {@link module:highlight/highlight~Highlight} feature.
10
+ *
11
+ * Read more in {@link module:highlight/highlightconfig~HighlightConfig}.
12
+ */
13
+ highlight?: HighlightConfig;
14
+ }
15
+ interface PluginsMap {
16
+ [Highlight.pluginName]: Highlight;
17
+ [HighlightEditing.pluginName]: HighlightEditing;
18
+ [HighlightUI.pluginName]: HighlightUI;
19
+ }
20
+ interface CommandsMap {
21
+ highlight: HighlightCommand;
22
+ }
23
+ }
@@ -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 {};
@@ -24,8 +24,3 @@ export default class Highlight extends Plugin {
24
24
  */
25
25
  static get pluginName(): 'Highlight';
26
26
  }
27
- declare module '@ckeditor/ckeditor5-core' {
28
- interface PluginsMap {
29
- [Highlight.pluginName]: Highlight;
30
- }
31
- }
@@ -43,8 +43,3 @@ export default class HighlightCommand extends Command {
43
43
  value?: string | null;
44
44
  }): void;
45
45
  }
46
- declare module '@ckeditor/ckeditor5-core' {
47
- interface CommandsMap {
48
- highlight: HighlightCommand;
49
- }
50
- }
@@ -169,13 +169,3 @@ export interface HighlightConfig {
169
169
  */
170
170
  options: Array<HighlightOption>;
171
171
  }
172
- declare module '@ckeditor/ckeditor5-core' {
173
- interface EditorConfig {
174
- /**
175
- * The configuration of the {@link module:highlight/highlight~Highlight} feature.
176
- *
177
- * Read more in {@link module:highlight/highlightconfig~HighlightConfig}.
178
- */
179
- highlight?: HighlightConfig;
180
- }
181
- }
@@ -26,8 +26,3 @@ export default class HighlightEditing extends Plugin {
26
26
  */
27
27
  init(): void;
28
28
  }
29
- declare module '@ckeditor/ckeditor5-core' {
30
- interface PluginsMap {
31
- [HighlightEditing.pluginName]: HighlightEditing;
32
- }
33
- }
@@ -71,8 +71,3 @@ export default class HighlightUI extends Plugin {
71
71
  */
72
72
  private _addDropdown;
73
73
  }
74
- declare module '@ckeditor/ckeditor5-core' {
75
- interface PluginsMap {
76
- [HighlightUI.pluginName]: HighlightUI;
77
- }
78
- }
package/src/index.d.ts CHANGED
@@ -8,3 +8,6 @@
8
8
  export { default as Highlight } from './highlight';
9
9
  export { default as HighlightEditing } from './highlightediting';
10
10
  export { default as HighlightUI } from './highlightui';
11
+ export type { default as HighlightCommand } from './highlightcommand';
12
+ export type { HighlightOption, HighlightConfig } from './highlightconfig';
13
+ import './augmentation';
package/src/index.js CHANGED
@@ -8,3 +8,4 @@
8
8
  export { default as Highlight } from './highlight';
9
9
  export { default as HighlightEditing } from './highlightediting';
10
10
  export { default as HighlightUI } from './highlightui';
11
+ import './augmentation';