@ckeditor/ckeditor5-real-time-collaboration 47.6.1 → 48.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/LICENSE.md +1 -1
  2. package/ckeditor5-metadata.json +85 -85
  3. package/{src → dist}/augmentation.d.ts +1 -1
  4. package/{src → dist}/common-translations.d.ts +1 -1
  5. package/{src → dist}/config.d.ts +1 -1
  6. package/dist/index-editor.css +220 -255
  7. package/dist/index.css +218 -355
  8. package/dist/index.js +6 -6
  9. package/{src → dist}/presencelist/presencelistui.d.ts +1 -1
  10. package/{src → dist}/presencelist/view/presencecounterview.d.ts +2 -2
  11. package/{src → dist}/presencelist/view/presencedropdownlistitemview.d.ts +3 -3
  12. package/{src → dist}/presencelist/view/presenceinlinelistitemview.d.ts +3 -3
  13. package/{src → dist}/presencelist/view/presenceinlinelistview.d.ts +2 -2
  14. package/{src → dist}/presencelist.d.ts +1 -1
  15. package/{src → dist}/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +5 -4
  16. package/{src → dist}/realtimecollaborativecomments.d.ts +3 -2
  17. package/{src → dist}/realtimecollaborativeediting/realtimecollaborationclient.d.ts +4 -4
  18. package/{src → dist}/realtimecollaborativeediting/sessions.d.ts +4 -4
  19. package/{src → dist}/realtimecollaborativeediting/usermarkers.d.ts +1 -1
  20. package/{src → dist}/realtimecollaborativeediting/websocketgateway.d.ts +5 -4
  21. package/{src → dist}/realtimecollaborativeediting.d.ts +1 -1
  22. package/{src → dist}/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +5 -4
  23. package/{src → dist}/realtimecollaborativerevisionhistory.d.ts +3 -2
  24. package/{src → dist}/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +4 -3
  25. package/{src → dist}/realtimecollaborativetrackchanges.d.ts +3 -2
  26. package/dist/translations/af.js +1 -1
  27. package/dist/translations/af.umd.js +1 -1
  28. package/dist/translations/ar.js +1 -1
  29. package/dist/translations/ar.umd.js +1 -1
  30. package/dist/translations/ast.js +1 -1
  31. package/dist/translations/ast.umd.js +1 -1
  32. package/dist/translations/az.js +1 -1
  33. package/dist/translations/az.umd.js +1 -1
  34. package/dist/translations/be.js +1 -1
  35. package/dist/translations/be.umd.js +1 -1
  36. package/dist/translations/bg.js +1 -1
  37. package/dist/translations/bg.umd.js +1 -1
  38. package/dist/translations/bn.js +1 -1
  39. package/dist/translations/bn.umd.js +1 -1
  40. package/dist/translations/bs.js +1 -1
  41. package/dist/translations/bs.umd.js +1 -1
  42. package/dist/translations/ca.js +1 -1
  43. package/dist/translations/ca.umd.js +1 -1
  44. package/dist/translations/cs.js +1 -1
  45. package/dist/translations/cs.umd.js +1 -1
  46. package/dist/translations/da.js +1 -1
  47. package/dist/translations/da.umd.js +1 -1
  48. package/dist/translations/de-ch.js +1 -1
  49. package/dist/translations/de-ch.umd.js +1 -1
  50. package/dist/translations/de.js +1 -1
  51. package/dist/translations/de.umd.js +1 -1
  52. package/dist/translations/el.js +1 -1
  53. package/dist/translations/el.umd.js +1 -1
  54. package/dist/translations/en-au.js +1 -1
  55. package/dist/translations/en-au.umd.js +1 -1
  56. package/dist/translations/en-gb.js +1 -1
  57. package/dist/translations/en-gb.umd.js +1 -1
  58. package/dist/translations/en.js +1 -1
  59. package/dist/translations/en.umd.js +1 -1
  60. package/dist/translations/eo.js +1 -1
  61. package/dist/translations/eo.umd.js +1 -1
  62. package/dist/translations/es-co.js +1 -1
  63. package/dist/translations/es-co.umd.js +1 -1
  64. package/dist/translations/es.js +1 -1
  65. package/dist/translations/es.umd.js +1 -1
  66. package/dist/translations/et.js +1 -1
  67. package/dist/translations/et.umd.js +1 -1
  68. package/dist/translations/eu.js +1 -1
  69. package/dist/translations/eu.umd.js +1 -1
  70. package/dist/translations/fa.js +1 -1
  71. package/dist/translations/fa.umd.js +1 -1
  72. package/dist/translations/fi.js +1 -1
  73. package/dist/translations/fi.umd.js +1 -1
  74. package/dist/translations/fr.js +1 -1
  75. package/dist/translations/fr.umd.js +1 -1
  76. package/dist/translations/gl.js +1 -1
  77. package/dist/translations/gl.umd.js +1 -1
  78. package/dist/translations/gu.js +1 -1
  79. package/dist/translations/gu.umd.js +1 -1
  80. package/dist/translations/he.js +1 -1
  81. package/dist/translations/he.umd.js +1 -1
  82. package/dist/translations/hi.js +1 -1
  83. package/dist/translations/hi.umd.js +1 -1
  84. package/dist/translations/hr.js +1 -1
  85. package/dist/translations/hr.umd.js +1 -1
  86. package/dist/translations/hu.js +1 -1
  87. package/dist/translations/hu.umd.js +1 -1
  88. package/dist/translations/hy.js +1 -1
  89. package/dist/translations/hy.umd.js +1 -1
  90. package/dist/translations/id.js +1 -1
  91. package/dist/translations/id.umd.js +1 -1
  92. package/dist/translations/it.js +1 -1
  93. package/dist/translations/it.umd.js +1 -1
  94. package/dist/translations/ja.js +1 -1
  95. package/dist/translations/ja.umd.js +1 -1
  96. package/dist/translations/jv.js +1 -1
  97. package/dist/translations/jv.umd.js +1 -1
  98. package/dist/translations/kk.js +1 -1
  99. package/dist/translations/kk.umd.js +1 -1
  100. package/dist/translations/km.js +1 -1
  101. package/dist/translations/km.umd.js +1 -1
  102. package/dist/translations/kn.js +1 -1
  103. package/dist/translations/kn.umd.js +1 -1
  104. package/dist/translations/ko.js +1 -1
  105. package/dist/translations/ko.umd.js +1 -1
  106. package/dist/translations/ku.js +1 -1
  107. package/dist/translations/ku.umd.js +1 -1
  108. package/dist/translations/lt.js +1 -1
  109. package/dist/translations/lt.umd.js +1 -1
  110. package/dist/translations/lv.js +1 -1
  111. package/dist/translations/lv.umd.js +1 -1
  112. package/dist/translations/ms.js +1 -1
  113. package/dist/translations/ms.umd.js +1 -1
  114. package/dist/translations/nb.js +1 -1
  115. package/dist/translations/nb.umd.js +1 -1
  116. package/dist/translations/ne.js +1 -1
  117. package/dist/translations/ne.umd.js +1 -1
  118. package/dist/translations/nl.js +1 -1
  119. package/dist/translations/nl.umd.js +1 -1
  120. package/dist/translations/no.js +1 -1
  121. package/dist/translations/no.umd.js +1 -1
  122. package/dist/translations/oc.js +1 -1
  123. package/dist/translations/oc.umd.js +1 -1
  124. package/dist/translations/pl.js +1 -1
  125. package/dist/translations/pl.umd.js +1 -1
  126. package/dist/translations/pt-br.js +1 -1
  127. package/dist/translations/pt-br.umd.js +1 -1
  128. package/dist/translations/pt.js +1 -1
  129. package/dist/translations/pt.umd.js +1 -1
  130. package/dist/translations/ro.js +1 -1
  131. package/dist/translations/ro.umd.js +1 -1
  132. package/dist/translations/ru.js +1 -1
  133. package/dist/translations/ru.umd.js +1 -1
  134. package/dist/translations/si.js +1 -1
  135. package/dist/translations/si.umd.js +1 -1
  136. package/dist/translations/sk.js +1 -1
  137. package/dist/translations/sk.umd.js +1 -1
  138. package/dist/translations/sl.js +1 -1
  139. package/dist/translations/sl.umd.js +1 -1
  140. package/dist/translations/sq.js +1 -1
  141. package/dist/translations/sq.umd.js +1 -1
  142. package/dist/translations/sr-latn.js +1 -1
  143. package/dist/translations/sr-latn.umd.js +1 -1
  144. package/dist/translations/sr.js +1 -1
  145. package/dist/translations/sr.umd.js +1 -1
  146. package/dist/translations/sv.js +1 -1
  147. package/dist/translations/sv.umd.js +1 -1
  148. package/dist/translations/th.js +1 -1
  149. package/dist/translations/th.umd.js +1 -1
  150. package/dist/translations/ti.js +1 -1
  151. package/dist/translations/ti.umd.js +1 -1
  152. package/dist/translations/tk.js +1 -1
  153. package/dist/translations/tk.umd.js +1 -1
  154. package/dist/translations/tr.js +1 -1
  155. package/dist/translations/tr.umd.js +1 -1
  156. package/dist/translations/tt.js +1 -1
  157. package/dist/translations/tt.umd.js +1 -1
  158. package/dist/translations/ug.js +1 -1
  159. package/dist/translations/ug.umd.js +1 -1
  160. package/dist/translations/uk.js +1 -1
  161. package/dist/translations/uk.umd.js +1 -1
  162. package/dist/translations/ur.js +1 -1
  163. package/dist/translations/ur.umd.js +1 -1
  164. package/dist/translations/uz.js +1 -1
  165. package/dist/translations/uz.umd.js +1 -1
  166. package/dist/translations/vi.js +1 -1
  167. package/dist/translations/vi.umd.js +1 -1
  168. package/dist/translations/zh-cn.js +1 -1
  169. package/dist/translations/zh-cn.umd.js +1 -1
  170. package/dist/translations/zh.js +1 -1
  171. package/dist/translations/zh.umd.js +1 -1
  172. package/package.json +25 -50
  173. package/build/real-time-collaboration.js +0 -5
  174. package/build/translations/af.js +0 -1
  175. package/build/translations/ar.js +0 -1
  176. package/build/translations/ast.js +0 -1
  177. package/build/translations/az.js +0 -1
  178. package/build/translations/be.js +0 -1
  179. package/build/translations/bg.js +0 -1
  180. package/build/translations/bn.js +0 -1
  181. package/build/translations/bs.js +0 -1
  182. package/build/translations/ca.js +0 -1
  183. package/build/translations/cs.js +0 -1
  184. package/build/translations/da.js +0 -1
  185. package/build/translations/de-ch.js +0 -1
  186. package/build/translations/de.js +0 -1
  187. package/build/translations/el.js +0 -1
  188. package/build/translations/en-au.js +0 -1
  189. package/build/translations/en-gb.js +0 -1
  190. package/build/translations/eo.js +0 -1
  191. package/build/translations/es-co.js +0 -1
  192. package/build/translations/es.js +0 -1
  193. package/build/translations/et.js +0 -1
  194. package/build/translations/eu.js +0 -1
  195. package/build/translations/fa.js +0 -1
  196. package/build/translations/fi.js +0 -1
  197. package/build/translations/fr.js +0 -1
  198. package/build/translations/gl.js +0 -1
  199. package/build/translations/gu.js +0 -1
  200. package/build/translations/he.js +0 -1
  201. package/build/translations/hi.js +0 -1
  202. package/build/translations/hr.js +0 -1
  203. package/build/translations/hu.js +0 -1
  204. package/build/translations/hy.js +0 -1
  205. package/build/translations/id.js +0 -1
  206. package/build/translations/it.js +0 -1
  207. package/build/translations/ja.js +0 -1
  208. package/build/translations/jv.js +0 -1
  209. package/build/translations/kk.js +0 -1
  210. package/build/translations/km.js +0 -1
  211. package/build/translations/kn.js +0 -1
  212. package/build/translations/ko.js +0 -1
  213. package/build/translations/ku.js +0 -1
  214. package/build/translations/lt.js +0 -1
  215. package/build/translations/lv.js +0 -1
  216. package/build/translations/ms.js +0 -1
  217. package/build/translations/nb.js +0 -1
  218. package/build/translations/ne.js +0 -1
  219. package/build/translations/nl.js +0 -1
  220. package/build/translations/no.js +0 -1
  221. package/build/translations/oc.js +0 -1
  222. package/build/translations/pl.js +0 -1
  223. package/build/translations/pt-br.js +0 -1
  224. package/build/translations/pt.js +0 -1
  225. package/build/translations/ro.js +0 -1
  226. package/build/translations/ru.js +0 -1
  227. package/build/translations/si.js +0 -1
  228. package/build/translations/sk.js +0 -1
  229. package/build/translations/sl.js +0 -1
  230. package/build/translations/sq.js +0 -1
  231. package/build/translations/sr-latn.js +0 -1
  232. package/build/translations/sr.js +0 -1
  233. package/build/translations/sv.js +0 -1
  234. package/build/translations/th.js +0 -1
  235. package/build/translations/ti.js +0 -1
  236. package/build/translations/tk.js +0 -1
  237. package/build/translations/tr.js +0 -1
  238. package/build/translations/tt.js +0 -1
  239. package/build/translations/ug.js +0 -1
  240. package/build/translations/uk.js +0 -1
  241. package/build/translations/ur.js +0 -1
  242. package/build/translations/uz.js +0 -1
  243. package/build/translations/vi.js +0 -1
  244. package/build/translations/zh-cn.js +0 -1
  245. package/build/translations/zh.js +0 -1
  246. package/lang/contexts.json +0 -12
  247. package/lang/translations/af.po +0 -54
  248. package/lang/translations/ar.po +0 -58
  249. package/lang/translations/ast.po +0 -54
  250. package/lang/translations/az.po +0 -54
  251. package/lang/translations/be.po +0 -55
  252. package/lang/translations/bg.po +0 -54
  253. package/lang/translations/bn.po +0 -54
  254. package/lang/translations/bs.po +0 -55
  255. package/lang/translations/ca.po +0 -54
  256. package/lang/translations/cs.po +0 -55
  257. package/lang/translations/da.po +0 -54
  258. package/lang/translations/de-ch.po +0 -54
  259. package/lang/translations/de.po +0 -54
  260. package/lang/translations/el.po +0 -54
  261. package/lang/translations/en-au.po +0 -54
  262. package/lang/translations/en-gb.po +0 -54
  263. package/lang/translations/en.po +0 -54
  264. package/lang/translations/eo.po +0 -54
  265. package/lang/translations/es-co.po +0 -54
  266. package/lang/translations/es.po +0 -54
  267. package/lang/translations/et.po +0 -54
  268. package/lang/translations/eu.po +0 -54
  269. package/lang/translations/fa.po +0 -53
  270. package/lang/translations/fi.po +0 -54
  271. package/lang/translations/fr.po +0 -54
  272. package/lang/translations/gl.po +0 -54
  273. package/lang/translations/gu.po +0 -54
  274. package/lang/translations/he.po +0 -54
  275. package/lang/translations/hi.po +0 -54
  276. package/lang/translations/hr.po +0 -55
  277. package/lang/translations/hu.po +0 -54
  278. package/lang/translations/hy.po +0 -54
  279. package/lang/translations/id.po +0 -53
  280. package/lang/translations/it.po +0 -54
  281. package/lang/translations/ja.po +0 -53
  282. package/lang/translations/jv.po +0 -54
  283. package/lang/translations/kk.po +0 -54
  284. package/lang/translations/km.po +0 -53
  285. package/lang/translations/kn.po +0 -54
  286. package/lang/translations/ko.po +0 -53
  287. package/lang/translations/ku.po +0 -54
  288. package/lang/translations/lt.po +0 -55
  289. package/lang/translations/lv.po +0 -55
  290. package/lang/translations/ms.po +0 -53
  291. package/lang/translations/nb.po +0 -54
  292. package/lang/translations/ne.po +0 -54
  293. package/lang/translations/nl.po +0 -54
  294. package/lang/translations/no.po +0 -54
  295. package/lang/translations/oc.po +0 -54
  296. package/lang/translations/pl.po +0 -55
  297. package/lang/translations/pt-br.po +0 -54
  298. package/lang/translations/pt.po +0 -54
  299. package/lang/translations/ro.po +0 -55
  300. package/lang/translations/ru.po +0 -55
  301. package/lang/translations/si.po +0 -54
  302. package/lang/translations/sk.po +0 -55
  303. package/lang/translations/sl.po +0 -56
  304. package/lang/translations/sq.po +0 -54
  305. package/lang/translations/sr-latn.po +0 -55
  306. package/lang/translations/sr.po +0 -55
  307. package/lang/translations/sv.po +0 -54
  308. package/lang/translations/th.po +0 -53
  309. package/lang/translations/ti.po +0 -54
  310. package/lang/translations/tk.po +0 -54
  311. package/lang/translations/tr.po +0 -54
  312. package/lang/translations/tt.po +0 -53
  313. package/lang/translations/ug.po +0 -53
  314. package/lang/translations/uk.po +0 -55
  315. package/lang/translations/ur.po +0 -54
  316. package/lang/translations/uz.po +0 -54
  317. package/lang/translations/vi.po +0 -53
  318. package/lang/translations/zh-cn.po +0 -53
  319. package/lang/translations/zh.po +0 -53
  320. package/src/augmentation.js +0 -23
  321. package/src/common-translations.js +0 -23
  322. package/src/config.js +0 -23
  323. package/src/index.js +0 -23
  324. package/src/presencelist/presencelistui.js +0 -23
  325. package/src/presencelist/view/presencecounterview.js +0 -23
  326. package/src/presencelist/view/presencedropdownlistitemview.js +0 -23
  327. package/src/presencelist/view/presencedropdownlistview.js +0 -23
  328. package/src/presencelist/view/presenceinlinelistitemview.js +0 -23
  329. package/src/presencelist/view/presenceinlinelistview.js +0 -23
  330. package/src/presencelist/view/presencelistview.js +0 -23
  331. package/src/presencelist.js +0 -23
  332. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +0 -24
  333. package/src/realtimecollaborativecomments.js +0 -23
  334. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +0 -24
  335. package/src/realtimecollaborativeediting/sessions.js +0 -23
  336. package/src/realtimecollaborativeediting/usermarkers.js +0 -23
  337. package/src/realtimecollaborativeediting/websocketgateway.js +0 -24
  338. package/src/realtimecollaborativeediting.js +0 -23
  339. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +0 -24
  340. package/src/realtimecollaborativerevisionhistory.js +0 -23
  341. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +0 -24
  342. package/src/realtimecollaborativetrackchanges.js +0 -23
  343. package/theme/presencelist.css +0 -304
  344. package/theme/usermarkers.css +0 -107
  345. /package/{src → dist}/index.d.ts +0 -0
  346. /package/{src → dist}/presencelist/view/presencedropdownlistview.d.ts +0 -0
  347. /package/{src → dist}/presencelist/view/presencelistview.d.ts +0 -0
package/dist/index.css CHANGED
@@ -2,464 +2,327 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /*
6
- * What you're currently looking at is the source code of a legally protected, proprietary software.
7
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
8
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
9
- *
10
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
11
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
12
- */
13
-
14
5
  .ck .ck-user__marker-dot {
15
- /* If you are looking for handling dot color, see `usercolors.css` in the `ckeditor5-collaboration-core`. */
16
- display: block;
17
- position: absolute;
18
- left: 50%;
19
-
20
- /* #124 */
21
- top: calc( ( var(--ck-user-dot-size) / 2 ) * -1 );
22
-
23
- width: var(--ck-user-dot-size);
24
- height: var(--ck-user-dot-size);
25
- border-radius: 50%;
26
- transform: translate( -50%, -50% );
27
- cursor: default;
6
+ left: 50%;
7
+ top: calc(( var(--ck-user-dot-size) / 2 ) * -1);
8
+ width: var(--ck-user-dot-size);
9
+ height: var(--ck-user-dot-size);
10
+ cursor: default;
11
+ border-radius: 50%;
12
+ display: block;
13
+ position: absolute;
14
+ transform: translate(-50%, -50%);
28
15
  }
29
16
 
30
17
  .ck .ck-user__marker-tooltip {
31
- display: none;
32
- position: absolute;
33
-
34
- /* It should be one font in case of inheriting (example: headers sans-serif and content serif type). */
35
- font-family: Georgia, sans-serif;
36
-
37
- /* It should be px value in case of inheriting (like headers example). */
38
- font-size: var(--ck-font-size-base);
39
-
40
- /* In case of inheriting from various components. */
41
- line-height: 1;
42
- font-style: initial;
43
- font-weight: initial;
44
-
45
- left: 0;
46
- opacity: 0;
47
-
48
- /* Moving up this element with 100% of its height. */
49
- top: -20px;
50
-
51
- padding: var(--ck-spacing-small);
52
- color: hsl(0, 0%, 100%);
53
- white-space: nowrap;
54
- transition: opacity 200ms linear, transform 300ms ease-in-out;
55
- z-index: 99999;
18
+ font-family: var(--ck-font-face);
19
+ font-size: var(--ck-font-size-base);
20
+ line-height: 1;
21
+ font-style: initial;
22
+ font-weight: initial;
23
+ opacity: 0;
24
+ padding: var(--ck-spacing-small);
25
+ color: #fff;
26
+ white-space: nowrap;
27
+ z-index: 99999;
28
+ transition: opacity .2s linear, transform .3s ease-in-out;
29
+ display: none;
30
+ position: absolute;
31
+ top: -20px;
32
+ left: 0;
56
33
  }
57
34
 
58
35
  @media (prefers-reduced-motion: reduce) {
59
-
60
- .ck .ck-user__marker-tooltip {
61
- transition: none;
36
+ .ck .ck-user__marker-tooltip {
37
+ transition: none;
38
+ }
62
39
  }
63
- }
64
40
 
65
41
  .ck .ck-user__marker-line {
66
- /* If you are looking for handling line color, see `usercolors.css` in the `ckeditor5-collaboration-core`. */
67
- position: absolute;
68
- bottom: 0;
69
- height: 100%;
70
- width: 0;
42
+ width: 0;
43
+ height: 100%;
44
+ position: absolute;
45
+ bottom: 0;
71
46
  }
72
47
 
73
48
  .ck .ck-user__marker {
74
- display: inline;
75
- position: relative;
76
- cursor: default;
49
+ cursor: default;
50
+ display: inline;
51
+ position: relative;
77
52
  }
78
53
 
79
54
  .ck .ck-user__marker.ck-user__marker_hovered .ck-user__marker-dot {
80
- width: 0;
81
- }
55
+ width: 0;
56
+ }
82
57
 
83
58
  .ck .ck-user__marker.ck-user__marker_hovered .ck-user__marker-tooltip {
84
- display: block;
85
- opacity: 1;
86
- animation: fadeInLeft 300ms ease-in-out;
87
- }
59
+ opacity: 1;
60
+ animation: .3s ease-in-out userMarkersFadeInLeft;
61
+ display: block;
62
+ }
88
63
 
89
64
  .ck .ck-placeholder .ck-user__marker {
90
- display: none;
91
- }
65
+ display: none;
66
+ }
92
67
 
93
68
  @media (prefers-reduced-motion: reduce) {
94
- .ck .ck-user__marker, .ck .ck-user__marker *, .ck .ck-user__marker::after {
95
- animation: none !important;
96
- }
97
- }
98
-
99
- @keyframes fadeInLeft {
100
- from {
101
- opacity: 0;
102
- transform: translateX( -10px );
103
- }
104
- to {
105
- opacity: 1;
106
- transform: translateX( 0 );
107
- }
108
- }
109
-
110
- /*
111
- * What you're currently looking at is the source code of a legally protected, proprietary software.
112
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
113
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
114
- *
115
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
116
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
117
- */
118
-
119
- /*
120
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
121
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
122
- */
123
-
124
- /*
125
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
126
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
127
- */
128
-
129
- /**
130
- * Makes element unselectable.
131
- */
69
+ .ck .ck-user__marker, .ck .ck-user__marker *, .ck .ck-user__marker:after {
70
+ animation: none !important;
71
+ }
72
+ }
132
73
 
133
- .ck.ck-balloon-panel.ck-tooltip {
134
- -moz-user-select: none;
135
- -webkit-user-select: none;
136
- -ms-user-select: none;
137
- user-select: none;
74
+ @keyframes userMarkersFadeInLeft {
75
+ from {
76
+ opacity: 0;
77
+ transform: translateX(-10px);
78
+ }
138
79
 
139
- z-index: calc( var(--ck-z-dialog) + 100 );
80
+ to {
81
+ opacity: 1;
82
+ transform: translateX(0);
83
+ }
140
84
  }
141
- /*
142
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
143
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
144
- */
145
- /**
146
- * A helper to combine multiple shadows.
147
- */
148
- /**
149
- * Gives an element a drop shadow so it looks like a floating panel.
150
- */
151
- /*
152
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
153
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
154
- */
155
- /**
156
- * A visual style of focused element's border.
157
- */
158
- /*
159
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
160
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
161
- */
162
- /**
163
- * Implements rounded corner interface for .ck-rounded-corners class.
164
- *
165
- * @see $ck-border-radius
166
- */
167
85
 
168
86
  :root {
169
- --ck-color-presence-list-dropdown-background: hsl(0, 0%, 100%);
170
- --ck-color-presence-list-dropdown-arrow-border: hsl(0, 0%, 92%);
171
-
172
- --ck-presence-list-dropdown-list-max-width: 250px;
173
- --ck-presence-list-dropdown-list-min-width: 180px;
174
-
175
- --ck-presence-list-users-tooltip-max-width: 120px;
176
- --ck-presence-list-users-tooltip-min-width: 25px;
87
+ --ck-color-presence-list-dropdown-background: #fff;
88
+ --ck-color-presence-list-dropdown-arrow-border: #ebebeb;
89
+ --ck-presence-list-dropdown-list-max-width: 250px;
90
+ --ck-presence-list-dropdown-list-min-width: 180px;
91
+ --ck-presence-list-users-tooltip-max-width: 120px;
92
+ --ck-presence-list-users-tooltip-min-width: 25px;
177
93
  }
178
94
 
179
95
  .ck.ck-presence-list {
180
- display: inline-flex;
181
- align-items: center;
182
- margin-right: var(--ck-spacing-standard);
183
- transition: margin-right 200ms ease-in-out;
184
- font-size: var(--ck-font-size-base);
96
+ margin-right: var(--ck-spacing-standard);
97
+ font-size: var(--ck-font-size-base);
98
+ align-items: center;
99
+ transition: margin-right .2s ease-in-out;
100
+ display: inline-flex;
185
101
  }
186
102
 
187
103
  .ck.ck-presence-list * {
188
- box-sizing: border-box;
189
- }
104
+ box-sizing: border-box;
105
+ }
190
106
 
191
107
  .ck.ck-presence-list__list {
192
- display: flex;
193
- flex-direction: row;
194
- position: relative;
195
-
196
- /* Taking care about margin animation in collapsed mode. */
197
- justify-content: flex-end;
108
+ flex-direction: row;
109
+ justify-content: flex-end;
110
+ display: flex;
111
+ position: relative;
198
112
  }
199
113
 
200
- .ck.ck-presence-list__list::after {
201
- content: "";
202
- position: absolute;
203
- bottom: -15px;
204
- left: 0;
205
- width: 100%;
206
- height: 15px;
207
- background: transparent;
208
- }
114
+ .ck.ck-presence-list__list:after {
115
+ content: "";
116
+ background: none;
117
+ width: 100%;
118
+ height: 15px;
119
+ position: absolute;
120
+ bottom: -15px;
121
+ left: 0;
122
+ }
209
123
 
210
124
  .ck.ck-presence-list__counter--hidden {
211
- display: none;
125
+ display: none;
212
126
  }
213
127
 
214
128
  .ck.ck-presence-list__list-item {
215
- /**
216
- * Reset default CK5 button styles - `.ck-reset__all *`.
217
- * Reset default user agent button stylesheet too.
218
- */
219
- font: inherit;
220
- color: inherit;
221
- border: 1px solid transparent;
222
- outline: none;
223
- background: none;
224
- padding: 0;
225
-
226
- position: relative;
227
- margin-left: var(--ck-spacing-medium);
129
+ font: inherit;
130
+ color: inherit;
131
+ margin-left: var(--ck-spacing-medium);
132
+ background: none;
133
+ border: 1px solid #0000;
134
+ outline: none;
135
+ padding: 0;
136
+ position: relative;
228
137
  }
229
138
 
230
139
  .ck.ck-presence-list__list-item:focus {
231
- border-radius: 0;
232
- /* Disable native outline. */
233
- outline: none;
234
- border: var(--ck-focus-ring);
235
- box-shadow: var(--ck-focus-outer-shadow), 0 0;
236
- }
237
-
238
- .ck-rounded-corners .ck.ck-presence-list__list-item:focus,
239
- .ck.ck-presence-list__list-item.ck-rounded-corners:focus {
240
- border-radius: var(--ck-border-radius);
241
- }
140
+ border-radius: var(--ck-rounded-corners-radius);
141
+ border: var(--ck-focus-ring);
142
+ box-shadow: var(--ck-focus-outer-shadow), 0 0;
143
+ outline: none;
144
+ }
242
145
 
243
146
  .ck.ck-presence-list__list-item .ck-label {
244
- /*
245
- * Forces screen reader to read label despite the fact that it is hidden.
246
- * Placing `display: none` on the element will prevent screen reader from reading it.
247
- */
248
- overflow: hidden;
249
- height: 0px;
250
- width: 0px;
251
- }
147
+ width: 0;
148
+ height: 0;
149
+ overflow: hidden;
150
+ }
252
151
 
253
152
  .ck.ck-presence-list__list-item:first-child {
254
- margin-left: 0;
255
- }
153
+ margin-left: 0;
154
+ }
256
155
 
257
156
  .ck.ck-tooltip.ck-presence-list__list-item__tooltip > .ck-tooltip__text {
258
- display: inline-block;
259
- max-width: var(--ck-presence-list-users-tooltip-max-width);
260
- overflow: hidden;
261
- text-align: center;
262
- text-overflow: ellipsis;
263
- white-space: nowrap;
264
- }
157
+ max-width: var(--ck-presence-list-users-tooltip-max-width);
158
+ text-align: center;
159
+ text-overflow: ellipsis;
160
+ white-space: nowrap;
161
+ display: inline-block;
162
+ overflow: hidden;
163
+ }
265
164
 
266
165
  .ck.ck-presence-list__marker {
267
- position: relative;
268
- display: block;
269
- width: 100%;
270
- height: 3px;
271
- margin-top: 5px;
166
+ width: 100%;
167
+ height: 3px;
168
+ margin-top: 5px;
169
+ display: block;
170
+ position: relative;
272
171
  }
273
172
 
274
- /**
275
- * Add better UX behavior of button to the `clickable` elements.
276
- * We need to create stronger specificity than `.ck.ck-reset__all *`.
277
- */
278
- .ck-presence-list__list button.ck-presence-list__list-item *,
279
- .ck-presence-list__balloon button.ck-presence-list__dropdown-list-item * {
280
- cursor: pointer;
173
+ .ck-presence-list__list button.ck-presence-list__list-item *, .ck-presence-list__balloon button.ck-presence-list__dropdown-list-item * {
174
+ cursor: pointer;
281
175
  }
282
176
 
283
177
  .ck.ck-presence-list--collapsed .ck-presence-list__list {
284
- border: 1px solid transparent;
285
- padding-left: 1px;
286
-
287
- /* Because of moving avatars to the right with margin-left we need to set min-width of container. */
288
- min-width: calc( var(--ck-user-avatar-size) * 2 );
289
- }
178
+ min-width: calc(var(--ck-user-avatar-size) * 2);
179
+ border: 1px solid #0000;
180
+ padding-left: 1px;
181
+ }
290
182
 
291
183
  .ck.ck-presence-list--collapsed .ck-presence-list__list * {
292
- cursor: pointer;
293
- transition: all 400ms ease-in-out;
294
- }
184
+ cursor: pointer;
185
+ transition: all .4s ease-in-out;
186
+ }
295
187
 
296
188
  .ck.ck-presence-list--collapsed .ck-presence-list__list:focus {
297
- border-radius: 0;
298
- /* Disable native outline. */
299
- outline: none;
300
- border: var(--ck-focus-ring);
301
- box-shadow: var(--ck-focus-outer-shadow), 0 0;
302
- }
303
-
304
- .ck-rounded-corners .ck.ck-presence-list--collapsed .ck-presence-list__list:focus,
305
- .ck.ck-presence-list--collapsed .ck-presence-list__list.ck-rounded-corners:focus {
306
- border-radius: var(--ck-border-radius);
307
- }
189
+ border-radius: var(--ck-rounded-corners-radius);
190
+ border: var(--ck-focus-ring);
191
+ box-shadow: var(--ck-focus-outer-shadow), 0 0;
192
+ outline: none;
193
+ }
308
194
 
309
195
  .ck.ck-presence-list--collapsed .ck.ck-presence-list__list-item {
310
- /* Adding negative margin (35% of avatar) to create collapsed effect. */
311
- margin-left: calc( var(--ck-user-avatar-size) * -0.35);
312
-
313
- /* Reset focus borders */
314
- border: 0;
315
- padding: 0;
316
- }
196
+ margin-left: calc(var(--ck-user-avatar-size) * -.35);
197
+ border: 0;
198
+ padding: 0;
199
+ }
317
200
 
318
201
  .ck.ck-presence-list--collapsed .ck.ck-presence-list__list-item:first-child {
319
- margin-left: 0;
320
- }
202
+ margin-left: 0;
203
+ }
321
204
 
322
205
  .ck.ck-presence-list--collapsed .ck.ck-presence-list__list-item:last-child {
323
- order: unset;
324
- }
206
+ order: unset;
207
+ }
325
208
 
326
209
  .ck.ck-presence-list--collapsed .ck.ck-presence-list__list-item .ck-user {
327
- --ck-presence-list-avatar-border-color: var(--ck-color-base-foreground);
328
- border: 2px solid var(--ck-presence-list-avatar-border-color);
329
- margin-left: 0;
330
- margin-right: 0;
331
- }
210
+ --ck-presence-list-avatar-border-color: var(--ck-color-base-foreground);
211
+ border: 2px solid var(--ck-presence-list-avatar-border-color);
212
+ margin-left: 0;
213
+ margin-right: 0;
214
+ }
332
215
 
333
216
  .ck.ck-presence-list--collapsed .ck.ck-presence-list__list-item.ck-presence-list__users-counter {
334
- margin-left: 0;
335
- margin-right: 0;
336
- }
217
+ margin-left: 0;
218
+ margin-right: 0;
219
+ }
337
220
 
338
221
  .ck.ck-presence-list__balloon {
339
- /* Overwrite arrows background of balloon */
340
- --ck-color-panel-border: var(--ck-color-presence-list-dropdown-arrow-border);
341
- --ck-color-panel-background: var(--ck-color-presence-list-dropdown-background);
342
-
343
- background-color: var(--ck-color-presence-list-dropdown-background);
344
- border: 0;
345
- opacity: 1;
346
- animation: 300ms fadeIn ease-in-out;
222
+ --ck-color-panel-border: var(--ck-color-presence-list-dropdown-arrow-border);
223
+ --ck-color-panel-background: var(--ck-color-presence-list-dropdown-background);
224
+ background-color: var(--ck-color-presence-list-dropdown-background);
225
+ opacity: 1;
226
+ border: 0;
227
+ animation: .3s ease-in-out fadeIn;
347
228
  }
348
229
 
349
230
  @media (prefers-reduced-motion: reduce) {
350
-
351
- .ck.ck-presence-list__balloon {
352
- animation: none;
231
+ .ck.ck-presence-list__balloon {
232
+ animation: none;
233
+ }
353
234
  }
354
- }
355
235
 
356
236
  .ck.ck-presence-list__balloon ul {
357
- background-color: var(--ck-color-presence-list-dropdown-background);
358
- }
237
+ background-color: var(--ck-color-presence-list-dropdown-background);
238
+ }
359
239
 
360
240
  .ck.ck-presence-list__balloon .ck.ck-presence-list__dropdown-list-wrapper {
361
- min-width: var(--ck-presence-list-dropdown-list-min-width);
362
- max-width: var(--ck-presence-list-dropdown-list-max-width);
363
- border-radius: var(--ck-border-radius);
364
-
365
- /*
366
- * Make it scrollable to prevent truncate of focus ring and shadow.
367
- * It's temporary fix, we should rethink max-height of dropdown
368
- */
369
- }
241
+ min-width: var(--ck-presence-list-dropdown-list-min-width);
242
+ max-width: var(--ck-presence-list-dropdown-list-max-width);
243
+ border-radius: var(--ck-border-radius);
244
+ }
370
245
 
371
246
  .ck.ck-presence-list__balloon .ck.ck-presence-list__dropdown-list-wrapper.ck-presence-list__dropdown-list-wrapper_scrollable {
372
- max-height: 80vh;
373
- overflow-y: auto;
374
- overflow-x: hidden;
375
- }
247
+ max-height: 80vh;
248
+ overflow: hidden auto;
249
+ }
376
250
 
377
251
  .ck.ck-presence-list__balloon .ck.ck-presence-list__dropdown-list-item {
378
- /**
379
- * Reset default CK5 button styles - `.ck-reset__all *`.
380
- * Reset default user agent button stylesheet too.
381
- */
382
- font: inherit;
383
- color: inherit;
384
- outline: none;
385
- border: 0;
386
- background: none;
387
-
388
- display: flex;
389
- align-items: center;
390
- position: relative;
391
- padding: var(--ck-spacing-standard);
392
- }
252
+ font: inherit;
253
+ color: inherit;
254
+ padding: var(--ck-spacing-standard);
255
+ background: none;
256
+ border: 0;
257
+ outline: none;
258
+ align-items: center;
259
+ display: flex;
260
+ position: relative;
261
+ }
393
262
 
394
263
  .ck.ck-presence-list__balloon .ck.ck-presence-list__dropdown-list-item:focus {
395
- position: relative;
396
- z-index: 1;
397
- outline: var(--ck-focus-ring);
398
- outline-offset: -1px;
399
-
400
- box-shadow: var(--ck-focus-outer-shadow), 0 0;
401
- }
264
+ z-index: 1;
265
+ outline: var(--ck-focus-ring);
266
+ outline-offset: -1px;
267
+ box-shadow: var(--ck-focus-outer-shadow), 0 0;
268
+ position: relative;
269
+ }
402
270
 
403
271
  .ck.ck-presence-list__balloon .ck.ck-presence-list__dropdown-list-item:first-of-type .ck-presence-list__marker {
404
- border-top-left-radius: var(--ck-border-radius);
405
- }
272
+ border-top-left-radius: var(--ck-border-radius);
273
+ }
406
274
 
407
275
  .ck.ck-presence-list__balloon .ck.ck-presence-list__dropdown-list-item:last-of-type .ck-presence-list__marker {
408
- border-bottom-left-radius: var(--ck-border-radius);
409
- }
276
+ border-bottom-left-radius: var(--ck-border-radius);
277
+ }
410
278
 
411
279
  .ck.ck-presence-list__balloon .ck.ck-presence-list__dropdown-list .ck-user__full-name {
412
- white-space: nowrap;
413
- overflow: hidden;
414
- text-overflow: ellipsis;
415
- color: var(--ck-color-base-text);
416
- margin-left: var(--ck-spacing-standard);
417
- }
280
+ white-space: nowrap;
281
+ text-overflow: ellipsis;
282
+ color: var(--ck-color-base-text);
283
+ margin-left: var(--ck-spacing-standard);
284
+ overflow: hidden;
285
+ }
418
286
 
419
287
  .ck.ck-presence-list__balloon .ck.ck-presence-list__dropdown-list .ck.ck-presence-list__marker {
420
- position: absolute;
421
- left: 0;
422
- margin: 0;
423
- height: 100%;
424
- width: 3px;
425
- }
288
+ width: 3px;
289
+ height: 100%;
290
+ margin: 0;
291
+ position: absolute;
292
+ left: 0;
293
+ }
426
294
 
427
295
  .ck.ck-presence-list__users-counter {
428
- --ck-presence-list-counter-border-color: var(--ck-user-avatar-background);
429
- --ck-presence-list-counter-background-color: var(--ck-user-avatar-color);
430
-
431
- border: 2px solid var(--ck-presence-list-counter-border-color);
432
- display: flex;
433
- justify-content: center;
434
- align-items: center;
435
- position: relative;
436
- border-radius: 50%;
437
- background-color: var(--ck-presence-list-counter-background-color);
438
- box-sizing: border-box;
439
- height: calc(var(--ck-user-avatar-size) - 4px);
440
- width: calc(var(--ck-user-avatar-size) - 4px);
441
- line-height: 100%;
442
- margin: 2px;
443
- margin-top: 4px;
296
+ --ck-presence-list-counter-border-color: var(--ck-user-avatar-background);
297
+ --ck-presence-list-counter-background-color: var(--ck-user-avatar-color);
298
+ border: 2px solid var(--ck-presence-list-counter-border-color);
299
+ background-color: var(--ck-presence-list-counter-background-color);
300
+ box-sizing: border-box;
301
+ height: calc(var(--ck-user-avatar-size) - 4px);
302
+ width: calc(var(--ck-user-avatar-size) - 4px);
303
+ border-radius: 50%;
304
+ justify-content: center;
305
+ align-items: center;
306
+ margin: 4px 2px 2px;
307
+ line-height: 100%;
308
+ display: flex;
309
+ position: relative;
444
310
  }
445
311
 
446
312
  .ck.ck-presence-list__users-counter__text {
447
- --ck-presence-list-counter-text-color: var(--ck-user-avatar-background);
448
-
449
- color: var(--ck-presence-list-counter-text-color);
450
- cursor: default;
451
- -moz-user-select: none;
452
- -webkit-user-select: none;
453
- -ms-user-select: none;
454
- user-select: none;
313
+ --ck-presence-list-counter-text-color: var(--ck-user-avatar-background);
314
+ color: var(--ck-presence-list-counter-text-color);
315
+ cursor: default;
316
+ -webkit-user-select: none;
317
+ user-select: none;
455
318
  }
456
319
 
457
320
  @keyframes fadeIn {
458
- from {
459
- opacity: 0;
460
- }
321
+ from {
322
+ opacity: 0;
323
+ }
461
324
 
462
- to {
463
- opacity: 1;
464
- }
325
+ to {
326
+ opacity: 1;
327
+ }
465
328
  }