@atlaskit/profilecard 20.12.0 → 20.12.2
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 +14 -0
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/components/Team/TeamProfileCardTrigger.js +1 -3
- package/dist/cjs/components/User/ProfileCardDetails.js +1 -2
- package/dist/cjs/components/User/ProfileCardTrigger.js +1 -3
- package/dist/cjs/components/common/ProfileCardTrigger.js +15 -11
- package/dist/cjs/styled/ReportingLines.js +4 -8
- 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/Team/TeamProfileCardTrigger.js +1 -3
- package/dist/es2019/components/User/ProfileCardDetails.js +1 -2
- package/dist/es2019/components/User/ProfileCardTrigger.js +1 -3
- package/dist/es2019/components/common/ProfileCardTrigger.js +4 -1
- package/dist/es2019/styled/ReportingLines.js +2 -6
- 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/Team/TeamProfileCardTrigger.js +1 -3
- package/dist/esm/components/User/ProfileCardDetails.js +1 -2
- package/dist/esm/components/User/ProfileCardTrigger.js +1 -3
- package/dist/esm/components/common/ProfileCardTrigger.js +15 -11
- package/dist/esm/styled/ReportingLines.js +2 -6
- package/dist/esm/util/analytics.js +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 20.12.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 20.12.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#167430](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/167430)
|
|
14
|
+
[`c01f64d7d85f5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c01f64d7d85f5) -
|
|
15
|
+
Replace hard-coded font size with design tokens
|
|
16
|
+
|
|
3
17
|
## 20.12.0
|
|
4
18
|
|
|
5
19
|
### 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', "20.12.
|
|
14
|
+
headers.append('atl-client-version', "20.12.2");
|
|
15
15
|
return headers;
|
|
16
16
|
};
|
|
17
17
|
function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -57,7 +57,7 @@ var addHeaders = exports.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', "20.12.
|
|
60
|
+
headers.append('atl-client-version', "20.12.2");
|
|
61
61
|
return headers;
|
|
62
62
|
};
|
|
63
63
|
function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -372,9 +372,7 @@ var TeamProfileCardTriggerInternal = exports.TeamProfileCardTriggerInternal = /*
|
|
|
372
372
|
return _this4.renderTrigger(triggerProps);
|
|
373
373
|
},
|
|
374
374
|
zIndex: _constants.layers.modal(),
|
|
375
|
-
shouldFlip: true
|
|
376
|
-
// eslint-disable-next-line jsx-a11y/no-autofocus
|
|
377
|
-
,
|
|
375
|
+
shouldFlip: true,
|
|
378
376
|
autoFocus: this.props.trigger !== 'hover' && !this.openedByHover,
|
|
379
377
|
shouldRenderToParent: (0, _platformFeatureFlags.fg)('enable_appropriate_reading_order_in_profile_card')
|
|
380
378
|
}));
|
|
@@ -26,8 +26,7 @@ var fullNameLabelStyles = (0, _primitives.xcss)({
|
|
|
26
26
|
overflow: 'hidden',
|
|
27
27
|
textOverflow: 'ellipsis',
|
|
28
28
|
whiteSpace: 'nowrap',
|
|
29
|
-
fontSize:
|
|
30
|
-
fontWeight: '400',
|
|
29
|
+
fontSize: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
31
30
|
letterSpacing: 'normal',
|
|
32
31
|
lineHeight: "".concat(24 / 18, "em")
|
|
33
32
|
});
|
|
@@ -381,9 +381,7 @@ function ProfilecardTriggerNext(_ref2) {
|
|
|
381
381
|
}), children);
|
|
382
382
|
},
|
|
383
383
|
zIndex: _constants.layers.modal(),
|
|
384
|
-
shouldUseCaptureOnOutsideClick: true
|
|
385
|
-
// eslint-disable-next-line jsx-a11y/no-autofocus
|
|
386
|
-
,
|
|
384
|
+
shouldUseCaptureOnOutsideClick: true,
|
|
387
385
|
autoFocus: autoFocus !== null && autoFocus !== void 0 ? autoFocus : trigger === 'click'
|
|
388
386
|
// This feature gate is currently enabled only for Jira_Web to avoid UI issues in Confluence_Web.
|
|
389
387
|
,
|
|
@@ -109,17 +109,21 @@ function ProfileCardTrigger(_ref) {
|
|
|
109
109
|
}));
|
|
110
110
|
},
|
|
111
111
|
content: function content() {
|
|
112
|
-
return
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
112
|
+
return (
|
|
113
|
+
/*#__PURE__*/
|
|
114
|
+
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
115
|
+
_react.default.createElement("div", {
|
|
116
|
+
onMouseEnter: onMouseEnter,
|
|
117
|
+
onMouseLeave: hideProfilecard,
|
|
118
|
+
onFocus: showProfilecard
|
|
119
|
+
}, isLoading ? /*#__PURE__*/_react.default.createElement(_ProfileCardWrapper.ProfileCardWrapper, null, /*#__PURE__*/_react.default.createElement(_LoadingState.LoadingState, {
|
|
120
|
+
fireAnalytics: fireAnalytics,
|
|
121
|
+
profileType: profileCardType
|
|
122
|
+
})) : renderProfileCard({
|
|
123
|
+
profileData: profileData,
|
|
124
|
+
error: error
|
|
125
|
+
}))
|
|
126
|
+
);
|
|
123
127
|
}
|
|
124
128
|
}));
|
|
125
129
|
}
|
|
@@ -6,8 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.ReportingLinesSection = exports.ReportingLinesHeading = exports.OffsetWrapper = exports.ManagerSection = exports.ManagerName = void 0;
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
|
-
var _constants = require("
|
|
10
|
-
var _constants2 = require("./constants");
|
|
9
|
+
var _constants = require("./constants");
|
|
11
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
11
|
|
|
13
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -20,10 +19,8 @@ var ReportingLinesSection = exports.ReportingLinesSection = _styled.default.div(
|
|
|
20
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
21
20
|
var ReportingLinesHeading = exports.ReportingLinesHeading = _styled.default.h3({
|
|
22
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
23
|
-
color:
|
|
24
|
-
|
|
25
|
-
fontSize: "".concat((0, _constants.gridSize)() * 1.5, "px"),
|
|
26
|
-
fontWeight: 600,
|
|
22
|
+
color: _constants.appLabelTextColor,
|
|
23
|
+
font: "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
27
24
|
marginBottom: "var(--ds-space-100, 8px)"
|
|
28
25
|
});
|
|
29
26
|
|
|
@@ -36,8 +33,7 @@ var ManagerSection = exports.ManagerSection = _styled.default.div({
|
|
|
36
33
|
|
|
37
34
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
38
35
|
var ManagerName = exports.ManagerName = _styled.default.span({
|
|
39
|
-
|
|
40
|
-
fontSize: "".concat((0, _constants.gridSize)() * 1.5, "px"),
|
|
36
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
41
37
|
marginLeft: "var(--ds-space-100, 8px)"
|
|
42
38
|
});
|
|
43
39
|
|
|
@@ -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: "20.12.
|
|
48
|
+
packageVersion: "20.12.2"
|
|
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', "20.12.
|
|
9
|
+
headers.append('atl-client-version', "20.12.2");
|
|
10
10
|
return headers;
|
|
11
11
|
};
|
|
12
12
|
export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
|
|
@@ -67,7 +67,7 @@ export const addHeaders = headers => {
|
|
|
67
67
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
68
68
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
69
69
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
70
|
-
headers.append('atl-client-version', "20.12.
|
|
70
|
+
headers.append('atl-client-version', "20.12.2");
|
|
71
71
|
return headers;
|
|
72
72
|
};
|
|
73
73
|
export async function getTeamFromAGG(url, teamId, siteId) {
|
|
@@ -327,9 +327,7 @@ export class TeamProfileCardTriggerInternal extends React.PureComponent {
|
|
|
327
327
|
content: this.renderProfileCard,
|
|
328
328
|
trigger: triggerProps => this.renderTrigger(triggerProps),
|
|
329
329
|
zIndex: layers.modal(),
|
|
330
|
-
shouldFlip: true
|
|
331
|
-
// eslint-disable-next-line jsx-a11y/no-autofocus
|
|
332
|
-
,
|
|
330
|
+
shouldFlip: true,
|
|
333
331
|
autoFocus: this.props.trigger !== 'hover' && !this.openedByHover,
|
|
334
332
|
shouldRenderToParent: fg('enable_appropriate_reading_order_in_profile_card')
|
|
335
333
|
}));
|
|
@@ -17,8 +17,7 @@ const fullNameLabelStyles = xcss({
|
|
|
17
17
|
overflow: 'hidden',
|
|
18
18
|
textOverflow: 'ellipsis',
|
|
19
19
|
whiteSpace: 'nowrap',
|
|
20
|
-
fontSize:
|
|
21
|
-
fontWeight: '400',
|
|
20
|
+
fontSize: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
22
21
|
letterSpacing: 'normal',
|
|
23
22
|
lineHeight: `${24 / 18}em`
|
|
24
23
|
});
|
|
@@ -313,9 +313,7 @@ export default function ProfilecardTriggerNext({
|
|
|
313
313
|
}), children);
|
|
314
314
|
},
|
|
315
315
|
zIndex: layers.modal(),
|
|
316
|
-
shouldUseCaptureOnOutsideClick: true
|
|
317
|
-
// eslint-disable-next-line jsx-a11y/no-autofocus
|
|
318
|
-
,
|
|
316
|
+
shouldUseCaptureOnOutsideClick: true,
|
|
319
317
|
autoFocus: autoFocus !== null && autoFocus !== void 0 ? autoFocus : trigger === 'click'
|
|
320
318
|
// This feature gate is currently enabled only for Jira_Web to avoid UI issues in Confluence_Web.
|
|
321
319
|
,
|
|
@@ -85,7 +85,10 @@ function ProfileCardTrigger({
|
|
|
85
85
|
trigger: trigger
|
|
86
86
|
}));
|
|
87
87
|
},
|
|
88
|
-
content: () =>
|
|
88
|
+
content: () =>
|
|
89
|
+
/*#__PURE__*/
|
|
90
|
+
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
91
|
+
React.createElement("div", {
|
|
89
92
|
onMouseEnter: onMouseEnter,
|
|
90
93
|
onMouseLeave: hideProfilecard,
|
|
91
94
|
onFocus: showProfilecard
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
4
3
|
import { appLabelTextColor } from './constants';
|
|
5
4
|
|
|
6
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -14,9 +13,7 @@ export const ReportingLinesSection = styled.div({
|
|
|
14
13
|
export const ReportingLinesHeading = styled.h3({
|
|
15
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
16
15
|
color: appLabelTextColor,
|
|
17
|
-
|
|
18
|
-
fontSize: `${gridSize() * 1.5}px`,
|
|
19
|
-
fontWeight: 600,
|
|
16
|
+
font: "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
20
17
|
marginBottom: "var(--ds-space-100, 8px)"
|
|
21
18
|
});
|
|
22
19
|
|
|
@@ -29,8 +26,7 @@ export const ManagerSection = styled.div({
|
|
|
29
26
|
|
|
30
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
31
28
|
export const ManagerName = styled.span({
|
|
32
|
-
|
|
33
|
-
fontSize: `${gridSize() * 1.5}px`,
|
|
29
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
34
30
|
marginLeft: "var(--ds-space-100, 8px)"
|
|
35
31
|
});
|
|
36
32
|
|
|
@@ -32,7 +32,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
|
|
|
32
32
|
actionSubjectId,
|
|
33
33
|
attributes: {
|
|
34
34
|
packageName: "@atlaskit/profilecard",
|
|
35
|
-
packageVersion: "20.12.
|
|
35
|
+
packageVersion: "20.12.2",
|
|
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', "20.12.
|
|
7
|
+
headers.append('atl-client-version', "20.12.2");
|
|
8
8
|
return headers;
|
|
9
9
|
};
|
|
10
10
|
export function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -48,7 +48,7 @@ export var addHeaders = function addHeaders(headers) {
|
|
|
48
48
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
49
49
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
50
50
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
51
|
-
headers.append('atl-client-version', "20.12.
|
|
51
|
+
headers.append('atl-client-version', "20.12.2");
|
|
52
52
|
return headers;
|
|
53
53
|
};
|
|
54
54
|
export function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -362,9 +362,7 @@ export var TeamProfileCardTriggerInternal = /*#__PURE__*/function (_React$PureCo
|
|
|
362
362
|
return _this4.renderTrigger(triggerProps);
|
|
363
363
|
},
|
|
364
364
|
zIndex: layers.modal(),
|
|
365
|
-
shouldFlip: true
|
|
366
|
-
// eslint-disable-next-line jsx-a11y/no-autofocus
|
|
367
|
-
,
|
|
365
|
+
shouldFlip: true,
|
|
368
366
|
autoFocus: this.props.trigger !== 'hover' && !this.openedByHover,
|
|
369
367
|
shouldRenderToParent: fg('enable_appropriate_reading_order_in_profile_card')
|
|
370
368
|
}));
|
|
@@ -19,8 +19,7 @@ var fullNameLabelStyles = xcss({
|
|
|
19
19
|
overflow: 'hidden',
|
|
20
20
|
textOverflow: 'ellipsis',
|
|
21
21
|
whiteSpace: 'nowrap',
|
|
22
|
-
fontSize:
|
|
23
|
-
fontWeight: '400',
|
|
22
|
+
fontSize: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
24
23
|
letterSpacing: 'normal',
|
|
25
24
|
lineHeight: "".concat(24 / 18, "em")
|
|
26
25
|
});
|
|
@@ -371,9 +371,7 @@ export default function ProfilecardTriggerNext(_ref2) {
|
|
|
371
371
|
}), children);
|
|
372
372
|
},
|
|
373
373
|
zIndex: layers.modal(),
|
|
374
|
-
shouldUseCaptureOnOutsideClick: true
|
|
375
|
-
// eslint-disable-next-line jsx-a11y/no-autofocus
|
|
376
|
-
,
|
|
374
|
+
shouldUseCaptureOnOutsideClick: true,
|
|
377
375
|
autoFocus: autoFocus !== null && autoFocus !== void 0 ? autoFocus : trigger === 'click'
|
|
378
376
|
// This feature gate is currently enabled only for Jira_Web to avoid UI issues in Confluence_Web.
|
|
379
377
|
,
|
|
@@ -99,17 +99,21 @@ function ProfileCardTrigger(_ref) {
|
|
|
99
99
|
}));
|
|
100
100
|
},
|
|
101
101
|
content: function content() {
|
|
102
|
-
return
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
102
|
+
return (
|
|
103
|
+
/*#__PURE__*/
|
|
104
|
+
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
105
|
+
React.createElement("div", {
|
|
106
|
+
onMouseEnter: onMouseEnter,
|
|
107
|
+
onMouseLeave: hideProfilecard,
|
|
108
|
+
onFocus: showProfilecard
|
|
109
|
+
}, isLoading ? /*#__PURE__*/React.createElement(ProfileCardWrapper, null, /*#__PURE__*/React.createElement(LoadingState, {
|
|
110
|
+
fireAnalytics: fireAnalytics,
|
|
111
|
+
profileType: profileCardType
|
|
112
|
+
})) : renderProfileCard({
|
|
113
|
+
profileData: profileData,
|
|
114
|
+
error: error
|
|
115
|
+
}))
|
|
116
|
+
);
|
|
113
117
|
}
|
|
114
118
|
}));
|
|
115
119
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
4
3
|
import { appLabelTextColor } from './constants';
|
|
5
4
|
|
|
6
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -14,9 +13,7 @@ export var ReportingLinesSection = styled.div({
|
|
|
14
13
|
export var ReportingLinesHeading = styled.h3({
|
|
15
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
16
15
|
color: appLabelTextColor,
|
|
17
|
-
|
|
18
|
-
fontSize: "".concat(gridSize() * 1.5, "px"),
|
|
19
|
-
fontWeight: 600,
|
|
16
|
+
font: "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
20
17
|
marginBottom: "var(--ds-space-100, 8px)"
|
|
21
18
|
});
|
|
22
19
|
|
|
@@ -29,8 +26,7 @@ export var ManagerSection = styled.div({
|
|
|
29
26
|
|
|
30
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
31
28
|
export var ManagerName = styled.span({
|
|
32
|
-
|
|
33
|
-
fontSize: "".concat(gridSize() * 1.5, "px"),
|
|
29
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
34
30
|
marginLeft: "var(--ds-space-100, 8px)"
|
|
35
31
|
});
|
|
36
32
|
|
|
@@ -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: "20.12.
|
|
42
|
+
packageVersion: "20.12.2"
|
|
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": "20.12.
|
|
3
|
+
"version": "20.12.2",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -55,22 +55,22 @@
|
|
|
55
55
|
"@atlaskit/avatar": "^21.17.0",
|
|
56
56
|
"@atlaskit/avatar-group": "^10.0.0",
|
|
57
57
|
"@atlaskit/button": "^20.3.0",
|
|
58
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
58
|
+
"@atlaskit/dropdown-menu": "^12.23.0",
|
|
59
59
|
"@atlaskit/empty-state": "^7.12.0",
|
|
60
|
-
"@atlaskit/focus-ring": "^
|
|
60
|
+
"@atlaskit/focus-ring": "^2.0.0",
|
|
61
61
|
"@atlaskit/give-kudos": "^2.3.0",
|
|
62
|
-
"@atlaskit/icon": "^22.
|
|
62
|
+
"@atlaskit/icon": "^22.26.0",
|
|
63
63
|
"@atlaskit/lozenge": "^11.12.0",
|
|
64
64
|
"@atlaskit/menu": "^2.13.0",
|
|
65
65
|
"@atlaskit/modal-dialog": "^12.17.0",
|
|
66
66
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
67
67
|
"@atlaskit/popup": "^1.29.0",
|
|
68
|
-
"@atlaskit/primitives": "^13.
|
|
69
|
-
"@atlaskit/rovo-agent-components": "^1.
|
|
70
|
-
"@atlaskit/rovo-triggers": "^1.
|
|
68
|
+
"@atlaskit/primitives": "^13.3.0",
|
|
69
|
+
"@atlaskit/rovo-agent-components": "^1.14.0",
|
|
70
|
+
"@atlaskit/rovo-triggers": "^1.4.0",
|
|
71
71
|
"@atlaskit/spinner": "^16.3.0",
|
|
72
72
|
"@atlaskit/theme": "^14.0.0",
|
|
73
|
-
"@atlaskit/tokens": "^2.
|
|
73
|
+
"@atlaskit/tokens": "^2.3.0",
|
|
74
74
|
"@atlaskit/tooltip": "^18.9.0",
|
|
75
75
|
"@babel/runtime": "^7.0.0",
|
|
76
76
|
"@emotion/react": "^11.7.1",
|