@box/threaded-annotations 1.84.14 → 1.85.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/dist/chunks/delete-confirmation-popover.js +16 -13
- package/dist/chunks/messages-view.js +41 -37
- package/dist/chunks/threaded-annotations2.js +32 -31
- package/dist/esm/lib/components/v2/message-header/message-header.js +63 -53
- package/dist/esm/lib/components/v2/message-header/message-options-menu.js +29 -26
- package/dist/esm/lib/components/v2/message-header/messages.js +7 -3
- package/dist/esm/lib/components/v2/text-message/text-message.js +19 -17
- package/dist/i18n/bn-IN.js +4 -2
- package/dist/i18n/da-DK.js +4 -2
- package/dist/i18n/de-DE.js +4 -2
- package/dist/i18n/en-AU.js +4 -2
- package/dist/i18n/en-CA.js +4 -2
- package/dist/i18n/en-GB.js +4 -2
- package/dist/i18n/en-US.js +2 -1
- package/dist/i18n/en-US.properties +6 -4
- package/dist/i18n/en-x-pseudo.js +44 -42
- package/dist/i18n/en-x-pseudo.properties +42 -42
- package/dist/i18n/es-419.js +4 -2
- package/dist/i18n/es-ES.js +4 -2
- package/dist/i18n/fi-FI.js +4 -2
- package/dist/i18n/fr-CA.js +4 -2
- package/dist/i18n/fr-FR.js +4 -2
- package/dist/i18n/hi-IN.js +4 -2
- package/dist/i18n/it-IT.js +4 -2
- package/dist/i18n/ja-JP.js +4 -2
- package/dist/i18n/json/src/lib/components/v2/message-header/messages.json +1 -1
- package/dist/i18n/ko-KR.js +4 -2
- package/dist/i18n/nb-NO.js +4 -2
- package/dist/i18n/nl-NL.js +4 -2
- package/dist/i18n/pl-PL.js +4 -2
- package/dist/i18n/pt-BR.js +4 -2
- package/dist/i18n/ru-RU.js +4 -2
- package/dist/i18n/sv-SE.js +4 -2
- package/dist/i18n/tr-TR.js +4 -2
- package/dist/i18n/zh-CN.js +4 -2
- package/dist/i18n/zh-TW.js +4 -2
- package/dist/types/lib/components/v2/message-header/delete-confirmation-popover.d.ts +5 -1
- package/dist/types/lib/components/v2/message-header/message-header.d.ts +9 -5
- package/dist/types/lib/components/v2/message-header/message-options-menu.d.ts +5 -3
- package/dist/types/lib/components/v2/message-header/messages.d.ts +6 -1
- package/dist/types/lib/components/v2/messages-view/messages-view.d.ts +2 -1
- package/dist/types/lib/components/v2/text-message/text-message.d.ts +4 -1
- package/dist/types/lib/v2/stories/shared.d.ts +1 -0
- package/dist/types/lib/v2/test-utils/test-selectors.d.ts +1 -0
- package/dist/types/lib/v2/threaded-annotations.d.ts +5 -0
- package/package.json +6 -6
package/dist/i18n/ko-KR.js
CHANGED
|
@@ -3,12 +3,13 @@ export default {
|
|
|
3
3
|
"groupSharedFeatures.threadedAnnotations.annotationMessageAriaLabel": "주석 메시지",
|
|
4
4
|
"groupSharedFeatures.threadedAnnotations.annotationPage": "{number}페이지",
|
|
5
5
|
"groupSharedFeatures.threadedAnnotations.cancelDeleteButtonAriaLabel": "삭제 취소 버튼",
|
|
6
|
+
"groupSharedFeatures.threadedAnnotations.copyLink": "Copy link",
|
|
6
7
|
"groupSharedFeatures.threadedAnnotations.delete": "삭제",
|
|
7
8
|
"groupSharedFeatures.threadedAnnotations.deleteButtonAriaLabel": "삭제 버튼",
|
|
8
9
|
"groupSharedFeatures.threadedAnnotations.deleteCancel": "취소",
|
|
9
10
|
"groupSharedFeatures.threadedAnnotations.deleteCommentQuestion": "이 코멘트를 삭제하시겠습니까?",
|
|
10
|
-
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "이 코멘트와 답글을 삭제하시겠습니까? 이 작업은 되돌릴 수 없습니다.",
|
|
11
11
|
"groupSharedFeatures.threadedAnnotations.deleteConfirmation": "삭제 확인",
|
|
12
|
+
"groupSharedFeatures.threadedAnnotations.deleteQuestion": "Delete this {type, select, annotation {annotation} other {comment}}{hasReplies, select, true { and replies} other {}}? This action can't be undone.",
|
|
12
13
|
"groupSharedFeatures.threadedAnnotations.edit": "편집",
|
|
13
14
|
"groupSharedFeatures.threadedAnnotations.hideReplies": "답글 숨기기",
|
|
14
15
|
"groupSharedFeatures.threadedAnnotations.markedAsResolved": "해결된 상태로 표시됨",
|
|
@@ -41,5 +42,6 @@ export default {
|
|
|
41
42
|
"groupSharedFeatures.threadedAnnotations.textMessageAriaLabel": "메시지 텍스트",
|
|
42
43
|
"groupSharedFeatures.threadedAnnotations.unresolveButtonAriaLabel": "미해결",
|
|
43
44
|
"groupSharedFeatures.threadedAnnotations.userAvatar": "사용자 아바타",
|
|
44
|
-
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "사용자 프로필 보기 버튼"
|
|
45
|
+
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "사용자 프로필 보기 버튼",
|
|
46
|
+
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "이 코멘트와 답글을 삭제하시겠습니까? 이 작업은 되돌릴 수 없습니다."
|
|
45
47
|
}
|
package/dist/i18n/nb-NO.js
CHANGED
|
@@ -3,12 +3,13 @@ export default {
|
|
|
3
3
|
"groupSharedFeatures.threadedAnnotations.annotationMessageAriaLabel": "Merknadsmelding",
|
|
4
4
|
"groupSharedFeatures.threadedAnnotations.annotationPage": "Side {number}",
|
|
5
5
|
"groupSharedFeatures.threadedAnnotations.cancelDeleteButtonAriaLabel": "Avbryt slett-knapp",
|
|
6
|
+
"groupSharedFeatures.threadedAnnotations.copyLink": "Copy link",
|
|
6
7
|
"groupSharedFeatures.threadedAnnotations.delete": "Slett",
|
|
7
8
|
"groupSharedFeatures.threadedAnnotations.deleteButtonAriaLabel": "Slett-knapp",
|
|
8
9
|
"groupSharedFeatures.threadedAnnotations.deleteCancel": "Avbryt",
|
|
9
10
|
"groupSharedFeatures.threadedAnnotations.deleteCommentQuestion": "Vil du slette denne kommentaren?",
|
|
10
|
-
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "Vil du slette denne kommentaren og svar? Denne handlingen kan ikke angres.",
|
|
11
11
|
"groupSharedFeatures.threadedAnnotations.deleteConfirmation": "Bekreftelse på sletting",
|
|
12
|
+
"groupSharedFeatures.threadedAnnotations.deleteQuestion": "Delete this {type, select, annotation {annotation} other {comment}}{hasReplies, select, true { and replies} other {}}? This action can't be undone.",
|
|
12
13
|
"groupSharedFeatures.threadedAnnotations.edit": "Rediger",
|
|
13
14
|
"groupSharedFeatures.threadedAnnotations.hideReplies": "Skjul svar",
|
|
14
15
|
"groupSharedFeatures.threadedAnnotations.markedAsResolved": "merket som løst",
|
|
@@ -41,5 +42,6 @@ export default {
|
|
|
41
42
|
"groupSharedFeatures.threadedAnnotations.textMessageAriaLabel": "Meldingstekst",
|
|
42
43
|
"groupSharedFeatures.threadedAnnotations.unresolveButtonAriaLabel": "Uavklar",
|
|
43
44
|
"groupSharedFeatures.threadedAnnotations.userAvatar": "Brukeravatar",
|
|
44
|
-
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "Vis brukerprofil-knapp"
|
|
45
|
+
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "Vis brukerprofil-knapp",
|
|
46
|
+
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "Vil du slette denne kommentaren og svar? Denne handlingen kan ikke angres."
|
|
45
47
|
}
|
package/dist/i18n/nl-NL.js
CHANGED
|
@@ -3,12 +3,13 @@ export default {
|
|
|
3
3
|
"groupSharedFeatures.threadedAnnotations.annotationMessageAriaLabel": "Aantekeningbericht",
|
|
4
4
|
"groupSharedFeatures.threadedAnnotations.annotationPage": "Pagina {number}",
|
|
5
5
|
"groupSharedFeatures.threadedAnnotations.cancelDeleteButtonAriaLabel": "Knop Verwijdering annuleren",
|
|
6
|
+
"groupSharedFeatures.threadedAnnotations.copyLink": "Copy link",
|
|
6
7
|
"groupSharedFeatures.threadedAnnotations.delete": "Verwijderen",
|
|
7
8
|
"groupSharedFeatures.threadedAnnotations.deleteButtonAriaLabel": "Knop Verwijderen",
|
|
8
9
|
"groupSharedFeatures.threadedAnnotations.deleteCancel": "Annuleren",
|
|
9
10
|
"groupSharedFeatures.threadedAnnotations.deleteCommentQuestion": "Wil je deze opmerking verwijderen?",
|
|
10
|
-
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "Deze opmerking en antwoorden verwijderen? Deze actie kan niet ongedaan worden gemaakt.",
|
|
11
11
|
"groupSharedFeatures.threadedAnnotations.deleteConfirmation": "Bevestiging verwijderen",
|
|
12
|
+
"groupSharedFeatures.threadedAnnotations.deleteQuestion": "Delete this {type, select, annotation {annotation} other {comment}}{hasReplies, select, true { and replies} other {}}? This action can't be undone.",
|
|
12
13
|
"groupSharedFeatures.threadedAnnotations.edit": "Bewerken",
|
|
13
14
|
"groupSharedFeatures.threadedAnnotations.hideReplies": "Reacties verbergen",
|
|
14
15
|
"groupSharedFeatures.threadedAnnotations.markedAsResolved": "gemarkeerd als opgelost",
|
|
@@ -41,5 +42,6 @@ export default {
|
|
|
41
42
|
"groupSharedFeatures.threadedAnnotations.textMessageAriaLabel": "Berichttekst",
|
|
42
43
|
"groupSharedFeatures.threadedAnnotations.unresolveButtonAriaLabel": "Oplossing ongedaan maken",
|
|
43
44
|
"groupSharedFeatures.threadedAnnotations.userAvatar": "Avatar van de gebruiker",
|
|
44
|
-
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "Knop Gebruikersprofiel bekijken"
|
|
45
|
+
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "Knop Gebruikersprofiel bekijken",
|
|
46
|
+
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "Deze opmerking en antwoorden verwijderen? Deze actie kan niet ongedaan worden gemaakt."
|
|
45
47
|
}
|
package/dist/i18n/pl-PL.js
CHANGED
|
@@ -3,12 +3,13 @@ export default {
|
|
|
3
3
|
"groupSharedFeatures.threadedAnnotations.annotationMessageAriaLabel": "Komunikat uwagi",
|
|
4
4
|
"groupSharedFeatures.threadedAnnotations.annotationPage": "Strona {number}",
|
|
5
5
|
"groupSharedFeatures.threadedAnnotations.cancelDeleteButtonAriaLabel": "Przycisk anulowania usuwania",
|
|
6
|
+
"groupSharedFeatures.threadedAnnotations.copyLink": "Copy link",
|
|
6
7
|
"groupSharedFeatures.threadedAnnotations.delete": "Usuń",
|
|
7
8
|
"groupSharedFeatures.threadedAnnotations.deleteButtonAriaLabel": "Przycisk usuwania",
|
|
8
9
|
"groupSharedFeatures.threadedAnnotations.deleteCancel": "Anuluj",
|
|
9
10
|
"groupSharedFeatures.threadedAnnotations.deleteCommentQuestion": "Czy chcesz usunąć ten komentarz?",
|
|
10
|
-
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "Usunąć ten komentarz i odpowiedzi? Nie można cofnąć tego działania.",
|
|
11
11
|
"groupSharedFeatures.threadedAnnotations.deleteConfirmation": "Potwierdzenie usunięcia",
|
|
12
|
+
"groupSharedFeatures.threadedAnnotations.deleteQuestion": "Delete this {type, select, annotation {annotation} other {comment}}{hasReplies, select, true { and replies} other {}}? This action can't be undone.",
|
|
12
13
|
"groupSharedFeatures.threadedAnnotations.edit": "Edytuj",
|
|
13
14
|
"groupSharedFeatures.threadedAnnotations.hideReplies": "Ukryj odpowiedzi",
|
|
14
15
|
"groupSharedFeatures.threadedAnnotations.markedAsResolved": "oznaczono jako rozwiązane",
|
|
@@ -41,5 +42,6 @@ export default {
|
|
|
41
42
|
"groupSharedFeatures.threadedAnnotations.textMessageAriaLabel": "Tekst wiadomości",
|
|
42
43
|
"groupSharedFeatures.threadedAnnotations.unresolveButtonAriaLabel": "Anuluj rozstrzygnięcie",
|
|
43
44
|
"groupSharedFeatures.threadedAnnotations.userAvatar": "Awatar użytkownika",
|
|
44
|
-
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "Przycisk wyświetlania profilu użytkownika"
|
|
45
|
+
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "Przycisk wyświetlania profilu użytkownika",
|
|
46
|
+
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "Usunąć ten komentarz i odpowiedzi? Nie można cofnąć tego działania."
|
|
45
47
|
}
|
package/dist/i18n/pt-BR.js
CHANGED
|
@@ -3,12 +3,13 @@ export default {
|
|
|
3
3
|
"groupSharedFeatures.threadedAnnotations.annotationMessageAriaLabel": "Mensagem de anotação",
|
|
4
4
|
"groupSharedFeatures.threadedAnnotations.annotationPage": "Página {number}",
|
|
5
5
|
"groupSharedFeatures.threadedAnnotations.cancelDeleteButtonAriaLabel": "Botão Cancelar exclusão",
|
|
6
|
+
"groupSharedFeatures.threadedAnnotations.copyLink": "Copy link",
|
|
6
7
|
"groupSharedFeatures.threadedAnnotations.delete": "Excluir",
|
|
7
8
|
"groupSharedFeatures.threadedAnnotations.deleteButtonAriaLabel": "Botão Excluir",
|
|
8
9
|
"groupSharedFeatures.threadedAnnotations.deleteCancel": "Cancelar",
|
|
9
10
|
"groupSharedFeatures.threadedAnnotations.deleteCommentQuestion": "Você deseja excluir esse comentário?",
|
|
10
|
-
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "Excluir este comentário e respostas? Essa ação não pode ser desfeita.",
|
|
11
11
|
"groupSharedFeatures.threadedAnnotations.deleteConfirmation": "Confirmação de exclusão",
|
|
12
|
+
"groupSharedFeatures.threadedAnnotations.deleteQuestion": "Delete this {type, select, annotation {annotation} other {comment}}{hasReplies, select, true { and replies} other {}}? This action can't be undone.",
|
|
12
13
|
"groupSharedFeatures.threadedAnnotations.edit": "Editar",
|
|
13
14
|
"groupSharedFeatures.threadedAnnotations.hideReplies": "Ocultar respostas",
|
|
14
15
|
"groupSharedFeatures.threadedAnnotations.markedAsResolved": "marcado como resolvido",
|
|
@@ -41,5 +42,6 @@ export default {
|
|
|
41
42
|
"groupSharedFeatures.threadedAnnotations.textMessageAriaLabel": "Texto da mensagem",
|
|
42
43
|
"groupSharedFeatures.threadedAnnotations.unresolveButtonAriaLabel": "Não resolver",
|
|
43
44
|
"groupSharedFeatures.threadedAnnotations.userAvatar": "Avatar do usuário",
|
|
44
|
-
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "Botão Visualizar perfil do usuário"
|
|
45
|
+
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "Botão Visualizar perfil do usuário",
|
|
46
|
+
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "Excluir este comentário e respostas? Essa ação não pode ser desfeita."
|
|
45
47
|
}
|
package/dist/i18n/ru-RU.js
CHANGED
|
@@ -3,12 +3,13 @@ export default {
|
|
|
3
3
|
"groupSharedFeatures.threadedAnnotations.annotationMessageAriaLabel": "Сообщение примечания",
|
|
4
4
|
"groupSharedFeatures.threadedAnnotations.annotationPage": "Стр. {number}",
|
|
5
5
|
"groupSharedFeatures.threadedAnnotations.cancelDeleteButtonAriaLabel": "Кнопка отмены удаления",
|
|
6
|
+
"groupSharedFeatures.threadedAnnotations.copyLink": "Copy link",
|
|
6
7
|
"groupSharedFeatures.threadedAnnotations.delete": "Удалить",
|
|
7
8
|
"groupSharedFeatures.threadedAnnotations.deleteButtonAriaLabel": "Кнопка удаления",
|
|
8
9
|
"groupSharedFeatures.threadedAnnotations.deleteCancel": "Отмена",
|
|
9
10
|
"groupSharedFeatures.threadedAnnotations.deleteCommentQuestion": "Удалить этот комментарий?",
|
|
10
|
-
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "Удалить этот комментарий и ответы? Это действие невозможно отменить.",
|
|
11
11
|
"groupSharedFeatures.threadedAnnotations.deleteConfirmation": "Подтверждение удаления",
|
|
12
|
+
"groupSharedFeatures.threadedAnnotations.deleteQuestion": "Delete this {type, select, annotation {annotation} other {comment}}{hasReplies, select, true { and replies} other {}}? This action can't be undone.",
|
|
12
13
|
"groupSharedFeatures.threadedAnnotations.edit": "Изменить",
|
|
13
14
|
"groupSharedFeatures.threadedAnnotations.hideReplies": "Скрыть ответы",
|
|
14
15
|
"groupSharedFeatures.threadedAnnotations.markedAsResolved": "отмечено как решено",
|
|
@@ -41,5 +42,6 @@ export default {
|
|
|
41
42
|
"groupSharedFeatures.threadedAnnotations.textMessageAriaLabel": "Текст сообщения",
|
|
42
43
|
"groupSharedFeatures.threadedAnnotations.unresolveButtonAriaLabel": "Отменить разрешение",
|
|
43
44
|
"groupSharedFeatures.threadedAnnotations.userAvatar": "Аватар пользователя",
|
|
44
|
-
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "Кнопка просмотра профиля пользователя"
|
|
45
|
+
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "Кнопка просмотра профиля пользователя",
|
|
46
|
+
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "Удалить этот комментарий и ответы? Это действие невозможно отменить."
|
|
45
47
|
}
|
package/dist/i18n/sv-SE.js
CHANGED
|
@@ -3,12 +3,13 @@ export default {
|
|
|
3
3
|
"groupSharedFeatures.threadedAnnotations.annotationMessageAriaLabel": "Meddelande om anteckning",
|
|
4
4
|
"groupSharedFeatures.threadedAnnotations.annotationPage": "Sidan {number}",
|
|
5
5
|
"groupSharedFeatures.threadedAnnotations.cancelDeleteButtonAriaLabel": "Knappen Avbryt radera",
|
|
6
|
+
"groupSharedFeatures.threadedAnnotations.copyLink": "Copy link",
|
|
6
7
|
"groupSharedFeatures.threadedAnnotations.delete": "Radera",
|
|
7
8
|
"groupSharedFeatures.threadedAnnotations.deleteButtonAriaLabel": "Knappen Radera",
|
|
8
9
|
"groupSharedFeatures.threadedAnnotations.deleteCancel": "Avbryt",
|
|
9
10
|
"groupSharedFeatures.threadedAnnotations.deleteCommentQuestion": "Vill du radera den här kommentaren?",
|
|
10
|
-
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "Radera den här kommentaren och svaren? Den här åtgärden kan inte återkallas.",
|
|
11
11
|
"groupSharedFeatures.threadedAnnotations.deleteConfirmation": "Bekräftelse av radering",
|
|
12
|
+
"groupSharedFeatures.threadedAnnotations.deleteQuestion": "Delete this {type, select, annotation {annotation} other {comment}}{hasReplies, select, true { and replies} other {}}? This action can't be undone.",
|
|
12
13
|
"groupSharedFeatures.threadedAnnotations.edit": "Redigera",
|
|
13
14
|
"groupSharedFeatures.threadedAnnotations.hideReplies": "Dölj svar",
|
|
14
15
|
"groupSharedFeatures.threadedAnnotations.markedAsResolved": "markerat som löst",
|
|
@@ -41,5 +42,6 @@ export default {
|
|
|
41
42
|
"groupSharedFeatures.threadedAnnotations.textMessageAriaLabel": "Meddelandetext",
|
|
42
43
|
"groupSharedFeatures.threadedAnnotations.unresolveButtonAriaLabel": "Olöst",
|
|
43
44
|
"groupSharedFeatures.threadedAnnotations.userAvatar": "Avatar för användare",
|
|
44
|
-
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "Knappen visa användarprofil"
|
|
45
|
+
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "Knappen visa användarprofil",
|
|
46
|
+
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "Radera den här kommentaren och svaren? Den här åtgärden kan inte återkallas."
|
|
45
47
|
}
|
package/dist/i18n/tr-TR.js
CHANGED
|
@@ -3,12 +3,13 @@ export default {
|
|
|
3
3
|
"groupSharedFeatures.threadedAnnotations.annotationMessageAriaLabel": "Açıklama mesajı",
|
|
4
4
|
"groupSharedFeatures.threadedAnnotations.annotationPage": "Sayfa {number}",
|
|
5
5
|
"groupSharedFeatures.threadedAnnotations.cancelDeleteButtonAriaLabel": "Silmeyi iptal et düğmesi",
|
|
6
|
+
"groupSharedFeatures.threadedAnnotations.copyLink": "Copy link",
|
|
6
7
|
"groupSharedFeatures.threadedAnnotations.delete": "Sil",
|
|
7
8
|
"groupSharedFeatures.threadedAnnotations.deleteButtonAriaLabel": "Sil düğmesi",
|
|
8
9
|
"groupSharedFeatures.threadedAnnotations.deleteCancel": "İptal Et",
|
|
9
10
|
"groupSharedFeatures.threadedAnnotations.deleteCommentQuestion": "Bu yorumu silmek istiyor musunuz?",
|
|
10
|
-
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "Bu yorum ve yanıtlar silinsin mi? Bu işlem geri alınamaz.",
|
|
11
11
|
"groupSharedFeatures.threadedAnnotations.deleteConfirmation": "Onayı sil",
|
|
12
|
+
"groupSharedFeatures.threadedAnnotations.deleteQuestion": "Delete this {type, select, annotation {annotation} other {comment}}{hasReplies, select, true { and replies} other {}}? This action can't be undone.",
|
|
12
13
|
"groupSharedFeatures.threadedAnnotations.edit": "Düzenle",
|
|
13
14
|
"groupSharedFeatures.threadedAnnotations.hideReplies": "Yanıtları gizle",
|
|
14
15
|
"groupSharedFeatures.threadedAnnotations.markedAsResolved": "çözülmüş olarak işaretlendi",
|
|
@@ -41,5 +42,6 @@ export default {
|
|
|
41
42
|
"groupSharedFeatures.threadedAnnotations.textMessageAriaLabel": "Mesaj metni",
|
|
42
43
|
"groupSharedFeatures.threadedAnnotations.unresolveButtonAriaLabel": "Çözümü kaldır",
|
|
43
44
|
"groupSharedFeatures.threadedAnnotations.userAvatar": "Kullanıcı avatarı",
|
|
44
|
-
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "Kullanıcı profilini görüntüle düğmesi"
|
|
45
|
+
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "Kullanıcı profilini görüntüle düğmesi",
|
|
46
|
+
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "Bu yorum ve yanıtlar silinsin mi? Bu işlem geri alınamaz."
|
|
45
47
|
}
|
package/dist/i18n/zh-CN.js
CHANGED
|
@@ -3,12 +3,13 @@ export default {
|
|
|
3
3
|
"groupSharedFeatures.threadedAnnotations.annotationMessageAriaLabel": "批注消息",
|
|
4
4
|
"groupSharedFeatures.threadedAnnotations.annotationPage": "第 {number} 页",
|
|
5
5
|
"groupSharedFeatures.threadedAnnotations.cancelDeleteButtonAriaLabel": "取消删除按钮",
|
|
6
|
+
"groupSharedFeatures.threadedAnnotations.copyLink": "Copy link",
|
|
6
7
|
"groupSharedFeatures.threadedAnnotations.delete": "删除",
|
|
7
8
|
"groupSharedFeatures.threadedAnnotations.deleteButtonAriaLabel": "删除按钮",
|
|
8
9
|
"groupSharedFeatures.threadedAnnotations.deleteCancel": "取消",
|
|
9
10
|
"groupSharedFeatures.threadedAnnotations.deleteCommentQuestion": "是否要删除此评论?",
|
|
10
|
-
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "是否要删除此评论及回复?此操作无法撤销。",
|
|
11
11
|
"groupSharedFeatures.threadedAnnotations.deleteConfirmation": "删除确认",
|
|
12
|
+
"groupSharedFeatures.threadedAnnotations.deleteQuestion": "Delete this {type, select, annotation {annotation} other {comment}}{hasReplies, select, true { and replies} other {}}? This action can't be undone.",
|
|
12
13
|
"groupSharedFeatures.threadedAnnotations.edit": "编辑",
|
|
13
14
|
"groupSharedFeatures.threadedAnnotations.hideReplies": "隐藏回复",
|
|
14
15
|
"groupSharedFeatures.threadedAnnotations.markedAsResolved": "标记为已解决",
|
|
@@ -41,5 +42,6 @@ export default {
|
|
|
41
42
|
"groupSharedFeatures.threadedAnnotations.textMessageAriaLabel": "消息文本",
|
|
42
43
|
"groupSharedFeatures.threadedAnnotations.unresolveButtonAriaLabel": "未解决",
|
|
43
44
|
"groupSharedFeatures.threadedAnnotations.userAvatar": "用户头像",
|
|
44
|
-
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "查看用户资料按钮"
|
|
45
|
+
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "查看用户资料按钮",
|
|
46
|
+
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "是否要删除此评论及回复?此操作无法撤销。"
|
|
45
47
|
}
|
package/dist/i18n/zh-TW.js
CHANGED
|
@@ -3,12 +3,13 @@ export default {
|
|
|
3
3
|
"groupSharedFeatures.threadedAnnotations.annotationMessageAriaLabel": "註解訊息",
|
|
4
4
|
"groupSharedFeatures.threadedAnnotations.annotationPage": "第 {number} 頁",
|
|
5
5
|
"groupSharedFeatures.threadedAnnotations.cancelDeleteButtonAriaLabel": "取消刪除按鈕",
|
|
6
|
+
"groupSharedFeatures.threadedAnnotations.copyLink": "Copy link",
|
|
6
7
|
"groupSharedFeatures.threadedAnnotations.delete": "刪除",
|
|
7
8
|
"groupSharedFeatures.threadedAnnotations.deleteButtonAriaLabel": "刪除按鈕",
|
|
8
9
|
"groupSharedFeatures.threadedAnnotations.deleteCancel": "取消",
|
|
9
10
|
"groupSharedFeatures.threadedAnnotations.deleteCommentQuestion": "是否要刪除此留言?",
|
|
10
|
-
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "是否要刪除此留言與回覆?此動作無法復原。",
|
|
11
11
|
"groupSharedFeatures.threadedAnnotations.deleteConfirmation": "刪除確認",
|
|
12
|
+
"groupSharedFeatures.threadedAnnotations.deleteQuestion": "Delete this {type, select, annotation {annotation} other {comment}}{hasReplies, select, true { and replies} other {}}? This action can't be undone.",
|
|
12
13
|
"groupSharedFeatures.threadedAnnotations.edit": "編輯",
|
|
13
14
|
"groupSharedFeatures.threadedAnnotations.hideReplies": "隱藏回覆",
|
|
14
15
|
"groupSharedFeatures.threadedAnnotations.markedAsResolved": "標記為已解決",
|
|
@@ -41,5 +42,6 @@ export default {
|
|
|
41
42
|
"groupSharedFeatures.threadedAnnotations.textMessageAriaLabel": "訊息文字",
|
|
42
43
|
"groupSharedFeatures.threadedAnnotations.unresolveButtonAriaLabel": "取消解決",
|
|
43
44
|
"groupSharedFeatures.threadedAnnotations.userAvatar": "使用者頭像",
|
|
44
|
-
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "檢視使用者設定檔按鈕"
|
|
45
|
+
"groupSharedFeatures.threadedAnnotations.userAvatarButtonAriaLabel": "檢視使用者設定檔按鈕",
|
|
46
|
+
"groupSharedFeatures.threadedAnnotations.deleteCommentWithRepliesQuestion": "是否要刪除此留言與回覆?此動作無法復原。"
|
|
45
47
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export interface DeleteConfirmationPopoverProps {
|
|
2
|
+
/** When true, labels the thread as an annotation instead of a comment. */
|
|
3
|
+
isAnnotation?: boolean;
|
|
4
|
+
/** When true, the confirmation wording includes "and replies". */
|
|
5
|
+
hasReplies?: boolean;
|
|
2
6
|
open: boolean;
|
|
3
7
|
onOpenChange: (open: boolean) => void;
|
|
4
8
|
onConfirm: () => void;
|
|
@@ -8,4 +12,4 @@ export interface DeleteConfirmationPopoverProps {
|
|
|
8
12
|
* Renders a delete confirmation popover anchored to the bottom-right.
|
|
9
13
|
* Used when the user selects Delete from the message options menu.
|
|
10
14
|
*/
|
|
11
|
-
export declare const DeleteConfirmationPopover: ({ open, onOpenChange, onConfirm, onCancel, }: DeleteConfirmationPopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const DeleteConfirmationPopover: ({ hasReplies, isAnnotation, open, onOpenChange, onConfirm, onCancel, }: DeleteConfirmationPopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,23 +10,27 @@ export interface MessageHeaderProps {
|
|
|
10
10
|
canEdit?: boolean;
|
|
11
11
|
/** Whether the Delete option is available in the options menu. */
|
|
12
12
|
canDelete?: boolean;
|
|
13
|
+
/** Whether the thread has at least one reply (changes the delete confirmation copy on the root message). */
|
|
14
|
+
hasReplies?: boolean;
|
|
13
15
|
/** Whether the message is the first message in the thread. */
|
|
14
16
|
isFirstMessage?: boolean;
|
|
15
17
|
/** Callback invoked when the user clicks the author avatar. */
|
|
16
18
|
onAvatarClick: (id: number) => void;
|
|
19
|
+
/** Callback invoked when the user selects Copy link from the options menu. */
|
|
20
|
+
onCopyLink?: () => void;
|
|
21
|
+
/** Callback invoked when the user selects Delete from the options menu. */
|
|
22
|
+
onDelete?: () => void;
|
|
17
23
|
/** Callback invoked when the user selects Edit from the options menu. */
|
|
18
24
|
onEdit?: () => void;
|
|
19
25
|
/** Callback invoked when the user selects Resolve from the options menu. */
|
|
20
26
|
onResolve?: () => void;
|
|
21
|
-
/** Callback invoked when the user selects Unresolve from the options menu. */
|
|
22
|
-
onUnresolve?: () => void;
|
|
23
|
-
/** Callback invoked when the user selects Delete from the options menu. */
|
|
24
|
-
onDelete?: () => void;
|
|
25
27
|
/** Callback invoked when the user confirms deletion of the entire thread (only used when isFirstMessage is true). */
|
|
26
28
|
onThreadDelete?: () => void;
|
|
29
|
+
/** Callback invoked when the user selects Unresolve from the options menu. */
|
|
30
|
+
onUnresolve?: () => void;
|
|
27
31
|
}
|
|
28
32
|
/**
|
|
29
33
|
* Renders the header section of a threaded message, including
|
|
30
34
|
* the author avatar, name, and an optional delete action.
|
|
31
35
|
*/
|
|
32
|
-
export declare const MessageHeader: ({ author, canResolve, isResolved, canEdit, canDelete, isFirstMessage, onAvatarClick,
|
|
36
|
+
export declare const MessageHeader: ({ author, canResolve, isResolved, canEdit, canDelete, hasReplies, isFirstMessage, onAvatarClick, onCopyLink, onDelete, onEdit, onResolve, onThreadDelete, onUnresolve, }: MessageHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,11 +2,13 @@ export interface MessageOptionsMenuProps {
|
|
|
2
2
|
canDelete?: boolean;
|
|
3
3
|
canEdit?: boolean;
|
|
4
4
|
disabled?: boolean;
|
|
5
|
-
|
|
5
|
+
onCopyLink?: () => void;
|
|
6
6
|
onDelete?: () => void;
|
|
7
|
+
onEdit?: () => void;
|
|
7
8
|
onOpenChange?: (isOpen: boolean) => void;
|
|
8
9
|
}
|
|
9
10
|
/**
|
|
10
|
-
* Renders a context menu for an annotation message with Edit and Delete options.
|
|
11
|
+
* Renders a context menu for an annotation message with Edit, Copy link, and Delete options.
|
|
12
|
+
* Returns null when no items would be shown.
|
|
11
13
|
*/
|
|
12
|
-
export declare const MessageOptionsMenu: ({ canDelete, canEdit, disabled,
|
|
14
|
+
export declare const MessageOptionsMenu: ({ canDelete, canEdit, disabled, onCopyLink, onDelete, onEdit, onOpenChange, }: MessageOptionsMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,7 +4,7 @@ declare const messages: {
|
|
|
4
4
|
description: string;
|
|
5
5
|
id: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
deleteQuestion: {
|
|
8
8
|
defaultMessage: string;
|
|
9
9
|
description: string;
|
|
10
10
|
id: string;
|
|
@@ -29,6 +29,11 @@ declare const messages: {
|
|
|
29
29
|
description: string;
|
|
30
30
|
id: string;
|
|
31
31
|
};
|
|
32
|
+
copyLink: {
|
|
33
|
+
defaultMessage: string;
|
|
34
|
+
description: string;
|
|
35
|
+
id: string;
|
|
36
|
+
};
|
|
32
37
|
deleteButtonAriaLabel: {
|
|
33
38
|
defaultMessage: string;
|
|
34
39
|
description: string;
|
|
@@ -8,6 +8,7 @@ export interface MessagesViewProps {
|
|
|
8
8
|
onDelete: (id: string) => void;
|
|
9
9
|
onThreadDelete?: () => void;
|
|
10
10
|
onAvatarClick: (id: number) => void;
|
|
11
|
+
onCopyLink?: (id: string) => void;
|
|
11
12
|
onEdit?: (id: string) => void;
|
|
12
13
|
onResolve?: (id: string) => void;
|
|
13
14
|
onUnresolve?: (id: string) => void;
|
|
@@ -15,4 +16,4 @@ export interface MessagesViewProps {
|
|
|
15
16
|
onAnnotationBadgeClick?: (id: string) => void;
|
|
16
17
|
originalContentDeleted?: boolean;
|
|
17
18
|
}
|
|
18
|
-
export declare const MessagesView: ({ messages, isResolved, resolvedBy, resolvedAt, onDelete, onThreadDelete, onAvatarClick, onEdit, onResolve, onUnresolve, annotationTarget, onAnnotationBadgeClick, originalContentDeleted, }: MessagesViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const MessagesView: ({ messages, isResolved, resolvedBy, resolvedAt, onDelete, onThreadDelete, onAvatarClick, onCopyLink, onEdit, onResolve, onUnresolve, annotationTarget, onAnnotationBadgeClick, originalContentDeleted, }: MessagesViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,9 +7,12 @@ export interface TextMessageProps extends TextMessageType {
|
|
|
7
7
|
showThreadedIndicator?: boolean;
|
|
8
8
|
isResolved?: boolean;
|
|
9
9
|
isFirstMessage?: boolean;
|
|
10
|
+
/** Whether the thread has at least one reply (only meaningful on the root message). */
|
|
11
|
+
hasReplies?: boolean;
|
|
10
12
|
onDelete: (id: string) => void;
|
|
11
13
|
onThreadDelete?: () => void;
|
|
12
14
|
onAvatarClick: (id: number) => void;
|
|
15
|
+
onCopyLink?: (id: string) => void;
|
|
13
16
|
onEdit?: (id: string) => void;
|
|
14
17
|
onResolve?: (id: string) => void;
|
|
15
18
|
onUnresolve?: (id: string) => void;
|
|
@@ -24,4 +27,4 @@ export interface TextMessageProps extends TextMessageType {
|
|
|
24
27
|
* the message content itself, a relative timestamp, and providing a mechanism
|
|
25
28
|
* for deleting the message.
|
|
26
29
|
*/
|
|
27
|
-
export declare const TextMessage: ({ id, author, message, createdAt, permissions, showThreadedIndicator, isResolved, isFirstMessage, onAvatarClick, onDelete, onThreadDelete, onEdit, onResolve, onUnresolve, annotationTarget, onAnnotationBadgeClick, originalContentDeleted, }: TextMessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare const TextMessage: ({ id, author, message, createdAt, permissions, showThreadedIndicator, isResolved, isFirstMessage, hasReplies, onAvatarClick, onCopyLink, onDelete, onThreadDelete, onEdit, onResolve, onUnresolve, annotationTarget, onAnnotationBadgeClick, originalContentDeleted, }: TextMessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,6 +8,7 @@ export declare const DefaultThreadedAnnotations: (props: ThreadedAnnotationsProp
|
|
|
8
8
|
interface InteractiveModuleBaseProps {
|
|
9
9
|
initialMessages?: TextMessageType[];
|
|
10
10
|
isReplyDisabled?: boolean;
|
|
11
|
+
onCopyLink?: (id: string) => void;
|
|
11
12
|
}
|
|
12
13
|
type InteractiveModuleProps = (InteractiveModuleBaseProps & {
|
|
13
14
|
isAnnotations: true;
|
|
@@ -13,6 +13,11 @@ interface ThreadedAnnotationsBaseProps {
|
|
|
13
13
|
onDelete: (id: string) => void;
|
|
14
14
|
onThreadDelete?: () => void;
|
|
15
15
|
onAvatarClick: (id: number) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Called when the user selects Copy link from a message's options menu. When omitted, the menu
|
|
18
|
+
* item is hidden. The consumer owns URL construction and clipboard writes.
|
|
19
|
+
*/
|
|
20
|
+
onCopyLink?: (id: string) => void;
|
|
16
21
|
onEdit?: (id: string) => void;
|
|
17
22
|
onResolve?: (id: string) => void;
|
|
18
23
|
onUnresolve?: (id: string) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/threaded-annotations",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.85.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@tanstack/react-virtual": "^3.10.8",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"@box/blueprint-web": "^14.26.1",
|
|
20
20
|
"@box/blueprint-web-assets": "^4.116.5",
|
|
21
|
-
"@box/collaboration-popover": "^1.61.
|
|
22
|
-
"@box/readable-time": "^1.40.
|
|
23
|
-
"@box/user-selector": "^1.75.
|
|
21
|
+
"@box/collaboration-popover": "^1.61.27",
|
|
22
|
+
"@box/readable-time": "^1.40.27",
|
|
23
|
+
"@box/user-selector": "^1.75.27",
|
|
24
24
|
"clsx": "^1.2.1",
|
|
25
25
|
"react": "^18.0.0",
|
|
26
26
|
"react-dom": "^18.0.0",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"@box/blueprint-web": "^14.26.1",
|
|
31
31
|
"@box/blueprint-web-assets": "^4.116.5",
|
|
32
32
|
"@box/eslint-plugin-blueprint": "1.1.21",
|
|
33
|
-
"@box/readable-time": "^1.40.
|
|
33
|
+
"@box/readable-time": "^1.40.27",
|
|
34
34
|
"@box/storybook-utils": "^0.18.19",
|
|
35
|
-
"@box/user-selector": "^1.75.
|
|
35
|
+
"@box/user-selector": "^1.75.27",
|
|
36
36
|
"react": "^18.0.0",
|
|
37
37
|
"react-dom": "^18.0.0"
|
|
38
38
|
},
|