@ckeditor/ckeditor5-indent 40.0.0 → 40.2.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.
package/CHANGELOG.md CHANGED
@@ -5,17 +5,17 @@ All changes in the package are documented in the main repository. See: https://g
5
5
 
6
6
  Changes for the past releases are available below.
7
7
 
8
- ## [19.0.0](https://github.com/ckeditor/ckeditor5-indent/compare/v18.0.0...v19.0.0) (2020-04-29)
8
+ ## [19.0.0](https://github.com/ckeditor/ckeditor5-indent/compare/v18.0.0...v19.0.0) (April 29, 2020)
9
9
 
10
10
  Internal changes only (updated dependencies, documentation, etc.).
11
11
 
12
12
 
13
- ## [18.0.0](https://github.com/ckeditor/ckeditor5-indent/compare/v17.0.0...v18.0.0) (2020-03-19)
13
+ ## [18.0.0](https://github.com/ckeditor/ckeditor5-indent/compare/v17.0.0...v18.0.0) (March 19, 2020)
14
14
 
15
15
  Internal changes only (updated dependencies, documentation, etc.).
16
16
 
17
17
 
18
- ## [17.0.0](https://github.com/ckeditor/ckeditor5-indent/compare/v16.0.0...v17.0.0) (2020-02-19)
18
+ ## [17.0.0](https://github.com/ckeditor/ckeditor5-indent/compare/v16.0.0...v17.0.0) (February 19, 2020)
19
19
 
20
20
  ### Bug fixes
21
21
 
@@ -26,14 +26,14 @@ Internal changes only (updated dependencies, documentation, etc.).
26
26
  * Updated translations. ([f0a7140](https://github.com/ckeditor/ckeditor5-indent/commit/f0a7140))
27
27
 
28
28
 
29
- ## [16.0.0](https://github.com/ckeditor/ckeditor5-indent/compare/v15.0.0...v16.0.0) (2019-12-04)
29
+ ## [16.0.0](https://github.com/ckeditor/ckeditor5-indent/compare/v15.0.0...v16.0.0) (December 4, 2019)
30
30
 
31
31
  ### Other changes
32
32
 
33
33
  * Updated translations. ([749ed44](https://github.com/ckeditor/ckeditor5-indent/commit/749ed44))
34
34
 
35
35
 
36
- ## [15.0.0](https://github.com/ckeditor/ckeditor5-indent/compare/v10.1.0...v15.0.0) (2019-10-23)
36
+ ## [15.0.0](https://github.com/ckeditor/ckeditor5-indent/compare/v10.1.0...v15.0.0) (October 23, 2019)
37
37
 
38
38
  ### Bug fixes
39
39
 
@@ -44,7 +44,7 @@ Internal changes only (updated dependencies, documentation, etc.).
44
44
  * Updated translations. ([857389c](https://github.com/ckeditor/ckeditor5-indent/commit/857389c)) ([3a262fd](https://github.com/ckeditor/ckeditor5-indent/commit/3a262fd))
45
45
 
46
46
 
47
- ## [10.1.0](https://github.com/ckeditor/ckeditor5-indent/compare/v10.0.1...v10.1.0) (2019-08-26)
47
+ ## [10.1.0](https://github.com/ckeditor/ckeditor5-indent/compare/v10.0.1...v10.1.0) (August 26, 2019)
48
48
 
49
49
  ### Features
50
50
 
@@ -61,11 +61,11 @@ Internal changes only (updated dependencies, documentation, etc.).
61
61
  * Updated translations. ([cc421f3](https://github.com/ckeditor/ckeditor5-indent/commit/cc421f3))
62
62
 
63
63
 
64
- ## [10.0.1](https://github.com/ckeditor/ckeditor5-indent/compare/v10.0.0...v10.0.1) (2019-07-10)
64
+ ## [10.0.1](https://github.com/ckeditor/ckeditor5-indent/compare/v10.0.0...v10.0.1) (July 10, 2019)
65
65
 
66
66
  Internal changes only (updated dependencies, documentation, etc.).
67
67
 
68
68
 
69
- ## [10.0.0](https://github.com/ckeditor/ckeditor5-indent/tree/v10.0.0) (2019-07-04)
69
+ ## [10.0.0](https://github.com/ckeditor/ckeditor5-indent/tree/v10.0.0) (July 4, 2019)
70
70
 
71
71
  Initial implementation of the block indentation feature.
package/LICENSE.md CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
2
2
  ==========================
3
3
 
4
4
  **CKEditor&nbsp;5 block indentation feature** – https://github.com/ckeditor/ckeditor5-indent <br>
5
- Copyright (c) 2003-2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
5
+ Copyright (c) 20032023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
7
  Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
8
8
 
@@ -14,4 +14,4 @@ Where not otherwise indicated, all CKEditor content is authored by CKSource engi
14
14
  Trademarks
15
15
  ----------
16
16
 
17
- **CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
17
+ **CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders.
@@ -1 +1 @@
1
- !function(n){const i=n.gl=n.gl||{};i.dictionary=Object.assign(i.dictionary||{},{"Decrease indent":"Reducir sangrado","Increase indent":"Aumentar sangrado"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(n){const a=n.gl=n.gl||{};a.dictionary=Object.assign(a.dictionary||{},{"Decrease indent":"Reducir a sangría","Increase indent":"Aumentar a sangría"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -19,8 +19,8 @@ msgstr ""
19
19
 
20
20
  msgctxt "Toolbar button tooltip for the increase indentation feature."
21
21
  msgid "Increase indent"
22
- msgstr "Aumentar sangrado"
22
+ msgstr "Aumentar a sangría"
23
23
 
24
24
  msgctxt "Toolbar button tooltip for the decrease indentation feature."
25
25
  msgid "Decrease indent"
26
- msgstr "Reducir sangrado"
26
+ msgstr "Reducir a sangría"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-indent",
3
- "version": "40.0.0",
3
+ "version": "40.2.0",
4
4
  "description": "Block indentation feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,7 +12,7 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "40.0.0"
15
+ "ckeditor5": "40.2.0"
16
16
  },
17
17
  "author": "CKSource (http://cksource.com/)",
18
18
  "license": "GPL-2.0-or-later",
@@ -1,24 +1,24 @@
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 { IndentBlockConfig, Indent, IndentBlock, IndentUI, IndentBlockCommand } from './index';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface EditorConfig {
8
- /**
9
- * The configuration of the {@link module:indent/indentblock~IndentBlock block indentation feature}.
10
- *
11
- * Read more in {@link module:indent/indentconfig~IndentBlockConfig}.
12
- */
13
- indentBlock?: IndentBlockConfig;
14
- }
15
- interface PluginsMap {
16
- [Indent.pluginName]: Indent;
17
- [IndentBlock.pluginName]: IndentBlock;
18
- [IndentUI.pluginName]: IndentUI;
19
- }
20
- interface CommandsMap {
21
- indentBlock: IndentBlockCommand;
22
- outdentBlock: IndentBlockCommand;
23
- }
24
- }
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 { IndentBlockConfig, Indent, IndentBlock, IndentUI, IndentBlockCommand } from './index';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface EditorConfig {
8
+ /**
9
+ * The configuration of the {@link module:indent/indentblock~IndentBlock block indentation feature}.
10
+ *
11
+ * Read more in {@link module:indent/indentconfig~IndentBlockConfig}.
12
+ */
13
+ indentBlock?: IndentBlockConfig;
14
+ }
15
+ interface PluginsMap {
16
+ [Indent.pluginName]: Indent;
17
+ [IndentBlock.pluginName]: IndentBlock;
18
+ [IndentUI.pluginName]: IndentUI;
19
+ }
20
+ interface CommandsMap {
21
+ indentBlock: IndentBlockCommand;
22
+ outdentBlock: IndentBlockCommand;
23
+ }
24
+ }
@@ -1,5 +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 {};
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/indent.d.ts CHANGED
@@ -1,40 +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
- /**
6
- * @module indent/indent
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import IndentEditing from './indentediting';
10
- import IndentUI from './indentui';
11
- /**
12
- * The indent feature.
13
- *
14
- * This plugin acts as a single entry point plugin for other features that implement indentation of elements like lists or paragraphs.
15
- *
16
- * The compatible features are:
17
- *
18
- * * The {@link module:list/list~List} or {@link module:list/list/listediting~ListEditing} feature for list indentation.
19
- * * The {@link module:indent/indentblock~IndentBlock} feature for block indentation.
20
- *
21
- * This is a "glue" plugin that loads the following plugins:
22
- *
23
- * * The {@link module:indent/indentediting~IndentEditing indent editing feature}.
24
- * * The {@link module:indent/indentui~IndentUI indent UI feature}.
25
- *
26
- * The dependent plugins register the `'indent'` and `'outdent'` commands and introduce the `'indent'` and `'outdent'` buttons
27
- * that allow to increase or decrease text indentation of supported elements.
28
- *
29
- * **Note**: In order for the commands and buttons to work, at least one of compatible features is required.
30
- */
31
- export default class Indent extends Plugin {
32
- /**
33
- * @inheritDoc
34
- */
35
- static get pluginName(): "Indent";
36
- /**
37
- * @inheritDoc
38
- */
39
- static get requires(): readonly [typeof IndentEditing, typeof IndentUI];
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
+ /**
6
+ * @module indent/indent
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import IndentEditing from './indentediting';
10
+ import IndentUI from './indentui';
11
+ /**
12
+ * The indent feature.
13
+ *
14
+ * This plugin acts as a single entry point plugin for other features that implement indentation of elements like lists or paragraphs.
15
+ *
16
+ * The compatible features are:
17
+ *
18
+ * * The {@link module:list/list~List} or {@link module:list/list/listediting~ListEditing} feature for list indentation.
19
+ * * The {@link module:indent/indentblock~IndentBlock} feature for block indentation.
20
+ *
21
+ * This is a "glue" plugin that loads the following plugins:
22
+ *
23
+ * * The {@link module:indent/indentediting~IndentEditing indent editing feature}.
24
+ * * The {@link module:indent/indentui~IndentUI indent UI feature}.
25
+ *
26
+ * The dependent plugins register the `'indent'` and `'outdent'` commands and introduce the `'indent'` and `'outdent'` buttons
27
+ * that allow to increase or decrease text indentation of supported elements.
28
+ *
29
+ * **Note**: In order for the commands and buttons to work, at least one of compatible features is required.
30
+ */
31
+ export default class Indent extends Plugin {
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ static get pluginName(): "Indent";
36
+ /**
37
+ * @inheritDoc
38
+ */
39
+ static get requires(): readonly [typeof IndentEditing, typeof IndentUI];
40
+ }
package/src/indent.js CHANGED
@@ -1,44 +1,44 @@
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
- /**
6
- * @module indent/indent
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import IndentEditing from './indentediting';
10
- import IndentUI from './indentui';
11
- /**
12
- * The indent feature.
13
- *
14
- * This plugin acts as a single entry point plugin for other features that implement indentation of elements like lists or paragraphs.
15
- *
16
- * The compatible features are:
17
- *
18
- * * The {@link module:list/list~List} or {@link module:list/list/listediting~ListEditing} feature for list indentation.
19
- * * The {@link module:indent/indentblock~IndentBlock} feature for block indentation.
20
- *
21
- * This is a "glue" plugin that loads the following plugins:
22
- *
23
- * * The {@link module:indent/indentediting~IndentEditing indent editing feature}.
24
- * * The {@link module:indent/indentui~IndentUI indent UI feature}.
25
- *
26
- * The dependent plugins register the `'indent'` and `'outdent'` commands and introduce the `'indent'` and `'outdent'` buttons
27
- * that allow to increase or decrease text indentation of supported elements.
28
- *
29
- * **Note**: In order for the commands and buttons to work, at least one of compatible features is required.
30
- */
31
- export default class Indent extends Plugin {
32
- /**
33
- * @inheritDoc
34
- */
35
- static get pluginName() {
36
- return 'Indent';
37
- }
38
- /**
39
- * @inheritDoc
40
- */
41
- static get requires() {
42
- return [IndentEditing, IndentUI];
43
- }
44
- }
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
+ /**
6
+ * @module indent/indent
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import IndentEditing from './indentediting';
10
+ import IndentUI from './indentui';
11
+ /**
12
+ * The indent feature.
13
+ *
14
+ * This plugin acts as a single entry point plugin for other features that implement indentation of elements like lists or paragraphs.
15
+ *
16
+ * The compatible features are:
17
+ *
18
+ * * The {@link module:list/list~List} or {@link module:list/list/listediting~ListEditing} feature for list indentation.
19
+ * * The {@link module:indent/indentblock~IndentBlock} feature for block indentation.
20
+ *
21
+ * This is a "glue" plugin that loads the following plugins:
22
+ *
23
+ * * The {@link module:indent/indentediting~IndentEditing indent editing feature}.
24
+ * * The {@link module:indent/indentui~IndentUI indent UI feature}.
25
+ *
26
+ * The dependent plugins register the `'indent'` and `'outdent'` commands and introduce the `'indent'` and `'outdent'` buttons
27
+ * that allow to increase or decrease text indentation of supported elements.
28
+ *
29
+ * **Note**: In order for the commands and buttons to work, at least one of compatible features is required.
30
+ */
31
+ export default class Indent extends Plugin {
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ static get pluginName() {
36
+ return 'Indent';
37
+ }
38
+ /**
39
+ * @inheritDoc
40
+ */
41
+ static get requires() {
42
+ return [IndentEditing, IndentUI];
43
+ }
44
+ }
@@ -1,42 +1,42 @@
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
- /**
6
- * @module indent/indentblock
7
- */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
9
- /**
10
- * The block indentation feature.
11
- *
12
- * It registers the `'indentBlock'` and `'outdentBlock'` commands.
13
- *
14
- * If the plugin {@link module:indent/indent~Indent} is defined, it also attaches the `'indentBlock'` and `'outdentBlock'` commands to
15
- * the `'indent'` and `'outdent'` commands.
16
- */
17
- export default class IndentBlock extends Plugin {
18
- /**
19
- * @inheritDoc
20
- */
21
- constructor(editor: Editor);
22
- /**
23
- * @inheritDoc
24
- */
25
- static get pluginName(): "IndentBlock";
26
- /**
27
- * @inheritDoc
28
- */
29
- init(): void;
30
- /**
31
- * @inheritDoc
32
- */
33
- afterInit(): void;
34
- /**
35
- * Setups conversion for using offset indents.
36
- */
37
- private _setupConversionUsingOffset;
38
- /**
39
- * Setups conversion for using classes.
40
- */
41
- private _setupConversionUsingClasses;
42
- }
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
+ /**
6
+ * @module indent/indentblock
7
+ */
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core';
9
+ /**
10
+ * The block indentation feature.
11
+ *
12
+ * It registers the `'indentBlock'` and `'outdentBlock'` commands.
13
+ *
14
+ * If the plugin {@link module:indent/indent~Indent} is defined, it also attaches the `'indentBlock'` and `'outdentBlock'` commands to
15
+ * the `'indent'` and `'outdent'` commands.
16
+ */
17
+ export default class IndentBlock extends Plugin {
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ constructor(editor: Editor);
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get pluginName(): "IndentBlock";
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ init(): void;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ afterInit(): void;
34
+ /**
35
+ * Setups conversion for using offset indents.
36
+ */
37
+ private _setupConversionUsingOffset;
38
+ /**
39
+ * Setups conversion for using classes.
40
+ */
41
+ private _setupConversionUsingClasses;
42
+ }