@box/threaded-annotations 2.0.0 → 2.1.1

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 (55) hide show
  1. package/dist/chunks/dist.js +142 -142
  2. package/dist/esm/lib/components/mention-component/mention-context.js +1 -1
  3. package/dist/esm/lib/components/message-editor/editor-extensions/custom-mention/useMentionState.js +10 -10
  4. package/dist/esm/lib/components/message-editor/editor-extensions/custom-placeholder/custom-placeholder-utils.js +3 -3
  5. package/dist/esm/lib/components/message-editor/message-editor-context.js +1 -1
  6. package/dist/esm/lib/components/v2/message-editor/editor-extensions/custom-mention/useMentionState.js +11 -11
  7. package/dist/esm/lib/components/v2/message-editor/hooks/useEditorContainerState.js +2 -2
  8. package/dist/esm/lib/components/v2/message-editor/message-editor-context.js +1 -1
  9. package/dist/esm/lib/v2/threaded-annotations-context.js +28 -28
  10. package/dist/i18n/bn-IN.js +1 -1
  11. package/dist/i18n/bn-IN.properties +2 -0
  12. package/dist/i18n/da-DK.js +1 -1
  13. package/dist/i18n/da-DK.properties +2 -0
  14. package/dist/i18n/de-DE.js +1 -1
  15. package/dist/i18n/de-DE.properties +2 -0
  16. package/dist/i18n/en-AU.properties +2 -0
  17. package/dist/i18n/en-CA.properties +2 -0
  18. package/dist/i18n/en-GB.properties +2 -0
  19. package/dist/i18n/en-x-pseudo.js +1 -1
  20. package/dist/i18n/en-x-pseudo.properties +2 -0
  21. package/dist/i18n/es-419.js +1 -1
  22. package/dist/i18n/es-419.properties +2 -0
  23. package/dist/i18n/es-ES.js +1 -1
  24. package/dist/i18n/es-ES.properties +2 -0
  25. package/dist/i18n/fi-FI.js +1 -1
  26. package/dist/i18n/fi-FI.properties +2 -0
  27. package/dist/i18n/fr-CA.js +1 -1
  28. package/dist/i18n/fr-CA.properties +2 -0
  29. package/dist/i18n/fr-FR.js +1 -1
  30. package/dist/i18n/fr-FR.properties +2 -0
  31. package/dist/i18n/hi-IN.js +1 -1
  32. package/dist/i18n/hi-IN.properties +2 -0
  33. package/dist/i18n/it-IT.js +1 -1
  34. package/dist/i18n/it-IT.properties +2 -0
  35. package/dist/i18n/ja-JP.properties +2 -0
  36. package/dist/i18n/ko-KR.js +1 -1
  37. package/dist/i18n/ko-KR.properties +2 -0
  38. package/dist/i18n/nb-NO.js +1 -1
  39. package/dist/i18n/nb-NO.properties +2 -0
  40. package/dist/i18n/nl-NL.properties +2 -0
  41. package/dist/i18n/pl-PL.js +1 -1
  42. package/dist/i18n/pl-PL.properties +2 -0
  43. package/dist/i18n/pt-BR.js +1 -1
  44. package/dist/i18n/pt-BR.properties +2 -0
  45. package/dist/i18n/ru-RU.js +1 -1
  46. package/dist/i18n/ru-RU.properties +2 -0
  47. package/dist/i18n/sv-SE.js +1 -1
  48. package/dist/i18n/sv-SE.properties +2 -0
  49. package/dist/i18n/tr-TR.js +1 -1
  50. package/dist/i18n/tr-TR.properties +2 -0
  51. package/dist/i18n/zh-CN.js +1 -1
  52. package/dist/i18n/zh-CN.properties +2 -0
  53. package/dist/i18n/zh-TW.js +1 -1
  54. package/dist/i18n/zh-TW.properties +2 -0
  55. package/package.json +12 -12
@@ -12,7 +12,7 @@ export default {
12
12
  "groupSharedFeatures.threadedAnnotations.deleteQuestion": "Radera denna {type,select,annotation{anteckning} other{kommentar}}{hasReplies,select,true{ och svar} other{}}? Den här åtgärden kan inte ångras.",
13
13
  "groupSharedFeatures.threadedAnnotations.edit": "Redigera",
14
14
  "groupSharedFeatures.threadedAnnotations.edited": "(Redigerad)",
15
- "groupSharedFeatures.threadedAnnotations.editedTooltip": "Edited {time}",
15
+ "groupSharedFeatures.threadedAnnotations.editedTooltip": "Redigerad {time}",
16
16
  "groupSharedFeatures.threadedAnnotations.hideReplies": "Dölj svar",
17
17
  "groupSharedFeatures.threadedAnnotations.markedAsResolved": "markerat som löst",
18
18
  "groupSharedFeatures.threadedAnnotations.messageEditor.cancel": "Avbryt",
@@ -24,6 +24,8 @@ groupSharedFeatures.threadedAnnotations.deleteQuestion = Radera denna {type,sele
24
24
  groupSharedFeatures.threadedAnnotations.edit = Redigera
25
25
  # Indicator shown next to the timestamp when a message has been edited
26
26
  groupSharedFeatures.threadedAnnotations.edited = (Redigerad)
27
+ # Tooltip text shown when hovering the (Edited) indicator, where {time} is a phrase like "Today at 11:51 AM", "Yesterday at 4:30 PM", or "Apr 3, 2024 at 10:30 AM"
28
+ groupSharedFeatures.threadedAnnotations.editedTooltip = Redigerad {time}
27
29
  # Button text to hide replies in threaded annotations
28
30
  groupSharedFeatures.threadedAnnotations.hideReplies = Dölj svar
29
31
  # Text shown after the author name when a comment thread is marked as resolved
@@ -12,7 +12,7 @@ export default {
12
12
  "groupSharedFeatures.threadedAnnotations.deleteQuestion": "Bu {type,select,annotation{açıklama} other{yorum}}{hasReplies,select,true{ ve yanıtlar} other{}} silinsin mi? Bu işlem geri alınamaz.",
13
13
  "groupSharedFeatures.threadedAnnotations.edit": "Düzenle",
14
14
  "groupSharedFeatures.threadedAnnotations.edited": "(Düzenlendi)",
15
- "groupSharedFeatures.threadedAnnotations.editedTooltip": "Edited {time}",
15
+ "groupSharedFeatures.threadedAnnotations.editedTooltip": "Düzenleme zamanı: {time}",
16
16
  "groupSharedFeatures.threadedAnnotations.hideReplies": "Yanıtları gizle",
17
17
  "groupSharedFeatures.threadedAnnotations.markedAsResolved": "çözülmüş olarak işaretlendi",
18
18
  "groupSharedFeatures.threadedAnnotations.messageEditor.cancel": "İptal Et",
@@ -24,6 +24,8 @@ groupSharedFeatures.threadedAnnotations.deleteQuestion = Bu {type,select,annotat
24
24
  groupSharedFeatures.threadedAnnotations.edit = Düzenle
25
25
  # Indicator shown next to the timestamp when a message has been edited
26
26
  groupSharedFeatures.threadedAnnotations.edited = (Düzenlendi)
27
+ # Tooltip text shown when hovering the (Edited) indicator, where {time} is a phrase like "Today at 11:51 AM", "Yesterday at 4:30 PM", or "Apr 3, 2024 at 10:30 AM"
28
+ groupSharedFeatures.threadedAnnotations.editedTooltip = Düzenleme zamanı: {time}
27
29
  # Button text to hide replies in threaded annotations
28
30
  groupSharedFeatures.threadedAnnotations.hideReplies = Yanıtları gizle
29
31
  # Text shown after the author name when a comment thread is marked as resolved
@@ -12,7 +12,7 @@ export default {
12
12
  "groupSharedFeatures.threadedAnnotations.deleteQuestion": "删除此{type,select,annotation{批注} other{评论}}{hasReplies,select,true{及回复} other{}}?此操作无法撤销。",
13
13
  "groupSharedFeatures.threadedAnnotations.edit": "编辑",
14
14
  "groupSharedFeatures.threadedAnnotations.edited": "(已编辑)",
15
- "groupSharedFeatures.threadedAnnotations.editedTooltip": "Edited {time}",
15
+ "groupSharedFeatures.threadedAnnotations.editedTooltip": "编辑时间:{time}",
16
16
  "groupSharedFeatures.threadedAnnotations.hideReplies": "隐藏回复",
17
17
  "groupSharedFeatures.threadedAnnotations.markedAsResolved": "标记为已解决",
18
18
  "groupSharedFeatures.threadedAnnotations.messageEditor.cancel": "取消",
@@ -24,6 +24,8 @@ groupSharedFeatures.threadedAnnotations.deleteQuestion = 删除此{type,select,a
24
24
  groupSharedFeatures.threadedAnnotations.edit = 编辑
25
25
  # Indicator shown next to the timestamp when a message has been edited
26
26
  groupSharedFeatures.threadedAnnotations.edited = (已编辑)
27
+ # Tooltip text shown when hovering the (Edited) indicator, where {time} is a phrase like "Today at 11:51 AM", "Yesterday at 4:30 PM", or "Apr 3, 2024 at 10:30 AM"
28
+ groupSharedFeatures.threadedAnnotations.editedTooltip = 编辑时间:{time}
27
29
  # Button text to hide replies in threaded annotations
28
30
  groupSharedFeatures.threadedAnnotations.hideReplies = 隐藏回复
29
31
  # Text shown after the author name when a comment thread is marked as resolved
@@ -12,7 +12,7 @@ export default {
12
12
  "groupSharedFeatures.threadedAnnotations.deleteQuestion": "是否要刪除此{type,select,annotation{註解} other{留言}}{hasReplies,select,true{和回覆} other{}}?此動作無法復原。",
13
13
  "groupSharedFeatures.threadedAnnotations.edit": "編輯",
14
14
  "groupSharedFeatures.threadedAnnotations.edited": "(已編輯)",
15
- "groupSharedFeatures.threadedAnnotations.editedTooltip": "Edited {time}",
15
+ "groupSharedFeatures.threadedAnnotations.editedTooltip": "已編輯 {time}",
16
16
  "groupSharedFeatures.threadedAnnotations.hideReplies": "隱藏回覆",
17
17
  "groupSharedFeatures.threadedAnnotations.markedAsResolved": "標記為已解決",
18
18
  "groupSharedFeatures.threadedAnnotations.messageEditor.cancel": "取消",
@@ -24,6 +24,8 @@ groupSharedFeatures.threadedAnnotations.deleteQuestion = 是否要刪除此{type
24
24
  groupSharedFeatures.threadedAnnotations.edit = 編輯
25
25
  # Indicator shown next to the timestamp when a message has been edited
26
26
  groupSharedFeatures.threadedAnnotations.edited = (已編輯)
27
+ # Tooltip text shown when hovering the (Edited) indicator, where {time} is a phrase like "Today at 11:51 AM", "Yesterday at 4:30 PM", or "Apr 3, 2024 at 10:30 AM"
28
+ groupSharedFeatures.threadedAnnotations.editedTooltip = 已編輯 {time}
27
29
  # Button text to hide replies in threaded annotations
28
30
  groupSharedFeatures.threadedAnnotations.hideReplies = 隱藏回覆
29
31
  # Text shown after the author name when a comment thread is marked as resolved
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/threaded-annotations",
3
- "version": "2.0.0",
3
+ "version": "2.1.1",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "dependencies": {
6
6
  "@tanstack/react-virtual": "^3.10.8",
@@ -16,23 +16,23 @@
16
16
  "uuid": "^9.0.1"
17
17
  },
18
18
  "peerDependencies": {
19
- "@box/blueprint-web": "^16.0.0",
20
- "@box/blueprint-web-assets": "^5.0.0",
21
- "@box/collaboration-popover": "^2.0.0",
22
- "@box/readable-time": "^2.0.0",
23
- "@box/user-selector": "^2.0.0",
19
+ "@box/blueprint-web": "^16.1.1",
20
+ "@box/blueprint-web-assets": "^5.1.1",
21
+ "@box/collaboration-popover": "^2.1.1",
22
+ "@box/readable-time": "^2.1.1",
23
+ "@box/user-selector": "^2.1.1",
24
24
  "clsx": "^1.2.1",
25
25
  "react": "^18.0.0",
26
26
  "react-dom": "^18.0.0",
27
27
  "react-intl": "^6.4.2"
28
28
  },
29
29
  "devDependencies": {
30
- "@box/blueprint-web": "^16.0.0",
31
- "@box/blueprint-web-assets": "^5.0.0",
32
- "@box/eslint-plugin-blueprint": "2.0.0",
33
- "@box/readable-time": "^2.0.0",
34
- "@box/storybook-utils": "^1.0.0",
35
- "@box/user-selector": "^2.0.0",
30
+ "@box/blueprint-web": "^16.1.1",
31
+ "@box/blueprint-web-assets": "^5.1.1",
32
+ "@box/eslint-plugin-blueprint": "2.1.1",
33
+ "@box/readable-time": "^2.1.1",
34
+ "@box/storybook-utils": "^1.1.1",
35
+ "@box/user-selector": "^2.1.1",
36
36
  "react": "^18.0.0",
37
37
  "react-dom": "^18.0.0"
38
38
  },