@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
@@ -1,304 +0,0 @@
1
- /*
2
- * What you're currently looking at is the source code of a legally protected, proprietary software.
3
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
- *
6
- * Copyright (c) 2003-2026, 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
- @import '@ckeditor/ckeditor5-ui/theme/components/tooltip/tooltip.css';
11
- @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";
12
- @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_focus.css";
13
- @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";
14
-
15
- :root {
16
- --ck-color-presence-list-dropdown-background: hsl(0, 0%, 100%);
17
- --ck-color-presence-list-dropdown-arrow-border: hsl(0, 0%, 92%);
18
-
19
- --ck-presence-list-dropdown-list-max-width: 250px;
20
- --ck-presence-list-dropdown-list-min-width: 180px;
21
-
22
- --ck-presence-list-users-tooltip-max-width: 120px;
23
- --ck-presence-list-users-tooltip-min-width: 25px;
24
- }
25
-
26
- .ck.ck-presence-list {
27
- display: inline-flex;
28
- align-items: center;
29
- margin-right: var(--ck-spacing-standard);
30
- transition: margin-right 200ms ease-in-out;
31
- font-size: var(--ck-font-size-base);
32
-
33
- & * {
34
- box-sizing: border-box;
35
- }
36
- }
37
-
38
- .ck.ck-presence-list__list {
39
- display: flex;
40
- flex-direction: row;
41
- position: relative;
42
-
43
- /* Taking care about margin animation in collapsed mode. */
44
- justify-content: flex-end;
45
-
46
- &::after {
47
- content: "";
48
- position: absolute;
49
- bottom: -15px;
50
- left: 0;
51
- width: 100%;
52
- height: 15px;
53
- background: transparent;
54
- }
55
- }
56
-
57
- .ck.ck-presence-list__counter--hidden {
58
- display: none;
59
- }
60
-
61
- .ck.ck-presence-list__list-item {
62
- /**
63
- * Reset default CK5 button styles - `.ck-reset__all *`.
64
- * Reset default user agent button stylesheet too.
65
- */
66
- font: inherit;
67
- color: inherit;
68
- border: 1px solid transparent;
69
- outline: none;
70
- background: none;
71
- padding: 0;
72
-
73
- position: relative;
74
- margin-left: var(--ck-spacing-medium);
75
-
76
- &:focus {
77
- @mixin ck-rounded-corners;
78
- @mixin ck-focus-ring;
79
- @mixin ck-box-shadow var(--ck-focus-outer-shadow);
80
- }
81
-
82
- & .ck-label {
83
- /*
84
- * Forces screen reader to read label despite the fact that it is hidden.
85
- * Placing `display: none` on the element will prevent screen reader from reading it.
86
- */
87
- overflow: hidden;
88
- height: 0px;
89
- width: 0px;
90
- }
91
-
92
- &:first-child {
93
- margin-left: 0;
94
- }
95
- }
96
-
97
- .ck.ck-tooltip.ck-presence-list__list-item__tooltip {
98
- & > .ck-tooltip__text {
99
- display: inline-block;
100
- max-width: var(--ck-presence-list-users-tooltip-max-width);
101
- overflow: hidden;
102
- text-align: center;
103
- text-overflow: ellipsis;
104
- white-space: nowrap;
105
- }
106
- }
107
-
108
- .ck.ck-presence-list__marker {
109
- position: relative;
110
- display: block;
111
- width: 100%;
112
- height: 3px;
113
- margin-top: 5px;
114
- }
115
-
116
- /**
117
- * Add better UX behavior of button to the `clickable` elements.
118
- * We need to create stronger specificity than `.ck.ck-reset__all *`.
119
- */
120
- .ck-presence-list__list button.ck-presence-list__list-item *,
121
- .ck-presence-list__balloon button.ck-presence-list__dropdown-list-item * {
122
- cursor: pointer;
123
- }
124
-
125
- .ck.ck-presence-list--collapsed {
126
- & .ck-presence-list__list {
127
- border: 1px solid transparent;
128
- padding-left: 1px;
129
-
130
- /* Because of moving avatars to the right with margin-left we need to set min-width of container. */
131
- min-width: calc( var(--ck-user-avatar-size) * 2 );
132
-
133
- & * {
134
- cursor: pointer;
135
- transition: all 400ms ease-in-out;
136
- }
137
-
138
- &:focus {
139
- @mixin ck-rounded-corners;
140
- @mixin ck-focus-ring;
141
- @mixin ck-box-shadow var(--ck-focus-outer-shadow);
142
- }
143
- }
144
-
145
- & .ck.ck-presence-list__list-item {
146
- /* Adding negative margin (35% of avatar) to create collapsed effect. */
147
- margin-left: calc( var(--ck-user-avatar-size) * -0.35);
148
-
149
- /* Reset focus borders */
150
- border: 0;
151
- padding: 0;
152
-
153
- &:first-child {
154
- margin-left: 0;
155
- }
156
-
157
- &:last-child {
158
- order: unset;
159
- }
160
-
161
- & .ck-user {
162
- --ck-presence-list-avatar-border-color: var(--ck-color-base-foreground);
163
- border: 2px solid var(--ck-presence-list-avatar-border-color);
164
- margin-left: 0;
165
- margin-right: 0;
166
- }
167
-
168
- &.ck-presence-list__users-counter {
169
- margin-left: 0;
170
- margin-right: 0;
171
- }
172
- }
173
- }
174
-
175
- .ck.ck-presence-list__balloon {
176
- /* Overwrite arrows background of balloon */
177
- --ck-color-panel-border: var(--ck-color-presence-list-dropdown-arrow-border);
178
- --ck-color-panel-background: var(--ck-color-presence-list-dropdown-background);
179
-
180
- background-color: var(--ck-color-presence-list-dropdown-background);
181
- border: 0;
182
- opacity: 1;
183
- animation: 300ms fadeIn ease-in-out;
184
-
185
- @media (prefers-reduced-motion: reduce) {
186
- animation: none;
187
- }
188
-
189
- & ul {
190
- background-color: var(--ck-color-presence-list-dropdown-background);
191
- }
192
-
193
- & .ck.ck-presence-list__dropdown-list-wrapper {
194
- min-width: var(--ck-presence-list-dropdown-list-min-width);
195
- max-width: var(--ck-presence-list-dropdown-list-max-width);
196
- border-radius: var(--ck-border-radius);
197
-
198
- /*
199
- * Make it scrollable to prevent truncate of focus ring and shadow.
200
- * It's temporary fix, we should rethink max-height of dropdown
201
- */
202
- &.ck-presence-list__dropdown-list-wrapper_scrollable {
203
- max-height: 80vh;
204
- overflow-y: auto;
205
- overflow-x: hidden;
206
- }
207
- }
208
-
209
- & .ck.ck-presence-list__dropdown-list-item {
210
- /**
211
- * Reset default CK5 button styles - `.ck-reset__all *`.
212
- * Reset default user agent button stylesheet too.
213
- */
214
- font: inherit;
215
- color: inherit;
216
- outline: none;
217
- border: 0;
218
- background: none;
219
-
220
- display: flex;
221
- align-items: center;
222
- position: relative;
223
- padding: var(--ck-spacing-standard);
224
-
225
- &:focus {
226
- position: relative;
227
- z-index: 1;
228
- outline: var(--ck-focus-ring);
229
- outline-offset: -1px;
230
-
231
- @mixin ck-box-shadow var(--ck-focus-outer-shadow);
232
- }
233
-
234
- &:first-of-type {
235
- & .ck-presence-list__marker {
236
- border-top-left-radius: var(--ck-border-radius);
237
- }
238
- }
239
-
240
- &:last-of-type {
241
- & .ck-presence-list__marker {
242
- border-bottom-left-radius: var(--ck-border-radius);
243
- }
244
- }
245
- }
246
-
247
- & .ck.ck-presence-list__dropdown-list {
248
- & .ck-user__full-name {
249
- white-space: nowrap;
250
- overflow: hidden;
251
- text-overflow: ellipsis;
252
- color: var(--ck-color-base-text);
253
- margin-left: var(--ck-spacing-standard);
254
- }
255
-
256
- & .ck.ck-presence-list__marker {
257
- position: absolute;
258
- left: 0;
259
- margin: 0;
260
- height: 100%;
261
- width: 3px;
262
- }
263
- }
264
- }
265
-
266
- .ck.ck-presence-list__users-counter {
267
- --ck-presence-list-counter-border-color: var(--ck-user-avatar-background);
268
- --ck-presence-list-counter-background-color: var(--ck-user-avatar-color);
269
-
270
- border: 2px solid var(--ck-presence-list-counter-border-color);
271
- display: flex;
272
- justify-content: center;
273
- align-items: center;
274
- position: relative;
275
- border-radius: 50%;
276
- background-color: var(--ck-presence-list-counter-background-color);
277
- box-sizing: border-box;
278
- height: calc(var(--ck-user-avatar-size) - 4px);
279
- width: calc(var(--ck-user-avatar-size) - 4px);
280
- line-height: 100%;
281
- margin: 2px;
282
- margin-top: 4px;
283
- }
284
-
285
- .ck.ck-presence-list__users-counter__text {
286
- --ck-presence-list-counter-text-color: var(--ck-user-avatar-background);
287
-
288
- color: var(--ck-presence-list-counter-text-color);
289
- cursor: default;
290
- -moz-user-select: none;
291
- -webkit-user-select: none;
292
- -ms-user-select: none;
293
- user-select: none;
294
- }
295
-
296
- @keyframes fadeIn {
297
- from {
298
- opacity: 0;
299
- }
300
-
301
- to {
302
- opacity: 1;
303
- }
304
- }
@@ -1,107 +0,0 @@
1
- /*
2
- * What you're currently looking at is the source code of a legally protected, proprietary software.
3
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
- *
6
- * Copyright (c) 2003-2026, 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
- .ck .ck-user__marker-dot {
11
- /* If you are looking for handling dot color, see `usercolors.css` in the `ckeditor5-collaboration-core`. */
12
- display: block;
13
- position: absolute;
14
- left: 50%;
15
-
16
- /* #124 */
17
- top: calc( ( var(--ck-user-dot-size) / 2 ) * -1 );
18
-
19
- width: var(--ck-user-dot-size);
20
- height: var(--ck-user-dot-size);
21
- border-radius: 50%;
22
- transform: translate( -50%, -50% );
23
- cursor: default;
24
- }
25
-
26
- .ck .ck-user__marker-tooltip {
27
- display: none;
28
- position: absolute;
29
-
30
- /* It should be one font in case of inheriting (example: headers sans-serif and content serif type). */
31
- font-family: Georgia, sans-serif;
32
-
33
- /* It should be px value in case of inheriting (like headers example). */
34
- font-size: var(--ck-font-size-base);
35
-
36
- /* In case of inheriting from various components. */
37
- line-height: 1;
38
- font-style: initial;
39
- font-weight: initial;
40
-
41
- left: 0;
42
- opacity: 0;
43
-
44
- /* Moving up this element with 100% of its height. */
45
- top: -20px;
46
-
47
- padding: var(--ck-spacing-small);
48
- color: hsl(0, 0%, 100%);
49
- white-space: nowrap;
50
- transition: opacity 200ms linear, transform 300ms ease-in-out;
51
- z-index: 99999;
52
-
53
- @media (prefers-reduced-motion: reduce) {
54
- transition: none;
55
- }
56
- }
57
-
58
- .ck .ck-user__marker-line {
59
- /* If you are looking for handling line color, see `usercolors.css` in the `ckeditor5-collaboration-core`. */
60
- position: absolute;
61
- bottom: 0;
62
- height: 100%;
63
- width: 0;
64
- }
65
-
66
- .ck .ck-user__marker {
67
- display: inline;
68
- position: relative;
69
- cursor: default;
70
- }
71
-
72
- .ck .ck-user__marker.ck-user__marker_hovered {
73
- & .ck-user__marker-dot {
74
- width: 0;
75
- }
76
-
77
- & .ck-user__marker-tooltip {
78
- display: block;
79
- opacity: 1;
80
- animation: fadeInLeft 300ms ease-in-out;
81
- }
82
- }
83
-
84
- .ck .ck-placeholder {
85
- & .ck-user__marker {
86
- display: none;
87
- }
88
- }
89
-
90
- @media (prefers-reduced-motion: reduce) {
91
- .ck .ck-user__marker {
92
- &, & *, &::after {
93
- animation: none !important;
94
- }
95
- }
96
- }
97
-
98
- @keyframes fadeInLeft {
99
- from {
100
- opacity: 0;
101
- transform: translateX( -10px );
102
- }
103
- to {
104
- opacity: 1;
105
- transform: translateX( 0 );
106
- }
107
- }
File without changes