@ckeditor/ckeditor5-comments 45.2.1 → 46.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 (242) hide show
  1. package/build/comments.js +1 -1
  2. package/dist/index-editor.css +69 -67
  3. package/dist/index.css +80 -78
  4. package/dist/index.js +11 -9
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +19 -19
  152. package/src/annotations/annotation.d.ts +4 -4
  153. package/src/annotations/annotation.js +2 -2
  154. package/src/annotations/annotationcollection.d.ts +2 -2
  155. package/src/annotations/annotationcollection.js +1 -1
  156. package/src/annotations/annotations.d.ts +4 -4
  157. package/src/annotations/annotations.js +1 -1
  158. package/src/annotations/annotationsuis.d.ts +4 -4
  159. package/src/annotations/annotationsuis.js +1 -1
  160. package/src/annotations/editorannotations.d.ts +4 -4
  161. package/src/annotations/editorannotations.js +1 -1
  162. package/src/annotations/inlineannotations.d.ts +5 -5
  163. package/src/annotations/inlineannotations.js +1 -1
  164. package/src/annotations/narrowsidebar.d.ts +5 -5
  165. package/src/annotations/narrowsidebar.js +1 -1
  166. package/src/annotations/sidebar.d.ts +14 -13
  167. package/src/annotations/sidebar.js +1 -1
  168. package/src/annotations/view/annotationcounterbuttonview.d.ts +1 -1
  169. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  170. package/src/annotations/view/annotationview.d.ts +1 -1
  171. package/src/annotations/view/annotationview.js +1 -1
  172. package/src/annotations/view/sidebaritemview.d.ts +1 -1
  173. package/src/annotations/view/sidebaritemview.js +2 -1
  174. package/src/annotations/view/sidebarview.d.ts +4 -4
  175. package/src/annotations/view/sidebarview.js +2 -1
  176. package/src/annotations/widesidebar.d.ts +5 -5
  177. package/src/annotations/widesidebar.js +1 -1
  178. package/src/augmentation.d.ts +2 -2
  179. package/src/comments/addcommentthreadcommand.d.ts +48 -9
  180. package/src/comments/addcommentthreadcommand.js +1 -1
  181. package/src/comments/commentsarchive.d.ts +3 -3
  182. package/src/comments/commentsarchive.js +1 -1
  183. package/src/comments/commentsarchiveui.d.ts +4 -4
  184. package/src/comments/commentsarchiveui.js +1 -1
  185. package/src/comments/commentsediting.d.ts +7 -7
  186. package/src/comments/commentsediting.js +1 -1
  187. package/src/comments/commentsrepository.d.ts +14 -6
  188. package/src/comments/commentsrepository.js +3 -3
  189. package/src/comments/commentsui.d.ts +5 -5
  190. package/src/comments/commentsui.js +1 -1
  191. package/src/comments/integrations/clipboard.d.ts +1 -1
  192. package/src/comments/integrations/clipboard.js +1 -1
  193. package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
  194. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  195. package/src/comments/integrations/importword.d.ts +1 -1
  196. package/src/comments/integrations/importword.js +1 -1
  197. package/src/comments/integrations/showcommenthighlights.d.ts +1 -1
  198. package/src/comments/integrations/showcommenthighlights.js +1 -1
  199. package/src/comments/ui/commenteditor/commenteditor.d.ts +4 -4
  200. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  201. package/src/comments/ui/commenteditor/commenteditorui.d.ts +2 -2
  202. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  203. package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
  204. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  205. package/src/comments/ui/commentthreadcontroller.d.ts +2 -2
  206. package/src/comments/ui/commentthreadcontroller.js +2 -2
  207. package/src/comments/ui/view/basecommentthreadview.d.ts +4 -4
  208. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  209. package/src/comments/ui/view/basecommentview.d.ts +1 -1
  210. package/src/comments/ui/view/basecommentview.js +1 -1
  211. package/src/comments/ui/view/collapsedcommentsview.d.ts +1 -1
  212. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  213. package/src/comments/ui/view/commentcontentview.d.ts +1 -1
  214. package/src/comments/ui/view/commentcontentview.js +1 -1
  215. package/src/comments/ui/view/commentinputview.d.ts +4 -4
  216. package/src/comments/ui/view/commentinputview.js +1 -1
  217. package/src/comments/ui/view/commentsarchiveview.d.ts +2 -2
  218. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  219. package/src/comments/ui/view/commentslistview.d.ts +2 -2
  220. package/src/comments/ui/view/commentslistview.js +1 -1
  221. package/src/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
  222. package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
  223. package/src/comments/ui/view/commentthreadheaderview.d.ts +2 -2
  224. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  225. package/src/comments/ui/view/commentthreadinputview.d.ts +2 -2
  226. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  227. package/src/comments/ui/view/commentthreadview.d.ts +2 -2
  228. package/src/comments/ui/view/commentthreadview.js +2 -2
  229. package/src/comments/ui/view/commentview.d.ts +3 -3
  230. package/src/comments/ui/view/commentview.js +2 -2
  231. package/src/comments.d.ts +10 -10
  232. package/src/comments.js +1 -1
  233. package/src/commentsonly.d.ts +2 -2
  234. package/src/commentsonly.js +1 -1
  235. package/src/config.d.ts +3 -3
  236. package/src/index.d.ts +29 -25
  237. package/src/index.js +1 -1
  238. package/src/utils/common-translations.js +1 -1
  239. package/src/utils/createmutationobserver.d.ts +1 -1
  240. package/src/utils/createmutationobserver.js +1 -1
  241. package/theme/comment.css +2 -1
  242. package/theme/commentinput.css +2 -1
@@ -78,7 +78,8 @@
78
78
  }
79
79
 
80
80
  .ck .ck-comment__content{
81
- word-break:break-word;
81
+ word-break:normal;
82
+ overflow-wrap:anywhere;
82
83
  }
83
84
 
84
85
  .ck .ck-comment--info .ck-comment__content{
@@ -445,7 +446,8 @@
445
446
  overflow:visible;
446
447
  border:0;
447
448
  background-color:transparent;
448
- word-break:break-word;
449
+ word-break:normal;
450
+ overflow-wrap:anywhere;
449
451
  }
450
452
  .ck-comment__input-wrapper .ck.ck-editor__editable_inline *:first-child{
451
453
  margin-top:0;
@@ -515,71 +517,6 @@
515
517
  font-style:italic;
516
518
  }
517
519
 
518
- :root{
519
- --ck-color-annotation-wrapper-background:hsl(0, 0%, 100%);
520
- --ck-color-annotation-wrapper-drop-shadow:0 1px 1px 1px hsl(0, 0%, 90%);
521
- }
522
-
523
- .ck.ck-sidebar{
524
- position:relative;
525
- transition:min-height 250ms ease;
526
- outline:0;
527
- }
528
-
529
- @media (prefers-reduced-motion: reduce){
530
-
531
- .ck.ck-sidebar{
532
- transition:none;
533
- }
534
- }
535
-
536
- .ck-sidebar-item{
537
- position:absolute;
538
- width:100%;
539
- transition:top 300ms ease, box-shadow 300ms ease;
540
- }
541
-
542
- @media (prefers-reduced-motion: reduce){
543
-
544
- .ck-sidebar-item{
545
- transition:none;
546
- }
547
- }
548
-
549
- .ck-sidebar-item--no-animation{
550
- transition:top 0s ease !important;
551
- }
552
-
553
- .ck.ck-annotation-wrapper{
554
- outline:0;
555
- border-radius:var(--ck-border-radius);
556
- background:var(--ck-color-annotation-wrapper-background);
557
- box-shadow:var(--ck-color-annotation-wrapper-drop-shadow);
558
- }
559
-
560
- .ck.ck-annotation-wrapper--active .ck-annotation__actions, .ck.ck-annotation-wrapper:hover .ck-annotation__actions{
561
- opacity:1;
562
- }
563
-
564
- .ck.ck-annotation-wrapper--active .ck-annotation__actions .ck-comment--resolve, .ck.ck-annotation-wrapper:hover .ck-annotation__actions .ck-comment--resolve{
565
- color:var(--ck-color-button-save);
566
- }
567
-
568
- .ck.ck-annotation-wrapper--active .ck-suggestion--accept, .ck.ck-annotation-wrapper:hover .ck-suggestion--accept{
569
- color:var(--ck-color-button-save)
570
- }
571
-
572
- .ck.ck-annotation-wrapper--active .ck-suggestion--discard, .ck.ck-annotation-wrapper:hover .ck-suggestion--discard{
573
- color:var(--ck-color-button-cancel)
574
- }
575
- .ck.ck-annotation-wrapper:not(.ck-annotation-wrapper--active):hover{
576
- box-shadow:var(--ck-drop-shadow);
577
- }
578
-
579
- .ck.ck-annotation-wrapper--active{
580
- box-shadow:var(--ck-drop-shadow-active);
581
- }
582
-
583
520
  :root{
584
521
  --ck-annotation-counter-icon-size:16px;
585
522
  --ck-annotation-counter-number-size:10px;
@@ -782,6 +719,71 @@
782
719
  }
783
720
  }
784
721
 
722
+ :root{
723
+ --ck-color-annotation-wrapper-background:hsl(0, 0%, 100%);
724
+ --ck-color-annotation-wrapper-drop-shadow:0 1px 1px 1px hsl(0, 0%, 90%);
725
+ }
726
+
727
+ .ck.ck-sidebar{
728
+ position:relative;
729
+ transition:min-height 250ms ease;
730
+ outline:0;
731
+ }
732
+
733
+ @media (prefers-reduced-motion: reduce){
734
+
735
+ .ck.ck-sidebar{
736
+ transition:none;
737
+ }
738
+ }
739
+
740
+ .ck-sidebar-item{
741
+ position:absolute;
742
+ width:100%;
743
+ transition:top 300ms ease, box-shadow 300ms ease;
744
+ }
745
+
746
+ @media (prefers-reduced-motion: reduce){
747
+
748
+ .ck-sidebar-item{
749
+ transition:none;
750
+ }
751
+ }
752
+
753
+ .ck-sidebar-item--no-animation{
754
+ transition:top 0s ease !important;
755
+ }
756
+
757
+ .ck.ck-annotation-wrapper{
758
+ outline:0;
759
+ border-radius:var(--ck-border-radius);
760
+ background:var(--ck-color-annotation-wrapper-background);
761
+ box-shadow:var(--ck-color-annotation-wrapper-drop-shadow);
762
+ }
763
+
764
+ .ck.ck-annotation-wrapper--active .ck-annotation__actions, .ck.ck-annotation-wrapper:hover .ck-annotation__actions{
765
+ opacity:1;
766
+ }
767
+
768
+ .ck.ck-annotation-wrapper--active .ck-annotation__actions .ck-comment--resolve, .ck.ck-annotation-wrapper:hover .ck-annotation__actions .ck-comment--resolve{
769
+ color:var(--ck-color-button-save);
770
+ }
771
+
772
+ .ck.ck-annotation-wrapper--active .ck-suggestion--accept, .ck.ck-annotation-wrapper:hover .ck-suggestion--accept{
773
+ color:var(--ck-color-button-save)
774
+ }
775
+
776
+ .ck.ck-annotation-wrapper--active .ck-suggestion--discard, .ck.ck-annotation-wrapper:hover .ck-suggestion--discard{
777
+ color:var(--ck-color-button-cancel)
778
+ }
779
+ .ck.ck-annotation-wrapper:not(.ck-annotation-wrapper--active):hover{
780
+ box-shadow:var(--ck-drop-shadow);
781
+ }
782
+
783
+ .ck.ck-annotation-wrapper--active{
784
+ box-shadow:var(--ck-drop-shadow-active);
785
+ }
786
+
785
787
  .ck .ck-comments-archive-dropdown.ck-dropdown__panel{
786
788
  z-index:var(--ck-z-panel);
787
789
  }
package/dist/index.css CHANGED
@@ -145,7 +145,8 @@
145
145
  }
146
146
 
147
147
  .ck .ck-comment__content {
148
- word-break: break-word;
148
+ word-break: normal;
149
+ overflow-wrap: anywhere;
149
150
  }
150
151
 
151
152
  .ck .ck-comment--info .ck-comment__content {
@@ -607,7 +608,8 @@ We are styling resetting list-style because of parent <ul> element. */
607
608
  overflow: visible;
608
609
  border: 0;
609
610
  background-color: transparent;
610
- word-break: break-word;
611
+ word-break: normal;
612
+ overflow-wrap: anywhere;
611
613
  }
612
614
 
613
615
  /* Overwrite default CKEditor 5 margin of editable children.
@@ -701,82 +703,6 @@ See: ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css. *
701
703
  font-style: italic;
702
704
  }
703
705
 
704
- /*
705
- * What you're currently looking at is the source code of a legally protected, proprietary software.
706
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
707
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
708
- *
709
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
710
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
711
- */
712
-
713
- :root {
714
- --ck-color-annotation-wrapper-background: hsl(0, 0%, 100%);
715
- --ck-color-annotation-wrapper-drop-shadow: 0 1px 1px 1px hsl(0, 0%, 90%);
716
- }
717
-
718
- .ck.ck-sidebar {
719
- position: relative;
720
- transition: min-height 250ms ease;
721
- outline: 0;
722
- }
723
-
724
- @media (prefers-reduced-motion: reduce) {
725
-
726
- .ck.ck-sidebar {
727
- transition: none;
728
- }
729
- }
730
-
731
- .ck-sidebar-item {
732
- position: absolute;
733
- width: 100%;
734
- transition: top 300ms ease, box-shadow 300ms ease;
735
- }
736
-
737
- @media (prefers-reduced-motion: reduce) {
738
-
739
- .ck-sidebar-item {
740
- transition: none;
741
- }
742
- }
743
-
744
- .ck-sidebar-item--no-animation {
745
- transition: top 0s ease !important;
746
- }
747
-
748
- .ck.ck-annotation-wrapper {
749
- outline: 0;
750
- border-radius: var(--ck-border-radius);
751
- background: var(--ck-color-annotation-wrapper-background);
752
- box-shadow: var(--ck-color-annotation-wrapper-drop-shadow);
753
- }
754
-
755
- .ck.ck-annotation-wrapper--active .ck-annotation__actions, .ck.ck-annotation-wrapper:hover .ck-annotation__actions {
756
- opacity: 1;
757
- }
758
-
759
- .ck.ck-annotation-wrapper--active .ck-annotation__actions .ck-comment--resolve, .ck.ck-annotation-wrapper:hover .ck-annotation__actions .ck-comment--resolve {
760
- color: var(--ck-color-button-save);
761
- }
762
-
763
- .ck.ck-annotation-wrapper--active .ck-suggestion--accept, .ck.ck-annotation-wrapper:hover .ck-suggestion--accept {
764
- color: var(--ck-color-button-save)
765
- }
766
-
767
- .ck.ck-annotation-wrapper--active .ck-suggestion--discard, .ck.ck-annotation-wrapper:hover .ck-suggestion--discard {
768
- color: var(--ck-color-button-cancel)
769
- }
770
-
771
- /* Handle case where annotation is inactive and users hover them. */
772
- .ck.ck-annotation-wrapper:not(.ck-annotation-wrapper--active):hover {
773
- box-shadow: var(--ck-drop-shadow);
774
- }
775
-
776
- .ck.ck-annotation-wrapper--active {
777
- box-shadow: var(--ck-drop-shadow-active);
778
- }
779
-
780
706
  /*
781
707
  * What you're currently looking at is the source code of a legally protected, proprietary software.
782
708
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
@@ -1030,6 +956,82 @@ See: ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css. *
1030
956
  }
1031
957
  }
1032
958
 
959
+ /*
960
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
961
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
962
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
963
+ *
964
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
965
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
966
+ */
967
+
968
+ :root {
969
+ --ck-color-annotation-wrapper-background: hsl(0, 0%, 100%);
970
+ --ck-color-annotation-wrapper-drop-shadow: 0 1px 1px 1px hsl(0, 0%, 90%);
971
+ }
972
+
973
+ .ck.ck-sidebar {
974
+ position: relative;
975
+ transition: min-height 250ms ease;
976
+ outline: 0;
977
+ }
978
+
979
+ @media (prefers-reduced-motion: reduce) {
980
+
981
+ .ck.ck-sidebar {
982
+ transition: none;
983
+ }
984
+ }
985
+
986
+ .ck-sidebar-item {
987
+ position: absolute;
988
+ width: 100%;
989
+ transition: top 300ms ease, box-shadow 300ms ease;
990
+ }
991
+
992
+ @media (prefers-reduced-motion: reduce) {
993
+
994
+ .ck-sidebar-item {
995
+ transition: none;
996
+ }
997
+ }
998
+
999
+ .ck-sidebar-item--no-animation {
1000
+ transition: top 0s ease !important;
1001
+ }
1002
+
1003
+ .ck.ck-annotation-wrapper {
1004
+ outline: 0;
1005
+ border-radius: var(--ck-border-radius);
1006
+ background: var(--ck-color-annotation-wrapper-background);
1007
+ box-shadow: var(--ck-color-annotation-wrapper-drop-shadow);
1008
+ }
1009
+
1010
+ .ck.ck-annotation-wrapper--active .ck-annotation__actions, .ck.ck-annotation-wrapper:hover .ck-annotation__actions {
1011
+ opacity: 1;
1012
+ }
1013
+
1014
+ .ck.ck-annotation-wrapper--active .ck-annotation__actions .ck-comment--resolve, .ck.ck-annotation-wrapper:hover .ck-annotation__actions .ck-comment--resolve {
1015
+ color: var(--ck-color-button-save);
1016
+ }
1017
+
1018
+ .ck.ck-annotation-wrapper--active .ck-suggestion--accept, .ck.ck-annotation-wrapper:hover .ck-suggestion--accept {
1019
+ color: var(--ck-color-button-save)
1020
+ }
1021
+
1022
+ .ck.ck-annotation-wrapper--active .ck-suggestion--discard, .ck.ck-annotation-wrapper:hover .ck-suggestion--discard {
1023
+ color: var(--ck-color-button-cancel)
1024
+ }
1025
+
1026
+ /* Handle case where annotation is inactive and users hover them. */
1027
+ .ck.ck-annotation-wrapper:not(.ck-annotation-wrapper--active):hover {
1028
+ box-shadow: var(--ck-drop-shadow);
1029
+ }
1030
+
1031
+ .ck.ck-annotation-wrapper--active {
1032
+ box-shadow: var(--ck-drop-shadow-active);
1033
+ }
1034
+
1033
1035
  /*
1034
1036
  * What you're currently looking at is the source code of a legally protected, proprietary software.
1035
1037
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,