@atlaskit/profilecard 27.6.8 → 27.7.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 +20 -0
- package/dist/cjs/client/addHeaders.js +1 -1
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/components/Agent/Actions.js +1 -1
- package/dist/cjs/components/Agent/AgentProfileCard.js +1 -1
- package/dist/cjs/components/Agent/AgentProfileCardResourced.js +1 -1
- package/dist/cjs/components/Agent/AgentProfileCardTrigger.js +1 -1
- package/dist/cjs/components/Agent/AgentProfileCardWrapper.js +1 -1
- package/dist/cjs/components/Agent/hooks/useAgentUrlActions.js +1 -5
- package/dist/cjs/components/User/ProfileCardDetails.js +1 -1
- package/dist/cjs/components/User/ReportingLinesDetails.js +1 -1
- package/dist/cjs/components/common/ProfileCardWrapper.js +1 -1
- package/dist/cjs/components/team-profile-card/main.js +1 -1
- package/dist/cjs/components/team-profile-card/team-connections/main.js +1 -1
- package/dist/cjs/components/team-profile-card/team-containers-skeleton/index.js +1 -1
- package/dist/cjs/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
- package/dist/cjs/styled/Card.js +1 -1
- package/dist/cjs/styled/CoverImage.js +1 -1
- package/dist/cjs/styled/Error.js +1 -1
- package/dist/cjs/styled/ReportingLines.js +1 -1
- package/dist/cjs/styled/TeamCard.js +1 -1
- package/dist/cjs/styled/TeamTrigger.js +1 -1
- package/dist/cjs/styled/UserTrigger.js +1 -1
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/cjs/util/createEvent.js +1 -1
- package/dist/cjs/util/withOuterListeners.js +1 -1
- package/dist/es2019/client/addHeaders.js +1 -1
- package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/es2019/components/Agent/Actions.js +1 -1
- package/dist/es2019/components/Agent/AgentProfileCard.js +1 -1
- package/dist/es2019/components/Agent/AgentProfileCardResourced.js +1 -1
- package/dist/es2019/components/Agent/AgentProfileCardTrigger.js +1 -1
- package/dist/es2019/components/Agent/AgentProfileCardWrapper.js +1 -1
- package/dist/es2019/components/Agent/hooks/useAgentUrlActions.js +1 -5
- package/dist/es2019/components/User/ProfileCardDetails.js +1 -1
- package/dist/es2019/components/User/ReportingLinesDetails.js +1 -1
- package/dist/es2019/components/common/ProfileCardWrapper.js +1 -1
- package/dist/es2019/components/team-profile-card/main.js +1 -1
- package/dist/es2019/components/team-profile-card/team-connections/main.js +1 -1
- package/dist/es2019/components/team-profile-card/team-containers-skeleton/index.js +1 -1
- package/dist/es2019/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
- package/dist/es2019/styled/Card.js +1 -1
- package/dist/es2019/styled/CoverImage.js +1 -1
- package/dist/es2019/styled/Error.js +1 -1
- package/dist/es2019/styled/ReportingLines.js +1 -1
- package/dist/es2019/styled/TeamCard.js +1 -1
- package/dist/es2019/styled/TeamTrigger.js +1 -1
- package/dist/es2019/styled/UserTrigger.js +1 -1
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/es2019/util/createEvent.js +1 -1
- package/dist/es2019/util/withOuterListeners.js +1 -1
- package/dist/esm/client/addHeaders.js +1 -1
- package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/esm/components/Agent/Actions.js +1 -1
- package/dist/esm/components/Agent/AgentProfileCard.js +1 -1
- package/dist/esm/components/Agent/AgentProfileCardResourced.js +1 -1
- package/dist/esm/components/Agent/AgentProfileCardTrigger.js +1 -1
- package/dist/esm/components/Agent/AgentProfileCardWrapper.js +1 -1
- package/dist/esm/components/Agent/hooks/useAgentUrlActions.js +1 -5
- package/dist/esm/components/User/ProfileCardDetails.js +1 -1
- package/dist/esm/components/User/ReportingLinesDetails.js +1 -1
- package/dist/esm/components/common/ProfileCardWrapper.js +1 -1
- package/dist/esm/components/team-profile-card/main.js +1 -1
- package/dist/esm/components/team-profile-card/team-connections/main.js +1 -1
- package/dist/esm/components/team-profile-card/team-containers-skeleton/index.js +1 -1
- package/dist/esm/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
- package/dist/esm/styled/Card.js +1 -1
- package/dist/esm/styled/CoverImage.js +1 -1
- package/dist/esm/styled/Error.js +1 -1
- package/dist/esm/styled/ReportingLines.js +1 -1
- package/dist/esm/styled/TeamCard.js +1 -1
- package/dist/esm/styled/TeamTrigger.js +1 -1
- package/dist/esm/styled/UserTrigger.js +1 -1
- package/dist/esm/util/analytics.js +1 -1
- package/dist/esm/util/createEvent.js +1 -1
- package/dist/esm/util/withOuterListeners.js +1 -1
- package/package.json +6 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 27.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d0bb2f32f3025`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d0bb2f32f3025) -
|
|
8
|
+
Cleanup `feature_gate` `platform-adopt-teams-nav-config`. Profile, team, and directory links now
|
|
9
|
+
always use the shared `@atlaskit/teams-app-config` navigation.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 27.7.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [`f5b2e7ae6d6bc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f5b2e7ae6d6bc) -
|
|
17
|
+
Update i18n NPM package versions for people-and-teams,identity (Group 8)
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 27.6.8
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -11,6 +11,6 @@ var addHeaders = exports.addHeaders = function addHeaders(headers) {
|
|
|
11
11
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
12
12
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
13
13
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
14
|
-
headers.append('atl-client-version', "27.
|
|
14
|
+
headers.append('atl-client-version', "27.7.0");
|
|
15
15
|
return headers;
|
|
16
16
|
};
|
|
@@ -11,7 +11,7 @@ var _AGGQuery = require("./AGGQuery");
|
|
|
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', "27.
|
|
14
|
+
headers.append('atl-client-version', "27.7.0");
|
|
15
15
|
return headers;
|
|
16
16
|
};
|
|
17
17
|
function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -86,7 +86,7 @@ var AgentProfileCardResourced = exports.AgentProfileCardResourced = function Age
|
|
|
86
86
|
} : undefined,
|
|
87
87
|
userCreator: userCreatorInfo ? {
|
|
88
88
|
name: (_userCreatorInfo$full = userCreatorInfo.fullName) !== null && _userCreatorInfo$full !== void 0 ? _userCreatorInfo$full : '',
|
|
89
|
-
profileLink:
|
|
89
|
+
profileLink: profileHref
|
|
90
90
|
} : undefined,
|
|
91
91
|
forgeCreator: creator !== null && creator !== void 0 ? creator : undefined
|
|
92
92
|
});
|
|
@@ -113,7 +113,7 @@ var AgentProfileCardTrigger = exports.AgentProfileCardTrigger = /*#__PURE__*/(0,
|
|
|
113
113
|
return _context.abrupt("return", {
|
|
114
114
|
type: 'CUSTOMER',
|
|
115
115
|
name: creatorInfo.fullName,
|
|
116
|
-
profileLink:
|
|
116
|
+
profileLink: profileHref,
|
|
117
117
|
id: _userId
|
|
118
118
|
});
|
|
119
119
|
case 11:
|
|
@@ -198,11 +198,7 @@ var useAgentUrlActions = exports.useAgentUrlActions = function useAgentUrlAction
|
|
|
198
198
|
shouldOpenInSameTab: false
|
|
199
199
|
}),
|
|
200
200
|
onNavigate = _navigateToTeamsApp.onNavigate;
|
|
201
|
-
|
|
202
|
-
onNavigate();
|
|
203
|
-
} else {
|
|
204
|
-
window.open("".concat(window.location.origin, "/people/agent/").concat(agentId), '_blank', 'noopener, noreferrer');
|
|
205
|
-
}
|
|
201
|
+
onNavigate();
|
|
206
202
|
fireEvent('ui.button.clicked.viewAgentFullProfileButton', {
|
|
207
203
|
agentId: agentId,
|
|
208
204
|
source: source
|
package/dist/cjs/styled/Card.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Card.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* Card.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
/* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
|
|
3
3
|
/* eslint-disable @atlaskit/design-system/no-styled-tagged-template-expression -- needs manual remediation */
|
|
4
4
|
"use strict";
|
package/dist/cjs/styled/Error.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReportingLines.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ReportingLines.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
/* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
|
|
3
3
|
"use strict";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* UserTrigger.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* UserTrigger.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
/* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
|
|
3
3
|
// PLEASE NOTE: This file is sync-loaded with the trigger components. Only add components here that
|
|
4
4
|
// are necessary for the main render of the trigger component to help maintain bundle size.
|
|
@@ -7,7 +7,7 @@ exports.USER_SUBJECT = exports.TEAM_SUBJECT = exports.PACKAGE_META_DATA = export
|
|
|
7
7
|
var _process$env$_PACKAGE, _process$env$_PACKAGE2;
|
|
8
8
|
var PACKAGE_META_DATA = exports.PACKAGE_META_DATA = {
|
|
9
9
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
10
|
-
packageVersion: (_process$env$_PACKAGE2 = "27.
|
|
10
|
+
packageVersion: (_process$env$_PACKAGE2 = "27.7.0") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
11
11
|
};
|
|
12
12
|
var TEAM_SUBJECT = exports.TEAM_SUBJECT = 'teamProfileCard';
|
|
13
13
|
var USER_SUBJECT = exports.USER_SUBJECT = 'profilecard';
|
|
@@ -22,7 +22,7 @@ var createEvent = exports.createEvent = function createEvent(eventType, action,
|
|
|
22
22
|
actionSubjectId: actionSubjectId,
|
|
23
23
|
attributes: _objectSpread(_objectSpread({
|
|
24
24
|
packageName: "@atlaskit/profilecard",
|
|
25
|
-
packageVersion: "27.
|
|
25
|
+
packageVersion: "27.7.0"
|
|
26
26
|
}, attributes), {}, {
|
|
27
27
|
firedAt: Math.round((0, _performance.getPageTime)())
|
|
28
28
|
})
|
|
@@ -5,6 +5,6 @@ export const addHeaders = headers => {
|
|
|
5
5
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
6
6
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
7
7
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
8
|
-
headers.append('atl-client-version', "27.
|
|
8
|
+
headers.append('atl-client-version', "27.7.0");
|
|
9
9
|
return headers;
|
|
10
10
|
};
|
|
@@ -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', "27.
|
|
9
|
+
headers.append('atl-client-version', "27.7.0");
|
|
10
10
|
return headers;
|
|
11
11
|
};
|
|
12
12
|
export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AgentProfileCard.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* AgentProfileCard.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import "./AgentProfileCard.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useCallback, useEffect, useState } from 'react';
|
|
@@ -52,7 +52,7 @@ export const AgentProfileCardResourced = props => {
|
|
|
52
52
|
} : undefined,
|
|
53
53
|
userCreator: userCreatorInfo ? {
|
|
54
54
|
name: (_userCreatorInfo$full = userCreatorInfo.fullName) !== null && _userCreatorInfo$full !== void 0 ? _userCreatorInfo$full : '',
|
|
55
|
-
profileLink:
|
|
55
|
+
profileLink: profileHref
|
|
56
56
|
} : undefined,
|
|
57
57
|
forgeCreator: creator !== null && creator !== void 0 ? creator : undefined
|
|
58
58
|
});
|
|
@@ -85,7 +85,7 @@ export const AgentProfileCardTrigger = /*#__PURE__*/forwardRef(({
|
|
|
85
85
|
return {
|
|
86
86
|
type: 'CUSTOMER',
|
|
87
87
|
name: creatorInfo.fullName,
|
|
88
|
-
profileLink:
|
|
88
|
+
profileLink: profileHref,
|
|
89
89
|
id: userId
|
|
90
90
|
};
|
|
91
91
|
} catch {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AgentProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* AgentProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import "./AgentProfileCardWrapper.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
@@ -165,11 +165,7 @@ export const useAgentUrlActions = ({
|
|
|
165
165
|
cloudId,
|
|
166
166
|
shouldOpenInSameTab: false
|
|
167
167
|
});
|
|
168
|
-
|
|
169
|
-
onNavigate();
|
|
170
|
-
} else {
|
|
171
|
-
window.open(`${window.location.origin}/people/agent/${agentId}`, '_blank', 'noopener, noreferrer');
|
|
172
|
-
}
|
|
168
|
+
onNavigate();
|
|
173
169
|
fireEvent('ui.button.clicked.viewAgentFullProfileButton', {
|
|
174
170
|
agentId,
|
|
175
171
|
source
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ProfileCardDetails.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ProfileCardDetails.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./ProfileCardDetails.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReportingLinesDetails.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ReportingLinesDetails.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import "./ReportingLinesDetails.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import "./ProfileCardWrapper.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Card.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* Card.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
/* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
|
|
3
3
|
/* eslint-disable @atlaskit/design-system/no-styled-tagged-template-expression -- needs manual remediation */
|
|
4
4
|
import "./Card.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReportingLines.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ReportingLines.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
/* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
|
|
3
3
|
import "./ReportingLines.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* TeamTrigger.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* TeamTrigger.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./TeamTrigger.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* UserTrigger.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* UserTrigger.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
/* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
|
|
3
3
|
// PLEASE NOTE: This file is sync-loaded with the trigger components. Only add components here that
|
|
4
4
|
// are necessary for the main render of the trigger component to help maintain bundle size.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _process$env$_PACKAGE, _process$env$_PACKAGE2;
|
|
2
2
|
export const PACKAGE_META_DATA = {
|
|
3
3
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
4
|
-
packageVersion: (_process$env$_PACKAGE2 = "27.
|
|
4
|
+
packageVersion: (_process$env$_PACKAGE2 = "27.7.0") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
5
5
|
};
|
|
6
6
|
export const TEAM_SUBJECT = 'teamProfileCard';
|
|
7
7
|
export const USER_SUBJECT = 'profilecard';
|
|
@@ -11,7 +11,7 @@ export const createEvent = (eventType, action, actionSubject, actionSubjectId, a
|
|
|
11
11
|
actionSubjectId,
|
|
12
12
|
attributes: {
|
|
13
13
|
packageName: "@atlaskit/profilecard",
|
|
14
|
-
packageVersion: "27.
|
|
14
|
+
packageVersion: "27.7.0",
|
|
15
15
|
...attributes,
|
|
16
16
|
firedAt: Math.round(getPageTime())
|
|
17
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* withOuterListeners.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* withOuterListeners.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./withOuterListeners.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -5,6 +5,6 @@ export var addHeaders = function addHeaders(headers) {
|
|
|
5
5
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
6
6
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
7
7
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
8
|
-
headers.append('atl-client-version', "27.
|
|
8
|
+
headers.append('atl-client-version', "27.7.0");
|
|
9
9
|
return headers;
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import { AGGQuery } from './AGGQuery';
|
|
|
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', "27.
|
|
7
|
+
headers.append('atl-client-version', "27.7.0");
|
|
8
8
|
return headers;
|
|
9
9
|
};
|
|
10
10
|
export function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Actions.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* Actions.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./Actions.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AgentProfileCard.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* AgentProfileCard.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
4
4
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
@@ -77,7 +77,7 @@ export var AgentProfileCardResourced = function AgentProfileCardResourced(props)
|
|
|
77
77
|
} : undefined,
|
|
78
78
|
userCreator: userCreatorInfo ? {
|
|
79
79
|
name: (_userCreatorInfo$full = userCreatorInfo.fullName) !== null && _userCreatorInfo$full !== void 0 ? _userCreatorInfo$full : '',
|
|
80
|
-
profileLink:
|
|
80
|
+
profileLink: profileHref
|
|
81
81
|
} : undefined,
|
|
82
82
|
forgeCreator: creator !== null && creator !== void 0 ? creator : undefined
|
|
83
83
|
});
|
|
@@ -104,7 +104,7 @@ export var AgentProfileCardTrigger = /*#__PURE__*/forwardRef(function (_ref, ref
|
|
|
104
104
|
return _context.abrupt("return", {
|
|
105
105
|
type: 'CUSTOMER',
|
|
106
106
|
name: creatorInfo.fullName,
|
|
107
|
-
profileLink:
|
|
107
|
+
profileLink: profileHref,
|
|
108
108
|
id: _userId
|
|
109
109
|
});
|
|
110
110
|
case 11:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AgentProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* AgentProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import "./AgentProfileCardWrapper.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
@@ -191,11 +191,7 @@ export var useAgentUrlActions = function useAgentUrlActions(_ref3) {
|
|
|
191
191
|
shouldOpenInSameTab: false
|
|
192
192
|
}),
|
|
193
193
|
onNavigate = _navigateToTeamsApp.onNavigate;
|
|
194
|
-
|
|
195
|
-
onNavigate();
|
|
196
|
-
} else {
|
|
197
|
-
window.open("".concat(window.location.origin, "/people/agent/").concat(agentId), '_blank', 'noopener, noreferrer');
|
|
198
|
-
}
|
|
194
|
+
onNavigate();
|
|
199
195
|
fireEvent('ui.button.clicked.viewAgentFullProfileButton', {
|
|
200
196
|
agentId: agentId,
|
|
201
197
|
source: source
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ProfileCardDetails.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ProfileCardDetails.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["text"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReportingLinesDetails.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ReportingLinesDetails.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./ReportingLinesDetails.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import "./ProfileCardWrapper.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* main.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* main.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["containerId", "teamId", "displayName", "description", "avatarImageUrl", "headerImageUrl", "memberAvatars", "memberCount", "cloudId", "userId", "isVerified", "teamProfileUrl"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
3
3
|
import "./index.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
package/dist/esm/styled/Card.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Card.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* Card.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
/* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
|
|
3
3
|
/* eslint-disable @atlaskit/design-system/no-styled-tagged-template-expression -- needs manual remediation */
|
|
4
4
|
import "./Card.compiled.css";
|
package/dist/esm/styled/Error.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ReportingLines.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ReportingLines.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
/* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
|
|
3
3
|
import "./ReportingLines.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* TeamTrigger.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* TeamTrigger.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./TeamTrigger.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* UserTrigger.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* UserTrigger.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
/* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
|
|
3
3
|
// PLEASE NOTE: This file is sync-loaded with the trigger components. Only add components here that
|
|
4
4
|
// are necessary for the main render of the trigger component to help maintain bundle size.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _process$env$_PACKAGE, _process$env$_PACKAGE2;
|
|
2
2
|
export var PACKAGE_META_DATA = {
|
|
3
3
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
4
|
-
packageVersion: (_process$env$_PACKAGE2 = "27.
|
|
4
|
+
packageVersion: (_process$env$_PACKAGE2 = "27.7.0") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
5
5
|
};
|
|
6
6
|
export var TEAM_SUBJECT = 'teamProfileCard';
|
|
7
7
|
export var USER_SUBJECT = 'profilecard';
|
|
@@ -16,7 +16,7 @@ export var createEvent = function createEvent(eventType, action, actionSubject,
|
|
|
16
16
|
actionSubjectId: actionSubjectId,
|
|
17
17
|
attributes: _objectSpread(_objectSpread({
|
|
18
18
|
packageName: "@atlaskit/profilecard",
|
|
19
|
-
packageVersion: "27.
|
|
19
|
+
packageVersion: "27.7.0"
|
|
20
20
|
}, attributes), {}, {
|
|
21
21
|
firedAt: Math.round(getPageTime())
|
|
22
22
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* withOuterListeners.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* withOuterListeners.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
4
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.7.1",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@atlaskit/afm-i18n-platform-people-and-teams-profilecard": "2.
|
|
44
|
+
"@atlaskit/afm-i18n-platform-people-and-teams-profilecard": "2.306.0",
|
|
45
45
|
"@atlaskit/atlassian-context": "^2.0.0",
|
|
46
46
|
"@atlaskit/avatar": "^30.1.0",
|
|
47
47
|
"@atlaskit/avatar-group": "^14.4.0",
|
|
48
|
-
"@atlaskit/button": "^25.
|
|
48
|
+
"@atlaskit/button": "^25.8.0",
|
|
49
49
|
"@atlaskit/css": "^1.1.0",
|
|
50
50
|
"@atlaskit/dropdown-menu": "^21.3.0",
|
|
51
51
|
"@atlaskit/empty-state": "^12.2.0",
|
|
52
52
|
"@atlaskit/feature-gate-js-client": "^8.0.0",
|
|
53
|
-
"@atlaskit/give-kudos": "^7.
|
|
53
|
+
"@atlaskit/give-kudos": "^7.8.0",
|
|
54
54
|
"@atlaskit/heading": "^8.0.0",
|
|
55
55
|
"@atlaskit/icon": "^38.0.0",
|
|
56
56
|
"@atlaskit/link": "5.1.7",
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
"@atlaskit/popup": "^10.2.0",
|
|
63
63
|
"@atlaskit/primitives": "^22.7.0",
|
|
64
64
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
65
|
-
"@atlaskit/rovo-agent-components": "^10.
|
|
65
|
+
"@atlaskit/rovo-agent-components": "^10.9.0",
|
|
66
66
|
"@atlaskit/rovo-triggers": "^12.14.0",
|
|
67
67
|
"@atlaskit/spinner": "^20.4.0",
|
|
68
68
|
"@atlaskit/teams-app-config": "^3.1.0",
|
|
69
69
|
"@atlaskit/teams-app-internal-analytics": "^2.5.0",
|
|
70
70
|
"@atlaskit/teams-app-internal-navigation": "^3.1.0",
|
|
71
71
|
"@atlaskit/teams-avatar": "^4.2.0",
|
|
72
|
-
"@atlaskit/teams-public": "^3.
|
|
72
|
+
"@atlaskit/teams-public": "^3.10.0",
|
|
73
73
|
"@atlaskit/theme": "^28.2.0",
|
|
74
74
|
"@atlaskit/tmp-editor-statsig": "^260.0.0",
|
|
75
75
|
"@atlaskit/tokens": "^20.11.0",
|
|
@@ -129,9 +129,6 @@
|
|
|
129
129
|
"atlas_profilecard_skip_workspace_type_fetch": {
|
|
130
130
|
"type": "boolean"
|
|
131
131
|
},
|
|
132
|
-
"platform-adopt-teams-nav-config": {
|
|
133
|
-
"type": "boolean"
|
|
134
|
-
},
|
|
135
132
|
"jfp_a11y_team_profile_card_actions_label": {
|
|
136
133
|
"type": "boolean"
|
|
137
134
|
},
|