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