@ckeditor/ckeditor5-font 38.0.1 → 38.1.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/build/font.js +1 -1
- package/build/font.js.map +1 -0
- package/build/translations/it.js +1 -1
- package/lang/translations/it.po +1 -1
- package/package.json +3 -23
- package/src/augmentation.d.ts +58 -58
- package/src/augmentation.js +5 -5
- package/src/documentcolorcollection.d.ts +70 -70
- package/src/documentcolorcollection.js +42 -42
- package/src/font.d.ts +33 -33
- package/src/font.js +37 -37
- package/src/fontbackgroundcolor/fontbackgroundcolorcommand.d.ts +26 -26
- package/src/fontbackgroundcolor/fontbackgroundcolorcommand.js +25 -25
- package/src/fontbackgroundcolor/fontbackgroundcolorediting.d.ts +26 -26
- package/src/fontbackgroundcolor/fontbackgroundcolorediting.js +123 -123
- package/src/fontbackgroundcolor/fontbackgroundcolorui.d.ts +22 -22
- package/src/fontbackgroundcolor/fontbackgroundcolorui.js +33 -33
- package/src/fontbackgroundcolor.d.ts +30 -30
- package/src/fontbackgroundcolor.js +34 -34
- package/src/fontcolor/fontcolorcommand.d.ts +25 -25
- package/src/fontcolor/fontcolorcommand.js +24 -24
- package/src/fontcolor/fontcolorediting.d.ts +26 -26
- package/src/fontcolor/fontcolorediting.js +134 -134
- package/src/fontcolor/fontcolorui.d.ts +22 -22
- package/src/fontcolor/fontcolorui.js +33 -33
- package/src/fontcolor.d.ts +29 -29
- package/src/fontcolor.js +33 -33
- package/src/fontcommand.d.ts +48 -48
- package/src/fontcommand.js +79 -79
- package/src/fontconfig.d.ts +373 -373
- package/src/fontconfig.js +5 -5
- package/src/fontfamily/fontfamilycommand.d.ts +25 -25
- package/src/fontfamily/fontfamilycommand.js +24 -24
- package/src/fontfamily/fontfamilyediting.d.ts +39 -39
- package/src/fontfamily/fontfamilyediting.js +115 -115
- package/src/fontfamily/fontfamilyui.d.ts +30 -30
- package/src/fontfamily/fontfamilyui.js +114 -114
- package/src/fontfamily/utils.d.ts +15 -15
- package/src/fontfamily/utils.js +80 -80
- package/src/fontfamily.d.ts +29 -29
- package/src/fontfamily.js +33 -33
- package/src/fontsize/fontsizecommand.d.ts +25 -25
- package/src/fontsize/fontsizecommand.js +24 -24
- package/src/fontsize/fontsizeediting.d.ts +44 -44
- package/src/fontsize/fontsizeediting.js +165 -165
- package/src/fontsize/fontsizeui.d.ts +31 -31
- package/src/fontsize/fontsizeui.js +122 -122
- package/src/fontsize/utils.d.ts +12 -12
- package/src/fontsize/utils.js +166 -166
- package/src/fontsize.d.ts +37 -37
- package/src/fontsize.js +43 -43
- package/src/index.d.ts +27 -27
- package/src/index.js +21 -21
- package/src/ui/colortableview.d.ts +459 -459
- package/src/ui/colortableview.js +645 -645
- package/src/ui/colorui.d.ts +67 -67
- package/src/ui/colorui.js +128 -128
- package/src/utils.d.ts +79 -79
- package/src/utils.js +98 -98
package/src/fontsize.d.ts
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
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 font/fontsize
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import FontSizeEditing from './fontsize/fontsizeediting';
|
|
10
|
-
import FontSizeUI from './fontsize/fontsizeui';
|
|
11
|
-
import type { FontSizeOption } from './fontconfig';
|
|
12
|
-
/**
|
|
13
|
-
* The font size plugin.
|
|
14
|
-
*
|
|
15
|
-
* For a detailed overview, check the {@glink features/font font feature} documentation
|
|
16
|
-
* and the {@glink api/font package page}.
|
|
17
|
-
*
|
|
18
|
-
* This is a "glue" plugin which loads the {@link module:font/fontsize/fontsizeediting~FontSizeEditing} and
|
|
19
|
-
* {@link module:font/fontsize/fontsizeui~FontSizeUI} features in the editor.
|
|
20
|
-
*/
|
|
21
|
-
export default class FontSize extends Plugin {
|
|
22
|
-
/**
|
|
23
|
-
* @inheritDoc
|
|
24
|
-
*/
|
|
25
|
-
static get requires(): readonly [typeof FontSizeEditing, typeof FontSizeUI];
|
|
26
|
-
/**
|
|
27
|
-
* @inheritDoc
|
|
28
|
-
*/
|
|
29
|
-
static get pluginName():
|
|
30
|
-
/**
|
|
31
|
-
* Normalizes and translates the {@link module:font/fontconfig~FontSizeConfig#options configuration options}
|
|
32
|
-
* to the {@link module:font/fontconfig~FontSizeOption} format.
|
|
33
|
-
*
|
|
34
|
-
* @param configuredOptions An array of options taken from the configuration.
|
|
35
|
-
*/
|
|
36
|
-
normalizeSizeOptions(options: Array<string | number | FontSizeOption>): Array<FontSizeOption>;
|
|
37
|
-
}
|
|
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 font/fontsize
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import FontSizeEditing from './fontsize/fontsizeediting';
|
|
10
|
+
import FontSizeUI from './fontsize/fontsizeui';
|
|
11
|
+
import type { FontSizeOption } from './fontconfig';
|
|
12
|
+
/**
|
|
13
|
+
* The font size plugin.
|
|
14
|
+
*
|
|
15
|
+
* For a detailed overview, check the {@glink features/font font feature} documentation
|
|
16
|
+
* and the {@glink api/font package page}.
|
|
17
|
+
*
|
|
18
|
+
* This is a "glue" plugin which loads the {@link module:font/fontsize/fontsizeediting~FontSizeEditing} and
|
|
19
|
+
* {@link module:font/fontsize/fontsizeui~FontSizeUI} features in the editor.
|
|
20
|
+
*/
|
|
21
|
+
export default class FontSize extends Plugin {
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get requires(): readonly [typeof FontSizeEditing, typeof FontSizeUI];
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
static get pluginName(): "FontSize";
|
|
30
|
+
/**
|
|
31
|
+
* Normalizes and translates the {@link module:font/fontconfig~FontSizeConfig#options configuration options}
|
|
32
|
+
* to the {@link module:font/fontconfig~FontSizeOption} format.
|
|
33
|
+
*
|
|
34
|
+
* @param configuredOptions An array of options taken from the configuration.
|
|
35
|
+
*/
|
|
36
|
+
normalizeSizeOptions(options: Array<string | number | FontSizeOption>): Array<FontSizeOption>;
|
|
37
|
+
}
|
package/src/fontsize.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
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 font/fontsize
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import FontSizeEditing from './fontsize/fontsizeediting';
|
|
10
|
-
import FontSizeUI from './fontsize/fontsizeui';
|
|
11
|
-
import { normalizeOptions } from './fontsize/utils';
|
|
12
|
-
/**
|
|
13
|
-
* The font size plugin.
|
|
14
|
-
*
|
|
15
|
-
* For a detailed overview, check the {@glink features/font font feature} documentation
|
|
16
|
-
* and the {@glink api/font package page}.
|
|
17
|
-
*
|
|
18
|
-
* This is a "glue" plugin which loads the {@link module:font/fontsize/fontsizeediting~FontSizeEditing} and
|
|
19
|
-
* {@link module:font/fontsize/fontsizeui~FontSizeUI} features in the editor.
|
|
20
|
-
*/
|
|
21
|
-
export default class FontSize extends Plugin {
|
|
22
|
-
/**
|
|
23
|
-
* @inheritDoc
|
|
24
|
-
*/
|
|
25
|
-
static get requires() {
|
|
26
|
-
return [FontSizeEditing, FontSizeUI];
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* @inheritDoc
|
|
30
|
-
*/
|
|
31
|
-
static get pluginName() {
|
|
32
|
-
return 'FontSize';
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Normalizes and translates the {@link module:font/fontconfig~FontSizeConfig#options configuration options}
|
|
36
|
-
* to the {@link module:font/fontconfig~FontSizeOption} format.
|
|
37
|
-
*
|
|
38
|
-
* @param configuredOptions An array of options taken from the configuration.
|
|
39
|
-
*/
|
|
40
|
-
normalizeSizeOptions(options) {
|
|
41
|
-
return normalizeOptions(options);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
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 font/fontsize
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import FontSizeEditing from './fontsize/fontsizeediting';
|
|
10
|
+
import FontSizeUI from './fontsize/fontsizeui';
|
|
11
|
+
import { normalizeOptions } from './fontsize/utils';
|
|
12
|
+
/**
|
|
13
|
+
* The font size plugin.
|
|
14
|
+
*
|
|
15
|
+
* For a detailed overview, check the {@glink features/font font feature} documentation
|
|
16
|
+
* and the {@glink api/font package page}.
|
|
17
|
+
*
|
|
18
|
+
* This is a "glue" plugin which loads the {@link module:font/fontsize/fontsizeediting~FontSizeEditing} and
|
|
19
|
+
* {@link module:font/fontsize/fontsizeui~FontSizeUI} features in the editor.
|
|
20
|
+
*/
|
|
21
|
+
export default class FontSize extends Plugin {
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get requires() {
|
|
26
|
+
return [FontSizeEditing, FontSizeUI];
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @inheritDoc
|
|
30
|
+
*/
|
|
31
|
+
static get pluginName() {
|
|
32
|
+
return 'FontSize';
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Normalizes and translates the {@link module:font/fontconfig~FontSizeConfig#options configuration options}
|
|
36
|
+
* to the {@link module:font/fontconfig~FontSizeOption} format.
|
|
37
|
+
*
|
|
38
|
+
* @param configuredOptions An array of options taken from the configuration.
|
|
39
|
+
*/
|
|
40
|
+
normalizeSizeOptions(options) {
|
|
41
|
+
return normalizeOptions(options);
|
|
42
|
+
}
|
|
43
|
+
}
|
package/src/index.d.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
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 font
|
|
7
|
-
*/
|
|
8
|
-
export { default as Font } from './font';
|
|
9
|
-
export { default as FontBackgroundColor } from './fontbackgroundcolor';
|
|
10
|
-
export { default as FontColor } from './fontcolor';
|
|
11
|
-
export { default as FontFamily } from './fontfamily';
|
|
12
|
-
export { default as FontSize } from './fontsize';
|
|
13
|
-
export { default as FontBackgroundColorEditing } from './fontbackgroundcolor/fontbackgroundcolorediting';
|
|
14
|
-
export { default as FontBackgroundColorUI } from './fontbackgroundcolor/fontbackgroundcolorui';
|
|
15
|
-
export { default as FontColorEditing } from './fontcolor/fontcolorediting';
|
|
16
|
-
export { default as FontColorUI } from './fontcolor/fontcolorui';
|
|
17
|
-
export { default as FontFamilyEditing } from './fontfamily/fontfamilyediting';
|
|
18
|
-
export { default as FontFamilyUI } from './fontfamily/fontfamilyui';
|
|
19
|
-
export { default as FontSizeEditing } from './fontsize/fontsizeediting';
|
|
20
|
-
export { default as FontSizeUI } from './fontsize/fontsizeui';
|
|
21
|
-
export type { default as FontBackgroundColorCommand } from './fontbackgroundcolor/fontbackgroundcolorcommand';
|
|
22
|
-
export type { default as FontColorCommand } from './fontcolor/fontcolorcommand';
|
|
23
|
-
export type { default as FontFamilyCommand } from './fontfamily/fontfamilycommand';
|
|
24
|
-
export type { default as FontSizeCommand } from './fontsize/fontsizecommand';
|
|
25
|
-
export type { FONT_BACKGROUND_COLOR, FONT_COLOR, FONT_FAMILY, FONT_SIZE } from './utils';
|
|
26
|
-
export type { FontColorConfig, FontFamilyConfig, FontSizeConfig } from './fontconfig';
|
|
27
|
-
import './augmentation';
|
|
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 font
|
|
7
|
+
*/
|
|
8
|
+
export { default as Font } from './font';
|
|
9
|
+
export { default as FontBackgroundColor } from './fontbackgroundcolor';
|
|
10
|
+
export { default as FontColor } from './fontcolor';
|
|
11
|
+
export { default as FontFamily } from './fontfamily';
|
|
12
|
+
export { default as FontSize } from './fontsize';
|
|
13
|
+
export { default as FontBackgroundColorEditing } from './fontbackgroundcolor/fontbackgroundcolorediting';
|
|
14
|
+
export { default as FontBackgroundColorUI } from './fontbackgroundcolor/fontbackgroundcolorui';
|
|
15
|
+
export { default as FontColorEditing } from './fontcolor/fontcolorediting';
|
|
16
|
+
export { default as FontColorUI } from './fontcolor/fontcolorui';
|
|
17
|
+
export { default as FontFamilyEditing } from './fontfamily/fontfamilyediting';
|
|
18
|
+
export { default as FontFamilyUI } from './fontfamily/fontfamilyui';
|
|
19
|
+
export { default as FontSizeEditing } from './fontsize/fontsizeediting';
|
|
20
|
+
export { default as FontSizeUI } from './fontsize/fontsizeui';
|
|
21
|
+
export type { default as FontBackgroundColorCommand } from './fontbackgroundcolor/fontbackgroundcolorcommand';
|
|
22
|
+
export type { default as FontColorCommand } from './fontcolor/fontcolorcommand';
|
|
23
|
+
export type { default as FontFamilyCommand } from './fontfamily/fontfamilycommand';
|
|
24
|
+
export type { default as FontSizeCommand } from './fontsize/fontsizecommand';
|
|
25
|
+
export type { FONT_BACKGROUND_COLOR, FONT_COLOR, FONT_FAMILY, FONT_SIZE } from './utils';
|
|
26
|
+
export type { FontColorConfig, FontFamilyConfig, FontSizeConfig } from './fontconfig';
|
|
27
|
+
import './augmentation';
|
package/src/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
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 font
|
|
7
|
-
*/
|
|
8
|
-
export { default as Font } from './font';
|
|
9
|
-
export { default as FontBackgroundColor } from './fontbackgroundcolor';
|
|
10
|
-
export { default as FontColor } from './fontcolor';
|
|
11
|
-
export { default as FontFamily } from './fontfamily';
|
|
12
|
-
export { default as FontSize } from './fontsize';
|
|
13
|
-
export { default as FontBackgroundColorEditing } from './fontbackgroundcolor/fontbackgroundcolorediting';
|
|
14
|
-
export { default as FontBackgroundColorUI } from './fontbackgroundcolor/fontbackgroundcolorui';
|
|
15
|
-
export { default as FontColorEditing } from './fontcolor/fontcolorediting';
|
|
16
|
-
export { default as FontColorUI } from './fontcolor/fontcolorui';
|
|
17
|
-
export { default as FontFamilyEditing } from './fontfamily/fontfamilyediting';
|
|
18
|
-
export { default as FontFamilyUI } from './fontfamily/fontfamilyui';
|
|
19
|
-
export { default as FontSizeEditing } from './fontsize/fontsizeediting';
|
|
20
|
-
export { default as FontSizeUI } from './fontsize/fontsizeui';
|
|
21
|
-
import './augmentation';
|
|
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 font
|
|
7
|
+
*/
|
|
8
|
+
export { default as Font } from './font';
|
|
9
|
+
export { default as FontBackgroundColor } from './fontbackgroundcolor';
|
|
10
|
+
export { default as FontColor } from './fontcolor';
|
|
11
|
+
export { default as FontFamily } from './fontfamily';
|
|
12
|
+
export { default as FontSize } from './fontsize';
|
|
13
|
+
export { default as FontBackgroundColorEditing } from './fontbackgroundcolor/fontbackgroundcolorediting';
|
|
14
|
+
export { default as FontBackgroundColorUI } from './fontbackgroundcolor/fontbackgroundcolorui';
|
|
15
|
+
export { default as FontColorEditing } from './fontcolor/fontcolorediting';
|
|
16
|
+
export { default as FontColorUI } from './fontcolor/fontcolorui';
|
|
17
|
+
export { default as FontFamilyEditing } from './fontfamily/fontfamilyediting';
|
|
18
|
+
export { default as FontFamilyUI } from './fontfamily/fontfamilyui';
|
|
19
|
+
export { default as FontSizeEditing } from './fontsize/fontsizeediting';
|
|
20
|
+
export { default as FontSizeUI } from './fontsize/fontsizeui';
|
|
21
|
+
import './augmentation';
|