@ckeditor/ckeditor5-ui 44.1.0 → 44.2.0-alpha.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 (689) hide show
  1. package/LICENSE.md +1 -1
  2. package/dist/index-content.css +2 -2
  3. package/dist/index-editor.css +2 -2
  4. package/dist/index.css +51 -51
  5. package/dist/index.css.map +1 -1
  6. package/dist/index.js +63 -25
  7. package/dist/index.js.map +1 -1
  8. package/dist/translations/af.d.ts +2 -2
  9. package/dist/translations/af.js +2 -2
  10. package/dist/translations/af.umd.js +2 -2
  11. package/dist/translations/ar.d.ts +2 -2
  12. package/dist/translations/ar.js +2 -2
  13. package/dist/translations/ar.umd.js +2 -2
  14. package/dist/translations/ast.d.ts +2 -2
  15. package/dist/translations/ast.js +2 -2
  16. package/dist/translations/ast.umd.js +2 -2
  17. package/dist/translations/az.d.ts +2 -2
  18. package/dist/translations/az.js +2 -2
  19. package/dist/translations/az.umd.js +2 -2
  20. package/dist/translations/bg.d.ts +2 -2
  21. package/dist/translations/bg.js +2 -2
  22. package/dist/translations/bg.umd.js +2 -2
  23. package/dist/translations/bn.d.ts +2 -2
  24. package/dist/translations/bn.js +2 -2
  25. package/dist/translations/bn.umd.js +2 -2
  26. package/dist/translations/bs.d.ts +2 -2
  27. package/dist/translations/bs.js +2 -2
  28. package/dist/translations/bs.umd.js +2 -2
  29. package/dist/translations/ca.d.ts +2 -2
  30. package/dist/translations/ca.js +2 -2
  31. package/dist/translations/ca.umd.js +2 -2
  32. package/dist/translations/cs.d.ts +2 -2
  33. package/dist/translations/cs.js +2 -2
  34. package/dist/translations/cs.umd.js +2 -2
  35. package/dist/translations/da.d.ts +2 -2
  36. package/dist/translations/da.js +2 -2
  37. package/dist/translations/da.umd.js +2 -2
  38. package/dist/translations/de-ch.d.ts +2 -2
  39. package/dist/translations/de-ch.js +2 -2
  40. package/dist/translations/de-ch.umd.js +2 -2
  41. package/dist/translations/de.d.ts +2 -2
  42. package/dist/translations/de.js +2 -2
  43. package/dist/translations/de.umd.js +2 -2
  44. package/dist/translations/el.d.ts +2 -2
  45. package/dist/translations/el.js +2 -2
  46. package/dist/translations/el.umd.js +2 -2
  47. package/dist/translations/en-au.d.ts +2 -2
  48. package/dist/translations/en-au.js +2 -2
  49. package/dist/translations/en-au.umd.js +2 -2
  50. package/dist/translations/en-gb.d.ts +2 -2
  51. package/dist/translations/en-gb.js +2 -2
  52. package/dist/translations/en-gb.umd.js +2 -2
  53. package/dist/translations/en.d.ts +2 -2
  54. package/dist/translations/en.js +2 -2
  55. package/dist/translations/en.umd.js +2 -2
  56. package/dist/translations/eo.d.ts +2 -2
  57. package/dist/translations/eo.js +2 -2
  58. package/dist/translations/eo.umd.js +2 -2
  59. package/dist/translations/es-co.d.ts +2 -2
  60. package/dist/translations/es-co.js +2 -2
  61. package/dist/translations/es-co.umd.js +2 -2
  62. package/dist/translations/es.d.ts +2 -2
  63. package/dist/translations/es.js +2 -2
  64. package/dist/translations/es.umd.js +2 -2
  65. package/dist/translations/et.d.ts +2 -2
  66. package/dist/translations/et.js +2 -2
  67. package/dist/translations/et.umd.js +2 -2
  68. package/dist/translations/eu.d.ts +2 -2
  69. package/dist/translations/eu.js +2 -2
  70. package/dist/translations/eu.umd.js +2 -2
  71. package/dist/translations/fa.d.ts +2 -2
  72. package/dist/translations/fa.js +2 -2
  73. package/dist/translations/fa.umd.js +2 -2
  74. package/dist/translations/fi.d.ts +2 -2
  75. package/dist/translations/fi.js +2 -2
  76. package/dist/translations/fi.umd.js +2 -2
  77. package/dist/translations/fr.d.ts +2 -2
  78. package/dist/translations/fr.js +2 -2
  79. package/dist/translations/fr.umd.js +2 -2
  80. package/dist/translations/gl.d.ts +2 -2
  81. package/dist/translations/gl.js +2 -2
  82. package/dist/translations/gl.umd.js +2 -2
  83. package/dist/translations/gu.d.ts +2 -2
  84. package/dist/translations/gu.js +2 -2
  85. package/dist/translations/gu.umd.js +2 -2
  86. package/dist/translations/he.d.ts +2 -2
  87. package/dist/translations/he.js +2 -2
  88. package/dist/translations/he.umd.js +2 -2
  89. package/dist/translations/hi.d.ts +2 -2
  90. package/dist/translations/hi.js +2 -2
  91. package/dist/translations/hi.umd.js +2 -2
  92. package/dist/translations/hr.d.ts +2 -2
  93. package/dist/translations/hr.js +2 -2
  94. package/dist/translations/hr.umd.js +2 -2
  95. package/dist/translations/hu.d.ts +2 -2
  96. package/dist/translations/hu.js +2 -2
  97. package/dist/translations/hu.umd.js +2 -2
  98. package/dist/translations/hy.d.ts +2 -2
  99. package/dist/translations/hy.js +2 -2
  100. package/dist/translations/hy.umd.js +2 -2
  101. package/dist/translations/id.d.ts +2 -2
  102. package/dist/translations/id.js +2 -2
  103. package/dist/translations/id.umd.js +2 -2
  104. package/dist/translations/it.d.ts +2 -2
  105. package/dist/translations/it.js +2 -2
  106. package/dist/translations/it.umd.js +2 -2
  107. package/dist/translations/ja.d.ts +2 -2
  108. package/dist/translations/ja.js +2 -2
  109. package/dist/translations/ja.umd.js +2 -2
  110. package/dist/translations/jv.d.ts +2 -2
  111. package/dist/translations/jv.js +2 -2
  112. package/dist/translations/jv.umd.js +2 -2
  113. package/dist/translations/kk.d.ts +2 -2
  114. package/dist/translations/kk.js +2 -2
  115. package/dist/translations/kk.umd.js +2 -2
  116. package/dist/translations/km.d.ts +2 -2
  117. package/dist/translations/km.js +2 -2
  118. package/dist/translations/km.umd.js +2 -2
  119. package/dist/translations/kn.d.ts +2 -2
  120. package/dist/translations/kn.js +2 -2
  121. package/dist/translations/kn.umd.js +2 -2
  122. package/dist/translations/ko.d.ts +2 -2
  123. package/dist/translations/ko.js +2 -2
  124. package/dist/translations/ko.umd.js +2 -2
  125. package/dist/translations/ku.d.ts +2 -2
  126. package/dist/translations/ku.js +2 -2
  127. package/dist/translations/ku.umd.js +2 -2
  128. package/dist/translations/lt.d.ts +2 -2
  129. package/dist/translations/lt.js +2 -2
  130. package/dist/translations/lt.umd.js +2 -2
  131. package/dist/translations/lv.d.ts +2 -2
  132. package/dist/translations/lv.js +2 -2
  133. package/dist/translations/lv.umd.js +2 -2
  134. package/dist/translations/ms.d.ts +2 -2
  135. package/dist/translations/ms.js +2 -2
  136. package/dist/translations/ms.umd.js +2 -2
  137. package/dist/translations/nb.d.ts +2 -2
  138. package/dist/translations/nb.js +2 -2
  139. package/dist/translations/nb.umd.js +2 -2
  140. package/dist/translations/ne.d.ts +2 -2
  141. package/dist/translations/ne.js +2 -2
  142. package/dist/translations/ne.umd.js +2 -2
  143. package/dist/translations/nl.d.ts +2 -2
  144. package/dist/translations/nl.js +2 -2
  145. package/dist/translations/nl.umd.js +2 -2
  146. package/dist/translations/no.d.ts +2 -2
  147. package/dist/translations/no.js +2 -2
  148. package/dist/translations/no.umd.js +2 -2
  149. package/dist/translations/oc.d.ts +2 -2
  150. package/dist/translations/oc.js +2 -2
  151. package/dist/translations/oc.umd.js +2 -2
  152. package/dist/translations/pl.d.ts +2 -2
  153. package/dist/translations/pl.js +2 -2
  154. package/dist/translations/pl.umd.js +2 -2
  155. package/dist/translations/pt-br.d.ts +2 -2
  156. package/dist/translations/pt-br.js +2 -2
  157. package/dist/translations/pt-br.umd.js +2 -2
  158. package/dist/translations/pt.d.ts +2 -2
  159. package/dist/translations/pt.js +2 -2
  160. package/dist/translations/pt.umd.js +2 -2
  161. package/dist/translations/ro.d.ts +2 -2
  162. package/dist/translations/ro.js +2 -2
  163. package/dist/translations/ro.umd.js +2 -2
  164. package/dist/translations/ru.d.ts +2 -2
  165. package/dist/translations/ru.js +2 -2
  166. package/dist/translations/ru.umd.js +2 -2
  167. package/dist/translations/si.d.ts +2 -2
  168. package/dist/translations/si.js +2 -2
  169. package/dist/translations/si.umd.js +2 -2
  170. package/dist/translations/sk.d.ts +2 -2
  171. package/dist/translations/sk.js +2 -2
  172. package/dist/translations/sk.umd.js +2 -2
  173. package/dist/translations/sl.d.ts +2 -2
  174. package/dist/translations/sl.js +2 -2
  175. package/dist/translations/sl.umd.js +2 -2
  176. package/dist/translations/sq.d.ts +2 -2
  177. package/dist/translations/sq.js +2 -2
  178. package/dist/translations/sq.umd.js +2 -2
  179. package/dist/translations/sr-latn.d.ts +2 -2
  180. package/dist/translations/sr-latn.js +2 -2
  181. package/dist/translations/sr-latn.umd.js +2 -2
  182. package/dist/translations/sr.d.ts +2 -2
  183. package/dist/translations/sr.js +2 -2
  184. package/dist/translations/sr.umd.js +2 -2
  185. package/dist/translations/sv.d.ts +2 -2
  186. package/dist/translations/sv.js +2 -2
  187. package/dist/translations/sv.umd.js +2 -2
  188. package/dist/translations/th.d.ts +2 -2
  189. package/dist/translations/th.js +2 -2
  190. package/dist/translations/th.umd.js +2 -2
  191. package/dist/translations/ti.d.ts +2 -2
  192. package/dist/translations/ti.js +2 -2
  193. package/dist/translations/ti.umd.js +2 -2
  194. package/dist/translations/tk.d.ts +2 -2
  195. package/dist/translations/tk.js +2 -2
  196. package/dist/translations/tk.umd.js +2 -2
  197. package/dist/translations/tr.d.ts +2 -2
  198. package/dist/translations/tr.js +2 -2
  199. package/dist/translations/tr.umd.js +2 -2
  200. package/dist/translations/tt.d.ts +2 -2
  201. package/dist/translations/tt.js +2 -2
  202. package/dist/translations/tt.umd.js +2 -2
  203. package/dist/translations/ug.d.ts +2 -2
  204. package/dist/translations/ug.js +2 -2
  205. package/dist/translations/ug.umd.js +2 -2
  206. package/dist/translations/uk.d.ts +2 -2
  207. package/dist/translations/uk.js +2 -2
  208. package/dist/translations/uk.umd.js +2 -2
  209. package/dist/translations/ur.d.ts +2 -2
  210. package/dist/translations/ur.js +2 -2
  211. package/dist/translations/ur.umd.js +2 -2
  212. package/dist/translations/uz.d.ts +2 -2
  213. package/dist/translations/uz.js +2 -2
  214. package/dist/translations/uz.umd.js +2 -2
  215. package/dist/translations/vi.d.ts +2 -2
  216. package/dist/translations/vi.js +2 -2
  217. package/dist/translations/vi.umd.js +2 -2
  218. package/dist/translations/zh-cn.d.ts +2 -2
  219. package/dist/translations/zh-cn.js +2 -2
  220. package/dist/translations/zh-cn.umd.js +2 -2
  221. package/dist/translations/zh.d.ts +2 -2
  222. package/dist/translations/zh.js +2 -2
  223. package/dist/translations/zh.umd.js +2 -2
  224. package/lang/translations/af.po +1 -1
  225. package/lang/translations/ar.po +1 -1
  226. package/lang/translations/ast.po +1 -1
  227. package/lang/translations/az.po +1 -1
  228. package/lang/translations/bg.po +1 -1
  229. package/lang/translations/bn.po +1 -1
  230. package/lang/translations/bs.po +1 -1
  231. package/lang/translations/ca.po +1 -1
  232. package/lang/translations/cs.po +1 -1
  233. package/lang/translations/da.po +1 -1
  234. package/lang/translations/de-ch.po +1 -1
  235. package/lang/translations/de.po +1 -1
  236. package/lang/translations/el.po +1 -1
  237. package/lang/translations/en-au.po +1 -1
  238. package/lang/translations/en-gb.po +1 -1
  239. package/lang/translations/en.po +1 -1
  240. package/lang/translations/eo.po +1 -1
  241. package/lang/translations/es-co.po +1 -1
  242. package/lang/translations/es.po +1 -1
  243. package/lang/translations/et.po +1 -1
  244. package/lang/translations/eu.po +1 -1
  245. package/lang/translations/fa.po +1 -1
  246. package/lang/translations/fi.po +1 -1
  247. package/lang/translations/fr.po +1 -1
  248. package/lang/translations/gl.po +1 -1
  249. package/lang/translations/gu.po +1 -1
  250. package/lang/translations/he.po +1 -1
  251. package/lang/translations/hi.po +1 -1
  252. package/lang/translations/hr.po +1 -1
  253. package/lang/translations/hu.po +1 -1
  254. package/lang/translations/hy.po +1 -1
  255. package/lang/translations/id.po +1 -1
  256. package/lang/translations/it.po +1 -1
  257. package/lang/translations/ja.po +1 -1
  258. package/lang/translations/jv.po +1 -1
  259. package/lang/translations/kk.po +1 -1
  260. package/lang/translations/km.po +1 -1
  261. package/lang/translations/kn.po +1 -1
  262. package/lang/translations/ko.po +1 -1
  263. package/lang/translations/ku.po +1 -1
  264. package/lang/translations/lt.po +1 -1
  265. package/lang/translations/lv.po +1 -1
  266. package/lang/translations/ms.po +1 -1
  267. package/lang/translations/nb.po +1 -1
  268. package/lang/translations/ne.po +1 -1
  269. package/lang/translations/nl.po +1 -1
  270. package/lang/translations/no.po +1 -1
  271. package/lang/translations/oc.po +1 -1
  272. package/lang/translations/pl.po +1 -1
  273. package/lang/translations/pt-br.po +1 -1
  274. package/lang/translations/pt.po +1 -1
  275. package/lang/translations/ro.po +1 -1
  276. package/lang/translations/ru.po +1 -1
  277. package/lang/translations/si.po +1 -1
  278. package/lang/translations/sk.po +1 -1
  279. package/lang/translations/sl.po +1 -1
  280. package/lang/translations/sq.po +1 -1
  281. package/lang/translations/sr-latn.po +1 -1
  282. package/lang/translations/sr.po +1 -1
  283. package/lang/translations/sv.po +1 -1
  284. package/lang/translations/th.po +1 -1
  285. package/lang/translations/ti.po +1 -1
  286. package/lang/translations/tk.po +1 -1
  287. package/lang/translations/tr.po +1 -1
  288. package/lang/translations/tt.po +1 -1
  289. package/lang/translations/ug.po +1 -1
  290. package/lang/translations/uk.po +1 -1
  291. package/lang/translations/ur.po +1 -1
  292. package/lang/translations/uz.po +1 -1
  293. package/lang/translations/vi.po +1 -1
  294. package/lang/translations/zh-cn.po +1 -1
  295. package/lang/translations/zh.po +1 -1
  296. package/package.json +28 -5
  297. package/src/arialiveannouncer.d.ts +1 -1
  298. package/src/arialiveannouncer.js +1 -1
  299. package/src/augmentation.d.ts +1 -1
  300. package/src/augmentation.js +1 -1
  301. package/src/autocomplete/autocompleteview.d.ts +1 -1
  302. package/src/autocomplete/autocompleteview.js +1 -1
  303. package/src/badge/badge.d.ts +1 -1
  304. package/src/badge/badge.js +1 -1
  305. package/src/bindings/addkeyboardhandlingforgrid.d.ts +1 -1
  306. package/src/bindings/addkeyboardhandlingforgrid.js +1 -1
  307. package/src/bindings/clickoutsidehandler.d.ts +1 -1
  308. package/src/bindings/clickoutsidehandler.js +1 -1
  309. package/src/bindings/csstransitiondisablermixin.d.ts +1 -1
  310. package/src/bindings/csstransitiondisablermixin.js +1 -1
  311. package/src/bindings/draggableviewmixin.d.ts +1 -1
  312. package/src/bindings/draggableviewmixin.js +1 -1
  313. package/src/bindings/injectcsstransitiondisabler.d.ts +1 -1
  314. package/src/bindings/injectcsstransitiondisabler.js +1 -1
  315. package/src/bindings/preventdefault.d.ts +1 -1
  316. package/src/bindings/preventdefault.js +1 -1
  317. package/src/bindings/submithandler.d.ts +1 -1
  318. package/src/bindings/submithandler.js +1 -1
  319. package/src/button/button.d.ts +1 -1
  320. package/src/button/button.js +1 -1
  321. package/src/button/buttonlabel.d.ts +1 -1
  322. package/src/button/buttonlabel.js +1 -1
  323. package/src/button/buttonlabelview.d.ts +1 -1
  324. package/src/button/buttonlabelview.js +1 -1
  325. package/src/button/buttonview.d.ts +1 -1
  326. package/src/button/buttonview.js +1 -1
  327. package/src/button/filedialogbuttonview.d.ts +1 -1
  328. package/src/button/filedialogbuttonview.js +1 -1
  329. package/src/button/listitembuttonview.d.ts +1 -1
  330. package/src/button/listitembuttonview.js +1 -1
  331. package/src/button/switchbuttonview.d.ts +1 -1
  332. package/src/button/switchbuttonview.js +1 -1
  333. package/src/collapsible/collapsibleview.d.ts +1 -1
  334. package/src/collapsible/collapsibleview.js +1 -1
  335. package/src/colorgrid/colorgridview.d.ts +1 -1
  336. package/src/colorgrid/colorgridview.js +1 -1
  337. package/src/colorgrid/colortileview.d.ts +1 -1
  338. package/src/colorgrid/colortileview.js +1 -1
  339. package/src/colorgrid/utils.d.ts +1 -1
  340. package/src/colorgrid/utils.js +1 -1
  341. package/src/colorpicker/colorpickerview.d.ts +1 -1
  342. package/src/colorpicker/colorpickerview.js +1 -1
  343. package/src/colorpicker/utils.d.ts +1 -1
  344. package/src/colorpicker/utils.js +1 -1
  345. package/src/colorselector/colorgridsfragmentview.d.ts +1 -1
  346. package/src/colorselector/colorgridsfragmentview.js +1 -1
  347. package/src/colorselector/colorpickerfragmentview.d.ts +1 -1
  348. package/src/colorselector/colorpickerfragmentview.js +1 -1
  349. package/src/colorselector/colorselectorview.d.ts +1 -1
  350. package/src/colorselector/colorselectorview.js +1 -1
  351. package/src/colorselector/documentcolorcollection.d.ts +1 -1
  352. package/src/colorselector/documentcolorcollection.js +1 -1
  353. package/src/componentfactory.d.ts +1 -1
  354. package/src/componentfactory.js +1 -1
  355. package/src/dialog/dialog.d.ts +8 -1
  356. package/src/dialog/dialog.js +7 -4
  357. package/src/dialog/dialogactionsview.d.ts +1 -1
  358. package/src/dialog/dialogactionsview.js +1 -1
  359. package/src/dialog/dialogcontentview.d.ts +1 -1
  360. package/src/dialog/dialogcontentview.js +1 -1
  361. package/src/dialog/dialogview.d.ts +4 -3
  362. package/src/dialog/dialogview.js +4 -3
  363. package/src/dropdown/button/dropdownbutton.d.ts +1 -1
  364. package/src/dropdown/button/dropdownbutton.js +1 -1
  365. package/src/dropdown/button/dropdownbuttonview.d.ts +1 -1
  366. package/src/dropdown/button/dropdownbuttonview.js +1 -1
  367. package/src/dropdown/button/splitbuttonview.d.ts +1 -1
  368. package/src/dropdown/button/splitbuttonview.js +1 -1
  369. package/src/dropdown/dropdownpanelfocusable.d.ts +1 -1
  370. package/src/dropdown/dropdownpanelfocusable.js +1 -1
  371. package/src/dropdown/dropdownpanelview.d.ts +1 -1
  372. package/src/dropdown/dropdownpanelview.js +1 -1
  373. package/src/dropdown/dropdownview.d.ts +1 -1
  374. package/src/dropdown/dropdownview.js +1 -1
  375. package/src/dropdown/menu/dropdownmenubehaviors.d.ts +1 -1
  376. package/src/dropdown/menu/dropdownmenubehaviors.js +1 -1
  377. package/src/dropdown/menu/dropdownmenubuttonview.d.ts +1 -1
  378. package/src/dropdown/menu/dropdownmenubuttonview.js +1 -1
  379. package/src/dropdown/menu/dropdownmenulistitembuttonview.d.ts +1 -1
  380. package/src/dropdown/menu/dropdownmenulistitembuttonview.js +1 -1
  381. package/src/dropdown/menu/dropdownmenulistitemview.d.ts +1 -1
  382. package/src/dropdown/menu/dropdownmenulistitemview.js +1 -1
  383. package/src/dropdown/menu/dropdownmenulistview.d.ts +1 -1
  384. package/src/dropdown/menu/dropdownmenulistview.js +1 -1
  385. package/src/dropdown/menu/dropdownmenunestedmenupanelview.d.ts +1 -1
  386. package/src/dropdown/menu/dropdownmenunestedmenupanelview.js +1 -1
  387. package/src/dropdown/menu/dropdownmenunestedmenuview.d.ts +1 -1
  388. package/src/dropdown/menu/dropdownmenunestedmenuview.js +1 -1
  389. package/src/dropdown/menu/dropdownmenurootlistview.d.ts +1 -1
  390. package/src/dropdown/menu/dropdownmenurootlistview.js +1 -1
  391. package/src/dropdown/menu/utils.d.ts +1 -1
  392. package/src/dropdown/menu/utils.js +1 -1
  393. package/src/dropdown/utils.d.ts +1 -1
  394. package/src/dropdown/utils.js +1 -1
  395. package/src/editableui/editableuiview.d.ts +1 -1
  396. package/src/editableui/editableuiview.js +1 -1
  397. package/src/editableui/inline/inlineeditableuiview.d.ts +1 -1
  398. package/src/editableui/inline/inlineeditableuiview.js +1 -1
  399. package/src/editorui/accessibilityhelp/accessibilityhelp.d.ts +1 -1
  400. package/src/editorui/accessibilityhelp/accessibilityhelp.js +1 -1
  401. package/src/editorui/accessibilityhelp/accessibilityhelpcontentview.d.ts +1 -1
  402. package/src/editorui/accessibilityhelp/accessibilityhelpcontentview.js +1 -1
  403. package/src/editorui/bodycollection.d.ts +1 -1
  404. package/src/editorui/bodycollection.js +1 -1
  405. package/src/editorui/boxed/boxededitoruiview.d.ts +1 -1
  406. package/src/editorui/boxed/boxededitoruiview.js +1 -1
  407. package/src/editorui/editorui.d.ts +1 -1
  408. package/src/editorui/editorui.js +1 -1
  409. package/src/editorui/editoruiview.d.ts +1 -1
  410. package/src/editorui/editoruiview.js +1 -1
  411. package/src/editorui/evaluationbadge.d.ts +1 -1
  412. package/src/editorui/evaluationbadge.js +1 -1
  413. package/src/editorui/poweredby.d.ts +1 -1
  414. package/src/editorui/poweredby.js +1 -1
  415. package/src/focuscycler.d.ts +1 -1
  416. package/src/focuscycler.js +1 -1
  417. package/src/formheader/formheaderview.d.ts +1 -1
  418. package/src/formheader/formheaderview.js +1 -1
  419. package/src/highlightedtext/buttonlabelwithhighlightview.d.ts +1 -1
  420. package/src/highlightedtext/buttonlabelwithhighlightview.js +1 -1
  421. package/src/highlightedtext/highlightedtextview.d.ts +1 -1
  422. package/src/highlightedtext/highlightedtextview.js +1 -1
  423. package/src/highlightedtext/labelwithhighlightview.d.ts +1 -1
  424. package/src/highlightedtext/labelwithhighlightview.js +1 -1
  425. package/src/icon/iconview.d.ts +1 -1
  426. package/src/icon/iconview.js +1 -1
  427. package/src/iframe/iframeview.d.ts +1 -1
  428. package/src/iframe/iframeview.js +1 -1
  429. package/src/index.d.ts +2 -1
  430. package/src/index.js +2 -1
  431. package/src/input/inputbase.d.ts +1 -1
  432. package/src/input/inputbase.js +1 -1
  433. package/src/input/inputview.d.ts +1 -1
  434. package/src/input/inputview.js +1 -1
  435. package/src/inputnumber/inputnumberview.d.ts +1 -1
  436. package/src/inputnumber/inputnumberview.js +1 -1
  437. package/src/inputtext/inputtextview.d.ts +1 -1
  438. package/src/inputtext/inputtextview.js +1 -1
  439. package/src/label/labelview.d.ts +1 -1
  440. package/src/label/labelview.js +1 -1
  441. package/src/labeledfield/labeledfieldview.d.ts +1 -1
  442. package/src/labeledfield/labeledfieldview.js +1 -1
  443. package/src/labeledfield/utils.d.ts +1 -1
  444. package/src/labeledfield/utils.js +1 -1
  445. package/src/labeledinput/labeledinputview.d.ts +1 -1
  446. package/src/labeledinput/labeledinputview.js +1 -1
  447. package/src/list/listitemgroupview.d.ts +1 -1
  448. package/src/list/listitemgroupview.js +1 -1
  449. package/src/list/listitemview.d.ts +1 -1
  450. package/src/list/listitemview.js +1 -1
  451. package/src/list/listseparatorview.d.ts +1 -1
  452. package/src/list/listseparatorview.js +1 -1
  453. package/src/list/listview.d.ts +1 -1
  454. package/src/list/listview.js +1 -1
  455. package/src/menubar/menubarmenubuttonview.d.ts +1 -1
  456. package/src/menubar/menubarmenubuttonview.js +1 -1
  457. package/src/menubar/menubarmenulistitembuttonview.d.ts +1 -1
  458. package/src/menubar/menubarmenulistitembuttonview.js +1 -1
  459. package/src/menubar/menubarmenulistitemfiledialogbuttonview.d.ts +1 -1
  460. package/src/menubar/menubarmenulistitemfiledialogbuttonview.js +1 -1
  461. package/src/menubar/menubarmenulistitemview.d.ts +1 -1
  462. package/src/menubar/menubarmenulistitemview.js +1 -1
  463. package/src/menubar/menubarmenulistview.d.ts +1 -1
  464. package/src/menubar/menubarmenulistview.js +1 -1
  465. package/src/menubar/menubarmenupanelview.d.ts +1 -1
  466. package/src/menubar/menubarmenupanelview.js +1 -1
  467. package/src/menubar/menubarmenuview.d.ts +1 -1
  468. package/src/menubar/menubarmenuview.js +1 -1
  469. package/src/menubar/menubarview.d.ts +1 -1
  470. package/src/menubar/menubarview.js +1 -1
  471. package/src/menubar/utils.d.ts +9 -2
  472. package/src/menubar/utils.js +17 -3
  473. package/src/model.d.ts +1 -1
  474. package/src/model.js +1 -1
  475. package/src/notification/notification.d.ts +1 -1
  476. package/src/notification/notification.js +1 -1
  477. package/src/panel/balloon/balloonpanelview.d.ts +1 -1
  478. package/src/panel/balloon/balloonpanelview.js +1 -1
  479. package/src/panel/balloon/contextualballoon.d.ts +1 -1
  480. package/src/panel/balloon/contextualballoon.js +1 -1
  481. package/src/panel/sticky/stickypanelview.d.ts +1 -1
  482. package/src/panel/sticky/stickypanelview.js +1 -1
  483. package/src/search/filteredview.d.ts +1 -1
  484. package/src/search/filteredview.js +1 -1
  485. package/src/search/filtergroupanditemnames.d.ts +1 -1
  486. package/src/search/filtergroupanditemnames.js +1 -1
  487. package/src/search/searchinfoview.d.ts +1 -1
  488. package/src/search/searchinfoview.js +1 -1
  489. package/src/search/searchresultsview.d.ts +1 -1
  490. package/src/search/searchresultsview.js +1 -1
  491. package/src/search/text/searchtextqueryview.d.ts +1 -1
  492. package/src/search/text/searchtextqueryview.js +1 -1
  493. package/src/search/text/searchtextview.d.ts +1 -1
  494. package/src/search/text/searchtextview.js +1 -1
  495. package/src/spinner/spinnerview.d.ts +1 -1
  496. package/src/spinner/spinnerview.js +1 -1
  497. package/src/template.d.ts +1 -1
  498. package/src/template.js +1 -1
  499. package/src/textarea/textareaview.d.ts +1 -1
  500. package/src/textarea/textareaview.js +1 -1
  501. package/src/toolbar/balloon/balloontoolbar.d.ts +1 -1
  502. package/src/toolbar/balloon/balloontoolbar.js +1 -1
  503. package/src/toolbar/block/blockbuttonview.d.ts +1 -1
  504. package/src/toolbar/block/blockbuttonview.js +1 -1
  505. package/src/toolbar/block/blocktoolbar.d.ts +1 -1
  506. package/src/toolbar/block/blocktoolbar.js +1 -1
  507. package/src/toolbar/normalizetoolbarconfig.d.ts +1 -1
  508. package/src/toolbar/normalizetoolbarconfig.js +1 -1
  509. package/src/toolbar/toolbarlinebreakview.d.ts +1 -1
  510. package/src/toolbar/toolbarlinebreakview.js +1 -1
  511. package/src/toolbar/toolbarseparatorview.d.ts +1 -1
  512. package/src/toolbar/toolbarseparatorview.js +1 -1
  513. package/src/toolbar/toolbarview.d.ts +8 -1
  514. package/src/toolbar/toolbarview.js +3 -2
  515. package/src/tooltipmanager.d.ts +10 -2
  516. package/src/tooltipmanager.js +26 -4
  517. package/src/view.d.ts +1 -1
  518. package/src/view.js +1 -1
  519. package/src/viewcollection.d.ts +1 -1
  520. package/src/viewcollection.js +1 -1
  521. package/theme/components/arialiveannouncer/arialiveannouncer.css +1 -1
  522. package/theme/components/autocomplete/autocomplete.css +1 -1
  523. package/theme/components/button/button.css +1 -1
  524. package/theme/components/button/listitembutton.css +1 -1
  525. package/theme/components/button/switchbutton.css +1 -1
  526. package/theme/components/collapsible/collapsible.css +1 -1
  527. package/theme/components/colorgrid/colorgrid.css +1 -1
  528. package/theme/components/colorpicker/colorpicker.css +1 -1
  529. package/theme/components/colorselector/colorselector.css +1 -1
  530. package/theme/components/dialog/dialog.css +1 -1
  531. package/theme/components/dialog/dialogactions.css +1 -1
  532. package/theme/components/dropdown/dropdown.css +1 -1
  533. package/theme/components/dropdown/listdropdown.css +1 -1
  534. package/theme/components/dropdown/menu/dropdownmenu.css +1 -1
  535. package/theme/components/dropdown/menu/dropdownmenubutton.css +1 -1
  536. package/theme/components/dropdown/menu/dropdownmenulistitem.css +1 -1
  537. package/theme/components/dropdown/menu/dropdownmenulistitembutton.css +1 -1
  538. package/theme/components/dropdown/menu/dropdownmenupanel.css +1 -1
  539. package/theme/components/dropdown/splitbutton.css +1 -1
  540. package/theme/components/dropdown/toolbardropdown.css +1 -1
  541. package/theme/components/editorui/accessibilityhelp.css +1 -1
  542. package/theme/components/editorui/editorui.css +1 -1
  543. package/theme/components/formheader/formheader.css +1 -1
  544. package/theme/components/highlightedtext/highlightedtext.css +1 -1
  545. package/theme/components/icon/icon.css +1 -1
  546. package/theme/components/input/input.css +1 -1
  547. package/theme/components/label/label.css +1 -1
  548. package/theme/components/labeledfield/labeledfieldview.css +1 -1
  549. package/theme/components/labeledinput/labeledinput.css +1 -1
  550. package/theme/components/list/list.css +1 -1
  551. package/theme/components/menubar/menubar.css +1 -1
  552. package/theme/components/menubar/menubarmenu.css +1 -1
  553. package/theme/components/menubar/menubarmenubutton.css +1 -1
  554. package/theme/components/menubar/menubarmenulistitem.css +1 -1
  555. package/theme/components/menubar/menubarmenulistitembutton.css +1 -1
  556. package/theme/components/menubar/menubarmenupanel.css +1 -1
  557. package/theme/components/panel/balloonpanel.css +1 -1
  558. package/theme/components/panel/balloonrotator.css +1 -1
  559. package/theme/components/panel/fakepanel.css +1 -1
  560. package/theme/components/panel/stickypanel.css +1 -1
  561. package/theme/components/responsive-form/responsiveform.css +1 -1
  562. package/theme/components/search/search.css +1 -1
  563. package/theme/components/spinner/spinner.css +1 -1
  564. package/theme/components/textarea/textarea.css +1 -1
  565. package/theme/components/toolbar/blocktoolbar.css +1 -1
  566. package/theme/components/toolbar/toolbar.css +1 -1
  567. package/theme/components/tooltip/tooltip.css +1 -1
  568. package/theme/globals/_evaluationbadge.css +1 -1
  569. package/theme/globals/_hidden.css +1 -1
  570. package/theme/globals/_poweredby.css +1 -1
  571. package/theme/globals/_transition.css +1 -1
  572. package/theme/globals/_zindex.css +1 -1
  573. package/theme/globals/globals.css +1 -1
  574. package/theme/mixins/_dir.css +1 -1
  575. package/theme/mixins/_mediacolors.css +1 -1
  576. package/theme/mixins/_rwd.css +1 -1
  577. package/theme/mixins/_unselectable.css +1 -1
  578. package/dist/arialiveannouncer.d.ts +0 -113
  579. package/dist/augmentation.d.ts +0 -92
  580. package/dist/autocomplete/autocompleteview.d.ts +0 -85
  581. package/dist/badge/badge.d.ts +0 -133
  582. package/dist/bindings/addkeyboardhandlingforgrid.d.ts +0 -31
  583. package/dist/bindings/clickoutsidehandler.d.ts +0 -34
  584. package/dist/bindings/csstransitiondisablermixin.d.ts +0 -44
  585. package/dist/bindings/draggableviewmixin.d.ts +0 -50
  586. package/dist/bindings/injectcsstransitiondisabler.d.ts +0 -63
  587. package/dist/bindings/preventdefault.d.ts +0 -37
  588. package/dist/bindings/submithandler.d.ts +0 -61
  589. package/dist/button/button.d.ts +0 -179
  590. package/dist/button/buttonlabel.d.ts +0 -38
  591. package/dist/button/buttonlabelview.d.ts +0 -35
  592. package/dist/button/buttonview.d.ts +0 -201
  593. package/dist/button/filedialogbuttonview.d.ts +0 -111
  594. package/dist/button/listitembuttonview.d.ts +0 -82
  595. package/dist/button/switchbuttonview.d.ts +0 -49
  596. package/dist/collapsible/collapsibleview.d.ts +0 -74
  597. package/dist/colorgrid/colorgridview.d.ts +0 -136
  598. package/dist/colorgrid/colortileview.d.ts +0 -32
  599. package/dist/colorgrid/utils.d.ts +0 -51
  600. package/dist/colorpicker/colorpickerview.d.ts +0 -177
  601. package/dist/colorpicker/utils.d.ts +0 -52
  602. package/dist/colorselector/colorgridsfragmentview.d.ts +0 -199
  603. package/dist/colorselector/colorpickerfragmentview.d.ts +0 -137
  604. package/dist/colorselector/colorselectorview.d.ts +0 -246
  605. package/dist/colorselector/documentcolorcollection.d.ts +0 -74
  606. package/dist/componentfactory.d.ts +0 -85
  607. package/dist/dialog/dialog.d.ts +0 -293
  608. package/dist/dialog/dialogactionsview.d.ts +0 -73
  609. package/dist/dialog/dialogcontentview.d.ts +0 -31
  610. package/dist/dialog/dialogview.d.ts +0 -262
  611. package/dist/dropdown/button/dropdownbutton.d.ts +0 -29
  612. package/dist/dropdown/button/dropdownbuttonview.d.ts +0 -52
  613. package/dist/dropdown/button/splitbuttonview.d.ts +0 -166
  614. package/dist/dropdown/dropdownpanelfocusable.d.ts +0 -25
  615. package/dist/dropdown/dropdownpanelview.d.ts +0 -66
  616. package/dist/dropdown/dropdownview.d.ts +0 -338
  617. package/dist/dropdown/menu/dropdownmenubehaviors.d.ts +0 -48
  618. package/dist/dropdown/menu/dropdownmenubuttonview.d.ts +0 -40
  619. package/dist/dropdown/menu/dropdownmenulistitembuttonview.d.ts +0 -21
  620. package/dist/dropdown/menu/dropdownmenulistitemview.d.ts +0 -26
  621. package/dist/dropdown/menu/dropdownmenulistview.d.ts +0 -28
  622. package/dist/dropdown/menu/dropdownmenunestedmenupanelview.d.ts +0 -38
  623. package/dist/dropdown/menu/dropdownmenunestedmenuview.d.ts +0 -135
  624. package/dist/dropdown/menu/dropdownmenurootlistview.d.ts +0 -144
  625. package/dist/dropdown/menu/utils.d.ts +0 -128
  626. package/dist/dropdown/utils.d.ts +0 -297
  627. package/dist/editableui/editableuiview.d.ts +0 -76
  628. package/dist/editableui/inline/inlineeditableuiview.d.ts +0 -48
  629. package/dist/editorui/accessibilityhelp/accessibilityhelp.d.ts +0 -59
  630. package/dist/editorui/accessibilityhelp/accessibilityhelpcontentview.d.ts +0 -39
  631. package/dist/editorui/bodycollection.d.ts +0 -94
  632. package/dist/editorui/boxed/boxededitoruiview.d.ts +0 -44
  633. package/dist/editorui/editorui.d.ts +0 -358
  634. package/dist/editorui/editoruiview.d.ts +0 -48
  635. package/dist/editorui/evaluationbadge.d.ts +0 -37
  636. package/dist/editorui/poweredby.d.ts +0 -38
  637. package/dist/focuscycler.d.ts +0 -295
  638. package/dist/formheader/formheaderview.d.ts +0 -62
  639. package/dist/highlightedtext/buttonlabelwithhighlightview.d.ts +0 -34
  640. package/dist/highlightedtext/highlightedtextview.d.ts +0 -42
  641. package/dist/highlightedtext/labelwithhighlightview.d.ts +0 -30
  642. package/dist/icon/iconview.d.ts +0 -92
  643. package/dist/iframe/iframeview.d.ts +0 -54
  644. package/dist/index.d.ts +0 -97
  645. package/dist/input/inputbase.d.ts +0 -123
  646. package/dist/input/inputview.d.ts +0 -40
  647. package/dist/inputnumber/inputnumberview.d.ts +0 -53
  648. package/dist/inputtext/inputtextview.d.ts +0 -22
  649. package/dist/label/labelview.d.ts +0 -40
  650. package/dist/labeledfield/labeledfieldview.d.ts +0 -191
  651. package/dist/labeledfield/utils.d.ts +0 -127
  652. package/dist/labeledinput/labeledinputview.d.ts +0 -129
  653. package/dist/list/listitemgroupview.d.ts +0 -63
  654. package/dist/list/listitemview.d.ts +0 -40
  655. package/dist/list/listseparatorview.d.ts +0 -22
  656. package/dist/list/listview.d.ts +0 -128
  657. package/dist/menubar/menubarmenubuttonview.d.ts +0 -39
  658. package/dist/menubar/menubarmenulistitembuttonview.d.ts +0 -25
  659. package/dist/menubar/menubarmenulistitemfiledialogbuttonview.d.ts +0 -27
  660. package/dist/menubar/menubarmenulistitemview.d.ts +0 -29
  661. package/dist/menubar/menubarmenulistview.d.ts +0 -33
  662. package/dist/menubar/menubarmenupanelview.d.ts +0 -57
  663. package/dist/menubar/menubarmenuview.d.ts +0 -118
  664. package/dist/menubar/menubarview.d.ts +0 -177
  665. package/dist/menubar/utils.d.ts +0 -452
  666. package/dist/model.d.ts +0 -26
  667. package/dist/notification/notification.d.ts +0 -219
  668. package/dist/panel/balloon/balloonpanelview.d.ts +0 -701
  669. package/dist/panel/balloon/contextualballoon.d.ts +0 -313
  670. package/dist/panel/sticky/stickypanelview.d.ts +0 -160
  671. package/dist/search/filteredview.d.ts +0 -35
  672. package/dist/search/filtergroupanditemnames.d.ts +0 -19
  673. package/dist/search/searchinfoview.d.ts +0 -49
  674. package/dist/search/searchresultsview.d.ts +0 -58
  675. package/dist/search/text/searchtextqueryview.d.ts +0 -80
  676. package/dist/search/text/searchtextview.d.ts +0 -223
  677. package/dist/spinner/spinnerview.d.ts +0 -29
  678. package/dist/template.d.ts +0 -946
  679. package/dist/textarea/textareaview.d.ts +0 -108
  680. package/dist/toolbar/balloon/balloontoolbar.d.ts +0 -130
  681. package/dist/toolbar/block/blockbuttonview.d.ts +0 -39
  682. package/dist/toolbar/block/blocktoolbar.d.ts +0 -175
  683. package/dist/toolbar/normalizetoolbarconfig.d.ts +0 -44
  684. package/dist/toolbar/toolbarlinebreakview.d.ts +0 -22
  685. package/dist/toolbar/toolbarseparatorview.d.ts +0 -22
  686. package/dist/toolbar/toolbarview.d.ts +0 -271
  687. package/dist/tooltipmanager.d.ts +0 -192
  688. package/dist/view.d.ts +0 -426
  689. package/dist/viewcollection.d.ts +0 -143
@@ -1,452 +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-licensing-options
8
- */
9
- import type MenuBarMenuView from './menubarmenuview.js';
10
- import type { default as MenuBarView, MenuBarConfig, MenuBarConfigObject, MenuBarConfigAddedGroup, MenuBarConfigAddedMenu, NormalizedMenuBarConfigObject, MenuBarConfigAddedItem } from './menubarview.js';
11
- import type ComponentFactory from '../componentfactory.js';
12
- import { type Locale, type PositioningFunction } from '@ckeditor/ckeditor5-utils';
13
- /**
14
- * Behaviors of the {@link module:ui/menubar/menubarview~MenuBarView} component.
15
- */
16
- export declare const MenuBarBehaviors: {
17
- /**
18
- * When the bar is already open:
19
- * * Opens the menu when the user hovers over its button.
20
- * * Closes open menu when another menu's button gets hovered.
21
- */
22
- toggleMenusAndFocusItemsOnHover(menuBarView: MenuBarView): void;
23
- /**
24
- * Moves between top-level menus using the arrow left and right keys.
25
- *
26
- * If the menubar has already been open, the arrow keys move focus between top-level menu buttons and open them.
27
- * If the menubar is closed, the arrow keys only move focus between top-level menu buttons.
28
- */
29
- focusCycleMenusOnArrows(menuBarView: MenuBarView): void;
30
- /**
31
- * Closes the entire sub-menu structure when the bar is closed. This prevents sub-menus from being open if the user
32
- * closes the entire bar, and then re-opens some top-level menu.
33
- */
34
- closeMenusWhenTheBarCloses(menuBarView: MenuBarView): void;
35
- /**
36
- * Handles the following case:
37
- * 1. Hover to open a sub-menu (A). The button has focus.
38
- * 2. Press arrow up/down to move focus to another sub-menu (B) button.
39
- * 3. Press arrow right to open the sub-menu (B).
40
- * 4. The sub-menu (A) should close as it would with `toggleMenusAndFocusItemsOnHover()`.
41
- */
42
- closeMenuWhenAnotherOnTheSameLevelOpens(menuBarView: MenuBarView): void;
43
- /**
44
- * Closes the bar when the user clicked outside of it (page body, editor root, etc.).
45
- */
46
- closeOnClickOutside(menuBarView: MenuBarView): void;
47
- /**
48
- * Tracks the keyboard focus interaction on the menu bar view. It is used to determine if the nested items
49
- * of the menu bar should render focus rings after first interaction with the keyboard.
50
- */
51
- enableFocusHighlightOnInteraction(menuBarView: MenuBarView): void;
52
- };
53
- /**
54
- * Behaviors of the {@link module:ui/menubar/menubarmenuview~MenuBarMenuView} component.
55
- */
56
- export declare const MenuBarMenuBehaviors: {
57
- /**
58
- * If the button of the menu is focused, pressing the arrow down key should open the panel and focus it.
59
- * This is analogous to the {@link module:ui/dropdown/dropdownview~DropdownView}.
60
- */
61
- openAndFocusPanelOnArrowDownKey(menuView: MenuBarMenuView): void;
62
- /**
63
- * Open the menu on the right arrow key press. This allows for navigating to sub-menus using the keyboard.
64
- */
65
- openOnArrowRightKey(menuView: MenuBarMenuView): void;
66
- /**
67
- * Opens the menu on its button click. Note that this behavior only opens but never closes the menu (unlike
68
- * {@link module:ui/dropdown/dropdownview~DropdownView}).
69
- */
70
- openOnButtonClick(menuView: MenuBarMenuView): void;
71
- /**
72
- * Toggles the menu on its button click. This behavior is analogous to {@link module:ui/dropdown/dropdownview~DropdownView}.
73
- */
74
- toggleOnButtonClick(menuView: MenuBarMenuView): void;
75
- /**
76
- * Opens the menu and focuses the panel content upon pressing the Enter key.
77
- */
78
- openAndFocusOnEnterKeyPress(menuView: MenuBarMenuView): void;
79
- /**
80
- * Closes the menu on the right left key press. This allows for navigating to sub-menus using the keyboard.
81
- */
82
- closeOnArrowLeftKey(menuView: MenuBarMenuView): void;
83
- /**
84
- * Closes the menu on the esc key press. This allows for navigating to sub-menus using the keyboard.
85
- */
86
- closeOnEscKey(menuView: MenuBarMenuView): void;
87
- /**
88
- * Closes the menu when its parent menu also closed. This prevents from orphaned open menus when the parent menu re-opens.
89
- */
90
- closeOnParentClose(menuView: MenuBarMenuView): void;
91
- };
92
- /**
93
- * Contains every positioning function used by {@link module:ui/menubar/menubarmenuview~MenuBarMenuView} that decides where the
94
- * {@link module:ui/menubar/menubarmenuview~MenuBarMenuView#panelView} should be placed.
95
- *
96
- * Top-level menu positioning functions:
97
- *
98
- * ┌──────┐
99
- * │ │
100
- * ├──────┴────────┐
101
- * │ │
102
- * │ │
103
- * │ │
104
- * │ SE │
105
- * └───────────────┘
106
- *
107
- * ┌──────┐
108
- * │ │
109
- * ┌────────┴──────┤
110
- * │ │
111
- * │ │
112
- * │ │
113
- * │ SW │
114
- * └───────────────┘
115
- *
116
- * ┌───────────────┐
117
- * │ NW │
118
- * │ │
119
- * │ │
120
- * │ │
121
- * └────────┬──────┤
122
- * │ │
123
- * └──────┘
124
- *
125
- * ┌───────────────┐
126
- * │ NE │
127
- * │ │
128
- * │ │
129
- * │ │
130
- * ├──────┬────────┘
131
- * │ │
132
- * └──────┘
133
- *
134
- * Sub-menu positioning functions:
135
- *
136
- * ┌──────┬───────────────┐
137
- * │ │ │
138
- * └──────┤ │
139
- * │ │
140
- * │ ES │
141
- * └───────────────┘
142
- *
143
- * ┌───────────────┬──────┐
144
- * │ │ │
145
- * │ ├──────┘
146
- * │ │
147
- * │ WS │
148
- * └───────────────┘
149
- *
150
- * ┌───────────────┐
151
- * │ EN │
152
- * │ │
153
- * ┌──────┤ │
154
- * │ │ │
155
- * └──────┴───────────────┘
156
- *
157
- * ┌───────────────┐
158
- * │ WN │
159
- * │ │
160
- * │ ├──────┐
161
- * │ │ │
162
- * └───────────────┴──────┘
163
- */
164
- export declare const MenuBarMenuViewPanelPositioningFunctions: Record<string, PositioningFunction>;
165
- /**
166
- * The default items {@link module:core/editor/editorconfig~EditorConfig#menuBar configuration} of the
167
- * {@link module:ui/menubar/menubarview~MenuBarView} component. It contains names of all menu bar components
168
- * registered in the {@link module:ui/componentfactory~ComponentFactory component factory} (available in the project).
169
- *
170
- * **Note**: Menu bar component names provided by core editor features are prefixed with `menuBar:` in order to distinguish
171
- * them from components referenced by the {@link module:core/editor/editorconfig~EditorConfig#toolbar toolbar configuration}, for instance,
172
- * `'menuBar:bold'` is a menu bar button but `'bold'` is a toolbar button.
173
- *
174
- * Below is the preset menu bar structure (the default value of `config.menuBar.items` property):
175
- *
176
- * ```ts
177
- * [
178
- * {
179
- * menuId: 'file',
180
- * label: 'File',
181
- * groups: [
182
- * {
183
- * groupId: 'export',
184
- * items: [
185
- * 'menuBar:exportPdf',
186
- * 'menuBar:exportWord'
187
- * ]
188
- * },
189
- * {
190
- * groupId: 'import',
191
- * items: [
192
- * 'menuBar:importWord'
193
- * ]
194
- * },
195
- * {
196
- * groupId: 'revisionHistory',
197
- * items: [
198
- * 'menuBar:revisionHistory'
199
- * ]
200
- * }
201
- * ]
202
- * },
203
- * {
204
- * menuId: 'edit',
205
- * label: 'Edit',
206
- * groups: [
207
- * {
208
- * groupId: 'undo',
209
- * items: [
210
- * 'menuBar:undo',
211
- * 'menuBar:redo'
212
- * ]
213
- * },
214
- * {
215
- * groupId: 'selectAll',
216
- * items: [
217
- * 'menuBar:selectAll'
218
- * ]
219
- * },
220
- * {
221
- * groupId: 'findAndReplace',
222
- * items: [
223
- * 'menuBar:findAndReplace'
224
- * ]
225
- * }
226
- * ]
227
- * },
228
- * {
229
- * menuId: 'view',
230
- * label: 'View',
231
- * groups: [
232
- * {
233
- * groupId: 'sourceEditing',
234
- * items: [
235
- * 'menuBar:sourceEditing'
236
- * ]
237
- * },
238
- * {
239
- * groupId: 'showBlocks',
240
- * items: [
241
- * 'menuBar:showBlocks'
242
- * ]
243
- * },
244
- * {
245
- * groupId: 'previewMergeFields',
246
- * items: [
247
- * 'menuBar:previewMergeFields'
248
- * ]
249
- * },
250
- * {
251
- * groupId: 'restrictedEditingException',
252
- * items: [
253
- * 'menuBar:restrictedEditingException'
254
- * ]
255
- * }
256
- * ]
257
- * },
258
- * {
259
- * menuId: 'insert',
260
- * label: 'Insert',
261
- * groups: [
262
- * {
263
- * groupId: 'insertMainWidgets',
264
- * items: [
265
- * 'menuBar:insertImage',
266
- * 'menuBar:ckbox',
267
- * 'menuBar:ckfinder',
268
- * 'menuBar:insertTable'
269
- * ]
270
- * },
271
- * {
272
- * groupId: 'insertInline',
273
- * items: [
274
- * 'menuBar:link',
275
- * 'menuBar:bookmark',
276
- * 'menuBar:comment',
277
- * 'menuBar:insertMergeField'
278
- * ]
279
- * },
280
- * {
281
- * groupId: 'insertMinorWidgets',
282
- * items: [
283
- * 'menuBar:mediaEmbed',
284
- * 'menuBar:insertTemplate',
285
- * 'menuBar:blockQuote',
286
- * 'menuBar:codeBlock',
287
- * 'menuBar:htmlEmbed'
288
- * ]
289
- * },
290
- * {
291
- * groupId: 'insertStructureWidgets',
292
- * items: [
293
- * 'menuBar:horizontalLine',
294
- * 'menuBar:pageBreak',
295
- * 'menuBar:tableOfContents'
296
- * ]
297
- * },
298
- * {
299
- * groupId: 'restrictedEditing',
300
- * items: [
301
- * 'menuBar:restrictedEditing'
302
- * ]
303
- * }
304
- * ]
305
- * },
306
- * {
307
- * menuId: 'format',
308
- * label: 'Format',
309
- * groups: [
310
- * {
311
- * groupId: 'textAndFont',
312
- * items: [
313
- * {
314
- * menuId: 'text',
315
- * label: 'Text',
316
- * groups: [
317
- * {
318
- * groupId: 'basicStyles',
319
- * items: [
320
- * 'menuBar:bold',
321
- * 'menuBar:italic',
322
- * 'menuBar:underline',
323
- * 'menuBar:strikethrough',
324
- * 'menuBar:superscript',
325
- * 'menuBar:subscript',
326
- * 'menuBar:code'
327
- * ]
328
- * },
329
- * {
330
- * groupId: 'textPartLanguage',
331
- * items: [
332
- * 'menuBar:textPartLanguage'
333
- * ]
334
- * }
335
- * ]
336
- * },
337
- * {
338
- * menuId: 'font',
339
- * label: 'Font',
340
- * groups: [
341
- * {
342
- * groupId: 'fontProperties',
343
- * items: [
344
- * 'menuBar:fontSize',
345
- * 'menuBar:fontFamily'
346
- * ]
347
- * },
348
- * {
349
- * groupId: 'fontColors',
350
- * items: [
351
- * 'menuBar:fontColor',
352
- * 'menuBar:fontBackgroundColor'
353
- * ]
354
- * },
355
- * {
356
- * groupId: 'highlight',
357
- * items: [
358
- * 'menuBar:highlight'
359
- * ]
360
- * }
361
- * ]
362
- * },
363
- * 'menuBar:heading'
364
- * ]
365
- * },
366
- * {
367
- * groupId: 'list',
368
- * items: [
369
- * 'menuBar:bulletedList',
370
- * 'menuBar:numberedList',
371
- * 'menuBar:multiLevelList',
372
- * 'menuBar:todoList'
373
- * ]
374
- * },
375
- * {
376
- * groupId: 'indent',
377
- * items: [
378
- * 'menuBar:alignment',
379
- * 'menuBar:indent',
380
- * 'menuBar:outdent'
381
- * ]
382
- * },
383
- * {
384
- * groupId: 'caseChange',
385
- * items: [
386
- * 'menuBar:caseChange'
387
- * ]
388
- * },
389
- * {
390
- * groupId: 'removeFormat',
391
- * items: [
392
- * 'menuBar:removeFormat'
393
- * ]
394
- * }
395
- * ]
396
- * },
397
- * {
398
- * menuId: 'tools',
399
- * label: 'Tools',
400
- * groups: [
401
- * {
402
- * groupId: 'aiTools',
403
- * items: [
404
- * 'menuBar:aiAssistant',
405
- * 'menuBar:aiCommands'
406
- * ]
407
- * },
408
- * {
409
- * groupId: 'tools',
410
- * items: [
411
- * 'menuBar:trackChanges',
412
- * 'menuBar:commentsArchive'
413
- * ]
414
- * }
415
- * ]
416
- * },
417
- * {
418
- * menuId: 'help',
419
- * label: 'Help',
420
- * groups: [
421
- * {
422
- * groupId: 'help',
423
- * items: [
424
- * 'menuBar:accessibilityHelp'
425
- * ]
426
- * }
427
- * ]
428
- * }
429
- * ];
430
- * ```
431
- *
432
- * The menu bar can be customized using the `config.menuBar.removeItems` and `config.menuBar.addItems` properties.
433
- */
434
- export declare const DefaultMenuBarItems: MenuBarConfigObject['items'];
435
- /**
436
- * Performs a cleanup and normalization of the menu bar configuration.
437
- */
438
- export declare function normalizeMenuBarConfig(config: Readonly<MenuBarConfig>): NormalizedMenuBarConfigObject;
439
- /**
440
- * Processes a normalized menu bar config and returns a config clone with the following modifications:
441
- *
442
- * * Removed components that are not available in the component factory,
443
- * * Removed obsolete separators,
444
- * * Purged empty menus,
445
- * * Localized top-level menu labels.
446
- */
447
- export declare function processMenuBarConfig({ normalizedConfig, locale, componentFactory, extraItems }: {
448
- normalizedConfig: NormalizedMenuBarConfigObject;
449
- locale: Locale;
450
- componentFactory: ComponentFactory;
451
- extraItems: Array<MenuBarConfigAddedItem | MenuBarConfigAddedGroup | MenuBarConfigAddedMenu>;
452
- }): NormalizedMenuBarConfigObject;
package/dist/model.d.ts DELETED
@@ -1,26 +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-licensing-options
8
- */
9
- declare const Model_base: {
10
- new (): import("@ckeditor/ckeditor5-utils").Observable;
11
- prototype: import("@ckeditor/ckeditor5-utils").Observable;
12
- };
13
- /**
14
- * The base MVC model class.
15
- */
16
- export default class Model extends /* #__PURE__ */ Model_base {
17
- [x: string]: unknown;
18
- /**
19
- * Creates a new Model instance.
20
- *
21
- * @param attributes The model state attributes to be defined during the instance creation.
22
- * @param properties The (out of state) properties to be appended to the instance during creation.
23
- */
24
- constructor(attributes?: Record<string, unknown>, properties?: Record<string, unknown>);
25
- }
26
- export {};
@@ -1,219 +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-licensing-options
8
- */
9
- /**
10
- * @module ui/notification/notification
11
- */
12
- import { ContextPlugin } from '@ckeditor/ckeditor5-core';
13
- /**
14
- * The Notification plugin.
15
- *
16
- * This plugin sends a few types of notifications: `success`, `info` and `warning`. The notifications need to be
17
- * handled and displayed by a plugin responsible for showing the UI of the notifications. Using this plugin for dispatching
18
- * notifications makes it possible to switch the notifications UI.
19
- *
20
- * Note that every unhandled and not stopped `warning` notification will be displayed as a system alert.
21
- * See {@link module:ui/notification/notification~Notification#showWarning}.
22
- */
23
- export default class Notification extends ContextPlugin {
24
- /**
25
- * @inheritDoc
26
- */
27
- static get pluginName(): "Notification";
28
- /**
29
- * @inheritDoc
30
- */
31
- static get isOfficialPlugin(): true;
32
- /**
33
- * @inheritDoc
34
- */
35
- init(): void;
36
- /**
37
- * Shows a success notification.
38
- *
39
- * By default, it fires the {@link #event:show:success `show:success` event} with the given `data`. The event namespace can be extended
40
- * using the `data.namespace` option. For example:
41
- *
42
- * ```ts
43
- * showSuccess( 'Image is uploaded.', {
44
- * namespace: 'upload:image'
45
- * } );
46
- * ```
47
- *
48
- * will fire the `show:success:upload:image` event.
49
- *
50
- * You can provide the title of the notification:
51
- *
52
- * ```ts
53
- * showSuccess( 'Image is uploaded.', {
54
- * title: 'Image upload success'
55
- * } );
56
- * ```
57
- *
58
- * @param message The content of the notification.
59
- * @param data Additional data.
60
- * @param data.namespace Additional event namespace.
61
- * @param data.title The title of the notification.
62
- */
63
- showSuccess(message: string, data?: {
64
- namespace?: string;
65
- title?: string;
66
- }): void;
67
- /**
68
- * Shows an information notification.
69
- *
70
- * By default, it fires the {@link #event:show:info `show:info` event} with the given `data`. The event namespace can be extended
71
- * using the `data.namespace` option. For example:
72
- *
73
- * ```ts
74
- * showInfo( 'Editor is offline.', {
75
- * namespace: 'editor:status'
76
- * } );
77
- * ```
78
- *
79
- * will fire the `show:info:editor:status` event.
80
- *
81
- * You can provide the title of the notification:
82
- *
83
- * ```ts
84
- * showInfo( 'Editor is offline.', {
85
- * title: 'Network information'
86
- * } );
87
- * ```
88
- *
89
- * @param message The content of the notification.
90
- * @param data Additional data.
91
- * @param data.namespace Additional event namespace.
92
- * @param data.title The title of the notification.
93
- */
94
- showInfo(message: string, data?: {
95
- namespace?: string;
96
- title?: string;
97
- }): void;
98
- /**
99
- * Shows a warning notification.
100
- *
101
- * By default, it fires the {@link #event:show:warning `show:warning` event}
102
- * with the given `data`. The event namespace can be extended using the `data.namespace` option. For example:
103
- *
104
- * ```ts
105
- * showWarning( 'Image upload error.', {
106
- * namespace: 'upload:image'
107
- * } );
108
- * ```
109
- *
110
- * will fire the `show:warning:upload:image` event.
111
- *
112
- * You can provide the title of the notification:
113
- *
114
- * ```ts
115
- * showWarning( 'Image upload error.', {
116
- * title: 'Upload failed'
117
- * } );
118
- * ```
119
- *
120
- * Note that each unhandled and not stopped `warning` notification will be displayed as a system alert.
121
- * The plugin responsible for displaying warnings should `stop()` the event to prevent displaying it as an alert:
122
- *
123
- * ```ts
124
- * notifications.on( 'show:warning', ( evt, data ) => {
125
- * // Do something with the data.
126
- *
127
- * // Stop this event to prevent displaying it as an alert.
128
- * evt.stop();
129
- * } );
130
- * ```
131
- *
132
- * You can attach many listeners to the same event and `stop()` this event in a listener with a low priority:
133
- *
134
- * ```ts
135
- * notifications.on( 'show:warning', ( evt, data ) => {
136
- * // Show the warning in the UI, but do not stop it.
137
- * } );
138
- *
139
- * notifications.on( 'show:warning', ( evt, data ) => {
140
- * // Log the warning to some error tracker.
141
- *
142
- * // Stop this event to prevent displaying it as an alert.
143
- * evt.stop();
144
- * }, { priority: 'low' } );
145
- * ```
146
- *
147
- * @param message The content of the notification.
148
- * @param data Additional data.
149
- * @param data.namespace Additional event namespace.
150
- * @param data.title The title of the notification.
151
- */
152
- showWarning(message: string, data?: {
153
- namespace?: string;
154
- title?: string;
155
- }): void;
156
- /**
157
- * Fires the `show` event with the specified type, namespace and message.
158
- *
159
- * @param data The message data.
160
- * @param data.message The content of the notification.
161
- * @param data.type The type of the message.
162
- * @param data.namespace Additional event namespace.
163
- * @param data.title The title of the notification.
164
- */
165
- private _showNotification;
166
- }
167
- export type NotificationEventType = 'success' | 'info' | 'warning';
168
- /**
169
- * Fired when one of the `showSuccess()`, `showInfo()`, `showWarning()` methods is called.
170
- *
171
- * @eventName ~Notification#show
172
- * @param data The notification data.
173
- */
174
- export type NotificationShowEvent = {
175
- name: 'show';
176
- args: [data: NotificationShowEventData];
177
- };
178
- /**
179
- * Fired when the `showSuccess()` method is called.
180
- *
181
- * @eventName ~Notification#show:success
182
- * @param data The notification data.
183
- */
184
- export type NotificationShowSuccessEvent = NotificationShowTypeEvent<'success'>;
185
- /**
186
- * Fired when the `showInfo()` method is called.
187
- *
188
- * @eventName ~Notification#show:info
189
- * @param data The notification data.
190
- */
191
- export type NotificationShowInfoEvent = NotificationShowTypeEvent<'info'>;
192
- /**
193
- * Fired when the `showWarning()` method is called.
194
- *
195
- * When this event is not handled or stopped by `event.stop()`, the `data.message` of this event will
196
- * be automatically displayed as a system alert.
197
- *
198
- * @eventName ~Notification#show:warning
199
- * @param data The notification data.
200
- */
201
- export type NotificationShowWarningEvent = NotificationShowTypeEvent<'warning'>;
202
- export type NotificationShowTypeEvent<NotificationType extends NotificationEventType> = {
203
- name: `show:${NotificationType}` | `show:${NotificationType}:${string}`;
204
- args: [data: NotificationShowEventData<NotificationType>];
205
- };
206
- export type NotificationShowEventData<NotificationType extends NotificationEventType = NotificationEventType> = {
207
- /**
208
- * The content of the notification.
209
- */
210
- message: string;
211
- /**
212
- * The title of the notification.
213
- */
214
- title: string;
215
- /**
216
- * The type of the notification.
217
- */
218
- type: NotificationType;
219
- };