@ckeditor/ckeditor5-comments 39.0.1 → 40.0.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 (157) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE.md +6 -6
  3. package/README.md +14 -14
  4. package/build/comments.js +1 -1
  5. package/build/translations/fa.js +1 -1
  6. package/build/translations/pt-br.js +1 -1
  7. package/lang/translations/af.po +1 -0
  8. package/lang/translations/ar.po +1 -0
  9. package/lang/translations/bg.po +1 -0
  10. package/lang/translations/bn.po +1 -0
  11. package/lang/translations/bs.po +1 -0
  12. package/lang/translations/ca.po +1 -0
  13. package/lang/translations/cs.po +1 -0
  14. package/lang/translations/da.po +1 -0
  15. package/lang/translations/de-ch.po +1 -0
  16. package/lang/translations/de.po +1 -0
  17. package/lang/translations/el.po +1 -0
  18. package/lang/translations/en-au.po +1 -0
  19. package/lang/translations/en.po +1 -0
  20. package/lang/translations/es-co.po +1 -0
  21. package/lang/translations/es.po +1 -0
  22. package/lang/translations/et.po +1 -0
  23. package/lang/translations/fa.po +10 -9
  24. package/lang/translations/fi.po +1 -0
  25. package/lang/translations/fr.po +1 -0
  26. package/lang/translations/gl.po +1 -0
  27. package/lang/translations/he.po +1 -0
  28. package/lang/translations/hi.po +1 -0
  29. package/lang/translations/hr.po +1 -0
  30. package/lang/translations/hu.po +1 -0
  31. package/lang/translations/id.po +1 -0
  32. package/lang/translations/it.po +1 -0
  33. package/lang/translations/ja.po +1 -0
  34. package/lang/translations/jv.po +1 -0
  35. package/lang/translations/ko.po +1 -0
  36. package/lang/translations/lt.po +1 -0
  37. package/lang/translations/lv.po +1 -0
  38. package/lang/translations/ms.po +1 -0
  39. package/lang/translations/nl.po +1 -0
  40. package/lang/translations/no.po +1 -0
  41. package/lang/translations/pl.po +1 -0
  42. package/lang/translations/pt-br.po +4 -3
  43. package/lang/translations/pt.po +1 -0
  44. package/lang/translations/ro.po +1 -0
  45. package/lang/translations/ru.po +1 -0
  46. package/lang/translations/sk.po +1 -0
  47. package/lang/translations/sq.po +1 -0
  48. package/lang/translations/sr-latn.po +1 -0
  49. package/lang/translations/sr.po +1 -0
  50. package/lang/translations/sv.po +1 -0
  51. package/lang/translations/th.po +1 -0
  52. package/lang/translations/tk.po +1 -0
  53. package/lang/translations/tr.po +1 -0
  54. package/lang/translations/tt.po +1 -0
  55. package/lang/translations/ug.po +1 -0
  56. package/lang/translations/uk.po +1 -0
  57. package/lang/translations/ur.po +1 -0
  58. package/lang/translations/vi.po +1 -0
  59. package/lang/translations/zh-cn.po +1 -0
  60. package/lang/translations/zh.po +1 -0
  61. package/package.json +3 -7
  62. package/src/annotations/annotation.d.ts +90 -90
  63. package/src/annotations/annotation.js +1 -1
  64. package/src/annotations/annotationcollection.d.ts +98 -98
  65. package/src/annotations/annotationcollection.js +1 -1
  66. package/src/annotations/annotations.d.ts +154 -154
  67. package/src/annotations/annotations.js +1 -1
  68. package/src/annotations/annotationsuis.d.ts +232 -232
  69. package/src/annotations/annotationsuis.js +1 -1
  70. package/src/annotations/editorannotations.d.ts +67 -67
  71. package/src/annotations/editorannotations.js +1 -1
  72. package/src/annotations/inlineannotations.d.ts +90 -90
  73. package/src/annotations/inlineannotations.js +1 -1
  74. package/src/annotations/narrowsidebar.d.ts +85 -85
  75. package/src/annotations/narrowsidebar.js +1 -1
  76. package/src/annotations/sidebar.d.ts +100 -100
  77. package/src/annotations/sidebar.js +1 -1
  78. package/src/annotations/view/annotationcounterbuttonview.d.ts +29 -29
  79. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  80. package/src/annotations/view/annotationview.d.ts +90 -90
  81. package/src/annotations/view/annotationview.js +1 -1
  82. package/src/annotations/view/sidebaritemview.d.ts +55 -55
  83. package/src/annotations/view/sidebaritemview.js +1 -1
  84. package/src/annotations/view/sidebarview.d.ts +32 -32
  85. package/src/annotations/view/sidebarview.js +1 -1
  86. package/src/annotations/widesidebar.d.ts +77 -77
  87. package/src/annotations/widesidebar.js +1 -1
  88. package/src/augmentation.d.ts +52 -52
  89. package/src/comments/addcommentthreadcommand.d.ts +35 -35
  90. package/src/comments/addcommentthreadcommand.js +1 -1
  91. package/src/comments/commentsarchive.d.ts +31 -31
  92. package/src/comments/commentsarchive.js +1 -1
  93. package/src/comments/commentsarchiveui.d.ts +38 -38
  94. package/src/comments/commentsarchiveui.js +1 -1
  95. package/src/comments/commentsediting.d.ts +79 -79
  96. package/src/comments/commentsediting.js +1 -1
  97. package/src/comments/commentsrepository.d.ts +1129 -1105
  98. package/src/comments/commentsrepository.js +1 -1
  99. package/src/comments/commentsui.d.ts +33 -33
  100. package/src/comments/commentsui.js +1 -1
  101. package/src/comments/integrations/commentsrestrictededitingmode.d.ts +17 -17
  102. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  103. package/src/comments/integrations/importword.d.ts +21 -21
  104. package/src/comments/integrations/importword.js +1 -1
  105. package/src/comments/ui/commenteditor/commenteditor.d.ts +36 -36
  106. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  107. package/src/comments/ui/commenteditor/commenteditorui.d.ts +31 -31
  108. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  109. package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +36 -36
  110. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  111. package/src/comments/ui/commentthreadcontroller.d.ts +64 -64
  112. package/src/comments/ui/commentthreadcontroller.js +1 -1
  113. package/src/comments/ui/view/basecommentthreadview.d.ts +119 -112
  114. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  115. package/src/comments/ui/view/basecommentview.d.ts +112 -112
  116. package/src/comments/ui/view/basecommentview.js +1 -1
  117. package/src/comments/ui/view/collapsedcommentsview.d.ts +13 -13
  118. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  119. package/src/comments/ui/view/commentcontentview.d.ts +14 -14
  120. package/src/comments/ui/view/commentcontentview.js +1 -1
  121. package/src/comments/ui/view/commentinputview.d.ts +86 -86
  122. package/src/comments/ui/view/commentinputview.js +1 -1
  123. package/src/comments/ui/view/commentsarchiveview.d.ts +38 -38
  124. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  125. package/src/comments/ui/view/commentslistview.d.ts +100 -100
  126. package/src/comments/ui/view/commentslistview.js +1 -1
  127. package/src/comments/ui/view/commentthreadheaderview.d.ts +50 -50
  128. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  129. package/src/comments/ui/view/commentthreadinputview.d.ts +41 -41
  130. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  131. package/src/comments/ui/view/commentthreadview.d.ts +118 -117
  132. package/src/comments/ui/view/commentthreadview.js +1 -1
  133. package/src/comments/ui/view/commentview.d.ts +243 -243
  134. package/src/comments/ui/view/commentview.js +1 -1
  135. package/src/comments.d.ts +35 -35
  136. package/src/comments.js +1 -1
  137. package/src/commentsonly.d.ts +33 -33
  138. package/src/commentsonly.js +1 -1
  139. package/src/config.d.ts +176 -176
  140. package/src/index.d.ts +24 -24
  141. package/src/utils/common-translations.d.ts +9 -9
  142. package/src/utils/common-translations.js +1 -1
  143. package/src/utils/createmutationobserver.d.ts +14 -14
  144. package/src/utils/createmutationobserver.js +1 -1
  145. package/theme/annotation-inline.css +2 -1
  146. package/theme/annotation.css +2 -3
  147. package/theme/comment.css +39 -38
  148. package/theme/commentinput.css +2 -1
  149. package/theme/commentmarker.css +7 -6
  150. package/theme/commentsarchive.css +2 -1
  151. package/theme/commentthread.css +68 -57
  152. package/theme/icons/add-comment.svg +1 -1
  153. package/theme/icons/comments-archive.svg +1 -1
  154. package/theme/icons/edit-comment.svg +1 -1
  155. package/theme/icons/remove-comment.svg +1 -1
  156. package/theme/sidebar-narrow.css +4 -3
  157. package/theme/sidebar.css +13 -12
package/CHANGELOG.md CHANGED
@@ -235,7 +235,7 @@ Internal changes only (updated dependencies, documentation, etc.).
235
235
  ### Other changes
236
236
 
237
237
  * Improved the difference between an active and inactive state of annotations.
238
- * Aligned `CommentEditor` to changes in the CKEditor 5 core, release 12.0.0.
238
+ * Aligned `CommentEditor` to changes in the CKEditor 5 core, release 12.0.0.
239
239
  * The `adapter.addComment()` method can now return an object with a `createAt` property to synchronize the comment creation date with the server. See the [documentation](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments-integration.html#comments-api) to learn more.
240
240
 
241
241
  ### BREAKING CHANGES
@@ -252,7 +252,7 @@ Internal changes only (updated dependencies, documentation, etc.).
252
252
 
253
253
  ## 1.0.0 (2018-12-06)
254
254
 
255
- The initialization of this repository. [CKEditor 5 comments](https://ckeditor.com/collaboration/comments/) is a plugin that lets you add comments support to any CKEditor 5 build. It provides the API to integrate comments with your application (load the comments data from your database and save them to it).
255
+ The initialization of this repository. [CKEditor 5 comments](https://ckeditor.com/collaboration/comments/) is a plugin that lets you add comments support to any CKEditor 5 build. It provides the API to integrate comments with your application (load the comments data from your database and save them to it).
256
256
 
257
257
  This package is also the base for the comments handling in [real-time collaborative editing](https://www.npmjs.com/package/@ckeditor/ckeditor5-real-time-collaboration).
258
258
 
package/LICENSE.md CHANGED
@@ -1,18 +1,18 @@
1
1
  Software License Agreement
2
2
  ==========================
3
3
 
4
- **CKEditor 5 comments** (https://ckeditor.com/collaboration/comments/)<br>
5
- Copyright (c) 2003-2022, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
4
+ **CKEditor&nbsp;5 comments** (https://ckeditor.com/collaboration/comments/)<br>
5
+ Copyright (c) 2003-2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
- CKEditor 5 comments feature is licensed under a commercial license and is protected by copyright law.
7
+ CKEditor&nbsp;5 comments feature is licensed under a commercial license and is protected by copyright law.
8
8
  For more details about available licensing options please contact us at sales@cksource.com.
9
9
 
10
- Sources of Intellectual Property Included in CKEditor 5 comments
10
+ Sources of Intellectual Property Included in CKEditor&nbsp;5 comments
11
11
  ----------------------------------------------------------------
12
12
 
13
- Where not otherwise indicated, all CKEditor 5 comments content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
13
+ Where not otherwise indicated, all CKEditor&nbsp;5 comments content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
14
14
 
15
- The following libraries are included in CKEditor 5 comments under the [MIT license](https://opensource.org/licenses/MIT):
15
+ The following libraries are included in CKEditor&nbsp;5 comments under the [MIT license](https://opensource.org/licenses/MIT):
16
16
 
17
17
  * date-fns - Copyright (c) Sasha Koss.
18
18
  * Lo-Dash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas.
package/README.md CHANGED
@@ -1,50 +1,50 @@
1
- # CKEditor 5 comments
1
+ # CKEditor&nbsp;5 comments
2
2
 
3
3
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-comments.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-comments)
4
4
 
5
- [CKEditor 5 comments](https://ckeditor.com/collaboration/comments/) is a collaboration feature that makes it possible to add comments to any part of rich text content in CKEditor 5 WYSIWYG editor, including text and block elements such as embedded media or images.
5
+ [CKEditor&nbsp;5 comments](https://ckeditor.com/collaboration/comments/) is a collaboration feature that makes it possible to add comments to any part of rich text content in CKEditor&nbsp;5 WYSIWYG editor, including text and block elements such as embedded media or images.
6
6
 
7
7
  Comments can be added, edited, deleted and replied to, allowing the users to collaborate on the same document directly in the rich text editor. Comments are also integrated with the [track changes feature](https://ckeditor.com/collaboration/track-changes/), so you can add comments to change suggestions.
8
8
 
9
- The comments data can be stored together with the content in your database or it can be synchronized immediately between collaborating clients as a part of the [CKEditor 5 real-time collaboration](https://ckeditor.com/collaboration/real-time/) solution.
9
+ The comments data can be stored together with the content in your database or it can be synchronized immediately between collaborating clients as a part of the [CKEditor&nbsp;5 real-time collaboration](https://ckeditor.com/collaboration/real-time/) solution.
10
10
 
11
11
  Comments can be [displayed](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments-display-mode.html) in three modes:
12
12
  - Wide sidebar:
13
13
 
14
- ![A screenshot of CKEditor 5 comments feature with suggestions displayed in the wide sidebar](https://c.cksource.com/a/1/img/npm/ckeditor5-comments.png)
14
+ ![A screenshot of CKEditor&nbsp;5 comments feature with suggestions displayed in the wide sidebar](https://c.cksource.com/a/1/img/npm/ckeditor5-comments.png)
15
15
 
16
16
  - Narrow sidebar:
17
17
 
18
- ![CKEditor 5 WYSIWYG editor narrow sidebar feature screenshot](https://c.cksource.com/a/1/img/npm/ckeditor5-comments-narrow.png)
18
+ ![CKEditor&nbsp;5 WYSIWYG editor narrow sidebar feature screenshot](https://c.cksource.com/a/1/img/npm/ckeditor5-comments-narrow.png)
19
19
 
20
20
  - Inline balloons:
21
21
 
22
- ![CKEditor 5 WYSIWYG editor inline comments feature screenshot](https://c.cksource.com/a/1/img/npm/ckeditor5-comments-inline.png)
22
+ ![CKEditor&nbsp;5 WYSIWYG editor inline comments feature screenshot](https://c.cksource.com/a/1/img/npm/ckeditor5-comments-inline.png)
23
23
 
24
24
  Additionally, it is possible to turn the editor to the [comments-only mode](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments-only-mode.html), where the users can add comments to the document but are not allowed to edit its content directly.
25
25
 
26
26
  ## Documentation
27
27
 
28
- For more information about the comments feature see the [CKEditor 5 comments documentation](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments.html).
28
+ For more information about the comments feature see the [CKEditor&nbsp;5 comments documentation](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments.html).
29
29
 
30
- Also, make sure you visit the [CKEditor 5 changelog](https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md) whenever a new version of the package is released.
30
+ Also, make sure you visit the [CKEditor&nbsp;5 changelog](https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md) whenever a new version of the package is released.
31
31
 
32
32
  ## Browser compatibility
33
33
 
34
- CKEditor 5 comments work in all major modern browsers: Chrome, Firefox, Safari, and Edge. They are also compatible with mobile environments: Android and iOS. Refer to the CKEditor 5 [Browser compatibility](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/support/browser-compatibility.html) article for more details.
34
+ CKEditor&nbsp;5 comments work in all major modern browsers: Chrome, Firefox, Safari, and Edge. They are also compatible with mobile environments: Android and iOS. Refer to the CKEditor&nbsp;5 [Browser compatibility](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/support/browser-compatibility.html) article for more details.
35
35
 
36
36
  ## Getting support
37
37
 
38
- CKEditor 5 comments come with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor 5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor 5 comments features with your application.
38
+ CKEditor&nbsp;5 comments come with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor&nbsp;5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor&nbsp;5 comments features with your application.
39
39
 
40
- As a licensed CKEditor 5 comments user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
40
+ As a licensed CKEditor&nbsp;5 comments user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
41
41
 
42
42
  ## License
43
43
 
44
- **CKEditor 5 comments** (https://ckeditor.com/collaboration/comments/)<br>
45
- Copyright (c) 2003-2022, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
44
+ **CKEditor&nbsp;5 comments** (https://ckeditor.com/collaboration/comments/)<br>
45
+ Copyright (c) 2003-2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
46
46
 
47
- CKEditor 5 comments feature is licensed under a commercial license and is protected by copyright law.
47
+ CKEditor&nbsp;5 comments feature is licensed under a commercial license and is protected by copyright law.
48
48
  For more details about available licensing options please contact us at sales@cksource.com.
49
49
 
50
50
  ### Trademarks