@atlaskit/profilecard 26.21.10 → 26.21.11
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 +7 -0
- package/dist/cjs/client/addHeaders.js +1 -1
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/components/User/ProfileCardDetails.compiled.css +6 -1
- package/dist/cjs/components/User/ProfileCardDetails.js +6 -7
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/cjs/util/createEvent.js +1 -1
- package/dist/es2019/client/addHeaders.js +1 -1
- package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/es2019/components/User/ProfileCardDetails.compiled.css +6 -1
- package/dist/es2019/components/User/ProfileCardDetails.js +6 -7
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/es2019/util/createEvent.js +1 -1
- package/dist/esm/client/addHeaders.js +1 -1
- package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/esm/components/User/ProfileCardDetails.compiled.css +6 -1
- package/dist/esm/components/User/ProfileCardDetails.js +6 -7
- package/dist/esm/util/analytics.js +1 -1
- package/dist/esm/util/createEvent.js +1 -1
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 26.21.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c374b65f351df`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c374b65f351df) -
|
|
8
|
+
Use valid description-list semantics for profile card details.
|
|
9
|
+
|
|
3
10
|
## 26.21.10
|
|
4
11
|
|
|
5
12
|
### 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', "26.21.
|
|
14
|
+
headers.append('atl-client-version', "26.21.10");
|
|
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', "26.21.
|
|
14
|
+
headers.append('atl-client-version', "26.21.10");
|
|
15
15
|
return headers;
|
|
16
16
|
};
|
|
17
17
|
function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -7,16 +7,21 @@
|
|
|
7
7
|
._19pkxy5q{margin-top:var(--ds-space-400,2pc)}
|
|
8
8
|
._1bguutpp#profilecard-name-label{margin-bottom:var(--ds-space-150,9pt)}
|
|
9
9
|
._1bto1l2s{text-overflow:ellipsis}
|
|
10
|
+
._1e0c11p5{display:grid}
|
|
10
11
|
._1hpmutpp#profilecard-name-label{margin-top:var(--ds-space-150,9pt)}
|
|
11
12
|
._1hpmxy5q#profilecard-name-label{margin-top:var(--ds-space-400,2pc)}
|
|
13
|
+
._1p57utpp{row-gap:var(--ds-space-150,9pt)}
|
|
12
14
|
._1reo15vq{overflow-x:hidden}
|
|
13
15
|
._2hwxidpf{margin-right:0}
|
|
14
16
|
._2hwxze3t{margin-right:var(--ds-space-0,0)}
|
|
17
|
+
._4cvr1h6o{align-items:center}
|
|
15
18
|
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
19
|
+
._gy1pu2gc{column-gap:var(--ds-space-100,8px)}
|
|
16
20
|
._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
|
|
17
21
|
._o5721q9c{white-space:nowrap}
|
|
18
22
|
._otyridpf{margin-bottom:0}
|
|
19
23
|
._otyrze3t{margin-bottom:var(--ds-space-0,0)}
|
|
20
24
|
._syaz15cr{color:var(--ds-text-inverse,#fff)}
|
|
21
25
|
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
22
|
-
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
26
|
+
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
27
|
+
._yv0e1gl9{grid-template-columns:auto minmax(0,1fr)}
|
|
@@ -15,7 +15,6 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
15
15
|
var _react2 = require("@compiled/react");
|
|
16
16
|
var _reactIntl = require("react-intl");
|
|
17
17
|
var _lozenge = _interopRequireDefault(require("@atlaskit/lozenge/lozenge"));
|
|
18
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
19
18
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
20
19
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
21
20
|
var _Tooltip = _interopRequireDefault(require("@atlaskit/tooltip/Tooltip"));
|
|
@@ -27,7 +26,7 @@ var _ReportingLinesDetails = _interopRequireDefault(require("./ReportingLinesDet
|
|
|
27
26
|
var _excluded = ["text"];
|
|
28
27
|
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); }
|
|
29
28
|
var styles = {
|
|
30
|
-
detailedListWrapperNext: "_19pkxy5q _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
29
|
+
detailedListWrapperNext: "_1e0c11p5 _yv0e1gl9 _4cvr1h6o _gy1pu2gc _1p57utpp _19pkxy5q _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
31
30
|
fullNameLabel: "_1reo15vq _18m915vq _11c81d4k _1bto1l2s _o5721q9c",
|
|
32
31
|
noMetaLabel: "_vvzr1d4k _1hpmxy5q _1bguutpp",
|
|
33
32
|
metaLabel: "_2hwxidpf _otyridpf _18u0idpf _vvzr1d4k _1hpmutpp",
|
|
@@ -156,21 +155,21 @@ var ProfileCardDetails = exports.ProfileCardDetails = function ProfileCardDetail
|
|
|
156
155
|
return /*#__PURE__*/_react.default.createElement(_Card.DetailsGroup, null, renderName(props.nickname, props.fullName, meta, nameRef, isRenderedInPortal, isTriggeredUsingKeyboard), meta && /*#__PURE__*/_react.default.createElement(_Card.JobTitleLabel, null, meta), meta && props.customLozenges && props.customLozenges.length > 0 ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
157
156
|
paddingBlockStart: "space.150"
|
|
158
157
|
}, lozenges) : lozenges, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
159
|
-
as:
|
|
158
|
+
as: "dl",
|
|
160
159
|
xcss: styles.detailedListWrapperNext
|
|
161
160
|
}, /*#__PURE__*/_react.default.createElement(_IconLabel.default, {
|
|
162
161
|
icon: "email",
|
|
163
162
|
extraTopSpace: true,
|
|
164
|
-
isDescriptionListItem:
|
|
163
|
+
isDescriptionListItem: true
|
|
165
164
|
}, props.email), /*#__PURE__*/_react.default.createElement(_IconLabel.default, {
|
|
166
165
|
icon: "time",
|
|
167
|
-
isDescriptionListItem:
|
|
166
|
+
isDescriptionListItem: true
|
|
168
167
|
}, props.timestring), /*#__PURE__*/_react.default.createElement(_IconLabel.default, {
|
|
169
168
|
icon: "companyName",
|
|
170
|
-
isDescriptionListItem:
|
|
169
|
+
isDescriptionListItem: true
|
|
171
170
|
}, props.companyName), /*#__PURE__*/_react.default.createElement(_IconLabel.default, {
|
|
172
171
|
icon: "location",
|
|
173
|
-
isDescriptionListItem:
|
|
172
|
+
isDescriptionListItem: true
|
|
174
173
|
}, props.location)), /*#__PURE__*/_react.default.createElement(_ReportingLinesDetails.default, {
|
|
175
174
|
reportingLines: props.reportingLines,
|
|
176
175
|
reportingLinesProfileUrl: props.reportingLinesProfileUrl,
|
|
@@ -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 = "26.21.
|
|
10
|
+
packageVersion: (_process$env$_PACKAGE2 = "26.21.10") !== 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: "26.21.
|
|
25
|
+
packageVersion: "26.21.10"
|
|
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', "26.21.
|
|
8
|
+
headers.append('atl-client-version', "26.21.10");
|
|
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', "26.21.
|
|
9
|
+
headers.append('atl-client-version', "26.21.10");
|
|
10
10
|
return headers;
|
|
11
11
|
};
|
|
12
12
|
export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
|
|
@@ -7,16 +7,21 @@
|
|
|
7
7
|
._19pkxy5q{margin-top:var(--ds-space-400,2pc)}
|
|
8
8
|
._1bguutpp#profilecard-name-label{margin-bottom:var(--ds-space-150,9pt)}
|
|
9
9
|
._1bto1l2s{text-overflow:ellipsis}
|
|
10
|
+
._1e0c11p5{display:grid}
|
|
10
11
|
._1hpmutpp#profilecard-name-label{margin-top:var(--ds-space-150,9pt)}
|
|
11
12
|
._1hpmxy5q#profilecard-name-label{margin-top:var(--ds-space-400,2pc)}
|
|
13
|
+
._1p57utpp{row-gap:var(--ds-space-150,9pt)}
|
|
12
14
|
._1reo15vq{overflow-x:hidden}
|
|
13
15
|
._2hwxidpf{margin-right:0}
|
|
14
16
|
._2hwxze3t{margin-right:var(--ds-space-0,0)}
|
|
17
|
+
._4cvr1h6o{align-items:center}
|
|
15
18
|
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
19
|
+
._gy1pu2gc{column-gap:var(--ds-space-100,8px)}
|
|
16
20
|
._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
|
|
17
21
|
._o5721q9c{white-space:nowrap}
|
|
18
22
|
._otyridpf{margin-bottom:0}
|
|
19
23
|
._otyrze3t{margin-bottom:var(--ds-space-0,0)}
|
|
20
24
|
._syaz15cr{color:var(--ds-text-inverse,#fff)}
|
|
21
25
|
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
22
|
-
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
26
|
+
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
27
|
+
._yv0e1gl9{grid-template-columns:auto minmax(0,1fr)}
|
|
@@ -6,7 +6,6 @@ import React, { useRef } from 'react';
|
|
|
6
6
|
import { cx } from '@compiled/react';
|
|
7
7
|
import { FormattedMessage } from 'react-intl';
|
|
8
8
|
import Lozenge from '@atlaskit/lozenge/lozenge';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
10
9
|
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
11
10
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
12
11
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
@@ -16,7 +15,7 @@ import { AppTitleLabel, CustomLozengeContainer, DetailsGroup, DisabledInfo, JobT
|
|
|
16
15
|
import { default as IconLabel } from '../Icon/IconLabel';
|
|
17
16
|
import ReportingLinesDetails from './ReportingLinesDetails';
|
|
18
17
|
const styles = {
|
|
19
|
-
detailedListWrapperNext: "_19pkxy5q _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
18
|
+
detailedListWrapperNext: "_1e0c11p5 _yv0e1gl9 _4cvr1h6o _gy1pu2gc _1p57utpp _19pkxy5q _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
20
19
|
fullNameLabel: "_1reo15vq _18m915vq _11c81d4k _1bto1l2s _o5721q9c",
|
|
21
20
|
noMetaLabel: "_vvzr1d4k _1hpmxy5q _1bguutpp",
|
|
22
21
|
metaLabel: "_2hwxidpf _otyridpf _18u0idpf _vvzr1d4k _1hpmutpp",
|
|
@@ -150,21 +149,21 @@ export const ProfileCardDetails = props => {
|
|
|
150
149
|
return /*#__PURE__*/React.createElement(DetailsGroup, null, renderName(props.nickname, props.fullName, meta, nameRef, isRenderedInPortal, isTriggeredUsingKeyboard), meta && /*#__PURE__*/React.createElement(JobTitleLabel, null, meta), meta && props.customLozenges && props.customLozenges.length > 0 ? /*#__PURE__*/React.createElement(Box, {
|
|
151
150
|
paddingBlockStart: "space.150"
|
|
152
151
|
}, lozenges) : lozenges, /*#__PURE__*/React.createElement(Box, {
|
|
153
|
-
as:
|
|
152
|
+
as: "dl",
|
|
154
153
|
xcss: styles.detailedListWrapperNext
|
|
155
154
|
}, /*#__PURE__*/React.createElement(IconLabel, {
|
|
156
155
|
icon: "email",
|
|
157
156
|
extraTopSpace: true,
|
|
158
|
-
isDescriptionListItem:
|
|
157
|
+
isDescriptionListItem: true
|
|
159
158
|
}, props.email), /*#__PURE__*/React.createElement(IconLabel, {
|
|
160
159
|
icon: "time",
|
|
161
|
-
isDescriptionListItem:
|
|
160
|
+
isDescriptionListItem: true
|
|
162
161
|
}, props.timestring), /*#__PURE__*/React.createElement(IconLabel, {
|
|
163
162
|
icon: "companyName",
|
|
164
|
-
isDescriptionListItem:
|
|
163
|
+
isDescriptionListItem: true
|
|
165
164
|
}, props.companyName), /*#__PURE__*/React.createElement(IconLabel, {
|
|
166
165
|
icon: "location",
|
|
167
|
-
isDescriptionListItem:
|
|
166
|
+
isDescriptionListItem: true
|
|
168
167
|
}, props.location)), /*#__PURE__*/React.createElement(ReportingLinesDetails, {
|
|
169
168
|
reportingLines: props.reportingLines,
|
|
170
169
|
reportingLinesProfileUrl: props.reportingLinesProfileUrl,
|
|
@@ -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 = "26.21.
|
|
4
|
+
packageVersion: (_process$env$_PACKAGE2 = "26.21.10") !== 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: "26.21.
|
|
14
|
+
packageVersion: "26.21.10",
|
|
15
15
|
...attributes,
|
|
16
16
|
firedAt: Math.round(getPageTime())
|
|
17
17
|
}
|
|
@@ -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', "26.21.
|
|
8
|
+
headers.append('atl-client-version', "26.21.10");
|
|
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', "26.21.
|
|
7
|
+
headers.append('atl-client-version', "26.21.10");
|
|
8
8
|
return headers;
|
|
9
9
|
};
|
|
10
10
|
export function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -7,16 +7,21 @@
|
|
|
7
7
|
._19pkxy5q{margin-top:var(--ds-space-400,2pc)}
|
|
8
8
|
._1bguutpp#profilecard-name-label{margin-bottom:var(--ds-space-150,9pt)}
|
|
9
9
|
._1bto1l2s{text-overflow:ellipsis}
|
|
10
|
+
._1e0c11p5{display:grid}
|
|
10
11
|
._1hpmutpp#profilecard-name-label{margin-top:var(--ds-space-150,9pt)}
|
|
11
12
|
._1hpmxy5q#profilecard-name-label{margin-top:var(--ds-space-400,2pc)}
|
|
13
|
+
._1p57utpp{row-gap:var(--ds-space-150,9pt)}
|
|
12
14
|
._1reo15vq{overflow-x:hidden}
|
|
13
15
|
._2hwxidpf{margin-right:0}
|
|
14
16
|
._2hwxze3t{margin-right:var(--ds-space-0,0)}
|
|
17
|
+
._4cvr1h6o{align-items:center}
|
|
15
18
|
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
19
|
+
._gy1pu2gc{column-gap:var(--ds-space-100,8px)}
|
|
16
20
|
._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
|
|
17
21
|
._o5721q9c{white-space:nowrap}
|
|
18
22
|
._otyridpf{margin-bottom:0}
|
|
19
23
|
._otyrze3t{margin-bottom:var(--ds-space-0,0)}
|
|
20
24
|
._syaz15cr{color:var(--ds-text-inverse,#fff)}
|
|
21
25
|
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
22
|
-
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
26
|
+
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
27
|
+
._yv0e1gl9{grid-template-columns:auto minmax(0,1fr)}
|
|
@@ -8,7 +8,6 @@ import React, { useRef } from 'react';
|
|
|
8
8
|
import { cx } from '@compiled/react';
|
|
9
9
|
import { FormattedMessage } from 'react-intl';
|
|
10
10
|
import Lozenge from '@atlaskit/lozenge/lozenge';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
12
11
|
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
13
12
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
14
13
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
@@ -18,7 +17,7 @@ import { AppTitleLabel, CustomLozengeContainer, DetailsGroup, DisabledInfo, JobT
|
|
|
18
17
|
import { default as IconLabel } from '../Icon/IconLabel';
|
|
19
18
|
import ReportingLinesDetails from './ReportingLinesDetails';
|
|
20
19
|
var styles = {
|
|
21
|
-
detailedListWrapperNext: "_19pkxy5q _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
20
|
+
detailedListWrapperNext: "_1e0c11p5 _yv0e1gl9 _4cvr1h6o _gy1pu2gc _1p57utpp _19pkxy5q _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
22
21
|
fullNameLabel: "_1reo15vq _18m915vq _11c81d4k _1bto1l2s _o5721q9c",
|
|
23
22
|
noMetaLabel: "_vvzr1d4k _1hpmxy5q _1bguutpp",
|
|
24
23
|
metaLabel: "_2hwxidpf _otyridpf _18u0idpf _vvzr1d4k _1hpmutpp",
|
|
@@ -147,21 +146,21 @@ export var ProfileCardDetails = function ProfileCardDetails(props) {
|
|
|
147
146
|
return /*#__PURE__*/React.createElement(DetailsGroup, null, renderName(props.nickname, props.fullName, meta, nameRef, isRenderedInPortal, isTriggeredUsingKeyboard), meta && /*#__PURE__*/React.createElement(JobTitleLabel, null, meta), meta && props.customLozenges && props.customLozenges.length > 0 ? /*#__PURE__*/React.createElement(Box, {
|
|
148
147
|
paddingBlockStart: "space.150"
|
|
149
148
|
}, lozenges) : lozenges, /*#__PURE__*/React.createElement(Box, {
|
|
150
|
-
as:
|
|
149
|
+
as: "dl",
|
|
151
150
|
xcss: styles.detailedListWrapperNext
|
|
152
151
|
}, /*#__PURE__*/React.createElement(IconLabel, {
|
|
153
152
|
icon: "email",
|
|
154
153
|
extraTopSpace: true,
|
|
155
|
-
isDescriptionListItem:
|
|
154
|
+
isDescriptionListItem: true
|
|
156
155
|
}, props.email), /*#__PURE__*/React.createElement(IconLabel, {
|
|
157
156
|
icon: "time",
|
|
158
|
-
isDescriptionListItem:
|
|
157
|
+
isDescriptionListItem: true
|
|
159
158
|
}, props.timestring), /*#__PURE__*/React.createElement(IconLabel, {
|
|
160
159
|
icon: "companyName",
|
|
161
|
-
isDescriptionListItem:
|
|
160
|
+
isDescriptionListItem: true
|
|
162
161
|
}, props.companyName), /*#__PURE__*/React.createElement(IconLabel, {
|
|
163
162
|
icon: "location",
|
|
164
|
-
isDescriptionListItem:
|
|
163
|
+
isDescriptionListItem: true
|
|
165
164
|
}, props.location)), /*#__PURE__*/React.createElement(ReportingLinesDetails, {
|
|
166
165
|
reportingLines: props.reportingLines,
|
|
167
166
|
reportingLinesProfileUrl: props.reportingLinesProfileUrl,
|
|
@@ -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 = "26.21.
|
|
4
|
+
packageVersion: (_process$env$_PACKAGE2 = "26.21.10") !== 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: "26.21.
|
|
19
|
+
packageVersion: "26.21.10"
|
|
20
20
|
}, attributes), {}, {
|
|
21
21
|
firedAt: Math.round(getPageTime())
|
|
22
22
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "26.21.
|
|
3
|
+
"version": "26.21.11",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -119,9 +119,6 @@
|
|
|
119
119
|
"manual-studio-entry-link": {
|
|
120
120
|
"type": "boolean"
|
|
121
121
|
},
|
|
122
|
-
"ptc-a11y-42024-profilecard-details-list": {
|
|
123
|
-
"type": "boolean"
|
|
124
|
-
},
|
|
125
122
|
"enable_ptc_townsquare_reporting_lines_unsharded": {
|
|
126
123
|
"type": "boolean"
|
|
127
124
|
},
|