@atlaskit/profilecard 24.20.4 → 24.21.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 +17 -0
- package/__tests__/vr-tests/__snapshots__/agent-profilecard/agent-profile-card-example--default.png +0 -0
- package/__tests__/vr-tests/__snapshots__/user-profilecard/alternate-actions--default.png +0 -0
- package/__tests__/vr-tests/__snapshots__/user-profilecard/best-case-profile--default.png +0 -0
- package/__tests__/vr-tests/__snapshots__/user-profilecard/bot-case-profile--default.png +0 -0
- package/__tests__/vr-tests/__snapshots__/user-profilecard/error-state--default.png +0 -0
- package/__tests__/vr-tests/__snapshots__/user-profilecard/error-state-not-found--default.png +0 -0
- package/__tests__/vr-tests/__snapshots__/user-profilecard/worst-case-profile--default.png +0 -0
- package/compass.yml +3 -0
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/components/Agent/Actions.js +5 -7
- package/dist/cjs/components/Agent/ActionsCompiled.compiled.css +2 -2
- package/dist/cjs/components/Agent/ActionsCompiled.js +4 -8
- package/dist/cjs/components/Agent/AgentProfileCardCompiled.compiled.css +1 -1
- package/dist/cjs/components/Agent/AgentProfileCardCompiled.js +1 -1
- package/dist/cjs/components/Icon/IconLabel.js +1 -1
- package/dist/cjs/components/User/ProfileCardDetails.compiled.css +1 -1
- package/dist/cjs/components/User/ProfileCardDetails.js +1 -1
- package/dist/cjs/components/User/ReportingLinesDetails.compiled.css +1 -1
- package/dist/cjs/components/User/ReportingLinesDetails.js +1 -1
- package/dist/cjs/components/User/ReportingLinesDetailsCompiled.compiled.css +2 -2
- package/dist/cjs/components/User/ReportingLinesDetailsCompiled.js +2 -2
- package/dist/cjs/components/common/ProfileCardTrigger.js +17 -21
- package/dist/cjs/components/team-profile-card/main.compiled.css +1 -15
- package/dist/cjs/components/team-profile-card/main.js +82 -186
- package/dist/cjs/components/team-profile-card/team-connections/main.compiled.css +1 -6
- package/dist/cjs/components/team-profile-card/team-connections/main.js +1 -65
- package/dist/cjs/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.compiled.css +3 -3
- package/dist/cjs/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
- package/dist/cjs/styled/Card.compiled.css +7 -7
- package/dist/cjs/styled/Card.js +9 -9
- 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/Actions.js +1 -3
- package/dist/es2019/components/Agent/ActionsCompiled.compiled.css +2 -2
- package/dist/es2019/components/Agent/ActionsCompiled.js +2 -4
- package/dist/es2019/components/Agent/AgentProfileCardCompiled.compiled.css +1 -1
- package/dist/es2019/components/Agent/AgentProfileCardCompiled.js +1 -1
- package/dist/es2019/components/Icon/IconLabel.js +1 -1
- package/dist/es2019/components/User/ProfileCardDetails.compiled.css +1 -1
- package/dist/es2019/components/User/ProfileCardDetails.js +1 -1
- package/dist/es2019/components/User/ReportingLinesDetails.compiled.css +1 -1
- package/dist/es2019/components/User/ReportingLinesDetails.js +1 -1
- package/dist/es2019/components/User/ReportingLinesDetailsCompiled.compiled.css +2 -2
- package/dist/es2019/components/User/ReportingLinesDetailsCompiled.js +2 -2
- package/dist/es2019/components/common/ProfileCardTrigger.js +1 -4
- package/dist/es2019/components/team-profile-card/main.compiled.css +1 -15
- package/dist/es2019/components/team-profile-card/main.js +56 -158
- package/dist/es2019/components/team-profile-card/team-connections/main.compiled.css +1 -6
- package/dist/es2019/components/team-profile-card/team-connections/main.js +1 -69
- package/dist/es2019/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.compiled.css +3 -3
- package/dist/es2019/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
- package/dist/es2019/styled/Card.compiled.css +7 -7
- package/dist/es2019/styled/Card.js +9 -9
- 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/Actions.js +3 -7
- package/dist/esm/components/Agent/ActionsCompiled.compiled.css +2 -2
- package/dist/esm/components/Agent/ActionsCompiled.js +4 -8
- package/dist/esm/components/Agent/AgentProfileCardCompiled.compiled.css +1 -1
- package/dist/esm/components/Agent/AgentProfileCardCompiled.js +1 -1
- package/dist/esm/components/Icon/IconLabel.js +1 -1
- package/dist/esm/components/User/ProfileCardDetails.compiled.css +1 -1
- package/dist/esm/components/User/ProfileCardDetails.js +1 -1
- package/dist/esm/components/User/ReportingLinesDetails.compiled.css +1 -1
- package/dist/esm/components/User/ReportingLinesDetails.js +1 -1
- package/dist/esm/components/User/ReportingLinesDetailsCompiled.compiled.css +2 -2
- package/dist/esm/components/User/ReportingLinesDetailsCompiled.js +2 -2
- package/dist/esm/components/common/ProfileCardTrigger.js +17 -21
- package/dist/esm/components/team-profile-card/main.compiled.css +1 -15
- package/dist/esm/components/team-profile-card/main.js +70 -174
- package/dist/esm/components/team-profile-card/team-connections/main.compiled.css +1 -6
- package/dist/esm/components/team-profile-card/team-connections/main.js +1 -65
- package/dist/esm/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.compiled.css +3 -3
- package/dist/esm/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
- package/dist/esm/styled/Card.compiled.css +7 -7
- package/dist/esm/styled/Card.js +9 -9
- package/dist/esm/util/analytics.js +2 -2
- package/dist/types/components/team-profile-card/team-connections/main.d.ts +0 -1
- package/dist/types-ts4.5/components/team-profile-card/team-connections/main.d.ts +0 -1
- package/package.json +12 -23
- package/afm-post-office/tsconfig.json +0 -123
- package/afm-townsquare/tsconfig.json +0 -123
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 24.21.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`539c393faefd0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/539c393faefd0) -
|
|
8
|
+
Studio permissions settings m1 cleanup
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 24.20.5
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 24.20.4
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/__tests__/vr-tests/__snapshots__/agent-profilecard/agent-profile-card-example--default.png
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/__tests__/vr-tests/__snapshots__/user-profilecard/error-state-not-found--default.png
CHANGED
|
Binary file
|
|
Binary file
|
package/compass.yml
CHANGED
|
@@ -7,6 +7,9 @@ ownerId: 'ari:cloud:teams::team/229da7a2-bf93-4813-9e24-a6efbd2d445e'
|
|
|
7
7
|
fields:
|
|
8
8
|
tier: 2
|
|
9
9
|
links:
|
|
10
|
+
- name: Root Repository
|
|
11
|
+
type: REPOSITORY
|
|
12
|
+
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
|
|
10
13
|
- name: ''
|
|
11
14
|
type: REPOSITORY
|
|
12
15
|
url: 'https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/people-and-teams/profilecard/'
|
|
@@ -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) {
|
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.AgentActions = void 0;
|
|
9
9
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
10
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
10
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
12
11
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
13
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
@@ -23,8 +22,8 @@ var _analytics = require("../../util/analytics");
|
|
|
23
22
|
var _ActionsCompiled = require("./ActionsCompiled");
|
|
24
23
|
var _AgentDeleteConfirmationModal = require("./AgentDeleteConfirmationModal");
|
|
25
24
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
26
|
+
|
|
28
27
|
var chatToAgentButtonContainer = (0, _primitives.xcss)({
|
|
29
28
|
width: '100%'
|
|
30
29
|
});
|
|
@@ -88,12 +87,11 @@ var _AgentActions = function _AgentActions(_ref) {
|
|
|
88
87
|
AGENT_CREATE = _yield$resourceClient2.AGENT_CREATE;
|
|
89
88
|
AGENT_UPDATE = _yield$resourceClient2.AGENT_UPDATE;
|
|
90
89
|
AGENT_DEACTIVATE = _yield$resourceClient2.AGENT_DEACTIVATE;
|
|
91
|
-
return _context.abrupt("return",
|
|
92
|
-
isCreateEnabled: AGENT_CREATE.permitted
|
|
93
|
-
}), {}, {
|
|
90
|
+
return _context.abrupt("return", {
|
|
91
|
+
isCreateEnabled: AGENT_CREATE.permitted,
|
|
94
92
|
isEditEnabled: AGENT_UPDATE.permitted,
|
|
95
93
|
isDeleteEnabled: AGENT_DEACTIVATE.permitted
|
|
96
|
-
})
|
|
94
|
+
});
|
|
97
95
|
case 8:
|
|
98
96
|
case "end":
|
|
99
97
|
return _context.stop();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
._189ee4h9{border-width:var(--ds-border-width,1px)}
|
|
3
3
|
._18zrv77o{padding-inline:var(--ds-space-025,2px)}
|
|
4
|
-
.
|
|
4
|
+
._1h6d1l7x{border-color:var(--ds-border,#0b120e24)}._15a5nqa1{border-top-style:solid}
|
|
5
5
|
._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
|
|
6
6
|
._1bah1h6o{justify-content:center}
|
|
7
7
|
._1bsb1osq{width:100%}
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
15
15
|
._n3tdpxbi{padding-bottom:var(--ds-space-200,1pc)}
|
|
16
16
|
._o5721jtm{white-space:pre-wrap}
|
|
17
|
-
.
|
|
17
|
+
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
18
18
|
._u5f3pxbi{padding-right:var(--ds-space-200,1pc)}
|
|
19
19
|
._y3gn1e5h{text-align:left}
|
|
@@ -10,7 +10,6 @@ exports.AgentActions = void 0;
|
|
|
10
10
|
require("./ActionsCompiled.compiled.css");
|
|
11
11
|
var _runtime = require("@compiled/react/runtime");
|
|
12
12
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
13
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
14
13
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
15
14
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
16
15
|
var _react = _interopRequireWildcard(require("react"));
|
|
@@ -24,15 +23,13 @@ var _teamsAppInternalAnalytics = require("@atlaskit/teams-app-internal-analytics
|
|
|
24
23
|
var _analytics = require("../../util/analytics");
|
|
25
24
|
var _AgentDeleteConfirmationModal = require("./AgentDeleteConfirmationModal");
|
|
26
25
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
27
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
28
|
-
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; }
|
|
29
26
|
var styles = {
|
|
30
27
|
chatToAgentButtonContainer: "_1bsb1osq",
|
|
31
28
|
chatToAgentButtonWrapper: "_1e0c1txw _1bah1h6o _k48p1wq8 _4t3igktf",
|
|
32
29
|
chatPillButtonInlineStyles: "_18zrv77o",
|
|
33
30
|
chatPillTextStyles: "_1nmz1hna _y3gn1e5h _o5721jtm",
|
|
34
31
|
chatPillIconWrapper: "_1ul9gktf _4t3igktf",
|
|
35
|
-
actionsWrapperStyles: "_189ee4h9
|
|
32
|
+
actionsWrapperStyles: "_189ee4h9 _1h6d1l7x _15a5nqa1 _ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi _1pfhpxbi _syazi7uo"
|
|
36
33
|
};
|
|
37
34
|
var AgentActions = exports.AgentActions = function AgentActions(_ref) {
|
|
38
35
|
var onEditAgent = _ref.onEditAgent,
|
|
@@ -68,12 +65,11 @@ var AgentActions = exports.AgentActions = function AgentActions(_ref) {
|
|
|
68
65
|
AGENT_CREATE = _yield$resourceClient2.AGENT_CREATE;
|
|
69
66
|
AGENT_UPDATE = _yield$resourceClient2.AGENT_UPDATE;
|
|
70
67
|
AGENT_DEACTIVATE = _yield$resourceClient2.AGENT_DEACTIVATE;
|
|
71
|
-
return _context.abrupt("return",
|
|
72
|
-
isCreateEnabled: AGENT_CREATE.permitted
|
|
73
|
-
}), {}, {
|
|
68
|
+
return _context.abrupt("return", {
|
|
69
|
+
isCreateEnabled: AGENT_CREATE.permitted,
|
|
74
70
|
isEditEnabled: AGENT_UPDATE.permitted,
|
|
75
71
|
isDeleteEnabled: AGENT_DEACTIVATE.permitted
|
|
76
|
-
})
|
|
72
|
+
});
|
|
77
73
|
case 8:
|
|
78
74
|
case "end":
|
|
79
75
|
return _context.stop();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
._2rko1mok{border-radius:var(--ds-radius-large,8px)}
|
|
3
3
|
._18zrpxbi{padding-inline:var(--ds-space-200,1pc)}._154i1ejb{top:var(--ds-space-300,24px)}
|
|
4
|
-
.
|
|
4
|
+
._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
5
5
|
._1ltvpxbi{left:var(--ds-space-200,1pc)}
|
|
6
6
|
._1q51xy5q{padding-block-start:var(--ds-space-400,2pc)}
|
|
7
7
|
._kqswh2mm{position:relative}
|
|
@@ -35,7 +35,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
35
35
|
var styles = {
|
|
36
36
|
detailWrapper: "_18zrpxbi _1q51xy5q",
|
|
37
37
|
avatarStyles: "_kqswstnw _154i1ejb _1ltvpxbi",
|
|
38
|
-
cardContainerStyles: "_2rko1mok
|
|
38
|
+
cardContainerStyles: "_2rko1mok _16qs130s _kqswh2mm"
|
|
39
39
|
};
|
|
40
40
|
var AgentProfileCard = function AgentProfileCard(_ref) {
|
|
41
41
|
var _agent$user_defined_c, _agent$external_confi, _agent$external_confi2, _agent$creatorInfo, _agent$creatorInfo2, _agent$creatorInfo3, _agent$creatorInfo4;
|
|
@@ -43,7 +43,7 @@ var IconLabel = exports.default = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
43
43
|
var displayIcon = IconElement ? /*#__PURE__*/_react.default.createElement(IconElement, {
|
|
44
44
|
label: "".concat(this.props.icon),
|
|
45
45
|
LEGACY_size: "small",
|
|
46
|
-
color: "var(--ds-text-subtlest, #
|
|
46
|
+
color: "var(--ds-text-subtlest, #6B6E76)"
|
|
47
47
|
}) : null;
|
|
48
48
|
return /*#__PURE__*/_react.default.createElement(_Card.DetailsLabel, {
|
|
49
49
|
extraTopSpace: this.props.extraTopSpace
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
._rcujutpp._rcujutpp{margin-top:var(--ds-space-150,9pt)}
|
|
22
22
|
._rcujxy5q._rcujxy5q{margin-top:var(--ds-space-400,2pc)}
|
|
23
23
|
._syaz15cr{color:var(--ds-text-inverse,#fff)}
|
|
24
|
-
.
|
|
24
|
+
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
25
25
|
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
@@ -29,7 +29,7 @@ var styles = {
|
|
|
29
29
|
noMetaLabelWithHighSpecificity: "_vvzr1ixg _1hpmxy5q _1bguutpp",
|
|
30
30
|
metaLabel: "_2hwxidpf _otyridpf _18u0idpf _rcujutpp",
|
|
31
31
|
metaLabelWithHighSpecificity: "_2hwxidpf _otyridpf _18u0idpf _vvzr1ixg _1hpmutpp",
|
|
32
|
-
disabledAccount: "
|
|
32
|
+
disabledAccount: "_syazi7uo",
|
|
33
33
|
activeAccount: "_syaz15cr"
|
|
34
34
|
};
|
|
35
35
|
var renderName = function renderName(nickname, fullName, meta) {
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
4
4
|
._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
|
|
5
5
|
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
6
|
-
.
|
|
6
|
+
._irr31dpa:hover{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
|
|
@@ -37,7 +37,7 @@ var reportingLinesHeadingStyles = (0, _primitives.xcss)({
|
|
|
37
37
|
marginBottom: '0'
|
|
38
38
|
});
|
|
39
39
|
var styles = {
|
|
40
|
-
reportingLinesButton: "_ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _bfhksm61
|
|
40
|
+
reportingLinesButton: "_ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _bfhksm61 _irr31dpa"
|
|
41
41
|
};
|
|
42
42
|
var avatarGroupMaxCount = 5;
|
|
43
43
|
var ReportingLinesDetails = function ReportingLinesDetails(props) {
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
|
|
7
7
|
._otyru2gc{margin-bottom:var(--ds-space-100,8px)}
|
|
8
8
|
._otyrze3t{margin-bottom:var(--ds-space-0,0)}
|
|
9
|
-
.
|
|
9
|
+
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
10
10
|
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
11
|
-
.
|
|
11
|
+
._irr31dpa:hover{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
|
|
@@ -21,8 +21,8 @@ function getProfileHref(userId, profileUrl) {
|
|
|
21
21
|
return profileUrl ? profileUrl + userId : undefined;
|
|
22
22
|
}
|
|
23
23
|
var styles = {
|
|
24
|
-
reportingLinesButton: "_ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _bfhksm61
|
|
25
|
-
reportingLinesHeadingDefaultStyles: "_11c81vhk
|
|
24
|
+
reportingLinesButton: "_ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _bfhksm61 _irr31dpa",
|
|
25
|
+
reportingLinesHeadingDefaultStyles: "_11c81vhk _syazi7uo _k48p1pd9 _otyru2gc",
|
|
26
26
|
reportingLinesHeadingStyles: "_otyrze3t"
|
|
27
27
|
};
|
|
28
28
|
var avatarGroupMaxCount = 5;
|
|
@@ -131,27 +131,23 @@ function ProfileCardTriggerInner(_ref, ref) {
|
|
|
131
131
|
}));
|
|
132
132
|
},
|
|
133
133
|
content: function content() {
|
|
134
|
-
return (
|
|
135
|
-
|
|
136
|
-
// eslint-disable-next-line @atlassian/a11y/
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
profileData: profileData,
|
|
152
|
-
error: error
|
|
153
|
-
}))
|
|
154
|
-
);
|
|
134
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
135
|
+
onMouseEnter: onMouseEnter
|
|
136
|
+
// eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
|
|
137
|
+
,
|
|
138
|
+
onMouseLeave: hideProfilecard,
|
|
139
|
+
onFocus: showProfilecard,
|
|
140
|
+
"data-testid": "profile-card--trigger-content"
|
|
141
|
+
}, isLoading ? /*#__PURE__*/_react.default.createElement(_ProfileCardWrapper.ProfileCardWrapper, {
|
|
142
|
+
testId: "profilecard.profilecardtrigger.loading"
|
|
143
|
+
}, /*#__PURE__*/_react.default.createElement(_LoadingState.LoadingState, {
|
|
144
|
+
fireAnalytics: fireAnalytics,
|
|
145
|
+
fireAnalyticsNext: fireAnalyticsNext,
|
|
146
|
+
profileType: profileCardType
|
|
147
|
+
})) : renderProfileCard({
|
|
148
|
+
profileData: profileData,
|
|
149
|
+
error: error
|
|
150
|
+
}));
|
|
155
151
|
}
|
|
156
152
|
}));
|
|
157
153
|
}
|
|
@@ -1,45 +1,31 @@
|
|
|
1
1
|
._11c81vhk{font:var(--ds-font-heading-xxsmall,normal 600 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
-
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
3
2
|
._2rko1mok{border-radius:var(--ds-radius-large,8px)}
|
|
4
3
|
._v564nm7n{transition:box-shadow .25s ease-in-out}
|
|
5
|
-
._189ee4h9{border-width:var(--ds-border-width,1px)}
|
|
6
|
-
._1dqonqa1{border-style:solid}
|
|
7
|
-
._1h6dmuej{border-color:var(--ds-border,#091e4224)}
|
|
8
|
-
._15a5nqa1{border-top-style:solid}
|
|
9
4
|
._18m915vq{overflow-y:hidden}
|
|
10
5
|
._18m91wug{overflow-y:auto}
|
|
11
6
|
._18u01ejb{margin-left:var(--ds-space-300,24px)}
|
|
12
7
|
._18u01wug{margin-left:auto}
|
|
13
8
|
._18u0pxbi{margin-left:var(--ds-space-200,1pc)}
|
|
14
9
|
._18u0u2gc{margin-left:var(--ds-space-100,8px)}
|
|
15
|
-
._19bv1ejb{padding-left:var(--ds-space-300,24px)}
|
|
16
10
|
._19pk1b66{margin-top:var(--ds-space-050,4px)}
|
|
17
|
-
._19pkpxbi{margin-top:var(--ds-space-200,1pc)}
|
|
18
11
|
._19pku2gc{margin-top:var(--ds-space-100,8px)}
|
|
19
12
|
._1bsb1gwv{width:360px}
|
|
20
13
|
._1bsb1osq{width:100%}
|
|
21
14
|
._1bsb7vkz{width:1pc}
|
|
22
15
|
._1e0c1txw{display:flex}
|
|
23
|
-
._1i53muej{border-top-color:var(--ds-border,#091e4224)}
|
|
24
16
|
._1reo15vq{overflow-x:hidden}
|
|
25
17
|
._1ul95x59{min-width:340px}
|
|
26
18
|
._2hwx1ejb{margin-right:var(--ds-space-300,24px)}
|
|
27
19
|
._2hwxpxbi{margin-right:var(--ds-space-200,1pc)}
|
|
28
20
|
._2hwxu2gc{margin-right:var(--ds-space-100,8px)}
|
|
29
21
|
._2lx21bp4{flex-direction:column}
|
|
30
|
-
._4cvr1h6o{align-items:center}
|
|
31
22
|
._4t3i12am{height:50px}
|
|
32
|
-
._4t3i1ul9{height:30px}
|
|
33
23
|
._4t3i1wug{height:auto}
|
|
34
|
-
._4t3i53f4{height:75pt}
|
|
35
24
|
._4t3i7vkz{height:1pc}
|
|
36
25
|
._5ral1dfr{object-fit:cover}
|
|
37
|
-
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
38
26
|
._c71lx2si{max-height:265px}
|
|
39
27
|
._kqswstnw{position:absolute}
|
|
40
28
|
._otyr12x7{margin-bottom:var(--ds-space-075,6px)}
|
|
41
29
|
._otyrpxbi{margin-bottom:var(--ds-space-200,1pc)}
|
|
42
30
|
._s7n4jp4b{vertical-align:top}
|
|
43
|
-
.
|
|
44
|
-
._u5f31ejb{padding-right:var(--ds-space-300,24px)}
|
|
45
|
-
._uwhke4h9{border-top-width:var(--ds-border-width,1px)}
|
|
31
|
+
._syazazsu{color:var(--ds-text-subtle,#505258)}
|