@ckeditor/ckeditor5-font 48.8.1-alpha.3 → 49.0.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 (180) hide show
  1. package/dist/augmentation.d.ts +56 -56
  2. package/dist/font.d.ts +32 -32
  3. package/dist/fontbackgroundcolor/fontbackgroundcolorcommand.d.ts +21 -21
  4. package/dist/fontbackgroundcolor/fontbackgroundcolorediting.d.ts +25 -25
  5. package/dist/fontbackgroundcolor/fontbackgroundcolorui.d.ts +15 -15
  6. package/dist/fontbackgroundcolor.d.ts +29 -29
  7. package/dist/fontcolor/fontcolorcommand.d.ts +20 -20
  8. package/dist/fontcolor/fontcolorediting.d.ts +25 -25
  9. package/dist/fontcolor/fontcolorui.d.ts +15 -15
  10. package/dist/fontcolor.d.ts +28 -28
  11. package/dist/fontcommand.d.ts +43 -43
  12. package/dist/fontconfig.d.ts +289 -356
  13. package/dist/fontfamily/fontfamilycommand.d.ts +20 -20
  14. package/dist/fontfamily/fontfamilyediting.d.ts +38 -38
  15. package/dist/fontfamily/fontfamilyui.d.ts +29 -29
  16. package/dist/fontfamily/utils.d.ts +16 -16
  17. package/dist/fontfamily.d.ts +28 -28
  18. package/dist/fontsize/fontsizecommand.d.ts +20 -20
  19. package/dist/fontsize/fontsizeediting.d.ts +43 -43
  20. package/dist/fontsize/fontsizeui.d.ts +29 -30
  21. package/dist/fontsize/utils.d.ts +10 -10
  22. package/dist/fontsize.d.ts +36 -36
  23. package/dist/index-content.css +20 -16
  24. package/dist/index-content.css.map +1 -0
  25. package/dist/index-editor.css +3 -6
  26. package/dist/index-editor.css.map +1 -0
  27. package/dist/index.css +14 -12
  28. package/dist/index.css.map +1 -1
  29. package/dist/index.d.ts +31 -29
  30. package/dist/index.js +1465 -1568
  31. package/dist/index.js.map +1 -1
  32. package/dist/translations/af.js +1 -1
  33. package/dist/translations/af.umd.js +5 -3
  34. package/dist/translations/ar.js +1 -1
  35. package/dist/translations/ar.umd.js +5 -3
  36. package/dist/translations/ast.js +1 -1
  37. package/dist/translations/ast.umd.js +5 -3
  38. package/dist/translations/az.js +1 -1
  39. package/dist/translations/az.umd.js +5 -3
  40. package/dist/translations/be.js +1 -1
  41. package/dist/translations/be.umd.js +5 -3
  42. package/dist/translations/bg.js +1 -1
  43. package/dist/translations/bg.umd.js +5 -3
  44. package/dist/translations/bn.js +1 -1
  45. package/dist/translations/bn.umd.js +5 -3
  46. package/dist/translations/bs.js +1 -1
  47. package/dist/translations/bs.umd.js +5 -3
  48. package/dist/translations/ca.js +1 -1
  49. package/dist/translations/ca.umd.js +5 -3
  50. package/dist/translations/cs.js +1 -1
  51. package/dist/translations/cs.umd.js +5 -3
  52. package/dist/translations/da.js +1 -1
  53. package/dist/translations/da.umd.js +5 -3
  54. package/dist/translations/de-ch.js +1 -1
  55. package/dist/translations/de-ch.umd.js +5 -3
  56. package/dist/translations/de.js +1 -1
  57. package/dist/translations/de.umd.js +5 -3
  58. package/dist/translations/el.js +1 -1
  59. package/dist/translations/el.umd.js +5 -3
  60. package/dist/translations/en-au.js +1 -1
  61. package/dist/translations/en-au.umd.js +5 -3
  62. package/dist/translations/en-gb.js +1 -1
  63. package/dist/translations/en-gb.umd.js +5 -3
  64. package/dist/translations/en.js +1 -1
  65. package/dist/translations/en.umd.js +5 -3
  66. package/dist/translations/eo.js +1 -1
  67. package/dist/translations/eo.umd.js +5 -3
  68. package/dist/translations/es-co.js +1 -1
  69. package/dist/translations/es-co.umd.js +5 -3
  70. package/dist/translations/es.js +1 -1
  71. package/dist/translations/es.umd.js +5 -3
  72. package/dist/translations/et.js +1 -1
  73. package/dist/translations/et.umd.js +5 -3
  74. package/dist/translations/eu.js +1 -1
  75. package/dist/translations/eu.umd.js +5 -3
  76. package/dist/translations/fa.js +1 -1
  77. package/dist/translations/fa.umd.js +5 -3
  78. package/dist/translations/fi.js +1 -1
  79. package/dist/translations/fi.umd.js +5 -3
  80. package/dist/translations/fr.js +1 -1
  81. package/dist/translations/fr.umd.js +5 -3
  82. package/dist/translations/gl.js +1 -1
  83. package/dist/translations/gl.umd.js +5 -3
  84. package/dist/translations/gu.js +1 -1
  85. package/dist/translations/gu.umd.js +5 -3
  86. package/dist/translations/he.js +1 -1
  87. package/dist/translations/he.umd.js +5 -3
  88. package/dist/translations/hi.js +1 -1
  89. package/dist/translations/hi.umd.js +5 -3
  90. package/dist/translations/hr.js +1 -1
  91. package/dist/translations/hr.umd.js +5 -3
  92. package/dist/translations/hu.js +1 -1
  93. package/dist/translations/hu.umd.js +5 -3
  94. package/dist/translations/hy.js +1 -1
  95. package/dist/translations/hy.umd.js +5 -3
  96. package/dist/translations/id.js +1 -1
  97. package/dist/translations/id.umd.js +5 -3
  98. package/dist/translations/it.js +1 -1
  99. package/dist/translations/it.umd.js +5 -3
  100. package/dist/translations/ja.js +1 -1
  101. package/dist/translations/ja.umd.js +5 -3
  102. package/dist/translations/jv.js +1 -1
  103. package/dist/translations/jv.umd.js +5 -3
  104. package/dist/translations/kk.js +1 -1
  105. package/dist/translations/kk.umd.js +5 -3
  106. package/dist/translations/km.js +1 -1
  107. package/dist/translations/km.umd.js +5 -3
  108. package/dist/translations/kn.js +1 -1
  109. package/dist/translations/kn.umd.js +5 -3
  110. package/dist/translations/ko.js +1 -1
  111. package/dist/translations/ko.umd.js +5 -3
  112. package/dist/translations/ku.js +1 -1
  113. package/dist/translations/ku.umd.js +5 -3
  114. package/dist/translations/lt.js +1 -1
  115. package/dist/translations/lt.umd.js +5 -3
  116. package/dist/translations/lv.js +1 -1
  117. package/dist/translations/lv.umd.js +5 -3
  118. package/dist/translations/ms.js +1 -1
  119. package/dist/translations/ms.umd.js +5 -3
  120. package/dist/translations/nb.js +1 -1
  121. package/dist/translations/nb.umd.js +5 -3
  122. package/dist/translations/ne.js +1 -1
  123. package/dist/translations/ne.umd.js +5 -3
  124. package/dist/translations/nl.js +1 -1
  125. package/dist/translations/nl.umd.js +5 -3
  126. package/dist/translations/no.js +1 -1
  127. package/dist/translations/no.umd.js +5 -3
  128. package/dist/translations/oc.js +1 -1
  129. package/dist/translations/oc.umd.js +5 -3
  130. package/dist/translations/pl.js +1 -1
  131. package/dist/translations/pl.umd.js +5 -3
  132. package/dist/translations/pt-br.js +1 -1
  133. package/dist/translations/pt-br.umd.js +5 -3
  134. package/dist/translations/pt.js +1 -1
  135. package/dist/translations/pt.umd.js +5 -3
  136. package/dist/translations/ro.js +1 -1
  137. package/dist/translations/ro.umd.js +5 -3
  138. package/dist/translations/ru.js +1 -1
  139. package/dist/translations/ru.umd.js +5 -3
  140. package/dist/translations/si.js +1 -1
  141. package/dist/translations/si.umd.js +5 -3
  142. package/dist/translations/sk.js +1 -1
  143. package/dist/translations/sk.umd.js +5 -3
  144. package/dist/translations/sl.js +1 -1
  145. package/dist/translations/sl.umd.js +5 -3
  146. package/dist/translations/sq.js +1 -1
  147. package/dist/translations/sq.umd.js +5 -3
  148. package/dist/translations/sr-latn.js +1 -1
  149. package/dist/translations/sr-latn.umd.js +5 -3
  150. package/dist/translations/sr.js +1 -1
  151. package/dist/translations/sr.umd.js +5 -3
  152. package/dist/translations/sv.js +1 -1
  153. package/dist/translations/sv.umd.js +5 -3
  154. package/dist/translations/th.js +1 -1
  155. package/dist/translations/th.umd.js +5 -3
  156. package/dist/translations/ti.js +1 -1
  157. package/dist/translations/ti.umd.js +5 -3
  158. package/dist/translations/tk.js +1 -1
  159. package/dist/translations/tk.umd.js +5 -3
  160. package/dist/translations/tr.js +1 -1
  161. package/dist/translations/tr.umd.js +5 -3
  162. package/dist/translations/tt.js +1 -1
  163. package/dist/translations/tt.umd.js +5 -3
  164. package/dist/translations/ug.js +1 -1
  165. package/dist/translations/ug.umd.js +5 -3
  166. package/dist/translations/uk.js +1 -1
  167. package/dist/translations/uk.umd.js +5 -3
  168. package/dist/translations/ur.js +1 -1
  169. package/dist/translations/ur.umd.js +5 -3
  170. package/dist/translations/uz.js +1 -1
  171. package/dist/translations/uz.umd.js +5 -3
  172. package/dist/translations/vi.js +1 -1
  173. package/dist/translations/vi.umd.js +5 -3
  174. package/dist/translations/zh-cn.js +1 -1
  175. package/dist/translations/zh-cn.umd.js +5 -3
  176. package/dist/translations/zh.js +1 -1
  177. package/dist/translations/zh.umd.js +5 -3
  178. package/dist/ui/colorui.d.ts +59 -59
  179. package/dist/utils.d.ts +69 -69
  180. package/package.json +6 -6
@@ -2,25 +2,29 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- :root{
6
- --ck-content-font-size-tiny:.7em;
7
- --ck-content-font-size-small:.85em;
8
- --ck-content-font-size-big:1.4em;
9
- --ck-content-font-size-huge:1.8em;
5
+ :root, :host {
6
+ --ck-content-font-size-tiny: .7em;
7
+ --ck-content-font-size-small: .85em;
8
+ --ck-content-font-size-big: 1.4em;
9
+ --ck-content-font-size-huge: 1.8em;
10
10
  }
11
11
 
12
- .ck-content .text-tiny{
13
- font-size:var(--ck-content-font-size-tiny);
14
- }
12
+ .ck-content {
13
+ & .text-tiny {
14
+ font-size: var(--ck-content-font-size-tiny);
15
+ }
15
16
 
16
- .ck-content .text-small{
17
- font-size:var(--ck-content-font-size-small);
18
- }
17
+ & .text-small {
18
+ font-size: var(--ck-content-font-size-small);
19
+ }
20
+
21
+ & .text-big {
22
+ font-size: var(--ck-content-font-size-big);
23
+ }
19
24
 
20
- .ck-content .text-big{
21
- font-size:var(--ck-content-font-size-big);
25
+ & .text-huge {
26
+ font-size: var(--ck-content-font-size-huge);
27
+ }
22
28
  }
23
29
 
24
- .ck-content .text-huge{
25
- font-size:var(--ck-content-font-size-huge);
26
- }
30
+ /*# sourceMappingURL=index-content.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../theme/index-content.css","index-content.css"],"names":[],"mappings":";;;;AAOA,CAAA,IAAA,CAAA,CAAA,CAAA,IAAA,CAAA;ACNA,CAAC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AC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;AAC/C,CAAC,CAAC;AACF;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index-content.css.map","sourcesContent":["/*\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* The values should be synchronized with the \"FONT_SIZE_PRESET_UNITS\" object in the \"/src/fontsize/utils.js\" file. */\n\n:root,\n:host {\n\t--ck-content-font-size-tiny: 0.7em;\n\t--ck-content-font-size-small: 0.85em;\n\t--ck-content-font-size-big: 1.4em;\n\t--ck-content-font-size-huge: 1.8em;\n}\n\n/* Styles should be prefixed with the `.ck-content` class.\nSee https://github.com/ckeditor/ckeditor5/issues/6636 */\n.ck-content {\n\t& .text-tiny {\n\t\tfont-size: var(--ck-content-font-size-tiny);\n\t}\n\n\t& .text-small {\n\t\tfont-size: var(--ck-content-font-size-small);\n\t}\n\n\t& .text-big {\n\t\tfont-size: var(--ck-content-font-size-big);\n\t}\n\n\t& .text-huge {\n\t\tfont-size: var(--ck-content-font-size-huge);\n\t}\n}\n",":root, :host {\n --ck-content-font-size-tiny: .7em;\n --ck-content-font-size-small: .85em;\n --ck-content-font-size-big: 1.4em;\n --ck-content-font-size-huge: 1.8em;\n}\n\n.ck-content {\n & .text-tiny {\n font-size: var(--ck-content-font-size-tiny);\n }\n\n & .text-small {\n font-size: var(--ck-content-font-size-small);\n }\n\n & .text-big {\n font-size: var(--ck-content-font-size-big);\n }\n\n & .text-huge {\n font-size: var(--ck-content-font-size-huge);\n }\n}\n\n/*# sourceMappingURL=index-content.css.map */"]}
@@ -2,9 +2,6 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- :root{
6
- --ck-content-font-size-tiny:.7em;
7
- --ck-content-font-size-small:.85em;
8
- --ck-content-font-size-big:1.4em;
9
- --ck-content-font-size-huge:1.8em;
10
- }
5
+
6
+
7
+ /*# sourceMappingURL=index-editor.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["index-editor.css"],"names":[],"mappings":";;;;;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index-editor.css.map","sourcesContent":["\n\n/*# sourceMappingURL=index-editor.css.map */"]}
package/dist/index.css CHANGED
@@ -2,27 +2,29 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- :root {
5
+ :root, :host {
6
6
  --ck-content-font-size-tiny: .7em;
7
7
  --ck-content-font-size-small: .85em;
8
8
  --ck-content-font-size-big: 1.4em;
9
9
  --ck-content-font-size-huge: 1.8em;
10
10
  }
11
11
 
12
- .ck-content .text-tiny {
13
- font-size: var(--ck-content-font-size-tiny);
14
- }
12
+ .ck-content {
13
+ & .text-tiny {
14
+ font-size: var(--ck-content-font-size-tiny);
15
+ }
15
16
 
16
- .ck-content .text-small {
17
- font-size: var(--ck-content-font-size-small);
18
- }
17
+ & .text-small {
18
+ font-size: var(--ck-content-font-size-small);
19
+ }
19
20
 
20
- .ck-content .text-big {
21
- font-size: var(--ck-content-font-size-big);
22
- }
21
+ & .text-big {
22
+ font-size: var(--ck-content-font-size-big);
23
+ }
23
24
 
24
- .ck-content .text-huge {
25
- font-size: var(--ck-content-font-size-huge);
25
+ & .text-huge {
26
+ font-size: var(--ck-content-font-size-huge);
27
+ }
26
28
  }
27
29
 
28
30
  /*# s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AAA,IAAA,CAAA;ACTD,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;AAC7C;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* The values should be synchronized with the \"FONT_SIZE_PRESET_UNITS\" object in the \"/src/fontsize/utils.js\" file. */\n\n:root {\n\t--ck-content-font-size-tiny: 0.7em;\n\t--ck-content-font-size-small: 0.85em;\n\t--ck-content-font-size-big: 1.4em;\n\t--ck-content-font-size-huge: 1.8em;\n}\n\n/* Styles should be prefixed with the `.ck-content` class.\nSee https://github.com/ckeditor/ckeditor5/issues/6636 */\n.ck-content {\n\t& .text-tiny {\n\t\tfont-size: var(--ck-content-font-size-tiny);\n\t}\n\n\t& .text-small {\n\t\tfont-size: var(--ck-content-font-size-small);\n\t}\n\n\t& .text-big {\n\t\tfont-size: var(--ck-content-font-size-big);\n\t}\n\n\t& .text-huge {\n\t\tfont-size: var(--ck-content-font-size-huge);\n\t}\n}\n",":root {\n --ck-content-font-size-tiny: .7em;\n --ck-content-font-size-small: .85em;\n --ck-content-font-size-big: 1.4em;\n --ck-content-font-size-huge: 1.8em;\n}\n\n.ck-content .text-tiny {\n font-size: var(--ck-content-font-size-tiny);\n}\n\n.ck-content .text-small {\n font-size: var(--ck-content-font-size-small);\n}\n\n.ck-content .text-big {\n font-size: var(--ck-content-font-size-big);\n}\n\n.ck-content .text-huge {\n font-size: var(--ck-content-font-size-huge);\n}\n\n/*# sourceMappingURL=index.css.map */"]}
1
+ {"version":3,"sources":["../theme/index-content.css","index.css"],"names":[],"mappings":";;;;AAOA,CA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CAAA,IAAA,CAAA,IAAA,CAAA;ACTD,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;AAC/C,CAAC,CAAC;AACF;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* The values should be synchronized with the \"FONT_SIZE_PRESET_UNITS\" object in the \"/src/fontsize/utils.js\" file. */\n\n:root,\n:host {\n\t--ck-content-font-size-tiny: 0.7em;\n\t--ck-content-font-size-small: 0.85em;\n\t--ck-content-font-size-big: 1.4em;\n\t--ck-content-font-size-huge: 1.8em;\n}\n\n/* Styles should be prefixed with the `.ck-content` class.\nSee https://github.com/ckeditor/ckeditor5/issues/6636 */\n.ck-content {\n\t& .text-tiny {\n\t\tfont-size: var(--ck-content-font-size-tiny);\n\t}\n\n\t& .text-small {\n\t\tfont-size: var(--ck-content-font-size-small);\n\t}\n\n\t& .text-big {\n\t\tfont-size: var(--ck-content-font-size-big);\n\t}\n\n\t& .text-huge {\n\t\tfont-size: var(--ck-content-font-size-huge);\n\t}\n}\n",":root, :host {\n --ck-content-font-size-tiny: .7em;\n --ck-content-font-size-small: .85em;\n --ck-content-font-size-big: 1.4em;\n --ck-content-font-size-huge: 1.8em;\n}\n\n.ck-content {\n & .text-tiny {\n font-size: var(--ck-content-font-size-tiny);\n }\n\n & .text-small {\n font-size: var(--ck-content-font-size-small);\n }\n\n & .text-big {\n font-size: var(--ck-content-font-size-big);\n }\n\n & .text-huge {\n font-size: var(--ck-content-font-size-huge);\n }\n}\n\n/*# sourceMappingURL=index.css.map */"]}
package/dist/index.d.ts CHANGED
@@ -1,31 +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 font
7
- */
8
- export { Font } from './font.js';
9
- export { FontBackgroundColor } from './fontbackgroundcolor.js';
10
- export { FontColor } from './fontcolor.js';
11
- export { FontFamily } from './fontfamily.js';
12
- export { FontSize } from './fontsize.js';
13
- export { FontCommand } from './fontcommand.js';
14
- export { FontBackgroundColorEditing } from './fontbackgroundcolor/fontbackgroundcolorediting.js';
15
- export { FontBackgroundColorUI } from './fontbackgroundcolor/fontbackgroundcolorui.js';
16
- export { FontColorEditing } from './fontcolor/fontcolorediting.js';
17
- export { FontColorUI } from './fontcolor/fontcolorui.js';
18
- export { FontFamilyEditing } from './fontfamily/fontfamilyediting.js';
19
- export { FontFamilyUI } from './fontfamily/fontfamilyui.js';
20
- export { FontSizeEditing } from './fontsize/fontsizeediting.js';
21
- export { FontSizeUI } from './fontsize/fontsizeui.js';
22
- export { FontBackgroundColorCommand } from './fontbackgroundcolor/fontbackgroundcolorcommand.js';
23
- export { FontColorCommand } from './fontcolor/fontcolorcommand.js';
24
- export { FontFamilyCommand } from './fontfamily/fontfamilycommand.js';
25
- export { FontSizeCommand } from './fontsize/fontsizecommand.js';
26
- export { FontColorUIBase } from './ui/colorui.js';
27
- export { buildDefinition as _buildFontDefinition, renderUpcastAttribute as _renderUpcastFontColorAttribute, renderDowncastElement as _renderDowncastFontElement, addColorSelectorToDropdown as _addFontColorSelectorToDropdown, type FontConverterDefinition as _FontConverterDefinition, type FONT_BACKGROUND_COLOR, type FONT_COLOR, type FONT_FAMILY, type FONT_SIZE, type FontColorSelectorDropdownView } from './utils.js';
28
- export type { FontColorConfig, FontFamilyConfig, FontFamilyOption, FontSizeConfig, FontSizeOption } from './fontconfig.js';
29
- export { normalizeOptions as _normalizeFontFamilyOptions } from './fontfamily/utils.js';
30
- export { normalizeOptions as _normalizeFontSizeOptions } from './fontsize/utils.js';
31
- import './augmentation.js';
6
+ * @module font
7
+ */
8
+ export { Font } from "./font.js";
9
+ export { FontBackgroundColor } from "./fontbackgroundcolor.js";
10
+ export { FontColor } from "./fontcolor.js";
11
+ export { FontFamily } from "./fontfamily.js";
12
+ export { FontSize } from "./fontsize.js";
13
+ export { FontCommand } from "./fontcommand.js";
14
+ export { FontBackgroundColorEditing } from "./fontbackgroundcolor/fontbackgroundcolorediting.js";
15
+ export { FontBackgroundColorUI } from "./fontbackgroundcolor/fontbackgroundcolorui.js";
16
+ export { FontColorEditing } from "./fontcolor/fontcolorediting.js";
17
+ export { FontColorUI } from "./fontcolor/fontcolorui.js";
18
+ export { FontFamilyEditing } from "./fontfamily/fontfamilyediting.js";
19
+ export { FontFamilyUI } from "./fontfamily/fontfamilyui.js";
20
+ export { FontSizeEditing } from "./fontsize/fontsizeediting.js";
21
+ export { FontSizeUI } from "./fontsize/fontsizeui.js";
22
+ export { FontBackgroundColorCommand } from "./fontbackgroundcolor/fontbackgroundcolorcommand.js";
23
+ export { FontColorCommand } from "./fontcolor/fontcolorcommand.js";
24
+ export { FontFamilyCommand } from "./fontfamily/fontfamilycommand.js";
25
+ export { FontSizeCommand } from "./fontsize/fontsizecommand.js";
26
+ export { FontColorUIBase } from "./ui/colorui.js";
27
+ export { buildDefinition as _buildFontDefinition, renderUpcastAttribute as _renderUpcastFontColorAttribute, renderDowncastElement as _renderDowncastFontElement, addColorSelectorToDropdown as _addFontColorSelectorToDropdown, type FontConverterDefinition as _FontConverterDefinition, type FONT_BACKGROUND_COLOR, type FONT_COLOR, type FONT_FAMILY, type FONT_SIZE, type FontColorSelectorDropdownView } from "./utils.js";
28
+ export type { FontColorConfig, FontFamilyConfig, FontFamilyOption, FontSizeConfig, FontSizeOption } from "./fontconfig.js";
29
+ export { normalizeOptions as _normalizeFontFamilyOptions } from "./fontfamily/utils.js";
30
+ export { normalizeOptions as _normalizeFontSizeOptions } from "./fontsize/utils.js";
31
+ import "../theme/index-editor.css";
32
+ import "../theme/index-content.css";
33
+ import "./augmentation.js";