@ckeditor/ckeditor5-basic-styles 41.3.0-alpha.4 → 41.3.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.
Files changed (181) hide show
  1. package/build/basic-styles.js +2 -2
  2. package/build/translations/es-co.js +1 -1
  3. package/lang/translations/es-co.po +1 -1
  4. package/package.json +2 -3
  5. package/src/bold/boldui.js +21 -18
  6. package/src/code/codeui.js +20 -16
  7. package/src/italic/italicui.js +21 -18
  8. package/src/strikethrough/strikethroughui.js +21 -17
  9. package/src/subscript/subscriptui.js +20 -16
  10. package/src/superscript/superscriptui.js +20 -16
  11. package/src/underline/underlineui.js +21 -18
  12. package/src/utils.d.ts +20 -0
  13. package/src/utils.js +26 -0
  14. package/dist/content-index.css +0 -9
  15. package/dist/editor-index.css +0 -7
  16. package/dist/index.css +0 -20
  17. package/dist/index.css.map +0 -1
  18. package/dist/translations/af.d.ts +0 -8
  19. package/dist/translations/af.js +0 -5
  20. package/dist/translations/ar.d.ts +0 -8
  21. package/dist/translations/ar.js +0 -5
  22. package/dist/translations/ast.d.ts +0 -8
  23. package/dist/translations/ast.js +0 -5
  24. package/dist/translations/az.d.ts +0 -8
  25. package/dist/translations/az.js +0 -5
  26. package/dist/translations/bg.d.ts +0 -8
  27. package/dist/translations/bg.js +0 -5
  28. package/dist/translations/bn.d.ts +0 -8
  29. package/dist/translations/bn.js +0 -5
  30. package/dist/translations/bs.d.ts +0 -8
  31. package/dist/translations/bs.js +0 -5
  32. package/dist/translations/ca.d.ts +0 -8
  33. package/dist/translations/ca.js +0 -5
  34. package/dist/translations/cs.d.ts +0 -8
  35. package/dist/translations/cs.js +0 -5
  36. package/dist/translations/da.d.ts +0 -8
  37. package/dist/translations/da.js +0 -5
  38. package/dist/translations/de-ch.d.ts +0 -8
  39. package/dist/translations/de-ch.js +0 -5
  40. package/dist/translations/de.d.ts +0 -8
  41. package/dist/translations/de.js +0 -5
  42. package/dist/translations/el.d.ts +0 -8
  43. package/dist/translations/el.js +0 -5
  44. package/dist/translations/en-au.d.ts +0 -8
  45. package/dist/translations/en-au.js +0 -5
  46. package/dist/translations/en-gb.d.ts +0 -8
  47. package/dist/translations/en-gb.js +0 -5
  48. package/dist/translations/en.d.ts +0 -8
  49. package/dist/translations/en.js +0 -5
  50. package/dist/translations/eo.d.ts +0 -8
  51. package/dist/translations/eo.js +0 -5
  52. package/dist/translations/es-co.d.ts +0 -8
  53. package/dist/translations/es-co.js +0 -5
  54. package/dist/translations/es.d.ts +0 -8
  55. package/dist/translations/es.js +0 -5
  56. package/dist/translations/et.d.ts +0 -8
  57. package/dist/translations/et.js +0 -5
  58. package/dist/translations/eu.d.ts +0 -8
  59. package/dist/translations/eu.js +0 -5
  60. package/dist/translations/fa.d.ts +0 -8
  61. package/dist/translations/fa.js +0 -5
  62. package/dist/translations/fi.d.ts +0 -8
  63. package/dist/translations/fi.js +0 -5
  64. package/dist/translations/fr.d.ts +0 -8
  65. package/dist/translations/fr.js +0 -5
  66. package/dist/translations/gl.d.ts +0 -8
  67. package/dist/translations/gl.js +0 -5
  68. package/dist/translations/gu.d.ts +0 -8
  69. package/dist/translations/gu.js +0 -5
  70. package/dist/translations/he.d.ts +0 -8
  71. package/dist/translations/he.js +0 -5
  72. package/dist/translations/hi.d.ts +0 -8
  73. package/dist/translations/hi.js +0 -5
  74. package/dist/translations/hr.d.ts +0 -8
  75. package/dist/translations/hr.js +0 -5
  76. package/dist/translations/hu.d.ts +0 -8
  77. package/dist/translations/hu.js +0 -5
  78. package/dist/translations/hy.d.ts +0 -8
  79. package/dist/translations/hy.js +0 -5
  80. package/dist/translations/id.d.ts +0 -8
  81. package/dist/translations/id.js +0 -5
  82. package/dist/translations/it.d.ts +0 -8
  83. package/dist/translations/it.js +0 -5
  84. package/dist/translations/ja.d.ts +0 -8
  85. package/dist/translations/ja.js +0 -5
  86. package/dist/translations/jv.d.ts +0 -8
  87. package/dist/translations/jv.js +0 -5
  88. package/dist/translations/km.d.ts +0 -8
  89. package/dist/translations/km.js +0 -5
  90. package/dist/translations/kn.d.ts +0 -8
  91. package/dist/translations/kn.js +0 -5
  92. package/dist/translations/ko.d.ts +0 -8
  93. package/dist/translations/ko.js +0 -5
  94. package/dist/translations/ku.d.ts +0 -8
  95. package/dist/translations/ku.js +0 -5
  96. package/dist/translations/lt.d.ts +0 -8
  97. package/dist/translations/lt.js +0 -5
  98. package/dist/translations/lv.d.ts +0 -8
  99. package/dist/translations/lv.js +0 -5
  100. package/dist/translations/ms.d.ts +0 -8
  101. package/dist/translations/ms.js +0 -5
  102. package/dist/translations/nb.d.ts +0 -8
  103. package/dist/translations/nb.js +0 -5
  104. package/dist/translations/ne.d.ts +0 -8
  105. package/dist/translations/ne.js +0 -5
  106. package/dist/translations/nl.d.ts +0 -8
  107. package/dist/translations/nl.js +0 -5
  108. package/dist/translations/no.d.ts +0 -8
  109. package/dist/translations/no.js +0 -5
  110. package/dist/translations/oc.d.ts +0 -8
  111. package/dist/translations/oc.js +0 -5
  112. package/dist/translations/pl.d.ts +0 -8
  113. package/dist/translations/pl.js +0 -5
  114. package/dist/translations/pt-br.d.ts +0 -8
  115. package/dist/translations/pt-br.js +0 -5
  116. package/dist/translations/pt.d.ts +0 -8
  117. package/dist/translations/pt.js +0 -5
  118. package/dist/translations/ro.d.ts +0 -8
  119. package/dist/translations/ro.js +0 -5
  120. package/dist/translations/ru.d.ts +0 -8
  121. package/dist/translations/ru.js +0 -5
  122. package/dist/translations/si.d.ts +0 -8
  123. package/dist/translations/si.js +0 -5
  124. package/dist/translations/sk.d.ts +0 -8
  125. package/dist/translations/sk.js +0 -5
  126. package/dist/translations/sl.d.ts +0 -8
  127. package/dist/translations/sl.js +0 -5
  128. package/dist/translations/sq.d.ts +0 -8
  129. package/dist/translations/sq.js +0 -5
  130. package/dist/translations/sr-latn.d.ts +0 -8
  131. package/dist/translations/sr-latn.js +0 -5
  132. package/dist/translations/sr.d.ts +0 -8
  133. package/dist/translations/sr.js +0 -5
  134. package/dist/translations/sv.d.ts +0 -8
  135. package/dist/translations/sv.js +0 -5
  136. package/dist/translations/th.d.ts +0 -8
  137. package/dist/translations/th.js +0 -5
  138. package/dist/translations/tk.d.ts +0 -8
  139. package/dist/translations/tk.js +0 -5
  140. package/dist/translations/tr.d.ts +0 -8
  141. package/dist/translations/tr.js +0 -5
  142. package/dist/translations/tt.d.ts +0 -8
  143. package/dist/translations/tt.js +0 -5
  144. package/dist/translations/ug.d.ts +0 -8
  145. package/dist/translations/ug.js +0 -5
  146. package/dist/translations/uk.d.ts +0 -8
  147. package/dist/translations/uk.js +0 -5
  148. package/dist/translations/ur.d.ts +0 -8
  149. package/dist/translations/ur.js +0 -5
  150. package/dist/translations/uz.d.ts +0 -8
  151. package/dist/translations/uz.js +0 -5
  152. package/dist/translations/vi.d.ts +0 -8
  153. package/dist/translations/vi.js +0 -5
  154. package/dist/translations/zh-cn.d.ts +0 -8
  155. package/dist/translations/zh-cn.js +0 -5
  156. package/dist/translations/zh.d.ts +0 -8
  157. package/dist/translations/zh.js +0 -5
  158. package/dist/types/attributecommand.d.ts +0 -78
  159. package/dist/types/augmentation.d.ts +0 -44
  160. package/dist/types/bold/boldediting.d.ts +0 -28
  161. package/dist/types/bold/boldui.d.ts +0 -25
  162. package/dist/types/bold.d.ts +0 -33
  163. package/dist/types/code/codeediting.d.ts +0 -33
  164. package/dist/types/code/codeui.d.ts +0 -26
  165. package/dist/types/code.d.ts +0 -34
  166. package/dist/types/index.d.ts +0 -34
  167. package/dist/types/italic/italicediting.d.ts +0 -28
  168. package/dist/types/italic/italicui.d.ts +0 -25
  169. package/dist/types/italic.d.ts +0 -33
  170. package/dist/types/strikethrough/strikethroughediting.d.ts +0 -29
  171. package/dist/types/strikethrough/strikethroughui.d.ts +0 -25
  172. package/dist/types/strikethrough.d.ts +0 -33
  173. package/dist/types/subscript/subscriptediting.d.ts +0 -28
  174. package/dist/types/subscript/subscriptui.d.ts +0 -25
  175. package/dist/types/subscript.d.ts +0 -30
  176. package/dist/types/superscript/superscriptediting.d.ts +0 -28
  177. package/dist/types/superscript/superscriptui.d.ts +0 -25
  178. package/dist/types/superscript.d.ts +0 -30
  179. package/dist/types/underline/underlineediting.d.ts +0 -28
  180. package/dist/types/underline/underlineui.d.ts +0 -25
  181. package/dist/types/underline.d.ts +0 -33
@@ -1,25 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module basic-styles/superscript/superscriptui
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- /**
14
- * The superscript UI feature. It introduces the Superscript button.
15
- */
16
- export default class SuperscriptUI extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- static get pluginName(): "SuperscriptUI";
21
- /**
22
- * @inheritDoc
23
- */
24
- init(): void;
25
- }
@@ -1,30 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module basic-styles/superscript
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- import SuperscriptEditing from './superscript/superscriptediting.js';
14
- import SuperscriptUI from './superscript/superscriptui.js';
15
- /**
16
- * The superscript feature.
17
- *
18
- * It loads the {@link module:basic-styles/superscript/superscriptediting~SuperscriptEditing} and
19
- * {@link module:basic-styles/superscript/superscriptui~SuperscriptUI} plugins.
20
- */
21
- export default class Superscript extends Plugin {
22
- /**
23
- * @inheritDoc
24
- */
25
- static get requires(): readonly [typeof SuperscriptEditing, typeof SuperscriptUI];
26
- /**
27
- * @inheritDoc
28
- */
29
- static get pluginName(): "Superscript";
30
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module basic-styles/underline/underlineediting
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- /**
14
- * The underline editing feature.
15
- *
16
- * It registers the `'underline'` command, the <kbd>Ctrl+U</kbd> keystroke
17
- * and introduces the `underline` attribute in the model which renders to the view as an `<u>` element.
18
- */
19
- export default class UnderlineEditing extends Plugin {
20
- /**
21
- * @inheritDoc
22
- */
23
- static get pluginName(): "UnderlineEditing";
24
- /**
25
- * @inheritDoc
26
- */
27
- init(): void;
28
- }
@@ -1,25 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module basic-styles/underline/underlineui
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- /**
14
- * The underline UI feature. It introduces the Underline button.
15
- */
16
- export default class UnderlineUI extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- static get pluginName(): "UnderlineUI";
21
- /**
22
- * @inheritDoc
23
- */
24
- init(): void;
25
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module basic-styles/underline
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- import UnderlineEditing from './underline/underlineediting.js';
14
- import UnderlineUI from './underline/underlineui.js';
15
- /**
16
- * The underline feature.
17
- *
18
- * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide
19
- * and the {@glink api/basic-styles package page}.
20
- *
21
- * This is a "glue" plugin which loads the {@link module:basic-styles/underline/underlineediting~UnderlineEditing} and
22
- * {@link module:basic-styles/underline/underlineui~UnderlineUI} plugins.
23
- */
24
- export default class Underline extends Plugin {
25
- /**
26
- * @inheritDoc
27
- */
28
- static get requires(): readonly [typeof UnderlineEditing, typeof UnderlineUI];
29
- /**
30
- * @inheritDoc
31
- */
32
- static get pluginName(): "Underline";
33
- }