@atlaskit/profilecard 20.4.0 → 20.4.2
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 +14 -0
- package/dist/cjs/client/UserProfileCardClient.js +1 -2
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/es2019/client/UserProfileCardClient.js +1 -2
- package/dist/es2019/client/getTeamFromAGG.js +1 -1
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/esm/client/UserProfileCardClient.js +1 -2
- package/dist/esm/client/getTeamFromAGG.js +1 -1
- package/dist/esm/util/analytics.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 20.4.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 20.4.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#151190](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/151190)
|
|
14
|
+
[`fce215da94f02`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fce215da94f02) -
|
|
15
|
+
Rename agg user query
|
|
16
|
+
|
|
3
17
|
## 20.4.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -71,8 +71,7 @@ var buildUserQuery = exports.buildUserQuery = function buildUserQuery(cloudId, u
|
|
|
71
71
|
};
|
|
72
72
|
var buildAggUserQuery = exports.buildAggUserQuery = function buildAggUserQuery(userId) {
|
|
73
73
|
return {
|
|
74
|
-
|
|
75
|
-
query: "query app_user_characteristics($userId: ID!) {\n\t\tuser(accountId: $userId) {\n\t\t\tid\n\t\t\tname\n\t\t\tpicture\n\t\t\taccountStatus\n\t\t\t__typename\n\t\t\t... on AtlassianAccountUser {\n\t\t\t\temail\n\t\t\t\tnickname\n\t\t\t\tzoneinfo\n\t\t\t\textendedProfile {\n\t\t\t\t\tjobTitle\n\t\t\t\t\torganization\n\t\t\t\t\tlocation\n\t\t\t\t\tclosedDate\n\t\t\t\t\tinactiveDate\n\t\t\t\t}\n\t\t\t}\n\t\t\t... on CustomerUser {\n\t\t\t\temail\n\t\t\t\tzoneinfo\n\t\t\t}\n\t\t\t... on AppUser {\n \t\t\tappType\n \t\t}\n\t\t}\n\t}",
|
|
74
|
+
query: "query user($userId: ID!) {\n\t\tuser(accountId: $userId) {\n\t\t\tid\n\t\t\tname\n\t\t\tpicture\n\t\t\taccountStatus\n\t\t\t__typename\n\t\t\t... on AtlassianAccountUser {\n\t\t\t\temail\n\t\t\t\tnickname\n\t\t\t\tzoneinfo\n\t\t\t\textendedProfile {\n\t\t\t\t\tjobTitle\n\t\t\t\t\torganization\n\t\t\t\t\tlocation\n\t\t\t\t\tclosedDate\n\t\t\t\t\tinactiveDate\n\t\t\t\t}\n\t\t\t}\n\t\t\t... on CustomerUser {\n\t\t\t\temail\n\t\t\t\tzoneinfo\n\t\t\t}\n\t\t\t... on AppUser {\n \t\t\tappType\n \t\t}\n\t\t}\n\t}",
|
|
76
75
|
variables: {
|
|
77
76
|
userId: userId
|
|
78
77
|
}
|
|
@@ -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', "20.4.
|
|
60
|
+
headers.append('atl-client-version', "20.4.2");
|
|
61
61
|
return headers;
|
|
62
62
|
};
|
|
63
63
|
function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -45,7 +45,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
45
45
|
actionSubjectId: actionSubjectId,
|
|
46
46
|
attributes: _objectSpread(_objectSpread({
|
|
47
47
|
packageName: "@atlaskit/profilecard",
|
|
48
|
-
packageVersion: "20.4.
|
|
48
|
+
packageVersion: "20.4.2"
|
|
49
49
|
}, attributes), {}, {
|
|
50
50
|
firedAt: Math.round((0, _performance.getPageTime)())
|
|
51
51
|
})
|
|
@@ -71,8 +71,7 @@ export const buildUserQuery = (cloudId, userId) => ({
|
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
73
|
export const buildAggUserQuery = userId => ({
|
|
74
|
-
|
|
75
|
-
query: `query app_user_characteristics($userId: ID!) {
|
|
74
|
+
query: `query user($userId: ID!) {
|
|
76
75
|
user(accountId: $userId) {
|
|
77
76
|
id
|
|
78
77
|
name
|
|
@@ -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', "20.4.
|
|
70
|
+
headers.append('atl-client-version', "20.4.2");
|
|
71
71
|
return headers;
|
|
72
72
|
};
|
|
73
73
|
export async function getTeamFromAGG(url, teamId, siteId) {
|
|
@@ -32,7 +32,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
|
|
|
32
32
|
actionSubjectId,
|
|
33
33
|
attributes: {
|
|
34
34
|
packageName: "@atlaskit/profilecard",
|
|
35
|
-
packageVersion: "20.4.
|
|
35
|
+
packageVersion: "20.4.2",
|
|
36
36
|
...attributes,
|
|
37
37
|
firedAt: Math.round(getPageTime())
|
|
38
38
|
}
|
|
@@ -65,8 +65,7 @@ export var buildUserQuery = function buildUserQuery(cloudId, userId) {
|
|
|
65
65
|
};
|
|
66
66
|
export var buildAggUserQuery = function buildAggUserQuery(userId) {
|
|
67
67
|
return {
|
|
68
|
-
|
|
69
|
-
query: "query app_user_characteristics($userId: ID!) {\n\t\tuser(accountId: $userId) {\n\t\t\tid\n\t\t\tname\n\t\t\tpicture\n\t\t\taccountStatus\n\t\t\t__typename\n\t\t\t... on AtlassianAccountUser {\n\t\t\t\temail\n\t\t\t\tnickname\n\t\t\t\tzoneinfo\n\t\t\t\textendedProfile {\n\t\t\t\t\tjobTitle\n\t\t\t\t\torganization\n\t\t\t\t\tlocation\n\t\t\t\t\tclosedDate\n\t\t\t\t\tinactiveDate\n\t\t\t\t}\n\t\t\t}\n\t\t\t... on CustomerUser {\n\t\t\t\temail\n\t\t\t\tzoneinfo\n\t\t\t}\n\t\t\t... on AppUser {\n \t\t\tappType\n \t\t}\n\t\t}\n\t}",
|
|
68
|
+
query: "query user($userId: ID!) {\n\t\tuser(accountId: $userId) {\n\t\t\tid\n\t\t\tname\n\t\t\tpicture\n\t\t\taccountStatus\n\t\t\t__typename\n\t\t\t... on AtlassianAccountUser {\n\t\t\t\temail\n\t\t\t\tnickname\n\t\t\t\tzoneinfo\n\t\t\t\textendedProfile {\n\t\t\t\t\tjobTitle\n\t\t\t\t\torganization\n\t\t\t\t\tlocation\n\t\t\t\t\tclosedDate\n\t\t\t\t\tinactiveDate\n\t\t\t\t}\n\t\t\t}\n\t\t\t... on CustomerUser {\n\t\t\t\temail\n\t\t\t\tzoneinfo\n\t\t\t}\n\t\t\t... on AppUser {\n \t\t\tappType\n \t\t}\n\t\t}\n\t}",
|
|
70
69
|
variables: {
|
|
71
70
|
userId: userId
|
|
72
71
|
}
|
|
@@ -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', "20.4.
|
|
51
|
+
headers.append('atl-client-version', "20.4.2");
|
|
52
52
|
return headers;
|
|
53
53
|
};
|
|
54
54
|
export function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -39,7 +39,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
39
39
|
actionSubjectId: actionSubjectId,
|
|
40
40
|
attributes: _objectSpread(_objectSpread({
|
|
41
41
|
packageName: "@atlaskit/profilecard",
|
|
42
|
-
packageVersion: "20.4.
|
|
42
|
+
packageVersion: "20.4.2"
|
|
43
43
|
}, attributes), {}, {
|
|
44
44
|
firedAt: Math.round(getPageTime())
|
|
45
45
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "20.4.
|
|
3
|
+
"version": "20.4.2",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -52,24 +52,24 @@
|
|
|
52
52
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
53
53
|
"@atlaskit/atlassian-context": "^0.0.2",
|
|
54
54
|
"@atlaskit/avatar": "^21.15.0",
|
|
55
|
-
"@atlaskit/avatar-group": "^
|
|
55
|
+
"@atlaskit/avatar-group": "^10.0.0",
|
|
56
56
|
"@atlaskit/button": "^20.2.0",
|
|
57
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
57
|
+
"@atlaskit/dropdown-menu": "^12.20.0",
|
|
58
58
|
"@atlaskit/empty-state": "^7.11.0",
|
|
59
59
|
"@atlaskit/focus-ring": "^1.6.0",
|
|
60
60
|
"@atlaskit/give-kudos": "^2.2.0",
|
|
61
|
-
"@atlaskit/icon": "^22.
|
|
61
|
+
"@atlaskit/icon": "^22.22.0",
|
|
62
62
|
"@atlaskit/lozenge": "^11.11.0",
|
|
63
63
|
"@atlaskit/menu": "^2.12.0",
|
|
64
64
|
"@atlaskit/modal-dialog": "^12.17.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
66
|
-
"@atlaskit/popup": "^1.
|
|
66
|
+
"@atlaskit/popup": "^1.28.0",
|
|
67
67
|
"@atlaskit/primitives": "^12.2.0",
|
|
68
68
|
"@atlaskit/rovo-agent-components": "^1.6.0",
|
|
69
69
|
"@atlaskit/spinner": "^16.3.0",
|
|
70
70
|
"@atlaskit/theme": "^13.0.0",
|
|
71
71
|
"@atlaskit/tokens": "^2.0.0",
|
|
72
|
-
"@atlaskit/tooltip": "^18.
|
|
72
|
+
"@atlaskit/tooltip": "^18.8.0",
|
|
73
73
|
"@babel/runtime": "^7.0.0",
|
|
74
74
|
"@emotion/react": "^11.7.1",
|
|
75
75
|
"@emotion/styled": "^11.0.0",
|