@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.
- package/LICENSE.md +1 -1
- package/ckeditor5-metadata.json +85 -85
- package/{src → dist}/augmentation.d.ts +1 -1
- package/{src → dist}/common-translations.d.ts +1 -1
- package/{src → dist}/config.d.ts +1 -1
- package/dist/index-editor.css +220 -255
- package/dist/index.css +218 -355
- package/dist/index.js +6 -6
- package/{src → dist}/presencelist/presencelistui.d.ts +1 -1
- package/{src → dist}/presencelist/view/presencecounterview.d.ts +2 -2
- package/{src → dist}/presencelist/view/presencedropdownlistitemview.d.ts +3 -3
- package/{src → dist}/presencelist/view/presenceinlinelistitemview.d.ts +3 -3
- package/{src → dist}/presencelist/view/presenceinlinelistview.d.ts +2 -2
- package/{src → dist}/presencelist.d.ts +1 -1
- package/{src → dist}/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +5 -4
- package/{src → dist}/realtimecollaborativecomments.d.ts +3 -2
- package/{src → dist}/realtimecollaborativeediting/realtimecollaborationclient.d.ts +4 -4
- package/{src → dist}/realtimecollaborativeediting/sessions.d.ts +4 -4
- package/{src → dist}/realtimecollaborativeediting/usermarkers.d.ts +1 -1
- package/{src → dist}/realtimecollaborativeediting/websocketgateway.d.ts +5 -4
- package/{src → dist}/realtimecollaborativeediting.d.ts +1 -1
- package/{src → dist}/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +5 -4
- package/{src → dist}/realtimecollaborativerevisionhistory.d.ts +3 -2
- package/{src → dist}/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +4 -3
- package/{src → dist}/realtimecollaborativetrackchanges.d.ts +3 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +25 -50
- package/build/real-time-collaboration.js +0 -5
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/lang/contexts.json +0 -12
- package/lang/translations/af.po +0 -54
- package/lang/translations/ar.po +0 -58
- package/lang/translations/ast.po +0 -54
- package/lang/translations/az.po +0 -54
- package/lang/translations/be.po +0 -55
- package/lang/translations/bg.po +0 -54
- package/lang/translations/bn.po +0 -54
- package/lang/translations/bs.po +0 -55
- package/lang/translations/ca.po +0 -54
- package/lang/translations/cs.po +0 -55
- package/lang/translations/da.po +0 -54
- package/lang/translations/de-ch.po +0 -54
- package/lang/translations/de.po +0 -54
- package/lang/translations/el.po +0 -54
- package/lang/translations/en-au.po +0 -54
- package/lang/translations/en-gb.po +0 -54
- package/lang/translations/en.po +0 -54
- package/lang/translations/eo.po +0 -54
- package/lang/translations/es-co.po +0 -54
- package/lang/translations/es.po +0 -54
- package/lang/translations/et.po +0 -54
- package/lang/translations/eu.po +0 -54
- package/lang/translations/fa.po +0 -53
- package/lang/translations/fi.po +0 -54
- package/lang/translations/fr.po +0 -54
- package/lang/translations/gl.po +0 -54
- package/lang/translations/gu.po +0 -54
- package/lang/translations/he.po +0 -54
- package/lang/translations/hi.po +0 -54
- package/lang/translations/hr.po +0 -55
- package/lang/translations/hu.po +0 -54
- package/lang/translations/hy.po +0 -54
- package/lang/translations/id.po +0 -53
- package/lang/translations/it.po +0 -54
- package/lang/translations/ja.po +0 -53
- package/lang/translations/jv.po +0 -54
- package/lang/translations/kk.po +0 -54
- package/lang/translations/km.po +0 -53
- package/lang/translations/kn.po +0 -54
- package/lang/translations/ko.po +0 -53
- package/lang/translations/ku.po +0 -54
- package/lang/translations/lt.po +0 -55
- package/lang/translations/lv.po +0 -55
- package/lang/translations/ms.po +0 -53
- package/lang/translations/nb.po +0 -54
- package/lang/translations/ne.po +0 -54
- package/lang/translations/nl.po +0 -54
- package/lang/translations/no.po +0 -54
- package/lang/translations/oc.po +0 -54
- package/lang/translations/pl.po +0 -55
- package/lang/translations/pt-br.po +0 -54
- package/lang/translations/pt.po +0 -54
- package/lang/translations/ro.po +0 -55
- package/lang/translations/ru.po +0 -55
- package/lang/translations/si.po +0 -54
- package/lang/translations/sk.po +0 -55
- package/lang/translations/sl.po +0 -56
- package/lang/translations/sq.po +0 -54
- package/lang/translations/sr-latn.po +0 -55
- package/lang/translations/sr.po +0 -55
- package/lang/translations/sv.po +0 -54
- package/lang/translations/th.po +0 -53
- package/lang/translations/ti.po +0 -54
- package/lang/translations/tk.po +0 -54
- package/lang/translations/tr.po +0 -54
- package/lang/translations/tt.po +0 -53
- package/lang/translations/ug.po +0 -53
- package/lang/translations/uk.po +0 -55
- package/lang/translations/ur.po +0 -54
- package/lang/translations/uz.po +0 -54
- package/lang/translations/vi.po +0 -53
- package/lang/translations/zh-cn.po +0 -53
- package/lang/translations/zh.po +0 -53
- package/src/augmentation.js +0 -23
- package/src/common-translations.js +0 -23
- package/src/config.js +0 -23
- package/src/index.js +0 -23
- package/src/presencelist/presencelistui.js +0 -23
- package/src/presencelist/view/presencecounterview.js +0 -23
- package/src/presencelist/view/presencedropdownlistitemview.js +0 -23
- package/src/presencelist/view/presencedropdownlistview.js +0 -23
- package/src/presencelist/view/presenceinlinelistitemview.js +0 -23
- package/src/presencelist/view/presenceinlinelistview.js +0 -23
- package/src/presencelist/view/presencelistview.js +0 -23
- package/src/presencelist.js +0 -23
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +0 -24
- package/src/realtimecollaborativecomments.js +0 -23
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +0 -24
- package/src/realtimecollaborativeediting/sessions.js +0 -23
- package/src/realtimecollaborativeediting/usermarkers.js +0 -23
- package/src/realtimecollaborativeediting/websocketgateway.js +0 -24
- package/src/realtimecollaborativeediting.js +0 -23
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +0 -24
- package/src/realtimecollaborativerevisionhistory.js +0 -23
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +0 -24
- package/src/realtimecollaborativetrackchanges.js +0 -23
- package/theme/presencelist.css +0 -304
- package/theme/usermarkers.css +0 -107
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/presencelist/view/presencedropdownlistview.d.ts +0 -0
- /package/{src → dist}/presencelist/view/presencelistview.d.ts +0 -0
package/theme/presencelist.css
DELETED
|
@@ -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
|
-
}
|
package/theme/usermarkers.css
DELETED
|
@@ -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
|
-
}
|
/package/{src → dist}/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|