@ckeditor/ckeditor5-basic-styles 48.2.0 → 48.3.0-alpha.0

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.
@@ -1,28 +1,28 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module basic-styles/underline/underlineediting
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
6
+ * @module basic-styles/underline/underlineediting
7
+ */
8
+ import { Plugin } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The underline editing feature.
11
- *
12
- * It registers the `'underline'` command, the <kbd>Ctrl+U</kbd> keystroke
13
- * and introduces the `underline` attribute in the model which renders to the view as an `<u>` element.
14
- */
10
+ * The underline editing feature.
11
+ *
12
+ * It registers the `'underline'` command, the <kbd>Ctrl+U</kbd> keystroke
13
+ * and introduces the `underline` attribute in the model which renders to the view as an `<u>` element.
14
+ */
15
15
  export declare class UnderlineEditing extends Plugin {
16
- /**
17
- * @inheritDoc
18
- */
19
- static get pluginName(): "UnderlineEditing";
20
- /**
21
- * @inheritDoc
22
- */
23
- static get isOfficialPlugin(): true;
24
- /**
25
- * @inheritDoc
26
- */
27
- init(): void;
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ static get pluginName(): "UnderlineEditing";
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static override get isOfficialPlugin(): true;
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ init(): void;
28
28
  }
@@ -1,25 +1,25 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module basic-styles/underline/underlineui
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
6
+ * @module basic-styles/underline/underlineui
7
+ */
8
+ import { Plugin } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The underline UI feature. It introduces the Underline button.
11
- */
10
+ * The underline UI feature. It introduces the Underline button.
11
+ */
12
12
  export declare class UnderlineUI extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- static get pluginName(): "UnderlineUI";
17
- /**
18
- * @inheritDoc
19
- */
20
- static get isOfficialPlugin(): true;
21
- /**
22
- * @inheritDoc
23
- */
24
- init(): void;
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ static get pluginName(): "UnderlineUI";
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static override get isOfficialPlugin(): true;
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ init(): void;
25
25
  }
@@ -1,33 +1,33 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module basic-styles/underline
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import { UnderlineEditing } from './underline/underlineediting.js';
10
- import { UnderlineUI } from './underline/underlineui.js';
6
+ * @module basic-styles/underline
7
+ */
8
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
9
+ import { UnderlineEditing } from "./underline/underlineediting.js";
10
+ import { UnderlineUI } from "./underline/underlineui.js";
11
11
  /**
12
- * The underline feature.
13
- *
14
- * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide
15
- * and the {@glink api/basic-styles package page}.
16
- *
17
- * This is a "glue" plugin which loads the {@link module:basic-styles/underline/underlineediting~UnderlineEditing} and
18
- * {@link module:basic-styles/underline/underlineui~UnderlineUI} plugins.
19
- */
12
+ * The underline feature.
13
+ *
14
+ * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide
15
+ * and the {@glink api/basic-styles package page}.
16
+ *
17
+ * This is a "glue" plugin which loads the {@link module:basic-styles/underline/underlineediting~UnderlineEditing} and
18
+ * {@link module:basic-styles/underline/underlineui~UnderlineUI} plugins.
19
+ */
20
20
  export declare class Underline extends Plugin {
21
- /**
22
- * @inheritDoc
23
- */
24
- static get requires(): readonly [typeof UnderlineEditing, typeof UnderlineUI];
25
- /**
26
- * @inheritDoc
27
- */
28
- static get pluginName(): "Underline";
29
- /**
30
- * @inheritDoc
31
- */
32
- static get isOfficialPlugin(): true;
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static get requires(): PluginDependenciesOf<[UnderlineEditing, UnderlineUI]>;
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get pluginName(): "Underline";
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ static override get isOfficialPlugin(): true;
33
33
  }
package/dist/utils.d.ts CHANGED
@@ -1,22 +1,22 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module basic-styles/utils
7
- */
8
- import type { Editor, Plugin } from '@ckeditor/ckeditor5-core';
9
- import { MenuBarMenuListItemButtonView, type ButtonView } from '@ckeditor/ckeditor5-ui';
6
+ * @module basic-styles/utils
7
+ */
8
+ import type { Editor, Plugin } from "@ckeditor/ckeditor5-core";
9
+ import { MenuBarMenuListItemButtonView, type ButtonView } from "@ckeditor/ckeditor5-ui";
10
10
  /**
11
- * Returns a function that creates a (toolbar or menu bar) button for a basic style feature.
12
- *
13
- * @internal
14
- */
11
+ * Returns a function that creates a (toolbar or menu bar) button for a basic style feature.
12
+ *
13
+ * @internal
14
+ */
15
15
  export declare function getButtonCreator({ editor, commandName, plugin, icon, label, keystroke }: {
16
- editor: Editor;
17
- commandName: string;
18
- icon: string;
19
- label: string;
20
- plugin: Plugin;
21
- keystroke?: string;
16
+ editor: Editor;
17
+ commandName: string;
18
+ icon: string;
19
+ label: string;
20
+ plugin: Plugin;
21
+ keystroke?: string;
22
22
  }): <T extends typeof ButtonView | typeof MenuBarMenuListItemButtonView>(ButtonClass: T) => InstanceType<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-basic-styles",
3
- "version": "48.2.0",
3
+ "version": "48.3.0-alpha.0",
4
4
  "description": "Basic styles feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -26,12 +26,12 @@
26
26
  "./package.json": "./package.json"
27
27
  },
28
28
  "dependencies": {
29
- "@ckeditor/ckeditor5-core": "48.2.0",
30
- "@ckeditor/ckeditor5-engine": "48.2.0",
31
- "@ckeditor/ckeditor5-icons": "48.2.0",
32
- "@ckeditor/ckeditor5-typing": "48.2.0",
33
- "@ckeditor/ckeditor5-ui": "48.2.0",
34
- "@ckeditor/ckeditor5-utils": "48.2.0"
29
+ "@ckeditor/ckeditor5-core": "48.3.0-alpha.0",
30
+ "@ckeditor/ckeditor5-engine": "48.3.0-alpha.0",
31
+ "@ckeditor/ckeditor5-icons": "48.3.0-alpha.0",
32
+ "@ckeditor/ckeditor5-typing": "48.3.0-alpha.0",
33
+ "@ckeditor/ckeditor5-ui": "48.3.0-alpha.0",
34
+ "@ckeditor/ckeditor5-utils": "48.3.0-alpha.0"
35
35
  },
36
36
  "files": [
37
37
  "dist",