@atlaskit/profilecard 19.11.5 → 19.11.7

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 (151) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/client/getTeamFromAGG.js +1 -1
  3. package/dist/cjs/components/User/ProfileCard.js +3 -1
  4. package/dist/cjs/components/User/ProfileCardDetails.js +4 -2
  5. package/dist/cjs/i18n/cs.js +2 -0
  6. package/dist/cjs/i18n/da.js +2 -0
  7. package/dist/cjs/i18n/de.js +2 -0
  8. package/dist/cjs/i18n/en.js +1 -0
  9. package/dist/cjs/i18n/en_GB.js +1 -0
  10. package/dist/cjs/i18n/en_ZZ.js +1 -0
  11. package/dist/cjs/i18n/es.js +2 -0
  12. package/dist/cjs/i18n/fi.js +2 -0
  13. package/dist/cjs/i18n/fr.js +2 -0
  14. package/dist/cjs/i18n/hu.js +2 -0
  15. package/dist/cjs/i18n/it.js +2 -0
  16. package/dist/cjs/i18n/ja.js +2 -0
  17. package/dist/cjs/i18n/ko.js +2 -0
  18. package/dist/cjs/i18n/nb.js +2 -0
  19. package/dist/cjs/i18n/nl.js +2 -0
  20. package/dist/cjs/i18n/pl.js +2 -0
  21. package/dist/cjs/i18n/pt_BR.js +2 -0
  22. package/dist/cjs/i18n/ru.js +2 -0
  23. package/dist/cjs/i18n/sv.js +2 -0
  24. package/dist/cjs/i18n/th.js +2 -0
  25. package/dist/cjs/i18n/tr.js +3 -1
  26. package/dist/cjs/i18n/uk.js +2 -0
  27. package/dist/cjs/i18n/vi.js +2 -0
  28. package/dist/cjs/i18n/zh.js +2 -0
  29. package/dist/cjs/i18n/zh_TW.js +2 -0
  30. package/dist/cjs/styled/Card.js +3 -0
  31. package/dist/cjs/styled/Error.js +18 -7
  32. package/dist/cjs/styled/ReportingLines.js +25 -7
  33. package/dist/cjs/styled/TeamCard.js +75 -16
  34. package/dist/cjs/util/analytics.js +1 -1
  35. package/dist/es2019/client/getTeamFromAGG.js +1 -1
  36. package/dist/es2019/components/User/ProfileCard.js +3 -1
  37. package/dist/es2019/components/User/ProfileCardDetails.js +4 -2
  38. package/dist/es2019/i18n/cs.js +2 -0
  39. package/dist/es2019/i18n/da.js +2 -0
  40. package/dist/es2019/i18n/de.js +2 -0
  41. package/dist/es2019/i18n/en.js +1 -0
  42. package/dist/es2019/i18n/en_GB.js +1 -0
  43. package/dist/es2019/i18n/en_ZZ.js +1 -0
  44. package/dist/es2019/i18n/es.js +2 -0
  45. package/dist/es2019/i18n/fi.js +2 -0
  46. package/dist/es2019/i18n/fr.js +2 -0
  47. package/dist/es2019/i18n/hu.js +2 -0
  48. package/dist/es2019/i18n/it.js +2 -0
  49. package/dist/es2019/i18n/ja.js +2 -0
  50. package/dist/es2019/i18n/ko.js +2 -0
  51. package/dist/es2019/i18n/nb.js +2 -0
  52. package/dist/es2019/i18n/nl.js +2 -0
  53. package/dist/es2019/i18n/pl.js +2 -0
  54. package/dist/es2019/i18n/pt_BR.js +2 -0
  55. package/dist/es2019/i18n/ru.js +2 -0
  56. package/dist/es2019/i18n/sv.js +2 -0
  57. package/dist/es2019/i18n/th.js +2 -0
  58. package/dist/es2019/i18n/tr.js +3 -1
  59. package/dist/es2019/i18n/uk.js +2 -0
  60. package/dist/es2019/i18n/vi.js +2 -0
  61. package/dist/es2019/i18n/zh.js +2 -0
  62. package/dist/es2019/i18n/zh_TW.js +2 -0
  63. package/dist/es2019/styled/Card.js +3 -0
  64. package/dist/es2019/styled/Error.js +18 -20
  65. package/dist/es2019/styled/ReportingLines.js +23 -23
  66. package/dist/es2019/styled/TeamCard.js +73 -73
  67. package/dist/es2019/util/analytics.js +1 -1
  68. package/dist/esm/client/getTeamFromAGG.js +1 -1
  69. package/dist/esm/components/User/ProfileCard.js +3 -1
  70. package/dist/esm/components/User/ProfileCardDetails.js +4 -2
  71. package/dist/esm/i18n/cs.js +2 -0
  72. package/dist/esm/i18n/da.js +2 -0
  73. package/dist/esm/i18n/de.js +2 -0
  74. package/dist/esm/i18n/en.js +1 -0
  75. package/dist/esm/i18n/en_GB.js +1 -0
  76. package/dist/esm/i18n/en_ZZ.js +1 -0
  77. package/dist/esm/i18n/es.js +2 -0
  78. package/dist/esm/i18n/fi.js +2 -0
  79. package/dist/esm/i18n/fr.js +2 -0
  80. package/dist/esm/i18n/hu.js +2 -0
  81. package/dist/esm/i18n/it.js +2 -0
  82. package/dist/esm/i18n/ja.js +2 -0
  83. package/dist/esm/i18n/ko.js +2 -0
  84. package/dist/esm/i18n/nb.js +2 -0
  85. package/dist/esm/i18n/nl.js +2 -0
  86. package/dist/esm/i18n/pl.js +2 -0
  87. package/dist/esm/i18n/pt_BR.js +2 -0
  88. package/dist/esm/i18n/ru.js +2 -0
  89. package/dist/esm/i18n/sv.js +2 -0
  90. package/dist/esm/i18n/th.js +2 -0
  91. package/dist/esm/i18n/tr.js +3 -1
  92. package/dist/esm/i18n/uk.js +2 -0
  93. package/dist/esm/i18n/vi.js +2 -0
  94. package/dist/esm/i18n/zh.js +2 -0
  95. package/dist/esm/i18n/zh_TW.js +2 -0
  96. package/dist/esm/styled/Card.js +3 -0
  97. package/dist/esm/styled/Error.js +18 -7
  98. package/dist/esm/styled/ReportingLines.js +25 -7
  99. package/dist/esm/styled/TeamCard.js +75 -16
  100. package/dist/esm/util/analytics.js +1 -1
  101. package/dist/types/i18n/cs.d.ts +2 -0
  102. package/dist/types/i18n/da.d.ts +2 -0
  103. package/dist/types/i18n/de.d.ts +2 -0
  104. package/dist/types/i18n/en.d.ts +1 -0
  105. package/dist/types/i18n/en_GB.d.ts +1 -0
  106. package/dist/types/i18n/en_ZZ.d.ts +1 -0
  107. package/dist/types/i18n/es.d.ts +2 -0
  108. package/dist/types/i18n/fi.d.ts +2 -0
  109. package/dist/types/i18n/fr.d.ts +2 -0
  110. package/dist/types/i18n/hu.d.ts +2 -0
  111. package/dist/types/i18n/it.d.ts +2 -0
  112. package/dist/types/i18n/ja.d.ts +2 -0
  113. package/dist/types/i18n/ko.d.ts +2 -0
  114. package/dist/types/i18n/nb.d.ts +2 -0
  115. package/dist/types/i18n/nl.d.ts +2 -0
  116. package/dist/types/i18n/pl.d.ts +2 -0
  117. package/dist/types/i18n/pt_BR.d.ts +2 -0
  118. package/dist/types/i18n/ru.d.ts +2 -0
  119. package/dist/types/i18n/sv.d.ts +2 -0
  120. package/dist/types/i18n/th.d.ts +2 -0
  121. package/dist/types/i18n/tr.d.ts +2 -0
  122. package/dist/types/i18n/uk.d.ts +2 -0
  123. package/dist/types/i18n/vi.d.ts +2 -0
  124. package/dist/types/i18n/zh.d.ts +2 -0
  125. package/dist/types/i18n/zh_TW.d.ts +2 -0
  126. package/dist/types-ts4.5/i18n/cs.d.ts +2 -0
  127. package/dist/types-ts4.5/i18n/da.d.ts +2 -0
  128. package/dist/types-ts4.5/i18n/de.d.ts +2 -0
  129. package/dist/types-ts4.5/i18n/en.d.ts +1 -0
  130. package/dist/types-ts4.5/i18n/en_GB.d.ts +1 -0
  131. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +1 -0
  132. package/dist/types-ts4.5/i18n/es.d.ts +2 -0
  133. package/dist/types-ts4.5/i18n/fi.d.ts +2 -0
  134. package/dist/types-ts4.5/i18n/fr.d.ts +2 -0
  135. package/dist/types-ts4.5/i18n/hu.d.ts +2 -0
  136. package/dist/types-ts4.5/i18n/it.d.ts +2 -0
  137. package/dist/types-ts4.5/i18n/ja.d.ts +2 -0
  138. package/dist/types-ts4.5/i18n/ko.d.ts +2 -0
  139. package/dist/types-ts4.5/i18n/nb.d.ts +2 -0
  140. package/dist/types-ts4.5/i18n/nl.d.ts +2 -0
  141. package/dist/types-ts4.5/i18n/pl.d.ts +2 -0
  142. package/dist/types-ts4.5/i18n/pt_BR.d.ts +2 -0
  143. package/dist/types-ts4.5/i18n/ru.d.ts +2 -0
  144. package/dist/types-ts4.5/i18n/sv.d.ts +2 -0
  145. package/dist/types-ts4.5/i18n/th.d.ts +2 -0
  146. package/dist/types-ts4.5/i18n/tr.d.ts +2 -0
  147. package/dist/types-ts4.5/i18n/uk.d.ts +2 -0
  148. package/dist/types-ts4.5/i18n/vi.d.ts +2 -0
  149. package/dist/types-ts4.5/i18n/zh.d.ts +2 -0
  150. package/dist/types-ts4.5/i18n/zh_TW.d.ts +2 -0
  151. package/package.json +10 -10
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //German (Germany)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'Weitere Informationen zu {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Weitere Informationen zu diesem Benutzer',
10
12
  'pt.profile-card.closed.account': 'Account gelöscht',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Das Konto dieser Person wurde vor wenigen Monaten gelöscht.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Das Konto dieser Person wurde letzten Monat gelöscht.',
@@ -8,6 +8,7 @@
8
8
  //
9
9
  export default {
10
10
  'profilecard.user.trigger.aria-label': 'More information about {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'More information about this user',
11
12
  'pt.profile-card.closed.account': 'Account deleted',
12
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Their account has been deleted for a few months.',
13
14
  'pt.profile-card.closed.account.has.date.last.month': 'Their account was deleted last month.',
@@ -8,6 +8,7 @@
8
8
  //English (United Kingdom)
9
9
  export default {
10
10
  'profilecard.user.trigger.aria-label': 'More information about {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'More information about this user',
11
12
  'pt.profile-card.closed.account': 'Account deleted',
12
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Their account has been deleted for a few months.',
13
14
  'pt.profile-card.closed.account.has.date.last.month': 'Their account was deleted last month.',
@@ -8,6 +8,7 @@
8
8
  //
9
9
  export default {
10
10
  'profilecard.user.trigger.aria-label': '⁣⁢More information about {fullName}⁠‍⁡؜‍‌‌⁡‌؜⁡‌⁣⁤',
11
+ 'profilecard.user.trigger.fallback-aria-label': '⁣⁢More information about this user‌⁡⁡‍؜⁠‍‍‍⁡⁣⁤',
11
12
  'pt.profile-card.closed.account': '⁣⁢Account deleted⁠؜⁡‌؜⁠‍⁡⁠؜؜⁣⁤',
12
13
  'pt.profile-card.closed.account.has.date.a.few.months': '⁣⁢Their account has been deleted for a few months.⁠⁡⁠‍‌⁠⁡‍؜‌⁡‌‌؜⁣⁤',
13
14
  'pt.profile-card.closed.account.has.date.last.month': '⁣⁢Their account was deleted last month.⁡‍⁠‌⁡؜‍؜⁠‍⁠؜⁣⁤',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Spanish (International)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'Más información sobre {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Más información sobre este usuario',
10
12
  'pt.profile-card.closed.account': 'Cuenta eliminada',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Su cuenta se desactivó hace algunos meses.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Su cuenta se eliminó el mes pasado.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Finnish
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'Lisätietoja kohteesta {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Lisätietoja tästä käyttäjästä',
10
12
  'pt.profile-card.closed.account': 'Tili poistettu',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Hänen tilinsä on ollut poistettuna muutaman kuukauden ajan.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Hänen tilinsä poistettiin viime kuussa.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //French (France)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'En savoir plus sur {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': "Plus d'informations sur cet utilisateur",
10
12
  'pt.profile-card.closed.account': 'Compte supprimé',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Son compte a été supprimé il y a quelques mois.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Son compte a été supprimé le mois dernier.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Hungarian
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'További információ a következőről: {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'További információ erről a felhasználóról',
10
12
  'pt.profile-card.closed.account': 'A fiók törölve.',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'A fiókját néhány hónapja töröltük.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'A fiókját a múlt hónapban töröltük.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Italian (Italy)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'Ulteriori informazioni su {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Ulteriori informazioni su questo utente',
10
12
  'pt.profile-card.closed.account': 'Account eliminato',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Il suo account è stato eliminato da qualche mese.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Il suo account è stato eliminato lo scorso mese.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Japanese
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': '{fullName} の詳細情報',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'このユーザーに関する詳細情報',
10
12
  'pt.profile-card.closed.account': '削除済みアカウント',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'アカウントは 2〜3 か月前に削除されました。',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'アカウントは先月削除されました。',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Korean
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': '{fullName}에 관한 추가 정보',
11
+ 'profilecard.user.trigger.fallback-aria-label': '이 사용자에 대한 추가 정보',
10
12
  'pt.profile-card.closed.account': '계정이 삭제됨',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': '계정이 몇 달 전에 삭제되었습니다.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': '계정이 지난달에 삭제되었습니다.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Norwegian (Bokmål)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'Mer informasjon om {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Mer informasjon om denne brukeren',
10
12
  'pt.profile-card.closed.account': 'Kontoen er slettet',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Vedkommendes konto har vært slettet i noen måneder.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Vedkommendes konto ble slettet i forrige måned.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Dutch (Netherlands)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'Meer informatie over {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Meer informatie over deze gebruiker',
10
12
  'pt.profile-card.closed.account': 'Account verwijderd',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Zijn/haar account is al een paar maanden verwijderd.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Zijn/haar account is vorige maand verwijderd.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Polish (Poland)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'Dodatkowe informacje o {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Więcej informacji o tym użytkowniku',
10
12
  'pt.profile-card.closed.account': 'Konto zostało usunięte',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Jej konto zostało usunięte przynajmniej kilka miesięcy temu.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Jej konto usunięte w zeszłym miesiącu.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Portuguese (Brazil)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'Mais informações sobre {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Mais informações sobre este usuário',
10
12
  'pt.profile-card.closed.account': 'Conta excluída',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'A conta do usuário foi excluída há alguns meses.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'A conta do usuário foi excluída no mês passado.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Russian
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'Дополнительные сведения о пользователе {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Дополнительные сведения о пользователе',
10
12
  'pt.profile-card.closed.account': 'Аккаунт удален',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Его аккаунт был удален несколько месяцев назад.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Его аккаунт был удален в прошлом месяце.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Swedish
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'Mer information om {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Mer information om denna användare',
10
12
  'pt.profile-card.closed.account': 'Kontot är borttaget',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Personens konto har varit borttaget i några få månader.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Personens konto togs bort förra månaden.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Thai (Thailand)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'ข้อมูลเพิ่มเติมเกี่ยวกับ {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'ข้อมูลเพิ่มเติมเกี่ยวกับผู้ใช้รายนี้',
10
12
  'pt.profile-card.closed.account': 'ลบบัญชีแล้ว',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'บัญชีของผู้ใช้ถูกลบไปแล้วไม่กี่เดือน',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'บัญชีของผู้ใช้ถูกลบไปเมื่อเดือนที่แล้ว',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Turkish (Turkey)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': '{fullName} hakkında daha fazla bilgi',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Bu kullanıcı hakkında daha fazla bilgi',
10
12
  'pt.profile-card.closed.account': 'Hesap silindi',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Bu kullanıcının hesabı birkaç ay önce silindi.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Bu kullanıcının hesabı geçen ay silindi.',
@@ -17,7 +19,7 @@ export default {
17
19
  'pt.profile-card.closed.account.no.date': 'Bu kullanıcının hesabı silindi.',
18
20
  'pt.profile-card.disabled.account.default.name': 'Eski kullanıcı',
19
21
  'pt.profile-card.general.msg.disabled.user': 'Artık bu kişiyle iş birliği yapamazsınız.',
20
- 'pt.profile-card.give-kudos': 'Tebrik edin',
22
+ 'pt.profile-card.give-kudos': 'Tebrik et',
21
23
  'pt.profile-card.inactive.account': 'Hesap devre dışı bırakıldı',
22
24
  'pt.profile-card.inactive.account.has.date.a.few.months': 'Bu kullanıcının hesabı birkaç ay önce devre dışı bırakıldı.',
23
25
  'pt.profile-card.inactive.account.has.date.last.month': 'Bu kullanıcının hesabı geçen ay devre dışı bırakıldı.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Ukrainian (Ukraine)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'Докладніше про {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Докладніше про цього користувача',
10
12
  'pt.profile-card.closed.account': 'Обліковий запис видалено',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Обліковий запис користувача видалено кілька місяців тому.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Обліковий запис користувача видалено минулого місяця.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Vietnamese (Vietnam)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'Thông tin khác về {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Thông tin khác về người dùng này',
10
12
  'pt.profile-card.closed.account': 'Tài khoản đã bị xóa',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Tài khoản của họ đã bị xóa một vài tháng.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Tài khoản của họ đã bị xóa tháng trước.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Chinese (Simplified)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': '关于 {fullName} 的更多信息',
11
+ 'profilecard.user.trigger.fallback-aria-label': '关于此用户的更多信息',
10
12
  'pt.profile-card.closed.account': '已删除的帐户',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': '他们的帐户已被删除数月。',
12
14
  'pt.profile-card.closed.account.has.date.last.month': '他们的帐户已在上月删除。',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Chinese (Traditional)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': '{fullName} 的更多資訊',
11
+ 'profilecard.user.trigger.fallback-aria-label': '有關此使用者的更多資訊',
10
12
  'pt.profile-card.closed.account': '帳戶已刪除',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': '其帳戶已刪除幾個月了。',
12
14
  'pt.profile-card.closed.account.has.date.last.month': '其帳戶在上個月已刪除。',
@@ -1,4 +1,5 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
+ /* eslint-disable @atlaskit/design-system/no-styled-tagged-template-expression -- needs manual remediation */
2
3
  import React from 'react';
3
4
  import { keyframes } from '@emotion/react';
4
5
  import styled from '@emotion/styled';
@@ -19,6 +20,8 @@ export const ProfileImage = styled.div`
19
20
  export const ActionsFlexSpacer = styled.div`
20
21
  flex: 1 0 auto;
21
22
  `;
23
+
24
+ // eslint-disable-next-line @atlaskit/design-system/no-keyframes-tagged-template-expression -- needs manual remediation
22
25
  const kudosButtonAnimationTransformation = keyframes`
23
26
  0% { transform: translate(-80px, -50px); }
24
27
  100% { transform: translate(90px, -70px); }
@@ -3,23 +3,21 @@ import { N200 } from '@atlaskit/theme/colors';
3
3
  import { gridSize } from '@atlaskit/theme/constants';
4
4
  import { h400 } from '@atlaskit/theme/typography';
5
5
  import { errorIconColor, errorTextColor, errorTitleColor } from './constants';
6
- export const ErrorWrapper = styled.div`
7
- text-align: center;
8
- padding: ${"var(--ds-space-300, 24px)"};
9
- color: ${errorIconColor};
10
- `;
11
- export const ErrorTitle = styled.p`
12
- color: ${errorTitleColor};
13
- line-height: ${gridSize() * 3}px;
14
- margin: ${"var(--ds-space-100, 8px)"} 0;
15
- `;
16
- export const ErrorText = styled.span`
17
- color: ${errorTextColor};
18
- `;
19
- export const TeamErrorTitle = styled.p`
20
- ${h400};
21
- `;
22
- export const TeamErrorText = styled.p`
23
- color: ${`var(--ds-text-subtlest, ${N200})`};
24
- margin-top: ${"var(--ds-space-100, 8px)"};
25
- `;
6
+ export const ErrorWrapper = styled.div({
7
+ textAlign: 'center',
8
+ padding: "var(--ds-space-300, 24px)",
9
+ color: errorIconColor
10
+ });
11
+ export const ErrorTitle = styled.p({
12
+ color: errorTitleColor,
13
+ lineHeight: `${gridSize() * 3}px`,
14
+ margin: `${"var(--ds-space-100, 8px)"} 0`
15
+ });
16
+ export const ErrorText = styled.span({
17
+ color: errorTextColor
18
+ });
19
+ export const TeamErrorTitle = styled.p(h400);
20
+ export const TeamErrorText = styled.p({
21
+ color: `var(--ds-text-subtlest, ${N200})`,
22
+ marginTop: "var(--ds-space-100, 8px)"
23
+ });
@@ -1,28 +1,28 @@
1
1
  import styled from '@emotion/styled';
2
2
  import { gridSize } from '@atlaskit/theme/constants';
3
3
  import { appLabelTextColor } from './constants';
4
- export const ReportingLinesSection = styled.div`
4
+ export const ReportingLinesSection = styled.div({
5
5
  // Minor left margin to align better with existing icon fields
6
- margin-left: ${"var(--ds-space-050, 4px)"};
7
- margin-top: ${"var(--ds-space-100, 8px)"};
8
- `;
9
- export const ReportingLinesHeading = styled.h3`
10
- color: ${appLabelTextColor};
11
- font-size: ${gridSize() * 1.5}px;
12
- font-weight: 600;
13
- margin-bottom: ${"var(--ds-space-100, 8px)"};
14
- `;
15
- export const ManagerSection = styled.div`
16
- display: flex;
17
- align-items: center;
18
- margin: ${"var(--ds-space-050, 4px)"} ${"var(--ds-space-050, 4px)"};
19
- `;
20
- export const ManagerName = styled.span`
21
- font-size: ${gridSize() * 1.5}px;
22
- margin-left: ${"var(--ds-space-100, 8px)"};
23
- `;
24
- export const OffsetWrapper = styled.div`
25
- margin-top: ${"var(--ds-space-050, 4px)"};
6
+ marginLeft: "var(--ds-space-050, 4px)",
7
+ marginTop: "var(--ds-space-100, 8px)"
8
+ });
9
+ export const ReportingLinesHeading = styled.h3({
10
+ color: appLabelTextColor,
11
+ fontSize: `${gridSize() * 1.5}px`,
12
+ fontWeight: 600,
13
+ marginBottom: "var(--ds-space-100, 8px)"
14
+ });
15
+ export const ManagerSection = styled.div({
16
+ display: 'flex',
17
+ alignItems: 'center',
18
+ margin: `${"var(--ds-space-050, 4px)"} ${"var(--ds-space-050, 4px)"}`
19
+ });
20
+ export const ManagerName = styled.span({
21
+ fontSize: `${gridSize() * 1.5}px`,
22
+ marginLeft: "var(--ds-space-100, 8px)"
23
+ });
24
+ export const OffsetWrapper = styled.div({
25
+ marginTop: "var(--ds-space-050, 4px)",
26
26
  // Offset left margin so the avatar aligns with the heading
27
- margin-left: ${"var(--ds-space-negative-050, -4px)"};
28
- `;
27
+ marginLeft: "var(--ds-space-negative-050, -4px)"
28
+ });
@@ -3,21 +3,23 @@ import { N20, N200 } from '@atlaskit/theme/colors';
3
3
  import { borderRadius, gridSize } from '@atlaskit/theme/constants';
4
4
  import { h600 } from '@atlaskit/theme/typography';
5
5
  import { bgColor, teamHeaderBgColor } from './constants';
6
- export const CardTriggerWrapper = styled.div`
7
- display: inherit;
8
- `;
9
- export const CardWrapper = styled.div`
10
- background-color: ${bgColor};
11
- border-radius: ${borderRadius}px;
12
- width: ${gridSize() * 40}px;
13
- position: relative;
14
- -webkit-font-smoothing: antialiased;
15
- -moz-osx-font-smoothing: grayscale;
16
- `;
17
- export const TeamForbiddenErrorStateWrapper = styled.div`
18
- width: ${gridSize() * 40}px;
19
- position: relative;
20
- `;
6
+ export const CardTriggerWrapper = styled.div({
7
+ display: 'inherit'
8
+ });
9
+ export const CardWrapper = styled.div({
10
+ backgroundColor: bgColor,
11
+ borderRadius: `${borderRadius()}px`,
12
+ width: `${gridSize() * 40}px`,
13
+ position: 'relative',
14
+ WebkitFontSmoothing: 'antialiased',
15
+ MozOsxFontSmoothing: 'grayscale'
16
+ });
17
+ export const TeamForbiddenErrorStateWrapper = styled.div({
18
+ width: `${gridSize() * 40}px`,
19
+ position: 'relative'
20
+ });
21
+
22
+ // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression -- needs manual remediation
21
23
  export const CardHeader = styled.div`
22
24
  background-color: ${props => props.isLoading ? `var(--ds-background-neutral, ${N20})` : props.image ? '' : teamHeaderBgColor};
23
25
  background-image: ${props => props.image ? `url(${props.image})` : ''};
@@ -27,64 +29,62 @@ export const CardHeader = styled.div`
27
29
  box-sizing: content-box;
28
30
  height: ${gridSize() * 16}px;
29
31
  `;
30
- export const CardContent = styled.div`
31
- display: flex;
32
- flex-direction: column;
33
- padding: ${"var(--ds-space-300, 24px)"};
34
- min-height: ${gridSize() * 13}px;
35
- `;
36
- export const TeamName = styled.h6`
37
- ${h600};
38
- text-transform: none;
39
- overflow: hidden;
40
- max-height: 48px;
41
- display: -webkit-box;
42
- -webkit-line-clamp: 2;
43
- -webkit-box-orient: vertical;
44
- `;
45
- export const MemberCount = styled.div`
46
- color: ${`var(--ds-text-subtlest, ${N200})`};
47
- margin-top: ${"var(--ds-space-050, 4px)"};
48
- `;
49
- export const AvatarSection = styled.div`
50
- margin-top: ${"var(--ds-space-200, 16px)"};
51
- margin-left: ${"var(--ds-space-negative-025, -2px)"};
52
- `;
53
- export const DescriptionWrapper = styled.div`
54
- margin-top: ${"var(--ds-space-200, 16px)"};
55
- align-items: center;
56
- display: flex;
57
- `;
58
- export const Description = styled.span`
59
- overflow: hidden;
60
- max-height: 60px;
61
- display: -webkit-box;
62
- -webkit-line-clamp: 3;
63
- -webkit-box-orient: vertical;
64
- `;
65
- export const ActionButtons = styled.div`
66
- width: calc(100% + 8px);
67
- display: flex;
68
- justify-content: space-between;
69
- margin: ${"var(--ds-space-300, 24px)"} ${"var(--ds-space-negative-300, -24px)"}
70
- 0 ${"var(--ds-space-negative-100, -8px)"};
71
- background-color: ${"var(--ds-surface-overlay, hsla(0, 100%, 100%, 0.2))"};
72
- `;
73
- export const WrappedButton = styled.div`
74
- flex-basis: 0;
75
- flex-grow: 1;
76
- margin-left: ${"var(--ds-space-100, 8px)"};
77
- `;
78
- export const MoreButton = styled.div`
79
- margin-left: ${"var(--ds-space-100, 8px)"};
80
- `;
81
- export const LoadingWrapper = styled.div`
82
- text-align: center;
83
- margin-top: ${"var(--ds-space-500, 40px)"};
84
- `;
85
- export const AccessLockSVGWrapper = styled.div`
86
- margin-bottom: ${"var(--ds-space-300, 24px)"};
87
- `;
32
+ export const CardContent = styled.div({
33
+ display: 'flex',
34
+ flexDirection: 'column',
35
+ padding: "var(--ds-space-300, 24px)",
36
+ minHeight: `${gridSize() * 13}px`
37
+ });
38
+ export const TeamName = styled.h6(h600, {
39
+ textTransform: 'none',
40
+ overflow: 'hidden',
41
+ maxHeight: '48px',
42
+ display: '-webkit-box',
43
+ WebkitLineClamp: 2,
44
+ WebkitBoxOrient: 'vertical'
45
+ });
46
+ export const MemberCount = styled.div({
47
+ color: `var(--ds-text-subtlest, ${N200})`,
48
+ marginTop: "var(--ds-space-050, 4px)"
49
+ });
50
+ export const AvatarSection = styled.div({
51
+ marginTop: "var(--ds-space-200, 16px)",
52
+ marginLeft: "var(--ds-space-negative-025, -2px)"
53
+ });
54
+ export const DescriptionWrapper = styled.div({
55
+ marginTop: "var(--ds-space-200, 16px)",
56
+ alignItems: 'center',
57
+ display: 'flex'
58
+ });
59
+ export const Description = styled.span({
60
+ overflow: 'hidden',
61
+ maxHeight: '60px',
62
+ display: '-webkit-box',
63
+ WebkitLineClamp: 3,
64
+ WebkitBoxOrient: 'vertical'
65
+ });
66
+ export const ActionButtons = styled.div({
67
+ width: 'calc(100% + 8px)',
68
+ display: 'flex',
69
+ justifyContent: 'space-between',
70
+ margin: `${"var(--ds-space-300, 24px)"} ${"var(--ds-space-negative-300, -24px)"} 0 ${"var(--ds-space-negative-100, -8px)"}`,
71
+ backgroundColor: "var(--ds-surface-overlay, hsla(0, 100%, 100%, 0.2))"
72
+ });
73
+ export const WrappedButton = styled.div({
74
+ flexBasis: 0,
75
+ flexGrow: 1,
76
+ marginLeft: "var(--ds-space-100, 8px)"
77
+ });
78
+ export const MoreButton = styled.div({
79
+ marginLeft: "var(--ds-space-100, 8px)"
80
+ });
81
+ export const LoadingWrapper = styled.div({
82
+ textAlign: 'center',
83
+ marginTop: "var(--ds-space-500, 40px)"
84
+ });
85
+ export const AccessLockSVGWrapper = styled.div({
86
+ marginBottom: "var(--ds-space-300, 24px)"
87
+ });
88
88
 
89
89
  // export const LoadingTeamName = styled.div`
90
90
  // width: 175px;
@@ -31,7 +31,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
31
31
  actionSubjectId,
32
32
  attributes: {
33
33
  packageName: "@atlaskit/profilecard",
34
- packageVersion: "19.11.5",
34
+ packageVersion: "19.11.7",
35
35
  ...attributes,
36
36
  firedAt: Math.round(getPageTime())
37
37
  }
@@ -48,7 +48,7 @@ export var addHeaders = function addHeaders(headers) {
48
48
  headers.append('X-ExperimentalApi', 'teams-beta');
49
49
  headers.append('X-ExperimentalApi', 'team-members-beta');
50
50
  headers.append('atl-client-name', "@atlaskit/profilecard");
51
- headers.append('atl-client-version', "19.11.5");
51
+ headers.append('atl-client-version', "19.11.7");
52
52
  return headers;
53
53
  };
54
54
  export function getTeamFromAGG(_x, _x2, _x3) {
@@ -47,7 +47,9 @@ var useKudos = function useKudos(cloudId, userId, teamCentralBaseUrl, openKudosD
47
47
  };
48
48
  var Wrapper = function Wrapper(props) {
49
49
  return /*#__PURE__*/React.createElement(CardWrapper, {
50
- "data-testid": "profilecard"
50
+ "data-testid": "profilecard",
51
+ role: "dialog",
52
+ "aria-labelledby": "profilecard-name-label"
51
53
  }, props.children);
52
54
  };
53
55
  export var ProfilecardInternal = function ProfilecardInternal(props) {
@@ -18,7 +18,8 @@ var renderName = function renderName(nickname, fullName, meta) {
18
18
  var displayName = isNicknameRedundant ? fullName : "".concat(fullName).concat(shownNickname);
19
19
  return /*#__PURE__*/React.createElement(FullNameLabel, {
20
20
  noMeta: !meta,
21
- "data-testid": "profilecard-name"
21
+ "data-testid": "profilecard-name",
22
+ id: "profilecard-name-label"
22
23
  }, displayName);
23
24
  };
24
25
  var disabledAccountDesc = function disabledAccountDesc(statusModifiedDate, disabledAccountMessage) {
@@ -67,7 +68,8 @@ var DisabledProfileCardDetails = function DisabledProfileCardDetails(props) {
67
68
  return /*#__PURE__*/React.createElement(DetailsGroup, null, /*#__PURE__*/React.createElement(FullNameLabel, {
68
69
  noMeta: true,
69
70
  isDisabledAccount: true,
70
- "data-testid": "profilecard-name"
71
+ "data-testid": "profilecard-name",
72
+ id: "profilecard-name-label"
71
73
  }, name), hasDisabledAccountLozenge && /*#__PURE__*/React.createElement(LozengeWrapper, null, /*#__PURE__*/React.createElement(Lozenge, {
72
74
  appearance: "default",
73
75
  isBold: true
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Czech
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'Další informace o položce {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Další informace o tomto uživateli',
10
12
  'pt.profile-card.closed.account': 'Smazaný účet',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Účet uživatele je smazaný již několik měsíců.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Účet uživatele byl minulý měsíc smazán.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //Danish (Denmark)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'Flere oplysninger om {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Flere oplysninger om denne bruger',
10
12
  'pt.profile-card.closed.account': 'Konto slettet',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Personens konto har været slettet i nogle måneder.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Personens konto blev slettet i sidste måned.',
@@ -7,6 +7,8 @@
7
7
  */
8
8
  //German (Germany)
9
9
  export default {
10
+ 'profilecard.user.trigger.aria-label': 'Weitere Informationen zu {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'Weitere Informationen zu diesem Benutzer',
10
12
  'pt.profile-card.closed.account': 'Account gelöscht',
11
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Das Konto dieser Person wurde vor wenigen Monaten gelöscht.',
12
14
  'pt.profile-card.closed.account.has.date.last.month': 'Das Konto dieser Person wurde letzten Monat gelöscht.',
@@ -8,6 +8,7 @@
8
8
  //
9
9
  export default {
10
10
  'profilecard.user.trigger.aria-label': 'More information about {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'More information about this user',
11
12
  'pt.profile-card.closed.account': 'Account deleted',
12
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Their account has been deleted for a few months.',
13
14
  'pt.profile-card.closed.account.has.date.last.month': 'Their account was deleted last month.',
@@ -8,6 +8,7 @@
8
8
  //English (United Kingdom)
9
9
  export default {
10
10
  'profilecard.user.trigger.aria-label': 'More information about {fullName}',
11
+ 'profilecard.user.trigger.fallback-aria-label': 'More information about this user',
11
12
  'pt.profile-card.closed.account': 'Account deleted',
12
13
  'pt.profile-card.closed.account.has.date.a.few.months': 'Their account has been deleted for a few months.',
13
14
  'pt.profile-card.closed.account.has.date.last.month': 'Their account was deleted last month.',