@ckeditor/ckeditor5-table 40.2.0 → 41.1.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 (240) hide show
  1. package/CHANGELOG.md +4 -4
  2. package/LICENSE.md +1 -1
  3. package/build/table.js +2 -2
  4. package/ckeditor5-metadata.json +1 -1
  5. package/lang/translations/ar.po +1 -1
  6. package/lang/translations/az.po +1 -1
  7. package/lang/translations/bg.po +1 -1
  8. package/lang/translations/bn.po +1 -1
  9. package/lang/translations/ca.po +1 -1
  10. package/lang/translations/cs.po +1 -1
  11. package/lang/translations/da.po +1 -1
  12. package/lang/translations/de-ch.po +1 -1
  13. package/lang/translations/de.po +1 -1
  14. package/lang/translations/el.po +1 -1
  15. package/lang/translations/en-au.po +1 -1
  16. package/lang/translations/en-gb.po +1 -1
  17. package/lang/translations/en.po +1 -1
  18. package/lang/translations/es.po +1 -1
  19. package/lang/translations/et.po +1 -1
  20. package/lang/translations/fa.po +1 -1
  21. package/lang/translations/fi.po +1 -1
  22. package/lang/translations/fr.po +1 -1
  23. package/lang/translations/gl.po +1 -1
  24. package/lang/translations/he.po +1 -1
  25. package/lang/translations/hi.po +1 -1
  26. package/lang/translations/hr.po +1 -1
  27. package/lang/translations/hu.po +1 -1
  28. package/lang/translations/hy.po +1 -1
  29. package/lang/translations/id.po +1 -1
  30. package/lang/translations/it.po +1 -1
  31. package/lang/translations/ja.po +1 -1
  32. package/lang/translations/ko.po +1 -1
  33. package/lang/translations/ku.po +1 -1
  34. package/lang/translations/lt.po +1 -1
  35. package/lang/translations/lv.po +1 -1
  36. package/lang/translations/ms.po +1 -1
  37. package/lang/translations/nb.po +1 -1
  38. package/lang/translations/ne.po +1 -1
  39. package/lang/translations/nl.po +1 -1
  40. package/lang/translations/no.po +1 -1
  41. package/lang/translations/pl.po +1 -1
  42. package/lang/translations/pt-br.po +1 -1
  43. package/lang/translations/pt.po +1 -1
  44. package/lang/translations/ro.po +1 -1
  45. package/lang/translations/ru.po +1 -1
  46. package/lang/translations/sk.po +1 -1
  47. package/lang/translations/sl.po +1 -1
  48. package/lang/translations/sq.po +1 -1
  49. package/lang/translations/sr-latn.po +1 -1
  50. package/lang/translations/sr.po +1 -1
  51. package/lang/translations/sv.po +1 -1
  52. package/lang/translations/th.po +1 -1
  53. package/lang/translations/tk.po +1 -1
  54. package/lang/translations/tr.po +1 -1
  55. package/lang/translations/tt.po +1 -1
  56. package/lang/translations/ug.po +1 -1
  57. package/lang/translations/uk.po +1 -1
  58. package/lang/translations/ur.po +1 -1
  59. package/lang/translations/uz.po +1 -1
  60. package/lang/translations/vi.po +1 -1
  61. package/lang/translations/zh-cn.po +1 -1
  62. package/lang/translations/zh.po +1 -1
  63. package/package.json +3 -2
  64. package/src/augmentation.d.ts +2 -2
  65. package/src/augmentation.js +1 -1
  66. package/src/commands/insertcolumncommand.d.ts +2 -2
  67. package/src/commands/insertcolumncommand.js +2 -2
  68. package/src/commands/insertrowcommand.d.ts +2 -2
  69. package/src/commands/insertrowcommand.js +2 -2
  70. package/src/commands/inserttablecommand.d.ts +2 -2
  71. package/src/commands/inserttablecommand.js +2 -2
  72. package/src/commands/mergecellcommand.d.ts +4 -4
  73. package/src/commands/mergecellcommand.js +5 -5
  74. package/src/commands/mergecellscommand.d.ts +2 -2
  75. package/src/commands/mergecellscommand.js +5 -5
  76. package/src/commands/removecolumncommand.d.ts +2 -2
  77. package/src/commands/removecolumncommand.js +3 -3
  78. package/src/commands/removerowcommand.d.ts +2 -2
  79. package/src/commands/removerowcommand.js +2 -2
  80. package/src/commands/selectcolumncommand.d.ts +2 -2
  81. package/src/commands/selectcolumncommand.js +3 -3
  82. package/src/commands/selectrowcommand.d.ts +2 -2
  83. package/src/commands/selectrowcommand.js +2 -2
  84. package/src/commands/setheadercolumncommand.d.ts +2 -2
  85. package/src/commands/setheadercolumncommand.js +4 -4
  86. package/src/commands/setheaderrowcommand.d.ts +2 -2
  87. package/src/commands/setheaderrowcommand.js +4 -4
  88. package/src/commands/splitcellcommand.d.ts +2 -2
  89. package/src/commands/splitcellcommand.js +2 -2
  90. package/src/converters/downcast.d.ts +4 -4
  91. package/src/converters/downcast.js +3 -3
  92. package/src/converters/table-caption-post-fixer.d.ts +2 -2
  93. package/src/converters/table-caption-post-fixer.js +1 -1
  94. package/src/converters/table-cell-paragraph-post-fixer.d.ts +2 -2
  95. package/src/converters/table-cell-paragraph-post-fixer.js +1 -1
  96. package/src/converters/table-cell-refresh-handler.d.ts +2 -2
  97. package/src/converters/table-cell-refresh-handler.js +2 -2
  98. package/src/converters/table-headings-refresh-handler.d.ts +2 -2
  99. package/src/converters/table-headings-refresh-handler.js +2 -2
  100. package/src/converters/table-layout-post-fixer.d.ts +2 -2
  101. package/src/converters/table-layout-post-fixer.js +3 -3
  102. package/src/converters/tableproperties.d.ts +2 -2
  103. package/src/converters/tableproperties.js +1 -1
  104. package/src/converters/upcasttable.d.ts +2 -2
  105. package/src/converters/upcasttable.js +3 -3
  106. package/src/index.d.ts +54 -54
  107. package/src/index.js +24 -24
  108. package/src/plaintableoutput.d.ts +3 -3
  109. package/src/plaintableoutput.js +3 -3
  110. package/src/table.d.ts +9 -9
  111. package/src/table.js +9 -9
  112. package/src/tablecaption/tablecaptionediting.d.ts +3 -3
  113. package/src/tablecaption/tablecaptionediting.js +7 -7
  114. package/src/tablecaption/tablecaptionui.d.ts +2 -2
  115. package/src/tablecaption/tablecaptionui.js +4 -4
  116. package/src/tablecaption/toggletablecaptioncommand.d.ts +2 -2
  117. package/src/tablecaption/toggletablecaptioncommand.js +4 -4
  118. package/src/tablecaption/utils.d.ts +2 -2
  119. package/src/tablecaption/utils.js +2 -2
  120. package/src/tablecaption.d.ts +4 -4
  121. package/src/tablecaption.js +4 -4
  122. package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.d.ts +3 -3
  123. package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.js +2 -2
  124. package/src/tablecellproperties/commands/tablecellbordercolorcommand.d.ts +4 -4
  125. package/src/tablecellproperties/commands/tablecellbordercolorcommand.js +3 -3
  126. package/src/tablecellproperties/commands/tablecellborderstylecommand.d.ts +4 -4
  127. package/src/tablecellproperties/commands/tablecellborderstylecommand.js +3 -3
  128. package/src/tablecellproperties/commands/tablecellborderwidthcommand.d.ts +4 -4
  129. package/src/tablecellproperties/commands/tablecellborderwidthcommand.js +3 -3
  130. package/src/tablecellproperties/commands/tablecellheightcommand.d.ts +3 -3
  131. package/src/tablecellproperties/commands/tablecellheightcommand.js +3 -3
  132. package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.d.ts +3 -3
  133. package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.js +2 -2
  134. package/src/tablecellproperties/commands/tablecellpaddingcommand.d.ts +4 -4
  135. package/src/tablecellproperties/commands/tablecellpaddingcommand.js +3 -3
  136. package/src/tablecellproperties/commands/tablecellpropertycommand.d.ts +3 -3
  137. package/src/tablecellproperties/commands/tablecellpropertycommand.js +2 -2
  138. package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.d.ts +3 -3
  139. package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.js +2 -2
  140. package/src/tablecellproperties/tablecellpropertiesediting.d.ts +4 -4
  141. package/src/tablecellproperties/tablecellpropertiesediting.js +16 -16
  142. package/src/tablecellproperties/tablecellpropertiesui.d.ts +4 -4
  143. package/src/tablecellproperties/tablecellpropertiesui.js +8 -8
  144. package/src/tablecellproperties/ui/tablecellpropertiesview.d.ts +8 -8
  145. package/src/tablecellproperties/ui/tablecellpropertiesview.js +6 -6
  146. package/src/tablecellproperties.d.ts +4 -4
  147. package/src/tablecellproperties.js +4 -4
  148. package/src/tablecellwidth/commands/tablecellwidthcommand.d.ts +3 -3
  149. package/src/tablecellwidth/commands/tablecellwidthcommand.js +3 -3
  150. package/src/tablecellwidth/tablecellwidthediting.d.ts +3 -3
  151. package/src/tablecellwidth/tablecellwidthediting.js +6 -6
  152. package/src/tableclipboard.d.ts +6 -6
  153. package/src/tableclipboard.js +6 -6
  154. package/src/tablecolumnresize/constants.d.ts +1 -1
  155. package/src/tablecolumnresize/constants.js +1 -1
  156. package/src/tablecolumnresize/converters.d.ts +3 -3
  157. package/src/tablecolumnresize/converters.js +2 -2
  158. package/src/tablecolumnresize/tablecolumnresizeediting.d.ts +5 -5
  159. package/src/tablecolumnresize/tablecolumnresizeediting.js +11 -11
  160. package/src/tablecolumnresize/tablewidthscommand.d.ts +3 -3
  161. package/src/tablecolumnresize/tablewidthscommand.js +3 -3
  162. package/src/tablecolumnresize/utils.d.ts +4 -4
  163. package/src/tablecolumnresize/utils.js +3 -3
  164. package/src/tablecolumnresize.d.ts +4 -4
  165. package/src/tablecolumnresize.js +4 -4
  166. package/src/tableconfig.d.ts +3 -3
  167. package/src/tableconfig.js +1 -1
  168. package/src/tableediting.d.ts +4 -4
  169. package/src/tableediting.js +21 -21
  170. package/src/tablekeyboard.d.ts +6 -6
  171. package/src/tablekeyboard.js +6 -6
  172. package/src/tablemouse/mouseeventsobserver.d.ts +2 -2
  173. package/src/tablemouse/mouseeventsobserver.js +2 -2
  174. package/src/tablemouse.d.ts +4 -4
  175. package/src/tablemouse.js +5 -5
  176. package/src/tableproperties/commands/tablealignmentcommand.d.ts +3 -3
  177. package/src/tableproperties/commands/tablealignmentcommand.js +2 -2
  178. package/src/tableproperties/commands/tablebackgroundcolorcommand.d.ts +3 -3
  179. package/src/tableproperties/commands/tablebackgroundcolorcommand.js +2 -2
  180. package/src/tableproperties/commands/tablebordercolorcommand.d.ts +4 -4
  181. package/src/tableproperties/commands/tablebordercolorcommand.js +3 -3
  182. package/src/tableproperties/commands/tableborderstylecommand.d.ts +4 -4
  183. package/src/tableproperties/commands/tableborderstylecommand.js +3 -3
  184. package/src/tableproperties/commands/tableborderwidthcommand.d.ts +4 -4
  185. package/src/tableproperties/commands/tableborderwidthcommand.js +3 -3
  186. package/src/tableproperties/commands/tableheightcommand.d.ts +3 -3
  187. package/src/tableproperties/commands/tableheightcommand.js +3 -3
  188. package/src/tableproperties/commands/tablepropertycommand.d.ts +3 -3
  189. package/src/tableproperties/commands/tablepropertycommand.js +3 -3
  190. package/src/tableproperties/commands/tablewidthcommand.d.ts +3 -3
  191. package/src/tableproperties/commands/tablewidthcommand.js +3 -3
  192. package/src/tableproperties/tablepropertiesediting.d.ts +3 -3
  193. package/src/tableproperties/tablepropertiesediting.js +13 -13
  194. package/src/tableproperties/tablepropertiesui.d.ts +4 -4
  195. package/src/tableproperties/tablepropertiesui.js +8 -8
  196. package/src/tableproperties/ui/tablepropertiesview.d.ts +6 -6
  197. package/src/tableproperties/ui/tablepropertiesview.js +6 -6
  198. package/src/tableproperties.d.ts +4 -4
  199. package/src/tableproperties.js +4 -4
  200. package/src/tableselection.d.ts +4 -4
  201. package/src/tableselection.js +6 -6
  202. package/src/tabletoolbar.d.ts +3 -3
  203. package/src/tabletoolbar.js +4 -4
  204. package/src/tableui.d.ts +2 -2
  205. package/src/tableui.js +7 -8
  206. package/src/tableutils.d.ts +4 -4
  207. package/src/tableutils.js +7 -7
  208. package/src/tablewalker.d.ts +2 -2
  209. package/src/tablewalker.js +1 -1
  210. package/src/ui/colorinputview.d.ts +4 -4
  211. package/src/ui/colorinputview.js +3 -3
  212. package/src/ui/formrowview.d.ts +3 -3
  213. package/src/ui/formrowview.js +2 -2
  214. package/src/ui/inserttableview.d.ts +3 -3
  215. package/src/ui/inserttableview.js +3 -3
  216. package/src/utils/common.d.ts +3 -3
  217. package/src/utils/common.js +2 -2
  218. package/src/utils/structure.d.ts +4 -4
  219. package/src/utils/structure.js +3 -3
  220. package/src/utils/table-properties.d.ts +2 -2
  221. package/src/utils/table-properties.js +1 -1
  222. package/src/utils/ui/contextualballoon.d.ts +3 -3
  223. package/src/utils/ui/contextualballoon.js +5 -5
  224. package/src/utils/ui/table-properties.d.ts +6 -6
  225. package/src/utils/ui/table-properties.js +6 -6
  226. package/src/utils/ui/widget.d.ts +2 -2
  227. package/src/utils/ui/widget.js +2 -2
  228. package/theme/colorinput.css +1 -1
  229. package/theme/form.css +1 -1
  230. package/theme/formrow.css +1 -1
  231. package/theme/inserttable.css +1 -1
  232. package/theme/table.css +1 -1
  233. package/theme/tablecaption.css +1 -1
  234. package/theme/tablecellproperties.css +1 -1
  235. package/theme/tablecolumnresize.css +1 -1
  236. package/theme/tableediting.css +1 -1
  237. package/theme/tableform.css +1 -1
  238. package/theme/tableproperties.css +1 -1
  239. package/theme/tableselection.css +1 -1
  240. package/theme/icons/table.svg +0 -1
package/CHANGELOG.md CHANGED
@@ -68,7 +68,7 @@ Changes for the past releases are available below.
68
68
 
69
69
  ### Bug fixes
70
70
 
71
- * Fixed a bug with spellchecking or pasting via the context menu into a table cell crashing the editor. Closes [ckeditor/ckeditor5#6062](https://github.com/ckeditor/ckeditor5/issues/6062). ([be0d759](https://github.com/ckeditor/ckeditor5-table/commit/be0d759))
71
+ * Fixed a bug with spell checking or pasting via the context menu into a table cell crashing the editor. Closes [ckeditor/ckeditor5#6062](https://github.com/ckeditor/ckeditor5/issues/6062). ([be0d759](https://github.com/ckeditor/ckeditor5-table/commit/be0d759))
72
72
 
73
73
  ### Other changes
74
74
 
@@ -202,17 +202,17 @@ Internal changes only (updated dependencies, documentation, etc.).
202
202
 
203
203
  ### Features
204
204
 
205
- * Implemented the table post–fixer which bulletproofs the feature in various complex use–cases (e.g. pasting and real-time collaborative editing). Closes [#13](https://github.com/ckeditor/ckeditor5-table/issues/13). ([01f9a3b](https://github.com/ckeditor/ckeditor5-table/commit/01f9a3b))
205
+ * Implemented the table post–fixer which bulletproofs the feature in various complex use–cases (for example, pasting and real-time collaborative editing). Closes [#13](https://github.com/ckeditor/ckeditor5-table/issues/13). ([01f9a3b](https://github.com/ckeditor/ckeditor5-table/commit/01f9a3b))
206
206
  * Introduced the toolbar for the table widget (previously it was available only for single cells). Changed the toolbar configuration option from `table.toolbar` to `table.contentToolbar`. Closes [#113](https://github.com/ckeditor/ckeditor5-table/issues/113). Closes [#106](https://github.com/ckeditor/ckeditor5-table/issues/106). ([9f9486d](https://github.com/ckeditor/ckeditor5-table/commit/9f9486d))
207
207
 
208
- Other: `config.table.toolbar` is marked as depracted. Use `config.table.contentToolbar` instead.
208
+ Other: `config.table.toolbar` is marked as deprecated. Use `config.table.contentToolbar` instead.
209
209
  * Introduced a support for block content inside tables. Closes [#56](https://github.com/ckeditor/ckeditor5-table/issues/56). ([cdf718e](https://github.com/ckeditor/ckeditor5-table/commit/cdf718e))
210
210
 
211
211
  ### Bug fixes
212
212
 
213
213
  * A table cell should always have a `<paragraph>` in the model. Closes [#125](https://github.com/ckeditor/ckeditor5-table/issues/125). ([1eb5d6d](https://github.com/ckeditor/ckeditor5-table/commit/1eb5d6d))
214
214
  * Downcast converter for table attributes should work with not converted child elements. Closes [#92](https://github.com/ckeditor/ckeditor5-table/issues/92). ([a3ea18d](https://github.com/ckeditor/ckeditor5-table/commit/a3ea18d))
215
- * Merging down rowspanned cell from the head with a cell in the body is now disabled. Closes [#86](https://github.com/ckeditor/ckeditor5-table/issues/86). ([cb77e38](https://github.com/ckeditor/ckeditor5-table/commit/cb77e38))
215
+ * Merging down a row-spanned cell from the head with a cell in the body is now disabled. Closes [#86](https://github.com/ckeditor/ckeditor5-table/issues/86). ([cb77e38](https://github.com/ckeditor/ckeditor5-table/commit/cb77e38))
216
216
  * The upcast conversion will now properly parse inline content in table cell into single paragraph. Closes [ckeditor/ckeditor5#1246](https://github.com/ckeditor/ckeditor5/issues/1246). ([ea1e16d](https://github.com/ckeditor/ckeditor5-table/commit/ea1e16d))
217
217
  * Toggling headers should always include the column or row the selection is anchored to. Closes [#34](https://github.com/ckeditor/ckeditor5-table/issues/34). ([bce6766](https://github.com/ckeditor/ckeditor5-table/commit/bce6766))
218
218
 
package/LICENSE.md CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
2
2
  ==========================
3
3
 
4
4
  **CKEditor&nbsp;5 table feature** – https://github.com/ckeditor/ckeditor5-table <br>
5
- Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
5
+ Copyright (c) 2003–2024, [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