@atlaskit/profilecard 26.8.7 → 26.9.1
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 +17 -0
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/entry-points/ProfileCardClient.js +13 -0
- package/dist/cjs/entry-points/main.js +12 -0
- 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/entry-points/ProfileCardClient.js +1 -0
- package/dist/es2019/entry-points/main.js +1 -0
- 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/entry-points/ProfileCardClient.js +1 -0
- package/dist/esm/entry-points/main.js +1 -0
- package/dist/esm/util/analytics.js +2 -2
- package/dist/types/entry-points/ProfileCardClient.d.ts +1 -0
- package/dist/types/entry-points/main.d.ts +1 -0
- package/main/package.json +10 -0
- package/package.json +9 -9
- package/profile-card-client/package.json +10 -0
- package/team-profile-card/main/package.json +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 26.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 26.9.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`c98e0cf5cc4f6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c98e0cf5cc4f6) -
|
|
14
|
+
Autofix: add explicit package exports (barrel removal)
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 26.8.7
|
|
4
21
|
|
|
5
22
|
### 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', "26.
|
|
14
|
+
headers.append('atl-client-version', "26.9.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', "26.
|
|
69
|
+
headers.append('atl-client-version', "26.9.0");
|
|
70
70
|
return headers;
|
|
71
71
|
};
|
|
72
72
|
function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
Object.defineProperty(exports, "ProfileClient", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _ProfileCardClient.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _ProfileCardClient = _interopRequireDefault(require("../client/ProfileCardClient"));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "TeamProfileCardWithContainer", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _main.TeamProfileCard;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _main = require("../components/team-profile-card/main");
|
|
@@ -12,7 +12,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
12
12
|
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; }
|
|
13
13
|
var PACKAGE_META_DATA = exports.PACKAGE_META_DATA = {
|
|
14
14
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
15
|
-
packageVersion: (_process$env$_PACKAGE2 = "26.
|
|
15
|
+
packageVersion: (_process$env$_PACKAGE2 = "26.9.0") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
16
16
|
};
|
|
17
17
|
var TEAM_SUBJECT = 'teamProfileCard';
|
|
18
18
|
var USER_SUBJECT = 'profilecard';
|
|
@@ -31,7 +31,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
31
31
|
actionSubjectId: actionSubjectId,
|
|
32
32
|
attributes: _objectSpread(_objectSpread({
|
|
33
33
|
packageName: "@atlaskit/profilecard",
|
|
34
|
-
packageVersion: "26.
|
|
34
|
+
packageVersion: "26.9.0"
|
|
35
35
|
}, attributes), {}, {
|
|
36
36
|
firedAt: Math.round((0, _performance.getPageTime)())
|
|
37
37
|
})
|
|
@@ -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', "26.
|
|
9
|
+
headers.append('atl-client-version', "26.9.0");
|
|
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', "26.
|
|
81
|
+
headers.append('atl-client-version', "26.9.0");
|
|
82
82
|
return headers;
|
|
83
83
|
};
|
|
84
84
|
export async function getTeamFromAGG(url, teamId, siteId) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProfileClient } from '../client/ProfileCardClient';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TeamProfileCard as TeamProfileCardWithContainer } from '../components/team-profile-card/main';
|
|
@@ -2,7 +2,7 @@ var _process$env$_PACKAGE, _process$env$_PACKAGE2;
|
|
|
2
2
|
import { getPageTime } from './performance';
|
|
3
3
|
export const PACKAGE_META_DATA = {
|
|
4
4
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
5
|
-
packageVersion: (_process$env$_PACKAGE2 = "26.
|
|
5
|
+
packageVersion: (_process$env$_PACKAGE2 = "26.9.0") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
6
6
|
};
|
|
7
7
|
const TEAM_SUBJECT = 'teamProfileCard';
|
|
8
8
|
const USER_SUBJECT = 'profilecard';
|
|
@@ -19,7 +19,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
|
|
|
19
19
|
actionSubjectId,
|
|
20
20
|
attributes: {
|
|
21
21
|
packageName: "@atlaskit/profilecard",
|
|
22
|
-
packageVersion: "26.
|
|
22
|
+
packageVersion: "26.9.0",
|
|
23
23
|
...attributes,
|
|
24
24
|
firedAt: Math.round(getPageTime())
|
|
25
25
|
}
|
|
@@ -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', "26.
|
|
7
|
+
headers.append('atl-client-version', "26.9.0");
|
|
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', "26.
|
|
62
|
+
headers.append('atl-client-version', "26.9.0");
|
|
63
63
|
return headers;
|
|
64
64
|
};
|
|
65
65
|
export function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProfileClient } from '../client/ProfileCardClient';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TeamProfileCard as TeamProfileCardWithContainer } from '../components/team-profile-card/main';
|
|
@@ -5,7 +5,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
5
5
|
import { getPageTime } from './performance';
|
|
6
6
|
export var PACKAGE_META_DATA = {
|
|
7
7
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
8
|
-
packageVersion: (_process$env$_PACKAGE2 = "26.
|
|
8
|
+
packageVersion: (_process$env$_PACKAGE2 = "26.9.0") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
9
9
|
};
|
|
10
10
|
var TEAM_SUBJECT = 'teamProfileCard';
|
|
11
11
|
var USER_SUBJECT = 'profilecard';
|
|
@@ -24,7 +24,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
24
24
|
actionSubjectId: actionSubjectId,
|
|
25
25
|
attributes: _objectSpread(_objectSpread({
|
|
26
26
|
packageName: "@atlaskit/profilecard",
|
|
27
|
-
packageVersion: "26.
|
|
27
|
+
packageVersion: "26.9.0"
|
|
28
28
|
}, attributes), {}, {
|
|
29
29
|
firedAt: Math.round(getPageTime())
|
|
30
30
|
})
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProfileClient } from '../client/ProfileCardClient';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TeamProfileCard as TeamProfileCardWithContainer } from '../components/team-profile-card/main';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/profilecard/main",
|
|
3
|
+
"main": "../dist/cjs/entry-points/main.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/main.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/main.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/main.d.ts"
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.9.1",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/afm-i18n-platform-people-and-teams-profilecard": "2.172.0",
|
|
42
|
-
"@atlaskit/atlassian-context": "^1.
|
|
42
|
+
"@atlaskit/atlassian-context": "^1.1.0",
|
|
43
43
|
"@atlaskit/avatar": "^26.1.0",
|
|
44
44
|
"@atlaskit/avatar-group": "^13.1.0",
|
|
45
45
|
"@atlaskit/button": "^24.3.0",
|
|
@@ -47,20 +47,20 @@
|
|
|
47
47
|
"@atlaskit/dropdown-menu": "^17.1.0",
|
|
48
48
|
"@atlaskit/empty-state": "^11.1.0",
|
|
49
49
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
50
|
-
"@atlaskit/give-kudos": "^6.
|
|
50
|
+
"@atlaskit/give-kudos": "^6.6.0",
|
|
51
51
|
"@atlaskit/heading": "^6.2.0",
|
|
52
52
|
"@atlaskit/icon": "^37.0.0",
|
|
53
|
-
"@atlaskit/link": "4.
|
|
53
|
+
"@atlaskit/link": "4.2.0",
|
|
54
54
|
"@atlaskit/lozenge": "^14.1.0",
|
|
55
55
|
"@atlaskit/menu": "^9.2.0",
|
|
56
56
|
"@atlaskit/modal-dialog": "^16.1.0",
|
|
57
57
|
"@atlaskit/people-teams-ui-public": "^5.1.0",
|
|
58
58
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
59
59
|
"@atlaskit/popup": "^5.1.0",
|
|
60
|
-
"@atlaskit/primitives": "^20.
|
|
60
|
+
"@atlaskit/primitives": "^20.6.0",
|
|
61
61
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
62
62
|
"@atlaskit/rovo-agent-components": "^7.4.0",
|
|
63
|
-
"@atlaskit/rovo-triggers": "^9.
|
|
63
|
+
"@atlaskit/rovo-triggers": "^9.9.0",
|
|
64
64
|
"@atlaskit/spinner": "^20.1.0",
|
|
65
65
|
"@atlaskit/teams-app-config": "^2.1.0",
|
|
66
66
|
"@atlaskit/teams-app-internal-analytics": "^2.2.0",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"@atlaskit/teams-avatar": "^3.1.0",
|
|
69
69
|
"@atlaskit/teams-public": "^2.4.0",
|
|
70
70
|
"@atlaskit/theme": "^26.1.0",
|
|
71
|
-
"@atlaskit/tmp-editor-statsig": "^124.
|
|
72
|
-
"@atlaskit/tokens": "^15.
|
|
71
|
+
"@atlaskit/tmp-editor-statsig": "^124.3.0",
|
|
72
|
+
"@atlaskit/tokens": "^15.7.0",
|
|
73
73
|
"@atlaskit/tooltip": "^23.1.0",
|
|
74
74
|
"@atlassian/studio-entry-link": "^1.1.0",
|
|
75
75
|
"@babel/runtime": "^7.0.0",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"react-dom": "^18.2.0",
|
|
106
106
|
"react-intl": "^7.0.0",
|
|
107
107
|
"sinon": "^2.2.0",
|
|
108
|
-
"typescript": "
|
|
108
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
109
109
|
"uid": "^0.0.2"
|
|
110
110
|
},
|
|
111
111
|
"keywords": [
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/profilecard/profile-card-client",
|
|
3
|
+
"main": "../dist/cjs/entry-points/ProfileCardClient.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/ProfileCardClient.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/ProfileCardClient.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/ProfileCardClient.d.ts"
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/profilecard/team-profile-card/main",
|
|
3
|
+
"main": "../../dist/cjs/components/team-profile-card/main.js",
|
|
4
|
+
"module": "../../dist/esm/components/team-profile-card/main.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/components/team-profile-card/main.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/components/team-profile-card/main.d.ts"
|
|
10
|
+
}
|