@ckeditor/ckeditor5-comments 46.1.1-alpha.3 → 47.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 (201) hide show
  1. package/build/comments.js +1 -1
  2. package/dist/index-editor.css +2 -46
  3. package/dist/index.css +2 -48
  4. package/dist/index.js +11 -11
  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 +18 -18
  152. package/src/annotations/annotation.js +2 -2
  153. package/src/annotations/annotationcollection.js +1 -1
  154. package/src/annotations/annotations.js +1 -1
  155. package/src/annotations/annotationsuis.js +1 -1
  156. package/src/annotations/editorannotations.js +1 -1
  157. package/src/annotations/inlineannotations.js +1 -1
  158. package/src/annotations/narrowsidebar.js +1 -1
  159. package/src/annotations/sidebar.js +1 -1
  160. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  161. package/src/annotations/view/annotationview.js +1 -1
  162. package/src/annotations/view/sidebaritemview.js +2 -2
  163. package/src/annotations/view/sidebarview.js +2 -2
  164. package/src/annotations/widesidebar.js +1 -1
  165. package/src/comments/addcommentthreadcommand.js +1 -1
  166. package/src/comments/commentsarchive.js +1 -1
  167. package/src/comments/commentsarchiveui.js +1 -1
  168. package/src/comments/commentsediting.js +1 -1
  169. package/src/comments/commentsrepository.d.ts +1 -1
  170. package/src/comments/commentsrepository.js +3 -3
  171. package/src/comments/commentsui.js +1 -1
  172. package/src/comments/integrations/clipboard.js +1 -1
  173. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  174. package/src/comments/integrations/importword.js +1 -1
  175. package/src/comments/integrations/showcommenthighlights.js +1 -1
  176. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  177. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  178. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  179. package/src/comments/ui/commentthreadcontroller.js +2 -2
  180. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  181. package/src/comments/ui/view/basecommentview.js +1 -1
  182. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  183. package/src/comments/ui/view/commentcontentview.js +1 -1
  184. package/src/comments/ui/view/commentinputview.js +1 -1
  185. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  186. package/src/comments/ui/view/commentslistview.js +1 -1
  187. package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
  188. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  189. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  190. package/src/comments/ui/view/commentthreadview.d.ts +0 -2
  191. package/src/comments/ui/view/commentthreadview.js +2 -2
  192. package/src/comments/ui/view/commentview.d.ts +1 -5
  193. package/src/comments/ui/view/commentview.js +2 -2
  194. package/src/comments.js +1 -1
  195. package/src/commentsonly.js +1 -1
  196. package/src/index.js +1 -1
  197. package/src/utils/common-translations.js +1 -1
  198. package/src/utils/createmutationobserver.js +1 -1
  199. package/src/utils/splitmarkername.js +1 -1
  200. package/theme/comment.css +0 -12
  201. package/theme/commentthread.css +2 -38
@@ -26,10 +26,6 @@
26
26
  }
27
27
  }
28
28
 
29
- .ck .ck-comment__wrapper.ck-comment--remove-confirmation{
30
- transform:translate3d( -100%, 0, 0);
31
- }
32
-
33
29
  .ck .ck-comment__wrapper:first-of-type{
34
30
  border-top-right-radius:var(--ck-border-radius);
35
31
  border-top-left-radius:var(--ck-border-radius);
@@ -55,14 +51,6 @@
55
51
  background-color:var(--ck-color-comment-separator);
56
52
  }
57
53
 
58
- .ck .ck-comment--remove{
59
- background-color:var(--ck-color-comment-remove-background);
60
- }
61
-
62
- .ck .ck-comment--remove::after{
63
- opacity:0;
64
- }
65
-
66
54
  .ck .ck-comment--edit{
67
55
  background-color:var(--ck-color-comment-input-background);
68
56
  }
@@ -365,46 +353,14 @@
365
353
  --ck-color-thread-header-background:var(--ck-color-unlinked-background);
366
354
  --ck-color-thread-header-active-background:var(--ck-color-unlinked-active-background);
367
355
  }
368
-
369
- .ck .ck-thread--remove-confirmation .ck-thread__container{
370
- transform:translate3d( -100%, 0, 0);
371
- }
372
- .ck.ck-button.ck-thread__remove-confirm-submit{
356
+ .ck.ck-button.ck-confirm-view-submit{
373
357
  color:var(--ck-color-button-save);
374
358
  }
375
359
 
376
- .ck.ck-button.ck-thread__remove-confirm-cancel{
360
+ .ck.ck-button.ck-confirm-view-cancel{
377
361
  color:var(--ck-color-button-cancel);
378
362
  }
379
363
 
380
- .ck .ck-thread__remove-confirm{
381
- font-size:var(--ck-font-size-base);
382
- position:absolute;
383
- display:flex;
384
- justify-content:flex-start;
385
- top:0;
386
- left:100%;
387
- width:100%;
388
- height:100%;
389
- background-color:var(--ck-color-comment-remove-background);
390
- }
391
-
392
- .ck .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{
393
- display:flex;
394
- flex-direction:column;
395
- align-items:center;
396
- justify-content:center;
397
- padding-top:var(--ck-spacing-standard);
398
- height:100%;
399
- width:100%;
400
- max-height:400px;
401
- }
402
-
403
- .ck .ck-thread__remove-confirm p{
404
- font-weight:bold;
405
- margin:0;
406
- }
407
-
408
364
  .ck .ck-comment__input-container{
409
365
  --ck-user-avatar-size:28px;
410
366
 
package/dist/index.css CHANGED
@@ -52,10 +52,6 @@
52
52
  }
53
53
  }
54
54
 
55
- .ck .ck-comment__wrapper.ck-comment--remove-confirmation {
56
- transform: translate3d( -100%, 0, 0 );
57
- }
58
-
59
55
  .ck .ck-comment__wrapper:first-of-type {
60
56
  border-top-right-radius: var(--ck-border-radius);
61
57
  border-top-left-radius: var(--ck-border-radius);
@@ -82,14 +78,6 @@
82
78
  background-color: var(--ck-color-comment-separator);
83
79
  }
84
80
 
85
- .ck .ck-comment--remove {
86
- background-color: var(--ck-color-comment-remove-background);
87
- }
88
-
89
- .ck .ck-comment--remove::after {
90
- opacity: 0;
91
- }
92
-
93
81
  .ck .ck-comment--edit {
94
82
  background-color: var(--ck-color-comment-input-background);
95
83
  }
@@ -473,49 +461,15 @@ We are styling resetting list-style because of parent <ul> element. */
473
461
  --ck-color-thread-header-active-background: var(--ck-color-unlinked-active-background);
474
462
  }
475
463
 
476
- .ck .ck-thread--remove-confirmation .ck-thread__container {
477
- transform: translate3d( -100%, 0, 0 );
478
- }
479
-
480
464
  /* We need specificity 020 to beat .ck.ck-button. */
481
- .ck.ck-button.ck-thread__remove-confirm-submit {
465
+ .ck.ck-button.ck-confirm-view-submit {
482
466
  color: var(--ck-color-button-save);
483
467
  }
484
468
 
485
- .ck.ck-button.ck-thread__remove-confirm-cancel {
469
+ .ck.ck-button.ck-confirm-view-cancel {
486
470
  color: var(--ck-color-button-cancel);
487
471
  }
488
472
 
489
- .ck .ck-thread__remove-confirm {
490
- font-size: var(--ck-font-size-base);
491
- position: absolute;
492
- display: flex;
493
- justify-content: flex-start;
494
- top: 0;
495
- left: 100%;
496
- width: 100%;
497
- height: 100%;
498
- background-color: var(--ck-color-comment-remove-background);
499
- }
500
-
501
- .ck .ck-thread__remove-confirm .ck-thread__remove-confirm-inner {
502
- display: flex;
503
- flex-direction: column;
504
- align-items: center;
505
- justify-content: center;
506
- padding-top: var(--ck-spacing-standard);
507
- height: 100%;
508
- width: 100%;
509
-
510
- /* Maximum height of confirmation (in case with such long comment). */
511
- max-height: 400px;
512
- }
513
-
514
- .ck .ck-thread__remove-confirm p {
515
- font-weight: bold;
516
- margin: 0;
517
- }
518
-
519
473
  /*
520
474
  * What you're currently looking at is the source code of a legally protected, proprietary software.
521
475
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,