@ckeditor/ckeditor5-list 48.2.0-alpha.7 → 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.
Files changed (61) hide show
  1. package/dist/augmentation.d.ts +54 -54
  2. package/dist/index.css.map +1 -1
  3. package/dist/index.d.ts +67 -67
  4. package/dist/index.js +7187 -8921
  5. package/dist/index.js.map +1 -1
  6. package/dist/legacyerrors.d.ts +0 -4
  7. package/dist/legacylist/legacyconverters.d.ts +184 -184
  8. package/dist/legacylist/legacyindentcommand.d.ts +33 -33
  9. package/dist/legacylist/legacylistcommand.d.ts +52 -52
  10. package/dist/legacylist/legacylistediting.d.ts +32 -32
  11. package/dist/legacylist/legacylistutils.d.ts +40 -40
  12. package/dist/legacylist/legacyutils.d.ts +91 -91
  13. package/dist/legacylist.d.ts +25 -25
  14. package/dist/legacylistproperties/legacylistpropertiesediting.d.ts +71 -71
  15. package/dist/legacylistproperties/legacylistreversedcommand.d.ts +33 -33
  16. package/dist/legacylistproperties/legacyliststartcommand.d.ts +33 -33
  17. package/dist/legacylistproperties/legacyliststylecommand.d.ts +63 -63
  18. package/dist/legacylistproperties.d.ts +26 -26
  19. package/dist/legacytodolist/legacychecktodolistcommand.d.ts +47 -47
  20. package/dist/legacytodolist/legacytodolistconverters.d.ts +76 -76
  21. package/dist/legacytodolist/legacytodolistediting.d.ts +46 -46
  22. package/dist/legacytodolist.d.ts +26 -26
  23. package/dist/list/adjacentlistssupport.d.ts +16 -16
  24. package/dist/list/converters.d.ts +68 -68
  25. package/dist/list/listcommand.d.ts +84 -84
  26. package/dist/list/listediting.d.ts +213 -219
  27. package/dist/list/listindentcommand.d.ts +54 -54
  28. package/dist/list/listmergecommand.d.ts +68 -68
  29. package/dist/list/listsplitcommand.d.ts +59 -59
  30. package/dist/list/listui.d.ts +19 -19
  31. package/dist/list/listutils.d.ts +55 -55
  32. package/dist/list/utils/listwalker.d.ts +139 -139
  33. package/dist/list/utils/model.d.ts +202 -202
  34. package/dist/list/utils/postfixers.d.ts +30 -30
  35. package/dist/list/utils/view.d.ts +65 -65
  36. package/dist/list/utils.d.ts +15 -15
  37. package/dist/list.d.ts +25 -25
  38. package/dist/listconfig.d.ts +234 -234
  39. package/dist/listformatting/listitemboldintegration.d.ts +29 -29
  40. package/dist/listformatting/listitemfontcolorintegration.d.ts +29 -29
  41. package/dist/listformatting/listitemfontfamilyintegration.d.ts +29 -29
  42. package/dist/listformatting/listitemfontsizeintegration.d.ts +29 -29
  43. package/dist/listformatting/listitemitalicintegration.d.ts +29 -29
  44. package/dist/listformatting.d.ts +66 -66
  45. package/dist/listproperties/converters.d.ts +15 -15
  46. package/dist/listproperties/listpropertiesediting.d.ts +91 -91
  47. package/dist/listproperties/listpropertiesui.d.ts +22 -22
  48. package/dist/listproperties/listpropertiesutils.d.ts +32 -32
  49. package/dist/listproperties/listreversedcommand.d.ts +31 -31
  50. package/dist/listproperties/liststartcommand.d.ts +34 -34
  51. package/dist/listproperties/liststylecommand.d.ts +67 -67
  52. package/dist/listproperties/ui/listpropertiesview.d.ts +147 -147
  53. package/dist/listproperties/utils/config.d.ts +32 -32
  54. package/dist/listproperties/utils/style.d.ts +31 -31
  55. package/dist/listproperties.d.ts +26 -26
  56. package/dist/todolist/checktodolistcommand.d.ts +44 -44
  57. package/dist/todolist/todocheckboxchangeobserver.d.ts +36 -36
  58. package/dist/todolist/todolistediting.d.ts +45 -45
  59. package/dist/todolist/todolistui.d.ts +19 -19
  60. package/dist/todolist.d.ts +26 -26
  61. package/package.json +10 -10
@@ -1,34 +1,34 @@
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 list/listformatting/listitemfontfamilyintegration
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import { ListEditing } from '../list/listediting.js';
6
+ * @module list/listformatting/listitemfontfamilyintegration
7
+ */
8
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
9
+ import { ListEditing } from "../list/listediting.js";
10
10
  /**
11
- * The list item font family integration plugin.
12
- */
11
+ * The list item font family integration plugin.
12
+ */
13
13
  export declare class ListItemFontFamilyIntegration extends Plugin {
14
- /**
15
- * @inheritDoc
16
- */
17
- static get pluginName(): "ListItemFontFamilyIntegration";
18
- /**
19
- * @inheritDoc
20
- */
21
- static get isOfficialPlugin(): true;
22
- /**
23
- * @inheritDoc
24
- */
25
- static get requires(): readonly [typeof ListEditing];
26
- /**
27
- * @inheritDoc
28
- */
29
- init(): void;
30
- /**
31
- * @inheritDoc
32
- */
33
- afterInit(): void;
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ static get pluginName(): "ListItemFontFamilyIntegration";
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static override get isOfficialPlugin(): true;
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get requires(): PluginDependenciesOf<[ListEditing]>;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ init(): void;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ afterInit(): void;
34
34
  }
@@ -1,34 +1,34 @@
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 list/listformatting/listitemfontsizeintegration
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import { ListEditing } from '../list/listediting.js';
6
+ * @module list/listformatting/listitemfontsizeintegration
7
+ */
8
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
9
+ import { ListEditing } from "../list/listediting.js";
10
10
  /**
11
- * The list item font size integration plugin.
12
- */
11
+ * The list item font size integration plugin.
12
+ */
13
13
  export declare class ListItemFontSizeIntegration extends Plugin {
14
- /**
15
- * @inheritDoc
16
- */
17
- static get pluginName(): "ListItemFontSizeIntegration";
18
- /**
19
- * @inheritDoc
20
- */
21
- static get isOfficialPlugin(): true;
22
- /**
23
- * @inheritDoc
24
- */
25
- static get requires(): readonly [typeof ListEditing];
26
- /**
27
- * @inheritDoc
28
- */
29
- init(): void;
30
- /**
31
- * @inheritDoc
32
- */
33
- afterInit(): void;
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ static get pluginName(): "ListItemFontSizeIntegration";
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static override get isOfficialPlugin(): true;
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get requires(): PluginDependenciesOf<[ListEditing]>;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ init(): void;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ afterInit(): void;
34
34
  }
@@ -1,34 +1,34 @@
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 list/listformatting/listitemitalicintegration
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import { ListEditing } from '../list/listediting.js';
6
+ * @module list/listformatting/listitemitalicintegration
7
+ */
8
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
9
+ import { ListEditing } from "../list/listediting.js";
10
10
  /**
11
- * The list item italic integration plugin.
12
- */
11
+ * The list item italic integration plugin.
12
+ */
13
13
  export declare class ListItemItalicIntegration extends Plugin {
14
- /**
15
- * @inheritDoc
16
- */
17
- static get pluginName(): "ListItemItalicIntegration";
18
- /**
19
- * @inheritDoc
20
- */
21
- static get isOfficialPlugin(): true;
22
- /**
23
- * @inheritDoc
24
- */
25
- static get requires(): readonly [typeof ListEditing];
26
- /**
27
- * @inheritDoc
28
- */
29
- init(): void;
30
- /**
31
- * @inheritDoc
32
- */
33
- afterInit(): void;
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ static get pluginName(): "ListItemItalicIntegration";
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static override get isOfficialPlugin(): true;
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get requires(): PluginDependenciesOf<[ListEditing]>;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ init(): void;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ afterInit(): void;
34
34
  }
@@ -1,71 +1,71 @@
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 list/listformatting
7
- */
8
- import { type Editor, Plugin } from '@ckeditor/ckeditor5-core';
9
- import { ListItemBoldIntegration } from './listformatting/listitemboldintegration.js';
10
- import { ListItemItalicIntegration } from './listformatting/listitemitalicintegration.js';
11
- import { ListItemFontSizeIntegration } from './listformatting/listitemfontsizeintegration.js';
12
- import { ListItemFontColorIntegration } from './listformatting/listitemfontcolorintegration.js';
13
- import { ListItemFontFamilyIntegration } from './listformatting/listitemfontfamilyintegration.js';
14
- import '../theme/listformatting.css';
6
+ * @module list/listformatting
7
+ */
8
+ import { type Editor, Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
9
+ import { ListItemBoldIntegration } from "./listformatting/listitemboldintegration.js";
10
+ import { ListItemItalicIntegration } from "./listformatting/listitemitalicintegration.js";
11
+ import { ListItemFontSizeIntegration } from "./listformatting/listitemfontsizeintegration.js";
12
+ import { ListItemFontColorIntegration } from "./listformatting/listitemfontcolorintegration.js";
13
+ import { ListItemFontFamilyIntegration } from "./listformatting/listitemfontfamilyintegration.js";
14
+ import "../theme/listformatting.css";
15
15
  /**
16
- * The list formatting plugin.
17
- *
18
- * It enables integration with formatting plugins to style the list marker.
19
- * The list marker is styled based on the consistent formatting applied to the content of the list item.
20
- *
21
- * The list of supported formatting plugins includes:
22
- * * Font color.
23
- * * Font size.
24
- * * Font family.
25
- * * Bold.
26
- * * Italic.
27
- */
16
+ * The list formatting plugin.
17
+ *
18
+ * It enables integration with formatting plugins to style the list marker.
19
+ * The list marker is styled based on the consistent formatting applied to the content of the list item.
20
+ *
21
+ * The list of supported formatting plugins includes:
22
+ * * Font color.
23
+ * * Font size.
24
+ * * Font family.
25
+ * * Bold.
26
+ * * Italic.
27
+ */
28
28
  export declare class ListFormatting extends Plugin {
29
- /**
30
- * The list of loaded formatting.
31
- */
32
- private readonly _loadedFormatting;
33
- /**
34
- * @inheritDoc
35
- */
36
- static get pluginName(): "ListFormatting";
37
- /**
38
- * @inheritDoc
39
- */
40
- static get isOfficialPlugin(): true;
41
- /**
42
- * @inheritDoc
43
- */
44
- static get requires(): readonly [typeof ListItemBoldIntegration, typeof ListItemItalicIntegration, typeof ListItemFontSizeIntegration, typeof ListItemFontColorIntegration, typeof ListItemFontFamilyIntegration];
45
- /**
46
- * @inheritDoc
47
- */
48
- constructor(editor: Editor);
49
- /**
50
- * @inheritDoc
51
- */
52
- afterInit(): void;
53
- /**
54
- * Registers a postfixer that ensures that the list item formatting attribute is consistent with the formatting
55
- * applied to the content of the list item.
56
- */
57
- private _registerPostfixerForListItemFormatting;
58
- /**
59
- * Registers an integration between a default attribute (e.g., `fontFamily`) and a new attribute
60
- * intended specifically for list item elements (e.g., `listItemFontFamily`).
61
- *
62
- * These attributes are later used by the postfixer logic to determine whether to add the new attribute
63
- * to the list item element, based on whether there is a consistent default formatting attribute
64
- * applied within its content.
65
- */
66
- registerFormatAttribute(formatAttribute: string, listItemFormatAttribute: string): void;
67
- /**
68
- * Returns true if the given model attribute name is a supported inline formatting attribute.
69
- */
70
- private _isInlineOrSelectionFormatting;
29
+ /**
30
+ * The list of loaded formatting.
31
+ */
32
+ private readonly _loadedFormatting;
33
+ /**
34
+ * @inheritDoc
35
+ */
36
+ static get pluginName(): "ListFormatting";
37
+ /**
38
+ * @inheritDoc
39
+ */
40
+ static override get isOfficialPlugin(): true;
41
+ /**
42
+ * @inheritDoc
43
+ */
44
+ static get requires(): PluginDependenciesOf<[ListItemBoldIntegration, ListItemItalicIntegration, ListItemFontSizeIntegration, ListItemFontColorIntegration, ListItemFontFamilyIntegration]>;
45
+ /**
46
+ * @inheritDoc
47
+ */
48
+ constructor(editor: Editor);
49
+ /**
50
+ * @inheritDoc
51
+ */
52
+ afterInit(): void;
53
+ /**
54
+ * Registers a postfixer that ensures that the list item formatting attribute is consistent with the formatting
55
+ * applied to the content of the list item.
56
+ */
57
+ private _registerPostfixerForListItemFormatting;
58
+ /**
59
+ * Registers an integration between a default attribute (e.g., `fontFamily`) and a new attribute
60
+ * intended specifically for list item elements (e.g., `listItemFontFamily`).
61
+ *
62
+ * These attributes are later used by the postfixer logic to determine whether to add the new attribute
63
+ * to the list item element, based on whether there is a consistent default formatting attribute
64
+ * applied within its content.
65
+ */
66
+ registerFormatAttribute(formatAttribute: string, listItemFormatAttribute: string): void;
67
+ /**
68
+ * Returns true if the given model attribute name is a supported inline formatting attribute.
69
+ */
70
+ private _isInlineOrSelectionFormatting;
71
71
  }
@@ -1,19 +1,19 @@
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 list/listproperties/converters
7
- */
8
- import type { UpcastElementEvent } from '@ckeditor/ckeditor5-engine';
9
- import type { GetCallback } from '@ckeditor/ckeditor5-utils';
10
- import type { AttributeStrategy } from './listpropertiesediting.js';
6
+ * @module list/listproperties/converters
7
+ */
8
+ import type { UpcastElementEvent } from "@ckeditor/ckeditor5-engine";
9
+ import type { GetCallback } from "@ckeditor/ckeditor5-utils";
10
+ import type { AttributeStrategy } from "./listpropertiesediting.js";
11
11
  /**
12
- * Returns a converter that consumes the `style`, `reversed`, and `start` attributes.
13
- * In `style`, it searches for the `list-style-type` definition.
14
- * If not found, the `"default"` value will be used.
15
- *
16
- * @internal
17
- * @param strategy
18
- */
12
+ * Returns a converter that consumes the `style`, `reversed`, and `start` attributes.
13
+ * In `style`, it searches for the `list-style-type` definition.
14
+ * If not found, the `"default"` value will be used.
15
+ *
16
+ * @internal
17
+ * @param strategy
18
+ */
19
19
  export declare function listPropertiesUpcastConverter(strategy: AttributeStrategy): GetCallback<UpcastElementEvent>;
@@ -1,101 +1,101 @@
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 list/listproperties/listpropertiesediting
7
- */
8
- import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
9
- import type { Consumables, ViewDowncastWriter, ModelElement, ModelItem, ViewElement } from '@ckeditor/ckeditor5-engine';
10
- import { ListEditing, type ListItemAttributesMap } from '../list/listediting.js';
11
- import { ListPropertiesUtils } from './listpropertiesutils.js';
6
+ * @module list/listproperties/listpropertiesediting
7
+ */
8
+ import { Plugin, type Editor, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
9
+ import type { Consumables, ViewDowncastWriter, ModelElement, ModelItem, ViewElement } from "@ckeditor/ckeditor5-engine";
10
+ import { ListEditing, type ListItemAttributesMap } from "../list/listediting.js";
11
+ import { ListPropertiesUtils } from "./listpropertiesutils.js";
12
12
  /**
13
- * The document list properties engine feature.
14
- *
15
- * It registers the `'listStyle'`, `'listReversed'` and `'listStart'` commands if they are enabled in the configuration.
16
- * Read more in {@link module:list/listconfig~ListPropertiesConfig}.
17
- */
13
+ * The document list properties engine feature.
14
+ *
15
+ * It registers the `'listStyle'`, `'listReversed'` and `'listStart'` commands if they are enabled in the configuration.
16
+ * Read more in {@link module:list/listconfig~ListPropertiesConfig}.
17
+ */
18
18
  export declare class ListPropertiesEditing extends Plugin {
19
- /**
20
- * @inheritDoc
21
- */
22
- static get requires(): readonly [typeof ListEditing, typeof ListPropertiesUtils];
23
- /**
24
- * @inheritDoc
25
- */
26
- static get pluginName(): "ListPropertiesEditing";
27
- /**
28
- * @inheritDoc
29
- * @internal
30
- */
31
- static get licenseFeatureCode(): string;
32
- /**
33
- * @inheritDoc
34
- */
35
- static get isOfficialPlugin(): true;
36
- /**
37
- * @inheritDoc
38
- */
39
- static get isPremiumPlugin(): true;
40
- /**
41
- * @inheritDoc
42
- */
43
- constructor(editor: Editor);
44
- /**
45
- * @inheritDoc
46
- */
47
- init(): void;
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get requires(): PluginDependenciesOf<[ListEditing, ListPropertiesUtils]>;
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get pluginName(): "ListPropertiesEditing";
27
+ /**
28
+ * @inheritDoc
29
+ * @internal
30
+ */
31
+ static get licenseFeatureCode(): string;
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ static override get isOfficialPlugin(): true;
36
+ /**
37
+ * @inheritDoc
38
+ */
39
+ static override get isPremiumPlugin(): true;
40
+ /**
41
+ * @inheritDoc
42
+ */
43
+ constructor(editor: Editor);
44
+ /**
45
+ * @inheritDoc
46
+ */
47
+ init(): void;
48
48
  }
49
49
  /**
50
- * Strategy for dealing with `listItem` attributes supported by this plugin.
51
- *
52
- * @internal
53
- */
50
+ * Strategy for dealing with `listItem` attributes supported by this plugin.
51
+ *
52
+ * @internal
53
+ */
54
54
  export interface AttributeStrategy {
55
- /**
56
- * The model attribute name.
57
- */
58
- attributeName: keyof ListItemAttributesMap;
59
- /**
60
- * The model attribute default value.
61
- */
62
- defaultValue: unknown;
63
- /**
64
- * The view consumable as expected by {@link module:engine/conversion/viewconsumable~ViewConsumable#consume `ViewConsumable`}.
65
- */
66
- viewConsumables: Consumables;
67
- /**
68
- * Registers an editor command.
69
- */
70
- addCommand(editor: Editor): void;
71
- /**
72
- * Verifies whether the strategy is applicable for the specified model element.
73
- */
74
- appliesToListItem(element: ModelItem): boolean;
75
- /**
76
- * Verifies whether the model attribute value is valid.
77
- */
78
- hasValidAttribute(element: ModelElement): boolean;
79
- /**
80
- * Sets the property on the view element.
81
- */
82
- setAttributeOnDowncast(writer: ViewDowncastWriter, value: unknown, element: ViewElement): void;
83
- /**
84
- * Retrieves the property value from the view element.
85
- */
86
- getAttributeOnUpcast(element: ViewElement): unknown;
55
+ /**
56
+ * The model attribute name.
57
+ */
58
+ attributeName: keyof ListItemAttributesMap;
59
+ /**
60
+ * The model attribute default value.
61
+ */
62
+ defaultValue: unknown;
63
+ /**
64
+ * The view consumable as expected by {@link module:engine/conversion/viewconsumable~ViewConsumable#consume `ViewConsumable`}.
65
+ */
66
+ viewConsumables: Consumables;
67
+ /**
68
+ * Registers an editor command.
69
+ */
70
+ addCommand(editor: Editor): void;
71
+ /**
72
+ * Verifies whether the strategy is applicable for the specified model element.
73
+ */
74
+ appliesToListItem(element: ModelItem): boolean;
75
+ /**
76
+ * Verifies whether the model attribute value is valid.
77
+ */
78
+ hasValidAttribute(element: ModelElement): boolean;
79
+ /**
80
+ * Sets the property on the view element.
81
+ */
82
+ setAttributeOnDowncast(writer: ViewDowncastWriter, value: unknown, element: ViewElement): void;
83
+ /**
84
+ * Retrieves the property value from the view element.
85
+ */
86
+ getAttributeOnUpcast(element: ViewElement): unknown;
87
87
  }
88
- declare module '../list/listediting' {
89
- interface ListItemAttributesMap {
90
- listStyle?: string;
91
- listStart?: number;
92
- listReversed?: boolean;
93
- }
88
+ declare module "../list/listediting" {
89
+ interface ListItemAttributesMap {
90
+ listStyle?: string;
91
+ listStart?: number;
92
+ listReversed?: boolean;
93
+ }
94
94
  }
95
- declare module '../list/utils/model' {
96
- interface ListElement {
97
- getAttribute(key: 'listStyle'): string;
98
- getAttribute(key: 'listStart'): number;
99
- getAttribute(key: 'listReversed'): boolean;
100
- }
95
+ declare module "../list/utils/model" {
96
+ interface ListElement {
97
+ getAttribute(key: "listStyle"): string;
98
+ getAttribute(key: "listStart"): number;
99
+ getAttribute(key: "listReversed"): boolean;
100
+ }
101
101
  }
@@ -1,27 +1,27 @@
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 list/listproperties/listpropertiesui
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import '../../theme/liststyles.css';
6
+ * @module list/listproperties/listpropertiesui
7
+ */
8
+ import { Plugin } from "@ckeditor/ckeditor5-core";
9
+ import "../../theme/liststyles.css";
10
10
  /**
11
- * The list properties UI plugin. It introduces the extended `'bulletedList'` and `'numberedList'` toolbar
12
- * buttons that allow users to control such aspects of list as the marker, start index or order.
13
- *
14
- * **Note**: Buttons introduced by this plugin override implementations from the {@link module:list/list/listui~ListUI}
15
- * (because they share the same names).
16
- */
11
+ * The list properties UI plugin. It introduces the extended `'bulletedList'` and `'numberedList'` toolbar
12
+ * buttons that allow users to control such aspects of list as the marker, start index or order.
13
+ *
14
+ * **Note**: Buttons introduced by this plugin override implementations from the {@link module:list/list/listui~ListUI}
15
+ * (because they share the same names).
16
+ */
17
17
  export declare class ListPropertiesUI extends Plugin {
18
- /**
19
- * @inheritDoc
20
- */
21
- static get pluginName(): "ListPropertiesUI";
22
- /**
23
- * @inheritDoc
24
- */
25
- static get isOfficialPlugin(): true;
26
- init(): void;
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get pluginName(): "ListPropertiesUI";
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static override get isOfficialPlugin(): true;
26
+ init(): void;
27
27
  }