@atlaskit/profilecard 19.5.14 → 19.6.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 19.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#41158](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41158) [`573b0c53f09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/573b0c53f09) - [ux] Replaced h5 to h3
8
+
3
9
  ## 19.5.14
4
10
 
5
11
  ### Patch Changes
@@ -60,7 +60,7 @@ var addHeaders = exports.addHeaders = function addHeaders(headers) {
60
60
  headers.append('X-ExperimentalApi', 'teams-beta');
61
61
  headers.append('X-ExperimentalApi', 'team-members-beta');
62
62
  headers.append('atl-client-name', "@atlaskit/profilecard");
63
- headers.append('atl-client-version', "19.5.14");
63
+ headers.append('atl-client-version', "19.6.0");
64
64
  return headers;
65
65
  };
66
66
  function getTeamFromAGG(_x, _x2, _x3) {
@@ -11,7 +11,7 @@ var _constants = require("@atlaskit/theme/constants");
11
11
  var _constants2 = require("./constants");
12
12
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
13
13
  var ReportingLinesSection = exports.ReportingLinesSection = _styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n // Minor left margin to align better with existing icon fields\n margin-left: ", ";\n margin-top: ", ";\n"])), "var(--ds-space-050, 4px)", "var(--ds-space-100, 8px)");
14
- var ReportingLinesHeading = exports.ReportingLinesHeading = _styled.default.h5(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n color: ", ";\n font-size: ", "px;\n font-weight: 600;\n margin-bottom: ", ";\n"])), _constants2.appLabelTextColor, (0, _constants.gridSize)() * 1.5, "var(--ds-space-100, 8px)");
14
+ var ReportingLinesHeading = exports.ReportingLinesHeading = _styled.default.h3(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n color: ", ";\n font-size: ", "px;\n font-weight: 600;\n margin-bottom: ", ";\n"])), _constants2.appLabelTextColor, (0, _constants.gridSize)() * 1.5, "var(--ds-space-100, 8px)");
15
15
  var ManagerSection = exports.ManagerSection = _styled.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n margin: ", " ", ";\n"])), "var(--ds-space-050, 4px)", "var(--ds-space-050, 4px)");
16
16
  var ManagerName = exports.ManagerName = _styled.default.span(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n font-size: ", "px;\n margin-left: ", ";\n"])), (0, _constants.gridSize)() * 1.5, "var(--ds-space-100, 8px)");
17
17
  var OffsetWrapper = exports.OffsetWrapper = _styled.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n margin-top: ", ";\n // Offset left margin so the avatar aligns with the heading\n margin-left: ", ";\n"])), "var(--ds-space-050, 4px)", "var(--ds-space-negative-050, -4px)");
@@ -44,7 +44,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
44
44
  actionSubjectId: actionSubjectId,
45
45
  attributes: _objectSpread(_objectSpread({
46
46
  packageName: "@atlaskit/profilecard",
47
- packageVersion: "19.5.14"
47
+ packageVersion: "19.6.0"
48
48
  }, attributes), {}, {
49
49
  firedAt: Math.round((0, _performance.getPageTime)())
50
50
  })
@@ -77,7 +77,7 @@ export const addHeaders = headers => {
77
77
  headers.append('X-ExperimentalApi', 'teams-beta');
78
78
  headers.append('X-ExperimentalApi', 'team-members-beta');
79
79
  headers.append('atl-client-name', "@atlaskit/profilecard");
80
- headers.append('atl-client-version', "19.5.14");
80
+ headers.append('atl-client-version', "19.6.0");
81
81
  return headers;
82
82
  };
83
83
  export async function getTeamFromAGG(url, teamId, siteId) {
@@ -6,7 +6,7 @@ export const ReportingLinesSection = styled.div`
6
6
  margin-left: ${"var(--ds-space-050, 4px)"};
7
7
  margin-top: ${"var(--ds-space-100, 8px)"};
8
8
  `;
9
- export const ReportingLinesHeading = styled.h5`
9
+ export const ReportingLinesHeading = styled.h3`
10
10
  color: ${appLabelTextColor};
11
11
  font-size: ${gridSize() * 1.5}px;
12
12
  font-weight: 600;
@@ -31,7 +31,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
31
31
  actionSubjectId,
32
32
  attributes: {
33
33
  packageName: "@atlaskit/profilecard",
34
- packageVersion: "19.5.14",
34
+ packageVersion: "19.6.0",
35
35
  ...attributes,
36
36
  firedAt: Math.round(getPageTime())
37
37
  }
@@ -51,7 +51,7 @@ export var addHeaders = function addHeaders(headers) {
51
51
  headers.append('X-ExperimentalApi', 'teams-beta');
52
52
  headers.append('X-ExperimentalApi', 'team-members-beta');
53
53
  headers.append('atl-client-name', "@atlaskit/profilecard");
54
- headers.append('atl-client-version', "19.5.14");
54
+ headers.append('atl-client-version', "19.6.0");
55
55
  return headers;
56
56
  };
57
57
  export function getTeamFromAGG(_x, _x2, _x3) {
@@ -4,7 +4,7 @@ import styled from '@emotion/styled';
4
4
  import { gridSize } from '@atlaskit/theme/constants';
5
5
  import { appLabelTextColor } from './constants';
6
6
  export var ReportingLinesSection = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n // Minor left margin to align better with existing icon fields\n margin-left: ", ";\n margin-top: ", ";\n"])), "var(--ds-space-050, 4px)", "var(--ds-space-100, 8px)");
7
- export var ReportingLinesHeading = styled.h5(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n color: ", ";\n font-size: ", "px;\n font-weight: 600;\n margin-bottom: ", ";\n"])), appLabelTextColor, gridSize() * 1.5, "var(--ds-space-100, 8px)");
7
+ export var ReportingLinesHeading = styled.h3(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n color: ", ";\n font-size: ", "px;\n font-weight: 600;\n margin-bottom: ", ";\n"])), appLabelTextColor, gridSize() * 1.5, "var(--ds-space-100, 8px)");
8
8
  export var ManagerSection = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin: ", " ", ";\n"])), "var(--ds-space-050, 4px)", "var(--ds-space-050, 4px)");
9
9
  export var ManagerName = styled.span(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n font-size: ", "px;\n margin-left: ", ";\n"])), gridSize() * 1.5, "var(--ds-space-100, 8px)");
10
10
  export var OffsetWrapper = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-top: ", ";\n // Offset left margin so the avatar aligns with the heading\n margin-left: ", ";\n"])), "var(--ds-space-050, 4px)", "var(--ds-space-negative-050, -4px)");
@@ -38,7 +38,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
38
38
  actionSubjectId: actionSubjectId,
39
39
  attributes: _objectSpread(_objectSpread({
40
40
  packageName: "@atlaskit/profilecard",
41
- packageVersion: "19.5.14"
41
+ packageVersion: "19.6.0"
42
42
  }, attributes), {}, {
43
43
  firedAt: Math.round(getPageTime())
44
44
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "19.5.14",
3
+ "version": "19.6.0",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"