@ckeditor/ckeditor5-ui 39.0.1 → 40.0.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 (229) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/LICENSE.md +1 -1
  3. package/README.md +4 -4
  4. package/lang/contexts.json +5 -1
  5. package/lang/translations/ar.po +17 -0
  6. package/lang/translations/ast.po +17 -0
  7. package/lang/translations/az.po +17 -0
  8. package/lang/translations/bg.po +17 -0
  9. package/lang/translations/bn.po +17 -0
  10. package/lang/translations/ca.po +17 -0
  11. package/lang/translations/cs.po +17 -0
  12. package/lang/translations/da.po +17 -0
  13. package/lang/translations/de-ch.po +17 -0
  14. package/lang/translations/de.po +17 -0
  15. package/lang/translations/el.po +17 -0
  16. package/lang/translations/en-au.po +17 -0
  17. package/lang/translations/en-gb.po +17 -0
  18. package/lang/translations/en.po +17 -0
  19. package/lang/translations/eo.po +17 -0
  20. package/lang/translations/es.po +17 -0
  21. package/lang/translations/et.po +17 -0
  22. package/lang/translations/eu.po +17 -0
  23. package/lang/translations/fa.po +17 -0
  24. package/lang/translations/fi.po +17 -0
  25. package/lang/translations/fr.po +17 -0
  26. package/lang/translations/gl.po +17 -0
  27. package/lang/translations/he.po +17 -0
  28. package/lang/translations/hi.po +17 -0
  29. package/lang/translations/hr.po +17 -0
  30. package/lang/translations/hu.po +17 -0
  31. package/lang/translations/id.po +17 -0
  32. package/lang/translations/it.po +17 -0
  33. package/lang/translations/ja.po +17 -0
  34. package/lang/translations/km.po +17 -0
  35. package/lang/translations/kn.po +17 -0
  36. package/lang/translations/ko.po +17 -0
  37. package/lang/translations/ku.po +17 -0
  38. package/lang/translations/lt.po +17 -0
  39. package/lang/translations/lv.po +17 -0
  40. package/lang/translations/ms.po +17 -0
  41. package/lang/translations/nb.po +17 -0
  42. package/lang/translations/ne.po +17 -0
  43. package/lang/translations/nl.po +17 -0
  44. package/lang/translations/no.po +17 -0
  45. package/lang/translations/pl.po +17 -0
  46. package/lang/translations/pt-br.po +17 -0
  47. package/lang/translations/pt.po +17 -0
  48. package/lang/translations/ro.po +17 -0
  49. package/lang/translations/ru.po +17 -0
  50. package/lang/translations/sk.po +17 -0
  51. package/lang/translations/sl.po +17 -0
  52. package/lang/translations/sq.po +17 -0
  53. package/lang/translations/sr-latn.po +17 -0
  54. package/lang/translations/sr.po +17 -0
  55. package/lang/translations/sv.po +17 -0
  56. package/lang/translations/th.po +17 -0
  57. package/lang/translations/tk.po +17 -0
  58. package/lang/translations/tr.po +17 -0
  59. package/lang/translations/tt.po +17 -0
  60. package/lang/translations/ug.po +17 -0
  61. package/lang/translations/uk.po +17 -0
  62. package/lang/translations/ur.po +17 -0
  63. package/lang/translations/uz.po +17 -0
  64. package/lang/translations/vi.po +17 -0
  65. package/lang/translations/zh-cn.po +17 -0
  66. package/lang/translations/zh.po +17 -0
  67. package/package.json +3 -7
  68. package/src/augmentation.d.ts +86 -86
  69. package/src/augmentation.js +5 -5
  70. package/src/autocomplete/autocompleteview.d.ts +81 -0
  71. package/src/autocomplete/autocompleteview.js +146 -0
  72. package/src/bindings/addkeyboardhandlingforgrid.d.ts +27 -27
  73. package/src/bindings/addkeyboardhandlingforgrid.js +107 -107
  74. package/src/bindings/clickoutsidehandler.d.ts +28 -28
  75. package/src/bindings/clickoutsidehandler.js +36 -36
  76. package/src/bindings/csstransitiondisablermixin.d.ts +40 -40
  77. package/src/bindings/csstransitiondisablermixin.js +55 -55
  78. package/src/bindings/injectcsstransitiondisabler.d.ts +59 -59
  79. package/src/bindings/injectcsstransitiondisabler.js +71 -71
  80. package/src/bindings/preventdefault.d.ts +33 -33
  81. package/src/bindings/preventdefault.js +34 -34
  82. package/src/bindings/submithandler.d.ts +57 -57
  83. package/src/bindings/submithandler.js +47 -47
  84. package/src/button/button.d.ts +178 -178
  85. package/src/button/button.js +5 -5
  86. package/src/button/buttonlabel.d.ts +34 -0
  87. package/src/button/buttonlabel.js +5 -0
  88. package/src/button/buttonlabelview.d.ts +31 -0
  89. package/src/button/buttonlabelview.js +42 -0
  90. package/src/button/buttonview.d.ts +185 -177
  91. package/src/button/buttonview.js +219 -231
  92. package/src/button/switchbuttonview.d.ts +45 -45
  93. package/src/button/switchbuttonview.js +75 -75
  94. package/src/colorgrid/colorgridview.d.ts +132 -132
  95. package/src/colorgrid/colorgridview.js +124 -124
  96. package/src/colorgrid/colortileview.d.ts +28 -28
  97. package/src/colorgrid/colortileview.js +40 -40
  98. package/src/colorgrid/utils.d.ts +47 -47
  99. package/src/colorgrid/utils.js +84 -84
  100. package/src/colorpicker/colorpickerview.d.ts +137 -137
  101. package/src/colorpicker/colorpickerview.js +270 -270
  102. package/src/colorpicker/utils.d.ts +43 -43
  103. package/src/colorpicker/utils.js +99 -99
  104. package/src/colorselector/colorgridsfragmentview.d.ts +194 -194
  105. package/src/colorselector/colorgridsfragmentview.js +289 -289
  106. package/src/colorselector/colorpickerfragmentview.d.ts +128 -128
  107. package/src/colorselector/colorpickerfragmentview.js +205 -205
  108. package/src/colorselector/colorselectorview.d.ts +242 -242
  109. package/src/colorselector/colorselectorview.js +256 -256
  110. package/src/colorselector/documentcolorcollection.d.ts +70 -70
  111. package/src/colorselector/documentcolorcollection.js +42 -42
  112. package/src/componentfactory.d.ts +81 -81
  113. package/src/componentfactory.js +104 -104
  114. package/src/dropdown/button/dropdownbutton.d.ts +25 -25
  115. package/src/dropdown/button/dropdownbutton.js +5 -5
  116. package/src/dropdown/button/dropdownbuttonview.d.ts +48 -48
  117. package/src/dropdown/button/dropdownbuttonview.js +66 -66
  118. package/src/dropdown/button/splitbuttonview.d.ts +161 -161
  119. package/src/dropdown/button/splitbuttonview.js +152 -152
  120. package/src/dropdown/dropdownpanelfocusable.d.ts +21 -21
  121. package/src/dropdown/dropdownpanelfocusable.js +5 -5
  122. package/src/dropdown/dropdownpanelview.d.ts +62 -62
  123. package/src/dropdown/dropdownpanelview.js +97 -97
  124. package/src/dropdown/dropdownview.d.ts +315 -315
  125. package/src/dropdown/dropdownview.js +379 -378
  126. package/src/dropdown/utils.d.ts +235 -221
  127. package/src/dropdown/utils.js +458 -437
  128. package/src/editableui/editableuiview.d.ts +72 -72
  129. package/src/editableui/editableuiview.js +112 -112
  130. package/src/editableui/inline/inlineeditableuiview.d.ts +40 -40
  131. package/src/editableui/inline/inlineeditableuiview.js +48 -48
  132. package/src/editorui/bodycollection.d.ts +55 -55
  133. package/src/editorui/bodycollection.js +84 -84
  134. package/src/editorui/boxed/boxededitoruiview.d.ts +40 -40
  135. package/src/editorui/boxed/boxededitoruiview.js +81 -81
  136. package/src/editorui/editorui.d.ts +282 -282
  137. package/src/editorui/editorui.js +410 -410
  138. package/src/editorui/editoruiview.d.ts +39 -39
  139. package/src/editorui/editoruiview.js +38 -38
  140. package/src/editorui/poweredby.d.ts +71 -71
  141. package/src/editorui/poweredby.js +276 -299
  142. package/src/focuscycler.d.ts +226 -183
  143. package/src/focuscycler.js +245 -220
  144. package/src/formheader/formheaderview.d.ts +59 -53
  145. package/src/formheader/formheaderview.js +69 -63
  146. package/src/highlightedtext/highlightedtextview.d.ts +38 -0
  147. package/src/highlightedtext/highlightedtextview.js +102 -0
  148. package/src/icon/iconview.d.ts +85 -78
  149. package/src/icon/iconview.js +114 -112
  150. package/src/iframe/iframeview.d.ts +50 -50
  151. package/src/iframe/iframeview.js +63 -63
  152. package/src/index.d.ts +73 -63
  153. package/src/index.js +70 -62
  154. package/src/input/inputbase.d.ts +107 -0
  155. package/src/input/inputbase.js +110 -0
  156. package/src/input/inputview.d.ts +36 -121
  157. package/src/input/inputview.js +24 -106
  158. package/src/inputnumber/inputnumberview.d.ts +49 -49
  159. package/src/inputnumber/inputnumberview.js +40 -40
  160. package/src/inputtext/inputtextview.d.ts +18 -18
  161. package/src/inputtext/inputtextview.js +27 -27
  162. package/src/label/labelview.d.ts +36 -36
  163. package/src/label/labelview.js +41 -41
  164. package/src/labeledfield/labeledfieldview.d.ts +187 -182
  165. package/src/labeledfield/labeledfieldview.js +157 -157
  166. package/src/labeledfield/utils.d.ts +123 -93
  167. package/src/labeledfield/utils.js +176 -131
  168. package/src/labeledinput/labeledinputview.d.ts +125 -125
  169. package/src/labeledinput/labeledinputview.js +125 -125
  170. package/src/list/listitemgroupview.d.ts +51 -0
  171. package/src/list/listitemgroupview.js +75 -0
  172. package/src/list/listitemview.d.ts +36 -35
  173. package/src/list/listitemview.js +42 -40
  174. package/src/list/listseparatorview.d.ts +18 -18
  175. package/src/list/listseparatorview.js +28 -28
  176. package/src/list/listview.d.ts +122 -65
  177. package/src/list/listview.js +187 -90
  178. package/src/model.d.ts +22 -22
  179. package/src/model.js +31 -31
  180. package/src/notification/notification.d.ts +211 -211
  181. package/src/notification/notification.js +187 -187
  182. package/src/panel/balloon/balloonpanelview.d.ts +685 -685
  183. package/src/panel/balloon/balloonpanelview.js +1010 -988
  184. package/src/panel/balloon/contextualballoon.d.ts +299 -299
  185. package/src/panel/balloon/contextualballoon.js +572 -572
  186. package/src/panel/sticky/stickypanelview.d.ts +156 -158
  187. package/src/panel/sticky/stickypanelview.js +234 -231
  188. package/src/search/filteredview.d.ts +31 -0
  189. package/src/search/filteredview.js +5 -0
  190. package/src/search/searchinfoview.d.ts +45 -0
  191. package/src/search/searchinfoview.js +59 -0
  192. package/src/search/searchresultsview.d.ts +54 -0
  193. package/src/search/searchresultsview.js +65 -0
  194. package/src/search/text/searchtextqueryview.d.ts +76 -0
  195. package/src/search/text/searchtextqueryview.js +75 -0
  196. package/src/search/text/searchtextview.d.ts +219 -0
  197. package/src/search/text/searchtextview.js +201 -0
  198. package/src/spinner/spinnerview.d.ts +25 -0
  199. package/src/spinner/spinnerview.js +38 -0
  200. package/src/template.d.ts +942 -942
  201. package/src/template.js +1294 -1294
  202. package/src/textarea/textareaview.d.ts +88 -0
  203. package/src/textarea/textareaview.js +140 -0
  204. package/src/toolbar/balloon/balloontoolbar.d.ts +122 -122
  205. package/src/toolbar/balloon/balloontoolbar.js +300 -300
  206. package/src/toolbar/block/blockbuttonview.d.ts +35 -35
  207. package/src/toolbar/block/blockbuttonview.js +41 -41
  208. package/src/toolbar/block/blocktoolbar.d.ts +161 -161
  209. package/src/toolbar/block/blocktoolbar.js +395 -391
  210. package/src/toolbar/normalizetoolbarconfig.d.ts +40 -39
  211. package/src/toolbar/normalizetoolbarconfig.js +51 -51
  212. package/src/toolbar/toolbarlinebreakview.d.ts +18 -18
  213. package/src/toolbar/toolbarlinebreakview.js +28 -28
  214. package/src/toolbar/toolbarseparatorview.d.ts +18 -18
  215. package/src/toolbar/toolbarseparatorview.js +28 -28
  216. package/src/toolbar/toolbarview.d.ts +266 -265
  217. package/src/toolbar/toolbarview.js +719 -717
  218. package/src/tooltipmanager.d.ts +180 -180
  219. package/src/tooltipmanager.js +353 -353
  220. package/src/view.d.ts +422 -422
  221. package/src/view.js +396 -396
  222. package/src/viewcollection.d.ts +139 -139
  223. package/src/viewcollection.js +206 -206
  224. package/theme/components/autocomplete/autocomplete.css +22 -0
  225. package/theme/components/formheader/formheader.css +8 -0
  226. package/theme/components/highlightedtext/highlightedtext.css +12 -0
  227. package/theme/components/search/search.css +43 -0
  228. package/theme/components/spinner/spinner.css +23 -0
  229. package/theme/components/textarea/textarea.css +10 -0
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Turkmen (https://app.transifex.com/ckeditor/teams/11143/tk/)\n"
16
16
  "Language: tk\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Title of the CKEditor5 editor."
20
21
  msgid "Rich Text Editor"
@@ -28,6 +29,14 @@ msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to e
28
29
  msgid "Edit block"
29
30
  msgstr "Bloky redaktirläň"
30
31
 
32
+ msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
33
+ msgid "Click to edit block"
34
+ msgstr ""
35
+
36
+ msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
37
+ msgid "Drag to move"
38
+ msgstr ""
39
+
31
40
  msgctxt "Label for a button showing the next thing (tab, page, etc.)."
32
41
  msgid "Next"
33
42
  msgstr "Indiki"
@@ -119,3 +128,11 @@ msgstr ""
119
128
  msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
129
  msgid "Accept"
121
130
  msgstr ""
131
+
132
+ msgctxt "The main text of the message shown to the user when given query does not match any results."
133
+ msgid "No results found"
134
+ msgstr ""
135
+
136
+ msgctxt "The main text of the message shown to the user when no results are available."
137
+ msgid "No searchable items"
138
+ msgstr ""
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
16
16
  "Language: tr\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Title of the CKEditor5 editor."
20
21
  msgid "Rich Text Editor"
@@ -28,6 +29,14 @@ msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to e
28
29
  msgid "Edit block"
29
30
  msgstr "Bloğu Düzenle"
30
31
 
32
+ msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
33
+ msgid "Click to edit block"
34
+ msgstr "Bloğu düzenlemek için tıkla"
35
+
36
+ msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
37
+ msgid "Drag to move"
38
+ msgstr "Taşımak için sürükle"
39
+
31
40
  msgctxt "Label for a button showing the next thing (tab, page, etc.)."
32
41
  msgid "Next"
33
42
  msgstr "Sonraki"
@@ -119,3 +128,11 @@ msgstr "ONALTILIK"
119
128
  msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
129
  msgid "Accept"
121
130
  msgstr "Kabul et"
131
+
132
+ msgctxt "The main text of the message shown to the user when given query does not match any results."
133
+ msgid "No results found"
134
+ msgstr "Sonuç bulunamadı"
135
+
136
+ msgctxt "The main text of the message shown to the user when no results are available."
137
+ msgid "No searchable items"
138
+ msgstr "Aranabilir öge yok"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Tatar (https://app.transifex.com/ckeditor/teams/11143/tt/)\n"
16
16
  "Language: tt\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Title of the CKEditor5 editor."
20
21
  msgid "Rich Text Editor"
@@ -28,6 +29,14 @@ msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to e
28
29
  msgid "Edit block"
29
30
  msgstr ""
30
31
 
32
+ msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
33
+ msgid "Click to edit block"
34
+ msgstr ""
35
+
36
+ msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
37
+ msgid "Drag to move"
38
+ msgstr ""
39
+
31
40
  msgctxt "Label for a button showing the next thing (tab, page, etc.)."
32
41
  msgid "Next"
33
42
  msgstr ""
@@ -119,3 +128,11 @@ msgstr ""
119
128
  msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
129
  msgid "Accept"
121
130
  msgstr ""
131
+
132
+ msgctxt "The main text of the message shown to the user when given query does not match any results."
133
+ msgid "No results found"
134
+ msgstr ""
135
+
136
+ msgctxt "The main text of the message shown to the user when no results are available."
137
+ msgid "No searchable items"
138
+ msgstr ""
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n"
16
16
  "Language: ug\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Title of the CKEditor5 editor."
20
21
  msgid "Rich Text Editor"
@@ -28,6 +29,14 @@ msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to e
28
29
  msgid "Edit block"
29
30
  msgstr ""
30
31
 
32
+ msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
33
+ msgid "Click to edit block"
34
+ msgstr ""
35
+
36
+ msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
37
+ msgid "Drag to move"
38
+ msgstr ""
39
+
31
40
  msgctxt "Label for a button showing the next thing (tab, page, etc.)."
32
41
  msgid "Next"
33
42
  msgstr ""
@@ -119,3 +128,11 @@ msgstr ""
119
128
  msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
129
  msgid "Accept"
121
130
  msgstr "قوشۇل"
131
+
132
+ msgctxt "The main text of the message shown to the user when given query does not match any results."
133
+ msgid "No results found"
134
+ msgstr ""
135
+
136
+ msgctxt "The main text of the message shown to the user when no results are available."
137
+ msgid "No searchable items"
138
+ msgstr ""
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
16
16
  "Language: uk\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Title of the CKEditor5 editor."
20
21
  msgid "Rich Text Editor"
@@ -28,6 +29,14 @@ msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to e
28
29
  msgid "Edit block"
29
30
  msgstr "Редагувати блок"
30
31
 
32
+ msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
33
+ msgid "Click to edit block"
34
+ msgstr "Клацніть, щоб редагувати блок"
35
+
36
+ msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
37
+ msgid "Drag to move"
38
+ msgstr "Потягніть, щоб перемістити"
39
+
31
40
  msgctxt "Label for a button showing the next thing (tab, page, etc.)."
32
41
  msgid "Next"
33
42
  msgstr "Наступний"
@@ -119,3 +128,11 @@ msgstr "Шістнадцятковий"
119
128
  msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
129
  msgid "Accept"
121
130
  msgstr "Прийняти"
131
+
132
+ msgctxt "The main text of the message shown to the user when given query does not match any results."
133
+ msgid "No results found"
134
+ msgstr "Нічого не знайдено"
135
+
136
+ msgctxt "The main text of the message shown to the user when no results are available."
137
+ msgid "No searchable items"
138
+ msgstr "Немає шуканих об'єктів"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n"
16
16
  "Language: ur\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Title of the CKEditor5 editor."
20
21
  msgid "Rich Text Editor"
@@ -28,6 +29,14 @@ msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to e
28
29
  msgid "Edit block"
29
30
  msgstr "خانہ کی تدوین"
30
31
 
32
+ msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
33
+ msgid "Click to edit block"
34
+ msgstr ""
35
+
36
+ msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
37
+ msgid "Drag to move"
38
+ msgstr ""
39
+
31
40
  msgctxt "Label for a button showing the next thing (tab, page, etc.)."
32
41
  msgid "Next"
33
42
  msgstr "اگلا"
@@ -119,3 +128,11 @@ msgstr ""
119
128
  msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
129
  msgid "Accept"
121
130
  msgstr ""
131
+
132
+ msgctxt "The main text of the message shown to the user when given query does not match any results."
133
+ msgid "No results found"
134
+ msgstr ""
135
+
136
+ msgctxt "The main text of the message shown to the user when no results are available."
137
+ msgid "No searchable items"
138
+ msgstr ""
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Uzbek (https://app.transifex.com/ckeditor/teams/11143/uz/)\n"
16
16
  "Language: uz\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Title of the CKEditor5 editor."
20
21
  msgid "Rich Text Editor"
@@ -28,6 +29,14 @@ msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to e
28
29
  msgid "Edit block"
29
30
  msgstr "Blokni tahrirlash"
30
31
 
32
+ msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
33
+ msgid "Click to edit block"
34
+ msgstr ""
35
+
36
+ msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
37
+ msgid "Drag to move"
38
+ msgstr ""
39
+
31
40
  msgctxt "Label for a button showing the next thing (tab, page, etc.)."
32
41
  msgid "Next"
33
42
  msgstr "Keyingi"
@@ -119,3 +128,11 @@ msgstr ""
119
128
  msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
129
  msgid "Accept"
121
130
  msgstr ""
131
+
132
+ msgctxt "The main text of the message shown to the user when given query does not match any results."
133
+ msgid "No results found"
134
+ msgstr ""
135
+
136
+ msgctxt "The main text of the message shown to the user when no results are available."
137
+ msgid "No searchable items"
138
+ msgstr ""
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
16
16
  "Language: vi\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Title of the CKEditor5 editor."
20
21
  msgid "Rich Text Editor"
@@ -28,6 +29,14 @@ msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to e
28
29
  msgid "Edit block"
29
30
  msgstr "Chỉnh sửa đoạn"
30
31
 
32
+ msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
33
+ msgid "Click to edit block"
34
+ msgstr "Nhấp để sửa khối"
35
+
36
+ msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
37
+ msgid "Drag to move"
38
+ msgstr "Kéo để di chuyển"
39
+
31
40
  msgctxt "Label for a button showing the next thing (tab, page, etc.)."
32
41
  msgid "Next"
33
42
  msgstr "Tiếp theo"
@@ -119,3 +128,11 @@ msgstr "HEX"
119
128
  msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
129
  msgid "Accept"
121
130
  msgstr "Chấp nhận"
131
+
132
+ msgctxt "The main text of the message shown to the user when given query does not match any results."
133
+ msgid "No results found"
134
+ msgstr "Không tìm thấy kết quả"
135
+
136
+ msgctxt "The main text of the message shown to the user when no results are available."
137
+ msgid "No searchable items"
138
+ msgstr "Không có mục nào tìm kiếm được"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
16
16
  "Language: zh_CN\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Title of the CKEditor5 editor."
20
21
  msgid "Rich Text Editor"
@@ -28,6 +29,14 @@ msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to e
28
29
  msgid "Edit block"
29
30
  msgstr "编辑框"
30
31
 
32
+ msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
33
+ msgid "Click to edit block"
34
+ msgstr "单击以编辑块"
35
+
36
+ msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
37
+ msgid "Drag to move"
38
+ msgstr "拖拽以移动"
39
+
31
40
  msgctxt "Label for a button showing the next thing (tab, page, etc.)."
32
41
  msgid "Next"
33
42
  msgstr "下一步"
@@ -119,3 +128,11 @@ msgstr "十六进制"
119
128
  msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
129
  msgid "Accept"
121
130
  msgstr "接受"
131
+
132
+ msgctxt "The main text of the message shown to the user when given query does not match any results."
133
+ msgid "No results found"
134
+ msgstr "未找到结果"
135
+
136
+ msgctxt "The main text of the message shown to the user when no results are available."
137
+ msgid "No searchable items"
138
+ msgstr "没有可搜索的项目"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
16
16
  "Language: zh_TW\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Title of the CKEditor5 editor."
20
21
  msgid "Rich Text Editor"
@@ -28,6 +29,14 @@ msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to e
28
29
  msgid "Edit block"
29
30
  msgstr "編輯區塊"
30
31
 
32
+ msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
33
+ msgid "Click to edit block"
34
+ msgstr "點擊來編輯區塊"
35
+
36
+ msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)"
37
+ msgid "Drag to move"
38
+ msgstr "拖曳來移動"
39
+
31
40
  msgctxt "Label for a button showing the next thing (tab, page, etc.)."
32
41
  msgid "Next"
33
42
  msgstr "下一"
@@ -119,3 +128,11 @@ msgstr "十六進位"
119
128
  msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component."
120
129
  msgid "Accept"
121
130
  msgstr "接受"
131
+
132
+ msgctxt "The main text of the message shown to the user when given query does not match any results."
133
+ msgid "No results found"
134
+ msgstr "找不到結果"
135
+
136
+ msgctxt "The main text of the message shown to the user when no results are available."
137
+ msgid "No searchable items"
138
+ msgstr "沒有可搜尋的項目"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ui",
3
- "version": "39.0.1",
3
+ "version": "40.0.0",
4
4
  "description": "The UI framework and standard UI library of CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -11,17 +11,13 @@
11
11
  ],
12
12
  "main": "src/index.js",
13
13
  "dependencies": {
14
- "@ckeditor/ckeditor5-core": "39.0.1",
15
- "@ckeditor/ckeditor5-utils": "39.0.1",
14
+ "@ckeditor/ckeditor5-core": "40.0.0",
15
+ "@ckeditor/ckeditor5-utils": "40.0.0",
16
16
  "color-convert": "2.0.1",
17
17
  "color-parse": "1.4.2",
18
18
  "lodash-es": "4.17.21",
19
19
  "vanilla-colorful": "0.7.2"
20
20
  },
21
- "engines": {
22
- "node": ">=16.0.0",
23
- "npm": ">=5.7.1"
24
- },
25
21
  "author": "CKSource (http://cksource.com/)",
26
22
  "license": "GPL-2.0-or-later",
27
23
  "homepage": "https://ckeditor.com/ckeditor-5",
@@ -1,86 +1,86 @@
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 { BalloonToolbar, BlockToolbar, ContextualBalloon, Notification } from './index';
6
- import type { ToolbarConfig } from '@ckeditor/ckeditor5-core';
7
- declare module '@ckeditor/ckeditor5-core' {
8
- interface EditorConfig {
9
- /**
10
- * Contextual toolbar configuration. Used by the {@link module:ui/toolbar/balloon/balloontoolbar~BalloonToolbar}
11
- * feature.
12
- *
13
- * ## Configuring toolbar items
14
- *
15
- * ```ts
16
- * const config = {
17
- * balloonToolbar: [ 'bold', 'italic', 'undo', 'redo' ]
18
- * };
19
- * ```
20
- *
21
- * You can also use `'|'` to create a separator between groups of items:
22
- *
23
- * ```ts
24
- * const config = {
25
- * balloonToolbar: [ 'bold', 'italic', '|', 'undo', 'redo' ]
26
- * };
27
- * ```
28
- *
29
- * Read also about configuring the main editor toolbar in {@link module:core/editor/editorconfig~EditorConfig#toolbar}.
30
- *
31
- * ## Configuring items grouping
32
- *
33
- * You can prevent automatic items grouping by setting the `shouldNotGroupWhenFull` option:
34
- *
35
- * ```ts
36
- * const config = {
37
- * balloonToolbar: {
38
- * items: [ 'bold', 'italic', 'undo', 'redo' ],
39
- * shouldNotGroupWhenFull: true
40
- * },
41
- * };
42
- * ```
43
- */
44
- balloonToolbar?: ToolbarConfig;
45
- /**
46
- * The block toolbar configuration. Used by the {@link module:ui/toolbar/block/blocktoolbar~BlockToolbar}
47
- * feature.
48
- *
49
- * ```ts
50
- * const config = {
51
- * blockToolbar: [ 'paragraph', 'heading1', 'heading2', 'bulletedList', 'numberedList' ]
52
- * };
53
- * ```
54
- *
55
- * You can also use `'|'` to create a separator between groups of items:
56
- *
57
- * ```ts
58
- * const config = {
59
- * blockToolbar: [ 'paragraph', 'heading1', 'heading2', '|', 'bulletedList', 'numberedList' ]
60
- * };
61
- * ```
62
- *
63
- * ## Configuring items grouping
64
- *
65
- * You can prevent automatic items grouping by setting the `shouldNotGroupWhenFull` option:
66
- *
67
- * ```ts
68
- * const config = {
69
- * blockToolbar: {
70
- * items: [ 'paragraph', 'heading1', 'heading2', '|', 'bulletedList', 'numberedList' ],
71
- * shouldNotGroupWhenFull: true
72
- * },
73
- * };
74
- * ```
75
- *
76
- * Read more about configuring the main editor toolbar in {@link module:core/editor/editorconfig~EditorConfig#toolbar}.
77
- */
78
- blockToolbar?: ToolbarConfig;
79
- }
80
- interface PluginsMap {
81
- [BalloonToolbar.pluginName]: BalloonToolbar;
82
- [BlockToolbar.pluginName]: BlockToolbar;
83
- [ContextualBalloon.pluginName]: ContextualBalloon;
84
- [Notification.pluginName]: Notification;
85
- }
86
- }
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 { BalloonToolbar, BlockToolbar, ContextualBalloon, Notification } from './index';
6
+ import type { ToolbarConfig } from '@ckeditor/ckeditor5-core';
7
+ declare module '@ckeditor/ckeditor5-core' {
8
+ interface EditorConfig {
9
+ /**
10
+ * Contextual toolbar configuration. Used by the {@link module:ui/toolbar/balloon/balloontoolbar~BalloonToolbar}
11
+ * feature.
12
+ *
13
+ * ## Configuring toolbar items
14
+ *
15
+ * ```ts
16
+ * const config = {
17
+ * balloonToolbar: [ 'bold', 'italic', 'undo', 'redo' ]
18
+ * };
19
+ * ```
20
+ *
21
+ * You can also use `'|'` to create a separator between groups of items:
22
+ *
23
+ * ```ts
24
+ * const config = {
25
+ * balloonToolbar: [ 'bold', 'italic', '|', 'undo', 'redo' ]
26
+ * };
27
+ * ```
28
+ *
29
+ * Read also about configuring the main editor toolbar in {@link module:core/editor/editorconfig~EditorConfig#toolbar}.
30
+ *
31
+ * ## Configuring items grouping
32
+ *
33
+ * You can prevent automatic items grouping by setting the `shouldNotGroupWhenFull` option:
34
+ *
35
+ * ```ts
36
+ * const config = {
37
+ * balloonToolbar: {
38
+ * items: [ 'bold', 'italic', 'undo', 'redo' ],
39
+ * shouldNotGroupWhenFull: true
40
+ * },
41
+ * };
42
+ * ```
43
+ */
44
+ balloonToolbar?: ToolbarConfig;
45
+ /**
46
+ * The block toolbar configuration. Used by the {@link module:ui/toolbar/block/blocktoolbar~BlockToolbar}
47
+ * feature.
48
+ *
49
+ * ```ts
50
+ * const config = {
51
+ * blockToolbar: [ 'paragraph', 'heading1', 'heading2', 'bulletedList', 'numberedList' ]
52
+ * };
53
+ * ```
54
+ *
55
+ * You can also use `'|'` to create a separator between groups of items:
56
+ *
57
+ * ```ts
58
+ * const config = {
59
+ * blockToolbar: [ 'paragraph', 'heading1', 'heading2', '|', 'bulletedList', 'numberedList' ]
60
+ * };
61
+ * ```
62
+ *
63
+ * ## Configuring items grouping
64
+ *
65
+ * You can prevent automatic items grouping by setting the `shouldNotGroupWhenFull` option:
66
+ *
67
+ * ```ts
68
+ * const config = {
69
+ * blockToolbar: {
70
+ * items: [ 'paragraph', 'heading1', 'heading2', '|', 'bulletedList', 'numberedList' ],
71
+ * shouldNotGroupWhenFull: true
72
+ * },
73
+ * };
74
+ * ```
75
+ *
76
+ * Read more about configuring the main editor toolbar in {@link module:core/editor/editorconfig~EditorConfig#toolbar}.
77
+ */
78
+ blockToolbar?: ToolbarConfig;
79
+ }
80
+ interface PluginsMap {
81
+ [BalloonToolbar.pluginName]: BalloonToolbar;
82
+ [BlockToolbar.pluginName]: BlockToolbar;
83
+ [ContextualBalloon.pluginName]: ContextualBalloon;
84
+ [Notification.pluginName]: Notification;
85
+ }
86
+ }
@@ -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 {};
@@ -0,0 +1,81 @@
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 ui/autocomplete/autocompleteview
7
+ */
8
+ import { type PositioningFunction, type Locale } from '@ckeditor/ckeditor5-utils';
9
+ import SearchTextView, { type SearchTextViewConfig } from '../search/text/searchtextview';
10
+ import type SearchResultsView from '../search/searchresultsview';
11
+ import type InputBase from '../input/inputbase';
12
+ import '../../theme/components/autocomplete/autocomplete.css';
13
+ /**
14
+ * The autocomplete component's view class. It extends the {@link module:ui/search/text/searchtextview~SearchTextView} class
15
+ * with a floating {@link #resultsView} that shows up when the user starts typing and hides when they blur
16
+ * the component.
17
+ */
18
+ export default class AutocompleteView<TQueryFieldView extends InputBase<HTMLInputElement | HTMLTextAreaElement>> extends SearchTextView<TQueryFieldView> {
19
+ /**
20
+ * The configuration of the autocomplete view.
21
+ */
22
+ protected _config: AutocompleteViewConfig<TQueryFieldView>;
23
+ resultsView: AutocompleteResultsView;
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ constructor(locale: Locale, config: AutocompleteViewConfig<TQueryFieldView>);
28
+ /**
29
+ * Updates the position of the results view on demand.
30
+ */
31
+ private _updateResultsViewWidthAndPosition;
32
+ /**
33
+ * Updates the visibility of the results view on demand.
34
+ */
35
+ private _updateResultsVisibility;
36
+ /**
37
+ * Positions for the autocomplete results view. Two positions are defined by default:
38
+ * * `s` - below the search field,
39
+ * * `n` - above the search field.
40
+ */
41
+ static defaultResultsPositions: Array<PositioningFunction>;
42
+ /**
43
+ * A function used to calculate the optimal position for the dropdown panel.
44
+ */
45
+ private static _getOptimalPosition;
46
+ }
47
+ /**
48
+ * An interface describing additional properties of the floating search results view used by the autocomplete plugin.
49
+ */
50
+ export interface AutocompleteResultsView extends SearchResultsView {
51
+ /**
52
+ * Controls the visibility of the results view.
53
+ *
54
+ * @observable
55
+ */
56
+ isVisible: boolean;
57
+ /**
58
+ * Controls the position (CSS class suffix) of the results view.
59
+ *
60
+ * @internal
61
+ */
62
+ _position?: string;
63
+ /**
64
+ * The observable property determining the CSS width of the results view.
65
+ *
66
+ * @internal
67
+ */
68
+ _width: number;
69
+ }
70
+ export interface AutocompleteViewConfig<TConfigInputCreator extends InputBase<HTMLInputElement | HTMLTextAreaElement>> extends SearchTextViewConfig<TConfigInputCreator> {
71
+ /**
72
+ * When set `true`, the query view will be reset when the autocomplete view loses focus.
73
+ */
74
+ resetOnBlur?: boolean;
75
+ /**
76
+ * Minimum number of characters that need to be typed before the search is performed.
77
+ *
78
+ * @default 0
79
+ */
80
+ queryMinChars?: number;
81
+ }