@atlaskit/profilecard 23.2.6 → 23.3.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/afm-cc/tsconfig.json +3 -0
  3. package/afm-jira/tsconfig.json +3 -0
  4. package/afm-post-office/tsconfig.json +3 -0
  5. package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
  6. package/dist/cjs/client/getTeamFromAGG.js +1 -1
  7. package/dist/cjs/components/team-profile-card/index.js +12 -0
  8. package/dist/cjs/components/team-profile-card/main.compiled.css +32 -0
  9. package/dist/cjs/components/team-profile-card/main.js +115 -0
  10. package/dist/cjs/components/team-profile-card/mocks.js +25 -0
  11. package/dist/cjs/index.js +7 -0
  12. package/dist/cjs/util/analytics.js +1 -1
  13. package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
  14. package/dist/es2019/client/getTeamFromAGG.js +1 -1
  15. package/dist/es2019/components/team-profile-card/index.js +1 -0
  16. package/dist/es2019/components/team-profile-card/main.compiled.css +32 -0
  17. package/dist/es2019/components/team-profile-card/main.js +104 -0
  18. package/dist/es2019/components/team-profile-card/mocks.js +19 -0
  19. package/dist/es2019/index.js +2 -0
  20. package/dist/es2019/util/analytics.js +1 -1
  21. package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
  22. package/dist/esm/client/getTeamFromAGG.js +1 -1
  23. package/dist/esm/components/team-profile-card/index.js +1 -0
  24. package/dist/esm/components/team-profile-card/main.compiled.css +32 -0
  25. package/dist/esm/components/team-profile-card/main.js +108 -0
  26. package/dist/esm/components/team-profile-card/mocks.js +19 -0
  27. package/dist/esm/index.js +2 -0
  28. package/dist/esm/util/analytics.js +1 -1
  29. package/dist/types/components/team-profile-card/index.d.ts +1 -0
  30. package/dist/types/components/team-profile-card/main.d.ts +15 -0
  31. package/dist/types/components/team-profile-card/mocks.d.ts +15 -0
  32. package/dist/types/index.d.ts +2 -0
  33. package/dist/types-ts4.5/components/team-profile-card/index.d.ts +1 -0
  34. package/dist/types-ts4.5/components/team-profile-card/main.d.ts +15 -0
  35. package/dist/types-ts4.5/components/team-profile-card/mocks.d.ts +15 -0
  36. package/dist/types-ts4.5/index.d.ts +2 -0
  37. package/package.json +2 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 23.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#123898](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/123898)
8
+ [`3ff6294e62c49`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3ff6294e62c49) -
9
+ Adding a new Team profile card for Team button
10
+
3
11
  ## 23.2.6
4
12
 
5
13
  ### Patch Changes
@@ -47,6 +47,9 @@
47
47
  {
48
48
  "path": "../../../team-central/give-kudos/afm-cc/tsconfig.json"
49
49
  },
50
+ {
51
+ "path": "../../../design-system/heading/afm-cc/tsconfig.json"
52
+ },
50
53
  {
51
54
  "path": "../../../design-system/icon/afm-cc/tsconfig.json"
52
55
  },
@@ -47,6 +47,9 @@
47
47
  {
48
48
  "path": "../../../team-central/give-kudos/afm-jira/tsconfig.json"
49
49
  },
50
+ {
51
+ "path": "../../../design-system/heading/afm-jira/tsconfig.json"
52
+ },
50
53
  {
51
54
  "path": "../../../design-system/icon/afm-jira/tsconfig.json"
52
55
  },
@@ -47,6 +47,9 @@
47
47
  {
48
48
  "path": "../../../team-central/give-kudos/afm-post-office/tsconfig.json"
49
49
  },
50
+ {
51
+ "path": "../../../design-system/heading/afm-post-office/tsconfig.json"
52
+ },
50
53
  {
51
54
  "path": "../../../design-system/icon/afm-post-office/tsconfig.json"
52
55
  },
@@ -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', "23.2.6");
14
+ headers.append('atl-client-version', "23.3.0");
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', "23.2.6");
69
+ headers.append('atl-client-version', "23.3.0");
70
70
  return headers;
71
71
  };
72
72
  function getTeamFromAGG(_x, _x2, _x3) {
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "TeamProfileCard", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _main.TeamProfileCard;
10
+ }
11
+ });
12
+ var _main = require("./main");
@@ -0,0 +1,32 @@
1
+
2
+ ._2rkoiti9{border-radius:var(--ds-border-radius-100,4px)}
3
+ ._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}
4
+ ._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)}._15a5nqa1{border-top-style:solid}
8
+ ._18m915vq{overflow-y:hidden}
9
+ ._18u0utpp{margin-left:var(--ds-space-150,9pt)}
10
+ ._19pkpxbi{margin-top:var(--ds-space-200,1pc)}
11
+ ._19pkxy5q{margin-top:var(--ds-space-400,2pc)}
12
+ ._1bsb1osq{width:100%}
13
+ ._1bsb1w8u{width:80%}
14
+ ._1bsb5x59{width:340px}
15
+ ._1bsbvbgk{width:4pc}
16
+ ._1e0c1txw{display:flex}
17
+ ._1i53muej{border-top-color:var(--ds-border,#091e4224)}
18
+ ._1reo15vq{overflow-x:hidden}
19
+ ._1ul95x59{min-width:340px}
20
+ ._2hwxutpp{margin-right:var(--ds-space-150,9pt)}
21
+ ._2lx21bp4{flex-direction:column}
22
+ ._4cvr1h6o{align-items:center}
23
+ ._4t3i1ul9{height:30px}
24
+ ._4t3i1wug{height:auto}
25
+ ._4t3ivbgk{height:4pc}
26
+ ._5ral1dfr{object-fit:cover}
27
+ ._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
28
+ ._c71l53f4{max-height:75pt}
29
+ ._kqswstnw{position:absolute}
30
+ ._otyrpxbi{margin-bottom:var(--ds-space-200,1pc)}
31
+ ._s7n4jp4b{vertical-align:top}
32
+ ._uwhke4h9{border-top-width:var(--ds-border-width,1px)}
@@ -0,0 +1,115 @@
1
+ /* main.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ "use strict";
3
+
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.TeamProfileCard = void 0;
9
+ require("./main.compiled.css");
10
+ var _runtime = require("@compiled/react/runtime");
11
+ var _react = _interopRequireDefault(require("react"));
12
+ var _reactIntlNext = require("react-intl-next");
13
+ var _avatarGroup = _interopRequireDefault(require("@atlaskit/avatar-group"));
14
+ var _heading = _interopRequireDefault(require("@atlaskit/heading"));
15
+ var _peopleTeamsUiPublic = require("@atlaskit/people-teams-ui-public");
16
+ var _compiled = require("@atlaskit/primitives/compiled");
17
+ var styles = {
18
+ wrapperStyles: "_2rkopd34 _v564nm7n _1reo15vq _18m915vq _189ee4h9 _1dqonqa1 _1h6dmuej _1e0c1txw _2lx21bp4 _1bsb5x59 _1ul95x59 _4t3i1wug",
19
+ containerStyles: "_otyrpxbi",
20
+ avatarImageContainerStyles: "_kqswstnw _18u0utpp",
21
+ avatarImageStyles: "_2rkoiti9 _kqswstnw _18u0utpp _4t3ivbgk _1bsbvbgk",
22
+ headerImageStyles: "_5ral1dfr _s7n4jp4b _c71l53f4 _1bsb1osq",
23
+ teamInformationStyles: "_18u0utpp _19pkxy5q _2hwxutpp",
24
+ viewProfileContainerStyles: "_4cvr1h6o _uwhke4h9 _15a5nqa1 _1i53muej",
25
+ viewProfileButtonStyles: "_2rkoiti9 _189ee4h9 _1dqonqa1 _1h6dmuej _bfhksm61 _1bsb1w8u _4t3i1ul9 _19pkpxbi"
26
+ };
27
+ var TeamCardWrapper = function TeamCardWrapper(_ref) {
28
+ var id = _ref.id,
29
+ children = _ref.children;
30
+ return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
31
+ xcss: styles.wrapperStyles,
32
+ testId: "team-card-".concat(id)
33
+ }, children);
34
+ };
35
+ var HeaderImage = function HeaderImage(_ref2) {
36
+ var srcUrl = _ref2.srcUrl;
37
+ return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
38
+ as: "img",
39
+ src: srcUrl,
40
+ xcss: styles.headerImageStyles,
41
+ testId: "profile-header-image",
42
+ alt: "team-header-image"
43
+ });
44
+ };
45
+ var TeamAvatar = function TeamAvatar(_ref3) {
46
+ var avatarUrl = _ref3.avatarUrl;
47
+ return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
48
+ as: "img",
49
+ src: avatarUrl,
50
+ xcss: styles.avatarImageStyles,
51
+ alt: "team-avatar-image"
52
+ });
53
+ };
54
+ var TeamProfileCard = exports.TeamProfileCard = function TeamProfileCard(_ref4) {
55
+ var teamId = _ref4.teamId,
56
+ displayName = _ref4.displayName,
57
+ description = _ref4.description,
58
+ avatarImageUrl = _ref4.avatarImageUrl,
59
+ headerImageUrl = _ref4.headerImageUrl,
60
+ memberAvatars = _ref4.memberAvatars,
61
+ memberCount = _ref4.memberCount,
62
+ isVerified = _ref4.isVerified,
63
+ teamProfileUrl = _ref4.teamProfileUrl;
64
+ return /*#__PURE__*/_react.default.createElement(TeamCardWrapper, {
65
+ id: teamId
66
+ }, /*#__PURE__*/_react.default.createElement(HeaderImage, {
67
+ srcUrl: headerImageUrl
68
+ }), /*#__PURE__*/_react.default.createElement(_compiled.Stack, {
69
+ space: "space.150",
70
+ xcss: styles.containerStyles
71
+ }, /*#__PURE__*/_react.default.createElement(_compiled.Inline, {
72
+ spread: "space-between",
73
+ alignBlock: "center"
74
+ }, /*#__PURE__*/_react.default.createElement(TeamAvatar, {
75
+ avatarUrl: avatarImageUrl
76
+ })), /*#__PURE__*/_react.default.createElement(_compiled.Stack, {
77
+ xcss: styles.teamInformationStyles,
78
+ space: "space.150"
79
+ }, /*#__PURE__*/_react.default.createElement(_compiled.Stack, {
80
+ space: "space.150"
81
+ }, /*#__PURE__*/_react.default.createElement(_compiled.Inline, {
82
+ alignBlock: "center"
83
+ }, /*#__PURE__*/_react.default.createElement(_heading.default, {
84
+ size: "small"
85
+ }, displayName), isVerified && /*#__PURE__*/_react.default.createElement(_peopleTeamsUiPublic.VerifiedTeamIcon, {
86
+ showTooltip: true
87
+ })), /*#__PURE__*/_react.default.createElement(_compiled.Text, {
88
+ color: "color.text.subtle"
89
+ }, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, {
90
+ defaultMessage: "Contributing team \u2022 {count, plural, one {# member} other {# members}}",
91
+ values: {
92
+ count: memberCount
93
+ },
94
+ id: "people-and-teams.team-profile-card.member-count"
95
+ }))), /*#__PURE__*/_react.default.createElement(_compiled.Inline, null, /*#__PURE__*/_react.default.createElement(_avatarGroup.default, {
96
+ appearance: "stack",
97
+ data: memberAvatars
98
+ })), /*#__PURE__*/_react.default.createElement(_compiled.Stack, {
99
+ space: "space.050"
100
+ }, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
101
+ color: "color.text.subtle",
102
+ maxLines: 3
103
+ }, description))), teamProfileUrl && /*#__PURE__*/_react.default.createElement(_compiled.Stack, {
104
+ xcss: styles.viewProfileContainerStyles
105
+ }, /*#__PURE__*/_react.default.createElement(_compiled.Pressable, {
106
+ onClick: function onClick() {
107
+ return window.open(teamProfileUrl, '_blank');
108
+ },
109
+ xcss: styles.viewProfileButtonStyles,
110
+ testId: "view-profile-button"
111
+ }, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, {
112
+ defaultMessage: "View profile",
113
+ id: "people-and-teams.team-profile-card.view-profile"
114
+ })))));
115
+ };
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.mockProfileData = void 0;
7
+ var mockProfileData = exports.mockProfileData = {
8
+ teamId: '8ee37950-7de7-41ec-aee2-2c02c95949f4',
9
+ displayName: 'THE SUPER TEAM',
10
+ description: "Super team's super description - This is a very long line, adding more lines here to test the line limit of 3 that we enforce on the description of the team. In case the description very long, it should display an elipses at the end and hide that content that is overflowing",
11
+ avatarImageUrl: 'https://test-prod-issue-create.atlassian.net/wiki/download/attachments/35061761/SUP-default?version=1&modificationDate=1739217199215&cacheVersion=1&api=v2',
12
+ headerImageUrl: 'https://test-prod-issue-create.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10422?size=medium',
13
+ memberAvatars: [{
14
+ src: 'https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/70121:c17bdf1f-39db-4611-a700-2f8c1aff841e/cf4058fd-75f2-4824-8041-c8efa4cc0ea8/128',
15
+ name: 'Shrutha Kashyap',
16
+ key: '70121:c17bdf1f-39db-4611-a700-2f8c1aff841e'
17
+ }, {
18
+ src: 'https://secure.gravatar.com/avatar/189be88917ebf55b8c24642ca8bb3f38?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Fdefault-avatar-3.png',
19
+ name: 'Confluence Analytics (System)',
20
+ key: '557058:cbc04d7b-be84-46eb-90e4-e567aa5332c6'
21
+ }],
22
+ memberCount: 2,
23
+ isVerified: true,
24
+ teamProfileUrl: 'https://test-prod-issue-create.atlassian.net/wiki/people/team/8ee37950-7de7-41ec-aee2-2c02c95949f4'
25
+ };
package/dist/cjs/index.js CHANGED
@@ -65,6 +65,12 @@ Object.defineProperty(exports, "TeamProfileCardTrigger", {
65
65
  return _TeamProfileCardTrigger.default;
66
66
  }
67
67
  });
68
+ Object.defineProperty(exports, "TeamProfileCardWithContainer", {
69
+ enumerable: true,
70
+ get: function get() {
71
+ return _teamProfileCard.TeamProfileCard;
72
+ }
73
+ });
68
74
  Object.defineProperty(exports, "TeamProfileClient", {
69
75
  enumerable: true,
70
76
  get: function get() {
@@ -94,6 +100,7 @@ var _ProfileCardClient = _interopRequireDefault(require("./client/ProfileCardCli
94
100
  var _TeamProfileCardClient = _interopRequireDefault(require("./client/TeamProfileCardClient"));
95
101
  var _UserProfileCardClient = _interopRequireWildcard(require("./client/UserProfileCardClient"));
96
102
  var _AgentProfileCard = _interopRequireDefault(require("./components/Agent/AgentProfileCard"));
103
+ var _teamProfileCard = require("./components/team-profile-card");
97
104
  var _TeamProfileCardTrigger = _interopRequireDefault(require("./components/Team/TeamProfileCardTrigger"));
98
105
  var _ProfileCard = _interopRequireDefault(require("./components/User/ProfileCard"));
99
106
  var _ProfileCardResourced = _interopRequireDefault(require("./components/User/ProfileCardResourced"));
@@ -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: "23.2.6"
48
+ packageVersion: "23.3.0"
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', "23.2.6");
9
+ headers.append('atl-client-version', "23.3.0");
10
10
  return headers;
11
11
  };
12
12
  export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
@@ -75,7 +75,7 @@ export const addHeaders = headers => {
75
75
  headers.append('X-ExperimentalApi', 'teams-beta');
76
76
  headers.append('X-ExperimentalApi', 'team-members-beta');
77
77
  headers.append('atl-client-name', "@atlaskit/profilecard");
78
- headers.append('atl-client-version', "23.2.6");
78
+ headers.append('atl-client-version', "23.3.0");
79
79
  return headers;
80
80
  };
81
81
  export async function getTeamFromAGG(url, teamId, siteId) {
@@ -0,0 +1 @@
1
+ export { TeamProfileCard } from './main';
@@ -0,0 +1,32 @@
1
+
2
+ ._2rkoiti9{border-radius:var(--ds-border-radius-100,4px)}
3
+ ._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}
4
+ ._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)}._15a5nqa1{border-top-style:solid}
8
+ ._18m915vq{overflow-y:hidden}
9
+ ._18u0utpp{margin-left:var(--ds-space-150,9pt)}
10
+ ._19pkpxbi{margin-top:var(--ds-space-200,1pc)}
11
+ ._19pkxy5q{margin-top:var(--ds-space-400,2pc)}
12
+ ._1bsb1osq{width:100%}
13
+ ._1bsb1w8u{width:80%}
14
+ ._1bsb5x59{width:340px}
15
+ ._1bsbvbgk{width:4pc}
16
+ ._1e0c1txw{display:flex}
17
+ ._1i53muej{border-top-color:var(--ds-border,#091e4224)}
18
+ ._1reo15vq{overflow-x:hidden}
19
+ ._1ul95x59{min-width:340px}
20
+ ._2hwxutpp{margin-right:var(--ds-space-150,9pt)}
21
+ ._2lx21bp4{flex-direction:column}
22
+ ._4cvr1h6o{align-items:center}
23
+ ._4t3i1ul9{height:30px}
24
+ ._4t3i1wug{height:auto}
25
+ ._4t3ivbgk{height:4pc}
26
+ ._5ral1dfr{object-fit:cover}
27
+ ._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
28
+ ._c71l53f4{max-height:75pt}
29
+ ._kqswstnw{position:absolute}
30
+ ._otyrpxbi{margin-bottom:var(--ds-space-200,1pc)}
31
+ ._s7n4jp4b{vertical-align:top}
32
+ ._uwhke4h9{border-top-width:var(--ds-border-width,1px)}
@@ -0,0 +1,104 @@
1
+ /* main.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./main.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ import React from 'react';
5
+ import { FormattedMessage } from 'react-intl-next';
6
+ import AvatarGroup from '@atlaskit/avatar-group';
7
+ import Heading from '@atlaskit/heading';
8
+ import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public';
9
+ import { Box, Inline, Pressable, Stack, Text } from '@atlaskit/primitives/compiled';
10
+ const styles = {
11
+ wrapperStyles: "_2rkopd34 _v564nm7n _1reo15vq _18m915vq _189ee4h9 _1dqonqa1 _1h6dmuej _1e0c1txw _2lx21bp4 _1bsb5x59 _1ul95x59 _4t3i1wug",
12
+ containerStyles: "_otyrpxbi",
13
+ avatarImageContainerStyles: "_kqswstnw _18u0utpp",
14
+ avatarImageStyles: "_2rkoiti9 _kqswstnw _18u0utpp _4t3ivbgk _1bsbvbgk",
15
+ headerImageStyles: "_5ral1dfr _s7n4jp4b _c71l53f4 _1bsb1osq",
16
+ teamInformationStyles: "_18u0utpp _19pkxy5q _2hwxutpp",
17
+ viewProfileContainerStyles: "_4cvr1h6o _uwhke4h9 _15a5nqa1 _1i53muej",
18
+ viewProfileButtonStyles: "_2rkoiti9 _189ee4h9 _1dqonqa1 _1h6dmuej _bfhksm61 _1bsb1w8u _4t3i1ul9 _19pkpxbi"
19
+ };
20
+ const TeamCardWrapper = ({
21
+ id,
22
+ children
23
+ }) => /*#__PURE__*/React.createElement(Box, {
24
+ xcss: styles.wrapperStyles,
25
+ testId: `team-card-${id}`
26
+ }, children);
27
+ const HeaderImage = ({
28
+ srcUrl
29
+ }) => /*#__PURE__*/React.createElement(Box, {
30
+ as: "img",
31
+ src: srcUrl,
32
+ xcss: styles.headerImageStyles,
33
+ testId: "profile-header-image",
34
+ alt: "team-header-image"
35
+ });
36
+ const TeamAvatar = ({
37
+ avatarUrl
38
+ }) => /*#__PURE__*/React.createElement(Box, {
39
+ as: "img",
40
+ src: avatarUrl,
41
+ xcss: styles.avatarImageStyles,
42
+ alt: "team-avatar-image"
43
+ });
44
+ export const TeamProfileCard = ({
45
+ teamId,
46
+ displayName,
47
+ description,
48
+ avatarImageUrl,
49
+ headerImageUrl,
50
+ memberAvatars,
51
+ memberCount,
52
+ isVerified,
53
+ teamProfileUrl
54
+ }) => {
55
+ return /*#__PURE__*/React.createElement(TeamCardWrapper, {
56
+ id: teamId
57
+ }, /*#__PURE__*/React.createElement(HeaderImage, {
58
+ srcUrl: headerImageUrl
59
+ }), /*#__PURE__*/React.createElement(Stack, {
60
+ space: "space.150",
61
+ xcss: styles.containerStyles
62
+ }, /*#__PURE__*/React.createElement(Inline, {
63
+ spread: "space-between",
64
+ alignBlock: "center"
65
+ }, /*#__PURE__*/React.createElement(TeamAvatar, {
66
+ avatarUrl: avatarImageUrl
67
+ })), /*#__PURE__*/React.createElement(Stack, {
68
+ xcss: styles.teamInformationStyles,
69
+ space: "space.150"
70
+ }, /*#__PURE__*/React.createElement(Stack, {
71
+ space: "space.150"
72
+ }, /*#__PURE__*/React.createElement(Inline, {
73
+ alignBlock: "center"
74
+ }, /*#__PURE__*/React.createElement(Heading, {
75
+ size: "small"
76
+ }, displayName), isVerified && /*#__PURE__*/React.createElement(VerifiedTeamIcon, {
77
+ showTooltip: true
78
+ })), /*#__PURE__*/React.createElement(Text, {
79
+ color: "color.text.subtle"
80
+ }, /*#__PURE__*/React.createElement(FormattedMessage, {
81
+ defaultMessage: "Contributing team \u2022 {count, plural, one {# member} other {# members}}",
82
+ values: {
83
+ count: memberCount
84
+ },
85
+ id: "people-and-teams.team-profile-card.member-count"
86
+ }))), /*#__PURE__*/React.createElement(Inline, null, /*#__PURE__*/React.createElement(AvatarGroup, {
87
+ appearance: "stack",
88
+ data: memberAvatars
89
+ })), /*#__PURE__*/React.createElement(Stack, {
90
+ space: "space.050"
91
+ }, /*#__PURE__*/React.createElement(Text, {
92
+ color: "color.text.subtle",
93
+ maxLines: 3
94
+ }, description))), teamProfileUrl && /*#__PURE__*/React.createElement(Stack, {
95
+ xcss: styles.viewProfileContainerStyles
96
+ }, /*#__PURE__*/React.createElement(Pressable, {
97
+ onClick: () => window.open(teamProfileUrl, '_blank'),
98
+ xcss: styles.viewProfileButtonStyles,
99
+ testId: "view-profile-button"
100
+ }, /*#__PURE__*/React.createElement(FormattedMessage, {
101
+ defaultMessage: "View profile",
102
+ id: "people-and-teams.team-profile-card.view-profile"
103
+ })))));
104
+ };
@@ -0,0 +1,19 @@
1
+ export const mockProfileData = {
2
+ teamId: '8ee37950-7de7-41ec-aee2-2c02c95949f4',
3
+ displayName: 'THE SUPER TEAM',
4
+ description: "Super team's super description - This is a very long line, adding more lines here to test the line limit of 3 that we enforce on the description of the team. In case the description very long, it should display an elipses at the end and hide that content that is overflowing",
5
+ avatarImageUrl: 'https://test-prod-issue-create.atlassian.net/wiki/download/attachments/35061761/SUP-default?version=1&modificationDate=1739217199215&cacheVersion=1&api=v2',
6
+ headerImageUrl: 'https://test-prod-issue-create.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10422?size=medium',
7
+ memberAvatars: [{
8
+ src: 'https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/70121:c17bdf1f-39db-4611-a700-2f8c1aff841e/cf4058fd-75f2-4824-8041-c8efa4cc0ea8/128',
9
+ name: 'Shrutha Kashyap',
10
+ key: '70121:c17bdf1f-39db-4611-a700-2f8c1aff841e'
11
+ }, {
12
+ src: 'https://secure.gravatar.com/avatar/189be88917ebf55b8c24642ca8bb3f38?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Fdefault-avatar-3.png',
13
+ name: 'Confluence Analytics (System)',
14
+ key: '557058:cbc04d7b-be84-46eb-90e4-e567aa5332c6'
15
+ }],
16
+ memberCount: 2,
17
+ isVerified: true,
18
+ teamProfileUrl: 'https://test-prod-issue-create.atlassian.net/wiki/people/team/8ee37950-7de7-41ec-aee2-2c02c95949f4'
19
+ };
@@ -6,6 +6,7 @@ import TeamProfileClient from './client/TeamProfileCardClient';
6
6
  // Note: when generating and updating Flow types in Jira, `UserProfileClient` and `UserProfileCardClient` are the same type
7
7
  import UserProfileClient, { modifyResponse } from './client/UserProfileCardClient';
8
8
  import AgentProfileCard from './components/Agent/AgentProfileCard';
9
+ import { TeamProfileCard } from './components/team-profile-card';
9
10
  import TeamProfileCardTrigger from './components/Team/TeamProfileCardTrigger';
10
11
  import ProfileCard from './components/User/ProfileCard';
11
12
  import ProfileCardResourced from './components/User/ProfileCardResourced';
@@ -25,4 +26,5 @@ export { ProfileCardClient as ProfileClient, TeamProfileClient, UserProfileClien
25
26
  export { DELAY_MS_SHOW, DELAY_MS_HIDE };
26
27
  export { AgentProfileCardTrigger } from './components/Agent/AgentProfileCardTrigger';
27
28
  export { AgentProfileCardResourced } from './components/Agent/AgentProfileCardResourced';
29
+ export { TeamProfileCard as TeamProfileCardWithContainer };
28
30
  export default ProfileCardResourced;
@@ -32,7 +32,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
32
32
  actionSubjectId,
33
33
  attributes: {
34
34
  packageName: "@atlaskit/profilecard",
35
- packageVersion: "23.2.6",
35
+ packageVersion: "23.3.0",
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', "23.2.6");
7
+ headers.append('atl-client-version', "23.3.0");
8
8
  return headers;
9
9
  };
10
10
  export function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -57,7 +57,7 @@ export var 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', "23.2.6");
60
+ headers.append('atl-client-version', "23.3.0");
61
61
  return headers;
62
62
  };
63
63
  export function getTeamFromAGG(_x, _x2, _x3) {
@@ -0,0 +1 @@
1
+ export { TeamProfileCard } from './main';
@@ -0,0 +1,32 @@
1
+
2
+ ._2rkoiti9{border-radius:var(--ds-border-radius-100,4px)}
3
+ ._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}
4
+ ._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)}._15a5nqa1{border-top-style:solid}
8
+ ._18m915vq{overflow-y:hidden}
9
+ ._18u0utpp{margin-left:var(--ds-space-150,9pt)}
10
+ ._19pkpxbi{margin-top:var(--ds-space-200,1pc)}
11
+ ._19pkxy5q{margin-top:var(--ds-space-400,2pc)}
12
+ ._1bsb1osq{width:100%}
13
+ ._1bsb1w8u{width:80%}
14
+ ._1bsb5x59{width:340px}
15
+ ._1bsbvbgk{width:4pc}
16
+ ._1e0c1txw{display:flex}
17
+ ._1i53muej{border-top-color:var(--ds-border,#091e4224)}
18
+ ._1reo15vq{overflow-x:hidden}
19
+ ._1ul95x59{min-width:340px}
20
+ ._2hwxutpp{margin-right:var(--ds-space-150,9pt)}
21
+ ._2lx21bp4{flex-direction:column}
22
+ ._4cvr1h6o{align-items:center}
23
+ ._4t3i1ul9{height:30px}
24
+ ._4t3i1wug{height:auto}
25
+ ._4t3ivbgk{height:4pc}
26
+ ._5ral1dfr{object-fit:cover}
27
+ ._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
28
+ ._c71l53f4{max-height:75pt}
29
+ ._kqswstnw{position:absolute}
30
+ ._otyrpxbi{margin-bottom:var(--ds-space-200,1pc)}
31
+ ._s7n4jp4b{vertical-align:top}
32
+ ._uwhke4h9{border-top-width:var(--ds-border-width,1px)}
@@ -0,0 +1,108 @@
1
+ /* main.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./main.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ import React from 'react';
5
+ import { FormattedMessage } from 'react-intl-next';
6
+ import AvatarGroup from '@atlaskit/avatar-group';
7
+ import Heading from '@atlaskit/heading';
8
+ import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public';
9
+ import { Box, Inline, Pressable, Stack, Text } from '@atlaskit/primitives/compiled';
10
+ var styles = {
11
+ wrapperStyles: "_2rkopd34 _v564nm7n _1reo15vq _18m915vq _189ee4h9 _1dqonqa1 _1h6dmuej _1e0c1txw _2lx21bp4 _1bsb5x59 _1ul95x59 _4t3i1wug",
12
+ containerStyles: "_otyrpxbi",
13
+ avatarImageContainerStyles: "_kqswstnw _18u0utpp",
14
+ avatarImageStyles: "_2rkoiti9 _kqswstnw _18u0utpp _4t3ivbgk _1bsbvbgk",
15
+ headerImageStyles: "_5ral1dfr _s7n4jp4b _c71l53f4 _1bsb1osq",
16
+ teamInformationStyles: "_18u0utpp _19pkxy5q _2hwxutpp",
17
+ viewProfileContainerStyles: "_4cvr1h6o _uwhke4h9 _15a5nqa1 _1i53muej",
18
+ viewProfileButtonStyles: "_2rkoiti9 _189ee4h9 _1dqonqa1 _1h6dmuej _bfhksm61 _1bsb1w8u _4t3i1ul9 _19pkpxbi"
19
+ };
20
+ var TeamCardWrapper = function TeamCardWrapper(_ref) {
21
+ var id = _ref.id,
22
+ children = _ref.children;
23
+ return /*#__PURE__*/React.createElement(Box, {
24
+ xcss: styles.wrapperStyles,
25
+ testId: "team-card-".concat(id)
26
+ }, children);
27
+ };
28
+ var HeaderImage = function HeaderImage(_ref2) {
29
+ var srcUrl = _ref2.srcUrl;
30
+ return /*#__PURE__*/React.createElement(Box, {
31
+ as: "img",
32
+ src: srcUrl,
33
+ xcss: styles.headerImageStyles,
34
+ testId: "profile-header-image",
35
+ alt: "team-header-image"
36
+ });
37
+ };
38
+ var TeamAvatar = function TeamAvatar(_ref3) {
39
+ var avatarUrl = _ref3.avatarUrl;
40
+ return /*#__PURE__*/React.createElement(Box, {
41
+ as: "img",
42
+ src: avatarUrl,
43
+ xcss: styles.avatarImageStyles,
44
+ alt: "team-avatar-image"
45
+ });
46
+ };
47
+ export var TeamProfileCard = function TeamProfileCard(_ref4) {
48
+ var teamId = _ref4.teamId,
49
+ displayName = _ref4.displayName,
50
+ description = _ref4.description,
51
+ avatarImageUrl = _ref4.avatarImageUrl,
52
+ headerImageUrl = _ref4.headerImageUrl,
53
+ memberAvatars = _ref4.memberAvatars,
54
+ memberCount = _ref4.memberCount,
55
+ isVerified = _ref4.isVerified,
56
+ teamProfileUrl = _ref4.teamProfileUrl;
57
+ return /*#__PURE__*/React.createElement(TeamCardWrapper, {
58
+ id: teamId
59
+ }, /*#__PURE__*/React.createElement(HeaderImage, {
60
+ srcUrl: headerImageUrl
61
+ }), /*#__PURE__*/React.createElement(Stack, {
62
+ space: "space.150",
63
+ xcss: styles.containerStyles
64
+ }, /*#__PURE__*/React.createElement(Inline, {
65
+ spread: "space-between",
66
+ alignBlock: "center"
67
+ }, /*#__PURE__*/React.createElement(TeamAvatar, {
68
+ avatarUrl: avatarImageUrl
69
+ })), /*#__PURE__*/React.createElement(Stack, {
70
+ xcss: styles.teamInformationStyles,
71
+ space: "space.150"
72
+ }, /*#__PURE__*/React.createElement(Stack, {
73
+ space: "space.150"
74
+ }, /*#__PURE__*/React.createElement(Inline, {
75
+ alignBlock: "center"
76
+ }, /*#__PURE__*/React.createElement(Heading, {
77
+ size: "small"
78
+ }, displayName), isVerified && /*#__PURE__*/React.createElement(VerifiedTeamIcon, {
79
+ showTooltip: true
80
+ })), /*#__PURE__*/React.createElement(Text, {
81
+ color: "color.text.subtle"
82
+ }, /*#__PURE__*/React.createElement(FormattedMessage, {
83
+ defaultMessage: "Contributing team \u2022 {count, plural, one {# member} other {# members}}",
84
+ values: {
85
+ count: memberCount
86
+ },
87
+ id: "people-and-teams.team-profile-card.member-count"
88
+ }))), /*#__PURE__*/React.createElement(Inline, null, /*#__PURE__*/React.createElement(AvatarGroup, {
89
+ appearance: "stack",
90
+ data: memberAvatars
91
+ })), /*#__PURE__*/React.createElement(Stack, {
92
+ space: "space.050"
93
+ }, /*#__PURE__*/React.createElement(Text, {
94
+ color: "color.text.subtle",
95
+ maxLines: 3
96
+ }, description))), teamProfileUrl && /*#__PURE__*/React.createElement(Stack, {
97
+ xcss: styles.viewProfileContainerStyles
98
+ }, /*#__PURE__*/React.createElement(Pressable, {
99
+ onClick: function onClick() {
100
+ return window.open(teamProfileUrl, '_blank');
101
+ },
102
+ xcss: styles.viewProfileButtonStyles,
103
+ testId: "view-profile-button"
104
+ }, /*#__PURE__*/React.createElement(FormattedMessage, {
105
+ defaultMessage: "View profile",
106
+ id: "people-and-teams.team-profile-card.view-profile"
107
+ })))));
108
+ };
@@ -0,0 +1,19 @@
1
+ export var mockProfileData = {
2
+ teamId: '8ee37950-7de7-41ec-aee2-2c02c95949f4',
3
+ displayName: 'THE SUPER TEAM',
4
+ description: "Super team's super description - This is a very long line, adding more lines here to test the line limit of 3 that we enforce on the description of the team. In case the description very long, it should display an elipses at the end and hide that content that is overflowing",
5
+ avatarImageUrl: 'https://test-prod-issue-create.atlassian.net/wiki/download/attachments/35061761/SUP-default?version=1&modificationDate=1739217199215&cacheVersion=1&api=v2',
6
+ headerImageUrl: 'https://test-prod-issue-create.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10422?size=medium',
7
+ memberAvatars: [{
8
+ src: 'https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/70121:c17bdf1f-39db-4611-a700-2f8c1aff841e/cf4058fd-75f2-4824-8041-c8efa4cc0ea8/128',
9
+ name: 'Shrutha Kashyap',
10
+ key: '70121:c17bdf1f-39db-4611-a700-2f8c1aff841e'
11
+ }, {
12
+ src: 'https://secure.gravatar.com/avatar/189be88917ebf55b8c24642ca8bb3f38?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Fdefault-avatar-3.png',
13
+ name: 'Confluence Analytics (System)',
14
+ key: '557058:cbc04d7b-be84-46eb-90e4-e567aa5332c6'
15
+ }],
16
+ memberCount: 2,
17
+ isVerified: true,
18
+ teamProfileUrl: 'https://test-prod-issue-create.atlassian.net/wiki/people/team/8ee37950-7de7-41ec-aee2-2c02c95949f4'
19
+ };
package/dist/esm/index.js CHANGED
@@ -6,6 +6,7 @@ import TeamProfileClient from './client/TeamProfileCardClient';
6
6
  // Note: when generating and updating Flow types in Jira, `UserProfileClient` and `UserProfileCardClient` are the same type
7
7
  import UserProfileClient, { modifyResponse } from './client/UserProfileCardClient';
8
8
  import AgentProfileCard from './components/Agent/AgentProfileCard';
9
+ import { TeamProfileCard } from './components/team-profile-card';
9
10
  import TeamProfileCardTrigger from './components/Team/TeamProfileCardTrigger';
10
11
  import ProfileCard from './components/User/ProfileCard';
11
12
  import ProfileCardResourced from './components/User/ProfileCardResourced';
@@ -25,4 +26,5 @@ export { ProfileCardClient as ProfileClient, TeamProfileClient, UserProfileClien
25
26
  export { DELAY_MS_SHOW, DELAY_MS_HIDE };
26
27
  export { AgentProfileCardTrigger } from './components/Agent/AgentProfileCardTrigger';
27
28
  export { AgentProfileCardResourced } from './components/Agent/AgentProfileCardResourced';
29
+ export { TeamProfileCard as TeamProfileCardWithContainer };
28
30
  export default ProfileCardResourced;
@@ -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: "23.2.6"
42
+ packageVersion: "23.3.0"
43
43
  }, attributes), {}, {
44
44
  firedAt: Math.round(getPageTime())
45
45
  })
@@ -0,0 +1 @@
1
+ export { TeamProfileCard } from './main';
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { type AvatarProps } from '@atlaskit/avatar-group';
3
+ interface TeamProfileCardProps {
4
+ teamId: string;
5
+ displayName: string;
6
+ description: string;
7
+ avatarImageUrl: string;
8
+ headerImageUrl: string;
9
+ memberAvatars: AvatarProps[];
10
+ memberCount: number;
11
+ isVerified?: boolean;
12
+ teamProfileUrl?: string;
13
+ }
14
+ export declare const TeamProfileCard: ({ teamId, displayName, description, avatarImageUrl, headerImageUrl, memberAvatars, memberCount, isVerified, teamProfileUrl, }: TeamProfileCardProps) => JSX.Element;
15
+ export {};
@@ -0,0 +1,15 @@
1
+ export declare const mockProfileData: {
2
+ teamId: string;
3
+ displayName: string;
4
+ description: string;
5
+ avatarImageUrl: string;
6
+ headerImageUrl: string;
7
+ memberAvatars: {
8
+ src: string;
9
+ name: string;
10
+ key: string;
11
+ }[];
12
+ memberCount: number;
13
+ isVerified: boolean;
14
+ teamProfileUrl: string;
15
+ };
@@ -2,6 +2,7 @@ import ProfileCardClient from './client/ProfileCardClient';
2
2
  import TeamProfileClient from './client/TeamProfileCardClient';
3
3
  import UserProfileClient, { modifyResponse } from './client/UserProfileCardClient';
4
4
  import AgentProfileCard from './components/Agent/AgentProfileCard';
5
+ import { TeamProfileCard } from './components/team-profile-card';
5
6
  import TeamProfileCardTrigger from './components/Team/TeamProfileCardTrigger';
6
7
  import ProfileCard from './components/User/ProfileCard';
7
8
  import ProfileCardResourced from './components/User/ProfileCardResourced';
@@ -19,4 +20,5 @@ export { ProfileCardClient as ProfileClient, TeamProfileClient, UserProfileClien
19
20
  export { DELAY_MS_SHOW, DELAY_MS_HIDE };
20
21
  export { AgentProfileCardTrigger } from './components/Agent/AgentProfileCardTrigger';
21
22
  export { AgentProfileCardResourced } from './components/Agent/AgentProfileCardResourced';
23
+ export { TeamProfileCard as TeamProfileCardWithContainer };
22
24
  export default ProfileCardResourced;
@@ -0,0 +1 @@
1
+ export { TeamProfileCard } from './main';
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { type AvatarProps } from '@atlaskit/avatar-group';
3
+ interface TeamProfileCardProps {
4
+ teamId: string;
5
+ displayName: string;
6
+ description: string;
7
+ avatarImageUrl: string;
8
+ headerImageUrl: string;
9
+ memberAvatars: AvatarProps[];
10
+ memberCount: number;
11
+ isVerified?: boolean;
12
+ teamProfileUrl?: string;
13
+ }
14
+ export declare const TeamProfileCard: ({ teamId, displayName, description, avatarImageUrl, headerImageUrl, memberAvatars, memberCount, isVerified, teamProfileUrl, }: TeamProfileCardProps) => JSX.Element;
15
+ export {};
@@ -0,0 +1,15 @@
1
+ export declare const mockProfileData: {
2
+ teamId: string;
3
+ displayName: string;
4
+ description: string;
5
+ avatarImageUrl: string;
6
+ headerImageUrl: string;
7
+ memberAvatars: {
8
+ src: string;
9
+ name: string;
10
+ key: string;
11
+ }[];
12
+ memberCount: number;
13
+ isVerified: boolean;
14
+ teamProfileUrl: string;
15
+ };
@@ -2,6 +2,7 @@ import ProfileCardClient from './client/ProfileCardClient';
2
2
  import TeamProfileClient from './client/TeamProfileCardClient';
3
3
  import UserProfileClient, { modifyResponse } from './client/UserProfileCardClient';
4
4
  import AgentProfileCard from './components/Agent/AgentProfileCard';
5
+ import { TeamProfileCard } from './components/team-profile-card';
5
6
  import TeamProfileCardTrigger from './components/Team/TeamProfileCardTrigger';
6
7
  import ProfileCard from './components/User/ProfileCard';
7
8
  import ProfileCardResourced from './components/User/ProfileCardResourced';
@@ -19,4 +20,5 @@ export { ProfileCardClient as ProfileClient, TeamProfileClient, UserProfileClien
19
20
  export { DELAY_MS_SHOW, DELAY_MS_HIDE };
20
21
  export { AgentProfileCardTrigger } from './components/Agent/AgentProfileCardTrigger';
21
22
  export { AgentProfileCardResourced } from './components/Agent/AgentProfileCardResourced';
23
+ export { TeamProfileCard as TeamProfileCardWithContainer };
22
24
  export default ProfileCardResourced;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "23.2.6",
3
+ "version": "23.3.0",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -60,6 +60,7 @@
60
60
  "@atlaskit/empty-state": "^9.0.0",
61
61
  "@atlaskit/focus-ring": "^3.0.0",
62
62
  "@atlaskit/give-kudos": "^4.0.0",
63
+ "@atlaskit/heading": "^5.1.0",
63
64
  "@atlaskit/icon": "^25.0.0",
64
65
  "@atlaskit/lozenge": "^12.2.0",
65
66
  "@atlaskit/menu": "^3.1.0",