@atlaskit/profilecard 23.14.0 → 23.15.0
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/common/assets/TeamAppTile.svg +7 -0
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/es2019/client/getTeamFromAGG.js +1 -1
- package/dist/es2019/components/common/assets/TeamAppTile.svg +7 -0
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/esm/client/getTeamFromAGG.js +1 -1
- package/dist/esm/components/common/assets/TeamAppTile.svg +7 -0
- package/dist/esm/util/analytics.js +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 23.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#155740](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/155740)
|
|
8
|
+
[`1afe23278a392`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1afe23278a392) -
|
|
9
|
+
Fix post build script for svg
|
|
10
|
+
|
|
3
11
|
## 23.14.0
|
|
4
12
|
|
|
5
13
|
### Minor 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', "23.
|
|
14
|
+
headers.append('atl-client-version', "23.15.0");
|
|
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', "23.
|
|
69
|
+
headers.append('atl-client-version', "23.15.0");
|
|
70
70
|
return headers;
|
|
71
71
|
};
|
|
72
72
|
function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
2
|
+
<path d="M0 4C0 1.79086 1.79086 0 4 0H12C14.2091 0 16 1.79086 16 4V12C16 14.2091 14.2091 16 12 16H4C1.79086 16 0 14.2091 0 12V4Z" fill="#DDDEE1"/>
|
|
3
|
+
<path d="M5.37174 7.5C6.33824 7.5 7.12174 6.7165 7.12174 5.75C7.12174 4.7835 6.33824 4 5.37174 4C4.40525 4 3.62174 4.7835 3.62174 5.75C3.62174 6.7165 4.40525 7.5 5.37174 7.5Z" fill="#1E1F21"/>
|
|
4
|
+
<path d="M10.6217 7.5C11.5882 7.5 12.3717 6.7165 12.3717 5.75C12.3717 4.7835 11.5882 4 10.6217 4C9.65525 4 8.87174 4.7835 8.87174 5.75C8.87174 6.7165 9.65525 7.5 10.6217 7.5Z" fill="#1E1F21"/>
|
|
5
|
+
<path d="M10.7339 8.375C11.7995 8.375 12.6634 9.23889 12.6634 10.3045V12H7.85091L8.95681 9.55272C9.25884 8.83884 9.95873 8.375 10.7339 8.375Z" fill="#1E1F21"/>
|
|
6
|
+
<path d="M3.33008 10.4167L3.33008 12H6.53841L7.41341 10.125C7.41341 9.1585 6.62991 8.375 5.66341 8.375H5.37174C4.24416 8.375 3.33008 9.28908 3.33008 10.4167Z" fill="#1E1F21"/>
|
|
7
|
+
</svg>
|
|
@@ -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: "23.
|
|
48
|
+
packageVersion: "23.15.0"
|
|
49
49
|
}, attributes), {}, {
|
|
50
50
|
firedAt: Math.round((0, _performance.getPageTime)())
|
|
51
51
|
})
|
|
@@ -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', "23.
|
|
9
|
+
headers.append('atl-client-version', "23.15.0");
|
|
10
10
|
return headers;
|
|
11
11
|
};
|
|
12
12
|
export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
|
|
@@ -75,7 +75,7 @@ export const addHeaders = headers => {
|
|
|
75
75
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
76
76
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
77
77
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
78
|
-
headers.append('atl-client-version', "23.
|
|
78
|
+
headers.append('atl-client-version', "23.15.0");
|
|
79
79
|
return headers;
|
|
80
80
|
};
|
|
81
81
|
export async function getTeamFromAGG(url, teamId, siteId) {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
2
|
+
<path d="M0 4C0 1.79086 1.79086 0 4 0H12C14.2091 0 16 1.79086 16 4V12C16 14.2091 14.2091 16 12 16H4C1.79086 16 0 14.2091 0 12V4Z" fill="#DDDEE1"/>
|
|
3
|
+
<path d="M5.37174 7.5C6.33824 7.5 7.12174 6.7165 7.12174 5.75C7.12174 4.7835 6.33824 4 5.37174 4C4.40525 4 3.62174 4.7835 3.62174 5.75C3.62174 6.7165 4.40525 7.5 5.37174 7.5Z" fill="#1E1F21"/>
|
|
4
|
+
<path d="M10.6217 7.5C11.5882 7.5 12.3717 6.7165 12.3717 5.75C12.3717 4.7835 11.5882 4 10.6217 4C9.65525 4 8.87174 4.7835 8.87174 5.75C8.87174 6.7165 9.65525 7.5 10.6217 7.5Z" fill="#1E1F21"/>
|
|
5
|
+
<path d="M10.7339 8.375C11.7995 8.375 12.6634 9.23889 12.6634 10.3045V12H7.85091L8.95681 9.55272C9.25884 8.83884 9.95873 8.375 10.7339 8.375Z" fill="#1E1F21"/>
|
|
6
|
+
<path d="M3.33008 10.4167L3.33008 12H6.53841L7.41341 10.125C7.41341 9.1585 6.62991 8.375 5.66341 8.375H5.37174C4.24416 8.375 3.33008 9.28908 3.33008 10.4167Z" fill="#1E1F21"/>
|
|
7
|
+
</svg>
|
|
@@ -32,7 +32,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
|
|
|
32
32
|
actionSubjectId,
|
|
33
33
|
attributes: {
|
|
34
34
|
packageName: "@atlaskit/profilecard",
|
|
35
|
-
packageVersion: "23.
|
|
35
|
+
packageVersion: "23.15.0",
|
|
36
36
|
...attributes,
|
|
37
37
|
firedAt: Math.round(getPageTime())
|
|
38
38
|
}
|
|
@@ -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', "23.
|
|
7
|
+
headers.append('atl-client-version', "23.15.0");
|
|
8
8
|
return headers;
|
|
9
9
|
};
|
|
10
10
|
export function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -57,7 +57,7 @@ export var 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', "23.
|
|
60
|
+
headers.append('atl-client-version', "23.15.0");
|
|
61
61
|
return headers;
|
|
62
62
|
};
|
|
63
63
|
export function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
2
|
+
<path d="M0 4C0 1.79086 1.79086 0 4 0H12C14.2091 0 16 1.79086 16 4V12C16 14.2091 14.2091 16 12 16H4C1.79086 16 0 14.2091 0 12V4Z" fill="#DDDEE1"/>
|
|
3
|
+
<path d="M5.37174 7.5C6.33824 7.5 7.12174 6.7165 7.12174 5.75C7.12174 4.7835 6.33824 4 5.37174 4C4.40525 4 3.62174 4.7835 3.62174 5.75C3.62174 6.7165 4.40525 7.5 5.37174 7.5Z" fill="#1E1F21"/>
|
|
4
|
+
<path d="M10.6217 7.5C11.5882 7.5 12.3717 6.7165 12.3717 5.75C12.3717 4.7835 11.5882 4 10.6217 4C9.65525 4 8.87174 4.7835 8.87174 5.75C8.87174 6.7165 9.65525 7.5 10.6217 7.5Z" fill="#1E1F21"/>
|
|
5
|
+
<path d="M10.7339 8.375C11.7995 8.375 12.6634 9.23889 12.6634 10.3045V12H7.85091L8.95681 9.55272C9.25884 8.83884 9.95873 8.375 10.7339 8.375Z" fill="#1E1F21"/>
|
|
6
|
+
<path d="M3.33008 10.4167L3.33008 12H6.53841L7.41341 10.125C7.41341 9.1585 6.62991 8.375 5.66341 8.375H5.37174C4.24416 8.375 3.33008 9.28908 3.33008 10.4167Z" fill="#1E1F21"/>
|
|
7
|
+
</svg>
|
|
@@ -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: "23.
|
|
42
|
+
packageVersion: "23.15.0"
|
|
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": "23.
|
|
3
|
+
"version": "23.15.0",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
".": "./src/index.ts"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
|
+
"ak-postbuild": "ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.svg",
|
|
43
44
|
"lint": "(cd ../../.. && yarn eslint 'packages/people-and-teams/profilecard/**/*.{ts,tsx}')",
|
|
44
45
|
"test": "(cd ../../.. && yarn test 'packages/people-and-teams/profilecard')",
|
|
45
46
|
"test:watch": "(cd ../../.. && yarn test 'packages/people-and-teams/profilecard' --watch)",
|