@atlaskit/profilecard 19.5.11 → 19.5.13

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 (97) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/client/CachingClient.js +2 -3
  3. package/dist/cjs/client/ProfileCardClient.js +2 -3
  4. package/dist/cjs/client/TeamCentralCardClient.js +4 -5
  5. package/dist/cjs/client/TeamProfileCardClient.js +2 -3
  6. package/dist/cjs/client/UserProfileCardClient.js +6 -8
  7. package/dist/cjs/client/errorUtils.js +4 -7
  8. package/dist/cjs/client/getTeamFromAGG.js +8 -15
  9. package/dist/cjs/client/graphqlUtils.js +2 -3
  10. package/dist/cjs/client/index.js +1 -2
  11. package/dist/cjs/components/Error/AccessLockSVG.js +1 -2
  12. package/dist/cjs/components/Error/ErrorBoundary.js +2 -4
  13. package/dist/cjs/components/Error/ErrorIllustration.js +2 -3
  14. package/dist/cjs/components/Error/ErrorMessage.js +1 -2
  15. package/dist/cjs/components/Icon/IconLabel.js +1 -2
  16. package/dist/cjs/components/Team/TeamForbiddenErrorState.js +2 -3
  17. package/dist/cjs/components/Team/TeamLoadingState.js +2 -3
  18. package/dist/cjs/components/Team/TeamProfileCard.js +1 -2
  19. package/dist/cjs/components/Team/TeamProfileCardTrigger.js +2 -4
  20. package/dist/cjs/components/Team/index.js +1 -2
  21. package/dist/cjs/components/Team/lazyTeamProfileCard.js +2 -3
  22. package/dist/cjs/components/User/OverflowProfileCardButtons.js +3 -5
  23. package/dist/cjs/components/User/ProfileCard.js +2 -4
  24. package/dist/cjs/components/User/ProfileCardDetails.js +2 -3
  25. package/dist/cjs/components/User/ProfileCardResourced.js +2 -4
  26. package/dist/cjs/components/User/ProfileCardTrigger.js +1 -2
  27. package/dist/cjs/components/User/ReportingLinesDetails.js +1 -2
  28. package/dist/cjs/components/User/UserLoadingState.js +1 -2
  29. package/dist/cjs/components/User/index.js +1 -2
  30. package/dist/cjs/components/User/lazyProfileCard.js +2 -3
  31. package/dist/cjs/i18n/cs.js +2 -3
  32. package/dist/cjs/i18n/da.js +2 -3
  33. package/dist/cjs/i18n/de.js +2 -3
  34. package/dist/cjs/i18n/en.js +2 -3
  35. package/dist/cjs/i18n/en_GB.js +2 -3
  36. package/dist/cjs/i18n/en_ZZ.js +2 -3
  37. package/dist/cjs/i18n/es.js +2 -3
  38. package/dist/cjs/i18n/et.js +2 -3
  39. package/dist/cjs/i18n/fi.js +2 -3
  40. package/dist/cjs/i18n/fr.js +2 -3
  41. package/dist/cjs/i18n/hu.js +2 -3
  42. package/dist/cjs/i18n/is.js +2 -3
  43. package/dist/cjs/i18n/it.js +2 -3
  44. package/dist/cjs/i18n/ja.js +2 -3
  45. package/dist/cjs/i18n/ko.js +2 -3
  46. package/dist/cjs/i18n/languages.js +2 -3
  47. package/dist/cjs/i18n/nb.js +2 -3
  48. package/dist/cjs/i18n/nl.js +2 -3
  49. package/dist/cjs/i18n/pl.js +2 -3
  50. package/dist/cjs/i18n/pt_BR.js +2 -3
  51. package/dist/cjs/i18n/pt_PT.js +2 -3
  52. package/dist/cjs/i18n/ro.js +2 -3
  53. package/dist/cjs/i18n/ru.js +2 -3
  54. package/dist/cjs/i18n/sk.js +2 -3
  55. package/dist/cjs/i18n/sv.js +2 -3
  56. package/dist/cjs/i18n/th.js +2 -3
  57. package/dist/cjs/i18n/tr.js +2 -3
  58. package/dist/cjs/i18n/uk.js +2 -3
  59. package/dist/cjs/i18n/vi.js +2 -3
  60. package/dist/cjs/i18n/zh.js +2 -3
  61. package/dist/cjs/i18n/zh_TW.js +2 -3
  62. package/dist/cjs/index.js +1 -2
  63. package/dist/cjs/internal/filterActions.js +1 -2
  64. package/dist/cjs/messages.js +1 -2
  65. package/dist/cjs/mocks/profile-data.js +1 -2
  66. package/dist/cjs/mocks/reporting-lines-data.js +2 -3
  67. package/dist/cjs/mocks/simple-mock-clients.js +4 -7
  68. package/dist/cjs/mocks/util.js +4 -7
  69. package/dist/cjs/styled/Card.js +22 -44
  70. package/dist/cjs/styled/Error.js +5 -10
  71. package/dist/cjs/styled/ReportingLines.js +5 -10
  72. package/dist/cjs/styled/TeamCard.js +16 -31
  73. package/dist/cjs/styled/constants.js +13 -26
  74. package/dist/cjs/util/analytics.js +14 -24
  75. package/dist/cjs/util/click.js +2 -3
  76. package/dist/cjs/util/config.js +2 -4
  77. package/dist/cjs/util/errors.js +8 -12
  78. package/dist/cjs/util/performance.js +2 -3
  79. package/dist/es2019/client/TeamCentralCardClient.js +2 -2
  80. package/dist/es2019/client/UserProfileCardClient.js +17 -17
  81. package/dist/es2019/client/getTeamFromAGG.js +1 -1
  82. package/dist/es2019/util/analytics.js +1 -1
  83. package/dist/es2019/util/errors.js +1 -1
  84. package/dist/esm/client/ProfileCardClient.js +1 -1
  85. package/dist/esm/client/TeamCentralCardClient.js +2 -2
  86. package/dist/esm/client/UserProfileCardClient.js +2 -2
  87. package/dist/esm/client/getTeamFromAGG.js +1 -1
  88. package/dist/esm/client/graphqlUtils.js +2 -3
  89. package/dist/esm/util/analytics.js +1 -1
  90. package/dist/esm/util/errors.js +2 -1
  91. package/dist/types/client/TeamCentralCardClient.d.ts +13 -0
  92. package/dist/types/client/UserProfileCardClient.d.ts +12 -0
  93. package/dist/types/util/errors.d.ts +1 -1
  94. package/dist/types-ts4.5/client/TeamCentralCardClient.d.ts +13 -0
  95. package/dist/types-ts4.5/client/UserProfileCardClient.d.ts +12 -0
  96. package/dist/types-ts4.5/util/errors.d.ts +1 -1
  97. package/package.json +2 -2
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'Account deleted',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'Their account has been deleted for a few months.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'Their account was deleted last month.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': 'Team • {count} {count, plural, one {member} other {members}}, including you',
46
46
  'pt.team-profile-card.team.member.many': 'Team • 50+ members',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'Team • 50+ members, including you'
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //English (United Kingdom)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'Account deleted',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'Their account has been deleted for a few months.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'Their account was deleted last month.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': 'Team • {count} {count, plural, one {member} other {members}}, including you',
46
46
  'pt.team-profile-card.team.member.many': 'Team • 50+ members',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'Team • 50+ members, including you'
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': '⁣⁢Account deleted⁠؜⁡‌؜⁠‍⁡⁠؜؜⁣⁤',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': '⁣⁢Their account has been deleted for a few months.⁠⁡⁠‍‌⁠⁡‍؜‌⁡‌‌؜⁣⁤',
18
18
  'pt.profile-card.closed.account.has.date.last.month': '⁣⁢Their account was deleted last month.⁡‍⁠‌⁡؜‍؜⁠‍⁠؜⁣⁤',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {⁣⁢Team • {count} member, including you⁡⁠‍⁡‌⁠؜⁡⁣⁤} other {⁣⁢Team • {count} members, including you⁡⁠‍⁡‌⁠؜⁡⁣⁤}}',
46
46
  'pt.team-profile-card.team.member.many': '⁣⁢Team • 50+ members؜⁠؜‌؜؜؜⁠‌⁠⁣⁤',
47
47
  'pt.team-profile-card.team.member.many-including-you': '⁣⁢Team • 50+ members, including you⁠‍⁡؜‌⁡⁠⁣⁤'
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Spanish (International)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'Cuenta eliminada',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'Su cuenta se desactivó hace algunos meses.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'Su cuenta se eliminó el mes pasado.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Equipo • {count} miembro, incluyéndote a ti} other {Equipo • {count} miembros, incluyéndote a ti}}',
46
46
  'pt.team-profile-card.team.member.many': 'Equipo • Más de 50 miembros',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'Equipo • Más de 50 miembros, incluyéndote a ti'
48
- };
49
- exports.default = _default;
48
+ };
@@ -11,7 +11,7 @@ exports.default = void 0;
11
11
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
12
12
  */
13
13
  //Estonian
14
- var _default = {
14
+ var _default = exports.default = {
15
15
  'pt.profile-card.closed.account': 'Konto on kustutatud',
16
16
  'pt.profile-card.closed.account.has.date.a.few.months': 'Nende konto on olnud juba paar kuud kustutatud.',
17
17
  'pt.profile-card.closed.account.has.date.last.month': 'Nende konto kustutati eelmisel kuul.',
@@ -30,5 +30,4 @@ var _default = {
30
30
  'pt.profile-card.inactive.account.has.date.this.month': 'Nende konto deaktiveeriti sel kuul.',
31
31
  'pt.profile-card.inactive.account.has.date.this.week': 'Nende konto deaktiveeriti sel nädalal.',
32
32
  'pt.profile-card.inactive.account.no.date': 'Nende konto on deaktiveeritud.'
33
- };
34
- exports.default = _default;
33
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Finnish
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'Tili poistettu',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'Hänen tilinsä on ollut poistettuna muutaman kuukauden ajan.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'Hänen tilinsä poistettiin viime kuussa.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Tiimi • {count} jäsen sinä mukaan lukien} other {Tiimi • {count} jäsentä sinä mukaan lukien}}',
46
46
  'pt.team-profile-card.team.member.many': 'Tiimi • 50+ jäsentä',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'Tiimi • 50+ jäsentä sinä mukaan lukien'
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //French (France)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'Compte supprimé',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'Son compte a été supprimé il y a quelques mois.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'Son compte a été supprimé le mois dernier.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Équipe • {count} membre, dont vous} other {Équipe • {count} membres, dont vous}}',
46
46
  'pt.team-profile-card.team.member.many': 'Équipe • Plus de 50 membres',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'Équipe • Plus de 50 membres, dont vous'
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Hungarian
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'A fiók törölve.',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'A fiókját néhány hónapja töröltük.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'A fiókját a múlt hónapban töröltük.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Csapat • {count} tag veled együtt} other {Csapat • {count} tag veled együtt}}',
46
46
  'pt.team-profile-card.team.member.many': 'Csapat • 50+ tag',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'Csapat • 50+ tag veled együtt'
48
- };
49
- exports.default = _default;
48
+ };
@@ -11,7 +11,7 @@ exports.default = void 0;
11
11
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
12
12
  */
13
13
  // Icelandic
14
- var _default = {
14
+ var _default = exports.default = {
15
15
  'pt.profile-card.inactive.account': 'Reikningur gerður óvirkur',
16
16
  'pt.profile-card.general.msg.disabled.user': 'Þú getur ekki lengur átt samstarf við þennan einstakling.',
17
17
  'pt.profile-card.inactive.account.no.date': 'Reikningurinn þeirra hefur verið gerður óvirkur.',
@@ -30,5 +30,4 @@ var _default = {
30
30
  'pt.profile-card.closed.account.has.date.several.months': 'Reikningnum þeirra var eytt fyrir þó nokkrum mánuðum.',
31
31
  'pt.profile-card.closed.account.has.date.more.than.a.year': 'Reikningnum þeirra var eytt fyrir meira en ári.',
32
32
  'pt.profile-card.disabled.account.default.name': 'Fyrrverandi notandi'
33
- };
34
- exports.default = _default;
33
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Italian (Italy)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'Account eliminato',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'Il suo account è stato eliminato da qualche mese.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'Il suo account è stato eliminato lo scorso mese.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Team • {count} membro, te compreso} other {Team • {count} membri, te compreso}}',
46
46
  'pt.team-profile-card.team.member.many': 'Team • 50+ membri',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'Team • 50+ membri, te compreso'
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Japanese
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': '削除済みアカウント',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'アカウントは 2〜3 か月前に削除されました。',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'アカウントは先月削除されました。',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, other {チーム • {count} 人のメンバー (あなたを含む)}}',
46
46
  'pt.team-profile-card.team.member.many': 'チーム • 50 人以上のメンバー',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'チーム • 50 人以上のメンバー (あなたを含む)'
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Korean
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': '계정이 삭제됨',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': '계정이 몇 달 전에 삭제되었습니다.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': '계정이 지난달에 삭제되었습니다.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, other {팀 • 자신을 포함하여 구성원 {count}명}}',
46
46
  'pt.team-profile-card.team.member.many': '팀 • 구성원 50명 이상',
47
47
  'pt.team-profile-card.team.member.many-including-you': '팀 • 자신을 포함하여 구성원 50명 이상'
48
- };
49
- exports.default = _default;
48
+ };
@@ -10,7 +10,7 @@ exports.default = void 0;
10
10
  * This file is automatically generated by i18n-tools.
11
11
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
12
12
  */
13
- var _default = {
13
+ var _default = exports.default = {
14
14
  zh: 'Chinese',
15
15
  cs: 'Czech',
16
16
  da: 'Danish',
@@ -35,5 +35,4 @@ var _default = {
35
35
  sk: 'Slovak',
36
36
  es: 'Spanish',
37
37
  sv: 'Swedish'
38
- };
39
- exports.default = _default;
38
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Norwegian (Bokmål)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'Kontoen er slettet',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'Vedkommendes konto har vært slettet i noen måneder.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'Vedkommendes konto ble slettet i forrige måned.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Team • {count} medlem, inkludert deg} other {Team • {count} medlemmer, inkludert deg}}',
46
46
  'pt.team-profile-card.team.member.many': 'Team • flere enn 50 medlemmer',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'Team • flere enn 50 medlemmer, inkludert deg'
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Dutch (Netherlands)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'Account verwijderd',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'Zijn/haar account is al een paar maanden verwijderd.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'Zijn/haar account is vorige maand verwijderd.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Team • {count} lid, inclusief jezelf} other {Team •{count} leden, inclusief jezelf}}',
46
46
  'pt.team-profile-card.team.member.many': 'Team • 50+ leden',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'Team • 50+ leden, inclusief jezelf.'
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Polish (Poland)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'Konto zostało usunięte',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'Jej konto zostało usunięte przynajmniej kilka miesięcy temu.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'Jej konto usunięte w zeszłym miesiącu.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Zespół z {count} członkiem, łącznie z Tobą} few {Zespół z {count} członkami, łącznie z Tobą} many {Zespół z {count} członkami, łącznie z Tobą} other {Zespół z {count} członka, łącznie z Tobą}}',
46
46
  'pt.team-profile-card.team.member.many': 'Zespół z ponad 50 członkami',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'Zespół z ponad 50 członkami, łącznie z Tobą'
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Portuguese (Brazil)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'Conta excluída',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'A conta do usuário foi excluída há alguns meses.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'A conta do usuário foi excluída no mês passado.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Equipe • {count} membro, incluindo você} other {Equipe • {count} membros, incluindo você}}',
46
46
  'pt.team-profile-card.team.member.many': 'Equipe • Mais de 50 membros',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'Equipe • Mais de 50 membros, incluindo você'
48
- };
49
- exports.default = _default;
48
+ };
@@ -11,7 +11,7 @@ exports.default = void 0;
11
11
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
12
12
  */
13
13
  //Portuguese (Portugal)
14
- var _default = {
14
+ var _default = exports.default = {
15
15
  'pt.profile-card.closed.account': 'Conta eliminada',
16
16
  'pt.profile-card.closed.account.has.date.a.few.months': 'A conta foi eliminada há alguns meses.',
17
17
  'pt.profile-card.closed.account.has.date.last.month': 'A conta foi eliminada no mês passado.',
@@ -30,5 +30,4 @@ var _default = {
30
30
  'pt.profile-card.inactive.account.has.date.this.month': 'A conta foi desativada este mês.',
31
31
  'pt.profile-card.inactive.account.has.date.this.week': 'A conta foi desativada esta semana.',
32
32
  'pt.profile-card.inactive.account.no.date': 'A conta foi desativada.'
33
- };
34
- exports.default = _default;
33
+ };
@@ -11,7 +11,7 @@ exports.default = void 0;
11
11
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
12
12
  */
13
13
  // Romanian
14
- var _default = {
14
+ var _default = exports.default = {
15
15
  'pt.profile-card.inactive.account': 'Cont dezactivat',
16
16
  'pt.profile-card.general.msg.disabled.user': 'Nu mai puteți colabora cu această persoană.',
17
17
  'pt.profile-card.inactive.account.no.date': 'Contul acesteia a fost dezactivat.',
@@ -30,5 +30,4 @@ var _default = {
30
30
  'pt.profile-card.closed.account.has.date.several.months': 'Contul acesteia a fost șters de mai multe luni.',
31
31
  'pt.profile-card.closed.account.has.date.more.than.a.year': 'Contul acesteia a fost șters de peste un an.',
32
32
  'pt.profile-card.disabled.account.default.name': 'Fost utilizator'
33
- };
34
- exports.default = _default;
33
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Russian
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'Аккаунт удален',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'Его аккаунт был удален несколько месяцев назад.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'Его аккаунт был удален в прошлом месяце.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Команда • {count} участник, включая вас} few {Команда • {count} участника, включая вас} many {Команда • {count} участников, включая вас} other {Команда • {count} участника, включая вас}}',
46
46
  'pt.team-profile-card.team.member.many': 'Команда • более 50 участников',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'Команда • более 50 участников, включая вас'
48
- };
49
- exports.default = _default;
48
+ };
@@ -11,7 +11,7 @@ exports.default = void 0;
11
11
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
12
12
  */
13
13
  //Slovak
14
- var _default = {
14
+ var _default = exports.default = {
15
15
  'pt.profile-card.closed.account': 'Účet odstránený',
16
16
  'pt.profile-card.closed.account.has.date.a.few.months': 'Jej účet je už niekoľko mesiacov odstránený.',
17
17
  'pt.profile-card.closed.account.has.date.last.month': 'Jej účet bol minulý mesiac odstránený.',
@@ -30,5 +30,4 @@ var _default = {
30
30
  'pt.profile-card.inactive.account.has.date.this.month': 'Jej účet bol tento mesiac deaktivovaný.',
31
31
  'pt.profile-card.inactive.account.has.date.this.week': 'Jej účet bol tento týždeň deaktivovaný.',
32
32
  'pt.profile-card.inactive.account.no.date': 'Jej účet bol deaktivovaný.'
33
- };
34
- exports.default = _default;
33
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Swedish
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'Kontot är borttaget',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'Personens konto har varit borttaget i några få månader.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'Personens konto togs bort förra månaden.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Team • {count} medlem, inklusive dig} other {Team • {count} medlemmar, inklusive dig}}',
46
46
  'pt.team-profile-card.team.member.many': 'Team • 50+ medlemmar',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'Team • 50+ medlemmar, inklusive dig'
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Thai (Thailand)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'ลบบัญชีแล้ว',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'บัญชีของผู้ใช้ถูกลบไปแล้วไม่กี่เดือน',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'บัญชีของผู้ใช้ถูกลบไปเมื่อเดือนที่แล้ว',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, other {ทีม • สมาชิก {count} คน รวมคุณด้วย}}',
46
46
  'pt.team-profile-card.team.member.many': 'ทีม • สมาชิกมากกว่า 50 คน',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'ทีม • สมาชิกมากกว่า 50 คน รวมคุณด้วย'
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Turkish (Turkey)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'Hesap silindi',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'Bu kullanıcının hesabı birkaç ay önce silindi.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'Bu kullanıcının hesabı geçen ay silindi.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Takım • Siz de dahil olmak üzere {count} üye} other {Takım • Siz de dahil olmak üzere {count} üye}}',
46
46
  'pt.team-profile-card.team.member.many': "Takım • 50'den fazla üye",
47
47
  'pt.team-profile-card.team.member.many-including-you': "Takım • Siz de dahil olmak üzere 50'den fazla üye"
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Ukrainian (Ukraine)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'Обліковий запис видалено',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': 'Обліковий запис користувача видалено кілька місяців тому.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'Обліковий запис користувача видалено минулого місяця.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, one {Команда • {count} учасник включно з вами} few {Команда • {count} учасники включно з вами} many {Команда • {count} учасників включно з вами} other {Команда • {count} учасника включно з вами}}',
46
46
  'pt.team-profile-card.team.member.many': 'Команда • Понад 50 учасників',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'Команда • Понад 50 учасників включно з вами'
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Vietnamese (Vietnam)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': 'Tài khoản đã bị xóa',
17
17
  '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.',
18
18
  'pt.profile-card.closed.account.has.date.last.month': 'Tài khoản của họ đã bị xóa tháng trước.',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, other {Nhóm • {count} thành viên, bao gồm cả bạn}}',
46
46
  'pt.team-profile-card.team.member.many': 'Nhóm • 50+ thành viên',
47
47
  'pt.team-profile-card.team.member.many-including-you': 'Nhóm • 50+ thành viên, bao gồm cả bạn'
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Chinese (Simplified)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': '已删除的帐户',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': '他们的帐户已被删除数月。',
18
18
  'pt.profile-card.closed.account.has.date.last.month': '他们的帐户已在上月删除。',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, other {团队 • {count} 名成员,包括您自己}}',
46
46
  'pt.team-profile-card.team.member.many': '团队 • 50 多名成员',
47
47
  'pt.team-profile-card.team.member.many-including-you': '团队 • 50 多名成员,包括您自己'
48
- };
49
- exports.default = _default;
48
+ };
@@ -12,7 +12,7 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Chinese (Traditional)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'pt.profile-card.closed.account': '帳戶已刪除',
17
17
  'pt.profile-card.closed.account.has.date.a.few.months': '其帳戶已刪除幾個月了。',
18
18
  'pt.profile-card.closed.account.has.date.last.month': '其帳戶在上個月已刪除。',
@@ -45,5 +45,4 @@ var _default = {
45
45
  'pt.team-profile-card.team.member.count-including-you': '{count, plural, other {團隊 • {count} 名成員,包含您}}',
46
46
  'pt.team-profile-card.team.member.many': '團隊 • 50 名以上的成員',
47
47
  'pt.team-profile-card.team.member.many-including-you': '團隊 • 50 名以上的成員,包含您'
48
- };
49
- exports.default = _default;
48
+ };
package/dist/cjs/index.js CHANGED
@@ -91,5 +91,4 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
91
91
  // Legacy Profile Card in Jira still needs to use `withOuterListeners`
92
92
  // We cannot export this component inside `./components/Team/index.ts` because it breaks the lazyload
93
93
  // so we have to export this here. `TeamProfileCard` helps to build legacy team profile card inside Jira FE.
94
- var _default = _ProfileCardResourced.default;
95
- exports.default = _default;
94
+ var _default = exports.default = _ProfileCardResourced.default;
@@ -16,5 +16,4 @@ var filterActions = function filterActions() {
16
16
  return action.shouldRender(data);
17
17
  });
18
18
  };
19
- var _default = filterActions;
20
- exports.default = _default;
19
+ var _default = exports.default = filterActions;
@@ -167,5 +167,4 @@ var messages = (0, _reactIntlNext.defineMessages)({
167
167
  description: 'Label for the meatballs icon on the profile card, which when clicked will provide more options'
168
168
  }
169
169
  });
170
- var _default = messages;
171
- exports.default = _default;
170
+ var _default = exports.default = messages;
@@ -143,5 +143,4 @@ var profiles = [{
143
143
  remoteWeekdayString: (0, _util.getWeekday)().string
144
144
  }
145
145
  }];
146
- var _default = profiles;
147
- exports.default = _default;
146
+ var _default = exports.default = profiles;
@@ -17,8 +17,7 @@ var mappedProfileToReportingLines = _profileData.default.map(function (profile,
17
17
  };
18
18
  });
19
19
  var halfCount = Math.ceil(mappedProfileToReportingLines.length / 2);
20
- var reportingLinesData = {
20
+ var reportingLinesData = exports.reportingLinesData = {
21
21
  managers: mappedProfileToReportingLines.slice(0, halfCount),
22
22
  reports: mappedProfileToReportingLines.slice(-halfCount)
23
- };
24
- exports.reportingLinesData = reportingLinesData;
23
+ };
@@ -67,12 +67,9 @@ var args = {
67
67
  maxCacheAge: 0,
68
68
  url: '/graphql/directory'
69
69
  };
70
- var simpleMockUserClient = new SimpleMockUserClient(args);
71
- exports.simpleMockUserClient = simpleMockUserClient;
72
- var simpleMockTeamClient = new SimpleMockTeamClient(args);
73
- exports.simpleMockTeamClient = simpleMockTeamClient;
74
- var simpleProfileClient = new _ProfileCardClient.default(args, {
70
+ var simpleMockUserClient = exports.simpleMockUserClient = new SimpleMockUserClient(args);
71
+ var simpleMockTeamClient = exports.simpleMockTeamClient = new SimpleMockTeamClient(args);
72
+ var simpleProfileClient = exports.simpleProfileClient = new _ProfileCardClient.default(args, {
75
73
  userClient: simpleMockUserClient,
76
74
  teamClient: simpleMockTeamClient
77
- });
78
- exports.simpleProfileClient = simpleProfileClient;
75
+ });
@@ -7,11 +7,10 @@ exports.random = exports.getWeekday = exports.getTimeString = void 0;
7
7
  function padMinutes(minutes) {
8
8
  return minutes < 10 ? "0".concat(minutes) : String(minutes);
9
9
  }
10
- var random = function random(int) {
10
+ var random = exports.random = function random(int) {
11
11
  return Math.floor(Math.random() * (int + 1));
12
12
  };
13
- exports.random = random;
14
- var getWeekday = function getWeekday() {
13
+ var getWeekday = exports.getWeekday = function getWeekday() {
15
14
  var array = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'];
16
15
  var index = random(6);
17
16
  return {
@@ -19,11 +18,9 @@ var getWeekday = function getWeekday() {
19
18
  string: array[index]
20
19
  };
21
20
  };
22
- exports.getWeekday = getWeekday;
23
- var getTimeString = function getTimeString() {
21
+ var getTimeString = exports.getTimeString = function getTimeString() {
24
22
  var hours = random(23);
25
23
  var minutes = random(59);
26
24
  var meridiem = ['am', 'pm'][Math.floor(hours / 12)];
27
25
  return "".concat(hours === 0 ? 12 : hours % 12, ":").concat(padMinutes(minutes)).concat(meridiem);
28
- };
29
- exports.getTimeString = getTimeString;
26
+ };