@atlaskit/profilecard 24.44.9 → 24.44.10
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 +8 -0
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/components/Agent/AgentDeleteConfirmationModal.js +2 -2
- package/dist/cjs/components/team-profile-card/team-actions/messages.js +1 -1
- package/dist/cjs/components/team-profile-card/team-actions/more-actions/messages.js +1 -1
- package/dist/cjs/util/analytics.js +2 -2
- package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/es2019/client/getTeamFromAGG.js +1 -1
- package/dist/es2019/components/Agent/AgentDeleteConfirmationModal.js +2 -2
- package/dist/es2019/components/team-profile-card/team-actions/messages.js +1 -1
- package/dist/es2019/components/team-profile-card/team-actions/more-actions/messages.js +1 -1
- package/dist/es2019/util/analytics.js +2 -2
- package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/esm/client/getTeamFromAGG.js +1 -1
- package/dist/esm/components/Agent/AgentDeleteConfirmationModal.js +2 -2
- package/dist/esm/components/team-profile-card/team-actions/messages.js +1 -1
- package/dist/esm/components/team-profile-card/team-actions/more-actions/messages.js +1 -1
- package/dist/esm/util/analytics.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 24.44.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`173f7c077b6e4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/173f7c077b6e4) -
|
|
8
|
+
Fix require-description ESLint violation
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 24.44.9
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -11,7 +11,7 @@ var _graphqlUtils = require("./graphqlUtils");
|
|
|
11
11
|
var ORG_ID_FROM_CLOUD_ID_QUERY = "query OrgIdFromCloudId($cloudId: ID!) {\n\ttenantContexts(cloudIds: [$cloudId]) {\n\t\torgId\n\t}\n}";
|
|
12
12
|
var addHeaders = function addHeaders(headers) {
|
|
13
13
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
14
|
-
headers.append('atl-client-version', "
|
|
14
|
+
headers.append('atl-client-version', "0.0.0-development");
|
|
15
15
|
return headers;
|
|
16
16
|
};
|
|
17
17
|
function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -66,7 +66,7 @@ var addHeaders = exports.addHeaders = function addHeaders(headers) {
|
|
|
66
66
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
67
67
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
68
68
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
69
|
-
headers.append('atl-client-version', "
|
|
69
|
+
headers.append('atl-client-version', "0.0.0-development");
|
|
70
70
|
return headers;
|
|
71
71
|
};
|
|
72
72
|
function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -62,12 +62,12 @@ var messages = (0, _reactIntlNext.defineMessages)({
|
|
|
62
62
|
cancelText: {
|
|
63
63
|
id: 'profilecard.agent-profile.agent-delete-confirm.cancel-text',
|
|
64
64
|
defaultMessage: 'Cancel',
|
|
65
|
-
description: '
|
|
65
|
+
description: 'Button label to cancel the agent deletion action in the confirmation modal'
|
|
66
66
|
},
|
|
67
67
|
confirmText: {
|
|
68
68
|
id: 'profilecard.agent-profile.agent-delete-confirm.confirm-text',
|
|
69
69
|
defaultMessage: 'Delete',
|
|
70
|
-
description: '
|
|
70
|
+
description: 'Button label to confirm and permanently delete the agent in the confirmation modal'
|
|
71
71
|
},
|
|
72
72
|
title: {
|
|
73
73
|
id: 'profilecard.agent-profile.delete-agent-confirm-title',
|
|
@@ -9,6 +9,6 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
9
9
|
giveKudos: {
|
|
10
10
|
id: 'team-profile-card.team-actions.give-kudos',
|
|
11
11
|
defaultMessage: 'Give kudos',
|
|
12
|
-
description: '
|
|
12
|
+
description: 'Button label text for giving kudos to a team in the profile actions'
|
|
13
13
|
}
|
|
14
14
|
});
|
|
@@ -9,6 +9,6 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
9
9
|
showMoreIconLabel: {
|
|
10
10
|
id: 'team-profile-card.team-actions.more-actions.show-more-icon-label',
|
|
11
11
|
defaultMessage: 'Show more',
|
|
12
|
-
description: '
|
|
12
|
+
description: 'Accessibility label for the show more icon in team profile actions menu'
|
|
13
13
|
}
|
|
14
14
|
});
|
|
@@ -11,7 +11,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
11
11
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
12
|
var PACKAGE_META_DATA = exports.PACKAGE_META_DATA = {
|
|
13
13
|
packageName: "@atlaskit/profilecard",
|
|
14
|
-
packageVersion: "
|
|
14
|
+
packageVersion: "0.0.0-development"
|
|
15
15
|
};
|
|
16
16
|
var TEAM_SUBJECT = 'teamProfileCard';
|
|
17
17
|
var USER_SUBJECT = 'profilecard';
|
|
@@ -30,7 +30,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
30
30
|
actionSubjectId: actionSubjectId,
|
|
31
31
|
attributes: _objectSpread(_objectSpread({
|
|
32
32
|
packageName: "@atlaskit/profilecard",
|
|
33
|
-
packageVersion: "
|
|
33
|
+
packageVersion: "0.0.0-development"
|
|
34
34
|
}, attributes), {}, {
|
|
35
35
|
firedAt: Math.round((0, _performance.getPageTime)())
|
|
36
36
|
})
|
|
@@ -6,7 +6,7 @@ const ORG_ID_FROM_CLOUD_ID_QUERY = `query OrgIdFromCloudId($cloudId: ID!) {
|
|
|
6
6
|
}`;
|
|
7
7
|
const addHeaders = headers => {
|
|
8
8
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
9
|
-
headers.append('atl-client-version', "
|
|
9
|
+
headers.append('atl-client-version', "0.0.0-development");
|
|
10
10
|
return headers;
|
|
11
11
|
};
|
|
12
12
|
export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
|
|
@@ -78,7 +78,7 @@ export const addHeaders = headers => {
|
|
|
78
78
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
79
79
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
80
80
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
81
|
-
headers.append('atl-client-version', "
|
|
81
|
+
headers.append('atl-client-version', "0.0.0-development");
|
|
82
82
|
return headers;
|
|
83
83
|
};
|
|
84
84
|
export async function getTeamFromAGG(url, teamId, siteId) {
|
|
@@ -41,12 +41,12 @@ const messages = defineMessages({
|
|
|
41
41
|
cancelText: {
|
|
42
42
|
id: 'profilecard.agent-profile.agent-delete-confirm.cancel-text',
|
|
43
43
|
defaultMessage: 'Cancel',
|
|
44
|
-
description: '
|
|
44
|
+
description: 'Button label to cancel the agent deletion action in the confirmation modal'
|
|
45
45
|
},
|
|
46
46
|
confirmText: {
|
|
47
47
|
id: 'profilecard.agent-profile.agent-delete-confirm.confirm-text',
|
|
48
48
|
defaultMessage: 'Delete',
|
|
49
|
-
description: '
|
|
49
|
+
description: 'Button label to confirm and permanently delete the agent in the confirmation modal'
|
|
50
50
|
},
|
|
51
51
|
title: {
|
|
52
52
|
id: 'profilecard.agent-profile.delete-agent-confirm-title',
|
|
@@ -3,6 +3,6 @@ export const messages = defineMessages({
|
|
|
3
3
|
giveKudos: {
|
|
4
4
|
id: 'team-profile-card.team-actions.give-kudos',
|
|
5
5
|
defaultMessage: 'Give kudos',
|
|
6
|
-
description: '
|
|
6
|
+
description: 'Button label text for giving kudos to a team in the profile actions'
|
|
7
7
|
}
|
|
8
8
|
});
|
|
@@ -3,6 +3,6 @@ export const messages = defineMessages({
|
|
|
3
3
|
showMoreIconLabel: {
|
|
4
4
|
id: 'team-profile-card.team-actions.more-actions.show-more-icon-label',
|
|
5
5
|
defaultMessage: 'Show more',
|
|
6
|
-
description: '
|
|
6
|
+
description: 'Accessibility label for the show more icon in team profile actions menu'
|
|
7
7
|
}
|
|
8
8
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getPageTime } from './performance';
|
|
2
2
|
export const PACKAGE_META_DATA = {
|
|
3
3
|
packageName: "@atlaskit/profilecard",
|
|
4
|
-
packageVersion: "
|
|
4
|
+
packageVersion: "0.0.0-development"
|
|
5
5
|
};
|
|
6
6
|
const TEAM_SUBJECT = 'teamProfileCard';
|
|
7
7
|
const USER_SUBJECT = 'profilecard';
|
|
@@ -18,7 +18,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
|
|
|
18
18
|
actionSubjectId,
|
|
19
19
|
attributes: {
|
|
20
20
|
packageName: "@atlaskit/profilecard",
|
|
21
|
-
packageVersion: "
|
|
21
|
+
packageVersion: "0.0.0-development",
|
|
22
22
|
...attributes,
|
|
23
23
|
firedAt: Math.round(getPageTime())
|
|
24
24
|
}
|
|
@@ -4,7 +4,7 @@ import { AGGQuery } from './graphqlUtils';
|
|
|
4
4
|
var ORG_ID_FROM_CLOUD_ID_QUERY = "query OrgIdFromCloudId($cloudId: ID!) {\n\ttenantContexts(cloudIds: [$cloudId]) {\n\t\torgId\n\t}\n}";
|
|
5
5
|
var addHeaders = function addHeaders(headers) {
|
|
6
6
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
7
|
-
headers.append('atl-client-version', "
|
|
7
|
+
headers.append('atl-client-version', "0.0.0-development");
|
|
8
8
|
return headers;
|
|
9
9
|
};
|
|
10
10
|
export function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -59,7 +59,7 @@ export var addHeaders = function addHeaders(headers) {
|
|
|
59
59
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
60
60
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
61
61
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
62
|
-
headers.append('atl-client-version', "
|
|
62
|
+
headers.append('atl-client-version', "0.0.0-development");
|
|
63
63
|
return headers;
|
|
64
64
|
};
|
|
65
65
|
export function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -53,12 +53,12 @@ var messages = defineMessages({
|
|
|
53
53
|
cancelText: {
|
|
54
54
|
id: 'profilecard.agent-profile.agent-delete-confirm.cancel-text',
|
|
55
55
|
defaultMessage: 'Cancel',
|
|
56
|
-
description: '
|
|
56
|
+
description: 'Button label to cancel the agent deletion action in the confirmation modal'
|
|
57
57
|
},
|
|
58
58
|
confirmText: {
|
|
59
59
|
id: 'profilecard.agent-profile.agent-delete-confirm.confirm-text',
|
|
60
60
|
defaultMessage: 'Delete',
|
|
61
|
-
description: '
|
|
61
|
+
description: 'Button label to confirm and permanently delete the agent in the confirmation modal'
|
|
62
62
|
},
|
|
63
63
|
title: {
|
|
64
64
|
id: 'profilecard.agent-profile.delete-agent-confirm-title',
|
|
@@ -3,6 +3,6 @@ export var messages = defineMessages({
|
|
|
3
3
|
giveKudos: {
|
|
4
4
|
id: 'team-profile-card.team-actions.give-kudos',
|
|
5
5
|
defaultMessage: 'Give kudos',
|
|
6
|
-
description: '
|
|
6
|
+
description: 'Button label text for giving kudos to a team in the profile actions'
|
|
7
7
|
}
|
|
8
8
|
});
|
|
@@ -3,6 +3,6 @@ export var messages = defineMessages({
|
|
|
3
3
|
showMoreIconLabel: {
|
|
4
4
|
id: 'team-profile-card.team-actions.more-actions.show-more-icon-label',
|
|
5
5
|
defaultMessage: 'Show more',
|
|
6
|
-
description: '
|
|
6
|
+
description: 'Accessibility label for the show more icon in team profile actions menu'
|
|
7
7
|
}
|
|
8
8
|
});
|
|
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
import { getPageTime } from './performance';
|
|
5
5
|
export var PACKAGE_META_DATA = {
|
|
6
6
|
packageName: "@atlaskit/profilecard",
|
|
7
|
-
packageVersion: "
|
|
7
|
+
packageVersion: "0.0.0-development"
|
|
8
8
|
};
|
|
9
9
|
var TEAM_SUBJECT = 'teamProfileCard';
|
|
10
10
|
var USER_SUBJECT = 'profilecard';
|
|
@@ -23,7 +23,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
23
23
|
actionSubjectId: actionSubjectId,
|
|
24
24
|
attributes: _objectSpread(_objectSpread({
|
|
25
25
|
packageName: "@atlaskit/profilecard",
|
|
26
|
-
packageVersion: "
|
|
26
|
+
packageVersion: "0.0.0-development"
|
|
27
27
|
}, attributes), {}, {
|
|
28
28
|
firedAt: Math.round(getPageTime())
|
|
29
29
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "24.44.
|
|
3
|
+
"version": "24.44.10",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@atlaskit/teams-avatar": "^2.4.0",
|
|
67
67
|
"@atlaskit/teams-public": "^0.71.0",
|
|
68
68
|
"@atlaskit/theme": "^22.0.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^42.
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^42.1.0",
|
|
70
70
|
"@atlaskit/tokens": "^11.1.0",
|
|
71
71
|
"@atlaskit/tooltip": "^21.0.0",
|
|
72
72
|
"@babel/runtime": "^7.0.0",
|