@atlaskit/profilecard 27.3.3 → 27.3.5

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,20 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 27.3.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 27.3.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [`bee9018494e1c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bee9018494e1c) -
14
+ [PTC-17917] Wrap profile card details and job title instead of clipping them under custom text
15
+ spacing, behind `ptc_a11y_profile_card_text_spacing`
16
+ - Updated dependencies
17
+
3
18
  ## 27.3.3
4
19
 
5
20
  ### 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', "27.3.2");
14
+ headers.append('atl-client-version', "27.3.4");
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', "27.3.2");
14
+ headers.append('atl-client-version', "27.3.4");
15
15
  return headers;
16
16
  };
17
17
  function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -10,6 +10,7 @@
10
10
  ._16jlkb7n{flex-grow:1}
11
11
  ._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
12
12
  ._18m915vq{overflow-y:hidden}
13
+ ._18m9ewfl{overflow-y:visible}
13
14
  ._18u01epz{margin-left:var(--ds-space-1000,5pc)}
14
15
  ._18u0u2gc{margin-left:var(--ds-space-100,8px)}
15
16
  ._18u0utpp{margin-left:var(--ds-space-150,9pt)}
@@ -36,6 +37,7 @@
36
37
  ._1e0c1txw{display:flex}
37
38
  ._1e0c1ule{display:block}
38
39
  ._1e0cglyw{display:none}
40
+ ._1i4qfg65{overflow-wrap:anywhere}
39
41
  ._1itk1f11{background-image:linear-gradient(to bottom,var(--ds-background-disabled,#0515240f) 0,var(--ds-background-disabled,#0515240f) 100%)}
40
42
  ._1itkdsyg{background-image:radial-gradient(circle,var(--ds-background-information-pressed,#adcbfb) 0,var(--ds-background-discovery-pressed,#e3bdfa) 25%,transparent 50%)}
41
43
  ._1itkybvv{background-image:linear-gradient(to bottom,var(--ds-background-brand-bold,#1868db) 0,var(--ds-background-brand-bold,#1868db) 100%)}
@@ -47,6 +49,7 @@
47
49
  ._1oqbazsu#profile-card-action-button-group span{color:var(--ds-text-subtle,#505258)}
48
50
  ._1pby1mrw{z-index:-1}
49
51
  ._1reo15vq{overflow-x:hidden}
52
+ ._1reoewfl{overflow-x:visible}
50
53
  ._1tkebv7e{min-height:136px}
51
54
  ._1xi2ze3t{right:var(--ds-space-0,0)}
52
55
  ._2hwxze3t{margin-right:var(--ds-space-0,0)}
@@ -66,6 +69,7 @@
66
69
  ._mkrz1rip{clip-path:inset(0 0 0 0 round 3px)}
67
70
  ._n3td1ejb{padding-bottom:var(--ds-space-300,24px)}
68
71
  ._o5721q9c{white-space:nowrap}
72
+ ._o5724jg8{white-space:normal}
69
73
  ._otyrze3t{margin-bottom:var(--ds-space-0,0)}
70
74
  ._s7n4jp4b{vertical-align:top}
71
75
  ._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
@@ -13,6 +13,7 @@ require("./Card.compiled.css");
13
13
  var _runtime = require("@compiled/react/runtime");
14
14
  var _react = _interopRequireWildcard(require("react"));
15
15
  var _css = require("@atlaskit/css");
16
+ var _fg = require("@atlaskit/platform-feature-flags/fg");
16
17
  var _box = require("@atlaskit/primitives/compiled/box");
17
18
  var _text = require("@atlaskit/primitives/compiled/text");
18
19
  var _Tooltip = _interopRequireDefault(require("@atlaskit/tooltip/Tooltip"));
@@ -36,9 +37,11 @@ var styles = {
36
37
  cardContainerWithElevation: "_2rko1mok _16qs130s",
37
38
  detailsLabel: "_zulpu2gc _1e0c1txw _4cvr1h6o _1bah1y6m _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t _o5721q9c",
38
39
  detailsLabelNext: "_zulpu2gc _1e0c1txw _4cvr1h6o _1bah1y6m _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t _19bvze3t _o5721q9c",
40
+ detailsLabelWrap: "_o5724jg8",
39
41
  detailsLabelExtraTopSpace: "_19pkxy5q",
40
42
  detailsLabelIcon: "_1e0c1txw _1o9zidpf _syaz1rpy _1bsb7vkz _4t3i7vkz _s7n4jp4b _19pkze3t",
41
43
  detailsLabelText: "_1reo15vq _18m915vq _11c8wadc _1bto1l2s _syazi7uo _19pkze3t _18u0ze3t",
44
+ detailsLabelTextWrap: "_1reoewfl _18m9ewfl _1i4qfg65",
42
45
  kudosBlobAnimation: "_1e0cglyw _4t3i1w81 _1bsb1w81 _1pby1mrw _kqswstnw _j7hq1q51 _tip8kb7n _5sagi11n _1itkdsyg",
43
46
  appTitleLabel: "_2rko12b0 _syazi7uo _u5f312x7 _19bv12x7 _1bsb1ns9 _19pk1b66 _otyrze3t _18u0utpp _2hwxze3t"
44
47
  };
@@ -144,7 +147,7 @@ var JobTitleLabel = exports.JobTitleLabel = function JobTitleLabel(_ref1) {
144
147
  }
145
148
  }, /*#__PURE__*/_react.default.createElement(_text.Text, {
146
149
  ref: textRef,
147
- maxLines: 1,
150
+ maxLines: (0, _fg.fg)('ptc_a11y_profile_card_text_spacing') ? undefined : 1,
148
151
  color: "color.text.inverse",
149
152
  id: "profile-card-job-title-label-text"
150
153
  }, children)));
@@ -174,7 +177,7 @@ var DetailsLabel = exports.DetailsLabel = function DetailsLabel(_ref12) {
174
177
  extraTopSpace = _ref12$extraTopSpace === void 0 ? false : _ref12$extraTopSpace;
175
178
  return /*#__PURE__*/_react.default.createElement(_box.Box, {
176
179
  as: "dl",
177
- xcss: (0, _css.cx)(styles.detailsLabelNext, extraTopSpace && styles.detailsLabelExtraTopSpace)
180
+ xcss: (0, _css.cx)(styles.detailsLabelNext, extraTopSpace && styles.detailsLabelExtraTopSpace, (0, _fg.fg)('ptc_a11y_profile_card_text_spacing') && styles.detailsLabelWrap)
178
181
  }, children);
179
182
  };
180
183
  var DetailsLabelIcon = exports.DetailsLabelIcon = function DetailsLabelIcon(_ref13) {
@@ -188,6 +191,6 @@ var DetailsLabelText = exports.DetailsLabelText = function DetailsLabelText(_ref
188
191
  var children = _ref14.children;
189
192
  return /*#__PURE__*/_react.default.createElement(_box.Box, {
190
193
  as: "dd",
191
- xcss: (0, _css.cx)(styles.detailsLabelText)
194
+ xcss: (0, _css.cx)(styles.detailsLabelText, (0, _fg.fg)('ptc_a11y_profile_card_text_spacing') && styles.detailsLabelTextWrap)
192
195
  }, children);
193
196
  };
@@ -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 = "27.3.2") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
10
+ packageVersion: (_process$env$_PACKAGE2 = "27.3.4") !== 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: "27.3.2"
25
+ packageVersion: "27.3.4"
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', "27.3.2");
8
+ headers.append('atl-client-version', "27.3.4");
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', "27.3.2");
9
+ headers.append('atl-client-version', "27.3.4");
10
10
  return headers;
11
11
  };
12
12
  export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
@@ -10,6 +10,7 @@
10
10
  ._16jlkb7n{flex-grow:1}
11
11
  ._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
12
12
  ._18m915vq{overflow-y:hidden}
13
+ ._18m9ewfl{overflow-y:visible}
13
14
  ._18u01epz{margin-left:var(--ds-space-1000,5pc)}
14
15
  ._18u0u2gc{margin-left:var(--ds-space-100,8px)}
15
16
  ._18u0utpp{margin-left:var(--ds-space-150,9pt)}
@@ -36,6 +37,7 @@
36
37
  ._1e0c1txw{display:flex}
37
38
  ._1e0c1ule{display:block}
38
39
  ._1e0cglyw{display:none}
40
+ ._1i4qfg65{overflow-wrap:anywhere}
39
41
  ._1itk1f11{background-image:linear-gradient(to bottom,var(--ds-background-disabled,#0515240f) 0,var(--ds-background-disabled,#0515240f) 100%)}
40
42
  ._1itkdsyg{background-image:radial-gradient(circle,var(--ds-background-information-pressed,#adcbfb) 0,var(--ds-background-discovery-pressed,#e3bdfa) 25%,transparent 50%)}
41
43
  ._1itkybvv{background-image:linear-gradient(to bottom,var(--ds-background-brand-bold,#1868db) 0,var(--ds-background-brand-bold,#1868db) 100%)}
@@ -47,6 +49,7 @@
47
49
  ._1oqbazsu#profile-card-action-button-group span{color:var(--ds-text-subtle,#505258)}
48
50
  ._1pby1mrw{z-index:-1}
49
51
  ._1reo15vq{overflow-x:hidden}
52
+ ._1reoewfl{overflow-x:visible}
50
53
  ._1tkebv7e{min-height:136px}
51
54
  ._1xi2ze3t{right:var(--ds-space-0,0)}
52
55
  ._2hwxze3t{margin-right:var(--ds-space-0,0)}
@@ -66,6 +69,7 @@
66
69
  ._mkrz1rip{clip-path:inset(0 0 0 0 round 3px)}
67
70
  ._n3td1ejb{padding-bottom:var(--ds-space-300,24px)}
68
71
  ._o5721q9c{white-space:nowrap}
72
+ ._o5724jg8{white-space:normal}
69
73
  ._otyrze3t{margin-bottom:var(--ds-space-0,0)}
70
74
  ._s7n4jp4b{vertical-align:top}
71
75
  ._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
@@ -5,6 +5,7 @@ import "./Card.compiled.css";
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
6
  import React, { useRef } from 'react';
7
7
  import { cx } from '@atlaskit/css';
8
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
8
9
  import { Box } from '@atlaskit/primitives/compiled/box';
9
10
  import { Text } from '@atlaskit/primitives/compiled/text';
10
11
  import Tooltip from '@atlaskit/tooltip/Tooltip';
@@ -27,9 +28,11 @@ const styles = {
27
28
  cardContainerWithElevation: "_2rko1mok _16qs130s",
28
29
  detailsLabel: "_zulpu2gc _1e0c1txw _4cvr1h6o _1bah1y6m _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t _o5721q9c",
29
30
  detailsLabelNext: "_zulpu2gc _1e0c1txw _4cvr1h6o _1bah1y6m _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t _19bvze3t _o5721q9c",
31
+ detailsLabelWrap: "_o5724jg8",
30
32
  detailsLabelExtraTopSpace: "_19pkxy5q",
31
33
  detailsLabelIcon: "_1e0c1txw _1o9zidpf _syaz1rpy _1bsb7vkz _4t3i7vkz _s7n4jp4b _19pkze3t",
32
34
  detailsLabelText: "_1reo15vq _18m915vq _11c8wadc _1bto1l2s _syazi7uo _19pkze3t _18u0ze3t",
35
+ detailsLabelTextWrap: "_1reoewfl _18m9ewfl _1i4qfg65",
33
36
  kudosBlobAnimation: "_1e0cglyw _4t3i1w81 _1bsb1w81 _1pby1mrw _kqswstnw _j7hq1q51 _tip8kb7n _5sagi11n _1itkdsyg",
34
37
  appTitleLabel: "_2rko12b0 _syazi7uo _u5f312x7 _19bv12x7 _1bsb1ns9 _19pk1b66 _otyrze3t _18u0utpp _2hwxze3t"
35
38
  };
@@ -120,7 +123,7 @@ export const JobTitleLabel = ({
120
123
  }
121
124
  }, /*#__PURE__*/React.createElement(Text, {
122
125
  ref: textRef,
123
- maxLines: 1,
126
+ maxLines: fg('ptc_a11y_profile_card_text_spacing') ? undefined : 1,
124
127
  color: "color.text.inverse",
125
128
  id: "profile-card-job-title-label-text"
126
129
  }, children)));
@@ -147,7 +150,7 @@ export const DetailsLabel = ({
147
150
  extraTopSpace = false
148
151
  }) => /*#__PURE__*/React.createElement(Box, {
149
152
  as: "dl",
150
- xcss: cx(styles.detailsLabelNext, extraTopSpace && styles.detailsLabelExtraTopSpace)
153
+ xcss: cx(styles.detailsLabelNext, extraTopSpace && styles.detailsLabelExtraTopSpace, fg('ptc_a11y_profile_card_text_spacing') && styles.detailsLabelWrap)
151
154
  }, children);
152
155
  export const DetailsLabelIcon = ({
153
156
  children
@@ -159,5 +162,5 @@ export const DetailsLabelText = ({
159
162
  children
160
163
  }) => /*#__PURE__*/React.createElement(Box, {
161
164
  as: "dd",
162
- xcss: cx(styles.detailsLabelText)
165
+ xcss: cx(styles.detailsLabelText, fg('ptc_a11y_profile_card_text_spacing') && styles.detailsLabelTextWrap)
163
166
  }, children);
@@ -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 = "27.3.2") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
4
+ packageVersion: (_process$env$_PACKAGE2 = "27.3.4") !== 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: "27.3.2",
14
+ packageVersion: "27.3.4",
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', "27.3.2");
8
+ headers.append('atl-client-version', "27.3.4");
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', "27.3.2");
7
+ headers.append('atl-client-version', "27.3.4");
8
8
  return headers;
9
9
  };
10
10
  export function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -10,6 +10,7 @@
10
10
  ._16jlkb7n{flex-grow:1}
11
11
  ._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
12
12
  ._18m915vq{overflow-y:hidden}
13
+ ._18m9ewfl{overflow-y:visible}
13
14
  ._18u01epz{margin-left:var(--ds-space-1000,5pc)}
14
15
  ._18u0u2gc{margin-left:var(--ds-space-100,8px)}
15
16
  ._18u0utpp{margin-left:var(--ds-space-150,9pt)}
@@ -36,6 +37,7 @@
36
37
  ._1e0c1txw{display:flex}
37
38
  ._1e0c1ule{display:block}
38
39
  ._1e0cglyw{display:none}
40
+ ._1i4qfg65{overflow-wrap:anywhere}
39
41
  ._1itk1f11{background-image:linear-gradient(to bottom,var(--ds-background-disabled,#0515240f) 0,var(--ds-background-disabled,#0515240f) 100%)}
40
42
  ._1itkdsyg{background-image:radial-gradient(circle,var(--ds-background-information-pressed,#adcbfb) 0,var(--ds-background-discovery-pressed,#e3bdfa) 25%,transparent 50%)}
41
43
  ._1itkybvv{background-image:linear-gradient(to bottom,var(--ds-background-brand-bold,#1868db) 0,var(--ds-background-brand-bold,#1868db) 100%)}
@@ -47,6 +49,7 @@
47
49
  ._1oqbazsu#profile-card-action-button-group span{color:var(--ds-text-subtle,#505258)}
48
50
  ._1pby1mrw{z-index:-1}
49
51
  ._1reo15vq{overflow-x:hidden}
52
+ ._1reoewfl{overflow-x:visible}
50
53
  ._1tkebv7e{min-height:136px}
51
54
  ._1xi2ze3t{right:var(--ds-space-0,0)}
52
55
  ._2hwxze3t{margin-right:var(--ds-space-0,0)}
@@ -66,6 +69,7 @@
66
69
  ._mkrz1rip{clip-path:inset(0 0 0 0 round 3px)}
67
70
  ._n3td1ejb{padding-bottom:var(--ds-space-300,24px)}
68
71
  ._o5721q9c{white-space:nowrap}
72
+ ._o5724jg8{white-space:normal}
69
73
  ._otyrze3t{margin-bottom:var(--ds-space-0,0)}
70
74
  ._s7n4jp4b{vertical-align:top}
71
75
  ._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
@@ -5,6 +5,7 @@ import "./Card.compiled.css";
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
6
  import React, { useRef } from 'react';
7
7
  import { cx } from '@atlaskit/css';
8
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
8
9
  import { Box } from '@atlaskit/primitives/compiled/box';
9
10
  import { Text } from '@atlaskit/primitives/compiled/text';
10
11
  import Tooltip from '@atlaskit/tooltip/Tooltip';
@@ -27,9 +28,11 @@ var styles = {
27
28
  cardContainerWithElevation: "_2rko1mok _16qs130s",
28
29
  detailsLabel: "_zulpu2gc _1e0c1txw _4cvr1h6o _1bah1y6m _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t _o5721q9c",
29
30
  detailsLabelNext: "_zulpu2gc _1e0c1txw _4cvr1h6o _1bah1y6m _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t _19bvze3t _o5721q9c",
31
+ detailsLabelWrap: "_o5724jg8",
30
32
  detailsLabelExtraTopSpace: "_19pkxy5q",
31
33
  detailsLabelIcon: "_1e0c1txw _1o9zidpf _syaz1rpy _1bsb7vkz _4t3i7vkz _s7n4jp4b _19pkze3t",
32
34
  detailsLabelText: "_1reo15vq _18m915vq _11c8wadc _1bto1l2s _syazi7uo _19pkze3t _18u0ze3t",
35
+ detailsLabelTextWrap: "_1reoewfl _18m9ewfl _1i4qfg65",
33
36
  kudosBlobAnimation: "_1e0cglyw _4t3i1w81 _1bsb1w81 _1pby1mrw _kqswstnw _j7hq1q51 _tip8kb7n _5sagi11n _1itkdsyg",
34
37
  appTitleLabel: "_2rko12b0 _syazi7uo _u5f312x7 _19bv12x7 _1bsb1ns9 _19pk1b66 _otyrze3t _18u0utpp _2hwxze3t"
35
38
  };
@@ -135,7 +138,7 @@ export var JobTitleLabel = function JobTitleLabel(_ref1) {
135
138
  }
136
139
  }, /*#__PURE__*/React.createElement(Text, {
137
140
  ref: textRef,
138
- maxLines: 1,
141
+ maxLines: fg('ptc_a11y_profile_card_text_spacing') ? undefined : 1,
139
142
  color: "color.text.inverse",
140
143
  id: "profile-card-job-title-label-text"
141
144
  }, children)));
@@ -165,7 +168,7 @@ export var DetailsLabel = function DetailsLabel(_ref12) {
165
168
  extraTopSpace = _ref12$extraTopSpace === void 0 ? false : _ref12$extraTopSpace;
166
169
  return /*#__PURE__*/React.createElement(Box, {
167
170
  as: "dl",
168
- xcss: cx(styles.detailsLabelNext, extraTopSpace && styles.detailsLabelExtraTopSpace)
171
+ xcss: cx(styles.detailsLabelNext, extraTopSpace && styles.detailsLabelExtraTopSpace, fg('ptc_a11y_profile_card_text_spacing') && styles.detailsLabelWrap)
169
172
  }, children);
170
173
  };
171
174
  export var DetailsLabelIcon = function DetailsLabelIcon(_ref13) {
@@ -179,6 +182,6 @@ export var DetailsLabelText = function DetailsLabelText(_ref14) {
179
182
  var children = _ref14.children;
180
183
  return /*#__PURE__*/React.createElement(Box, {
181
184
  as: "dd",
182
- xcss: cx(styles.detailsLabelText)
185
+ xcss: cx(styles.detailsLabelText, fg('ptc_a11y_profile_card_text_spacing') && styles.detailsLabelTextWrap)
183
186
  }, children);
184
187
  };
@@ -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 = "27.3.2") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
4
+ packageVersion: (_process$env$_PACKAGE2 = "27.3.4") !== 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: "27.3.2"
19
+ packageVersion: "27.3.4"
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": "27.3.3",
3
+ "version": "27.3.5",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -63,16 +63,16 @@
63
63
  "@atlaskit/primitives": "^22.6.0",
64
64
  "@atlaskit/react-compiler-gating": "^0.2.0",
65
65
  "@atlaskit/rovo-agent-components": "^10.0.0",
66
- "@atlaskit/rovo-triggers": "^12.6.0",
66
+ "@atlaskit/rovo-triggers": "^12.9.0",
67
67
  "@atlaskit/spinner": "^20.4.0",
68
68
  "@atlaskit/teams-app-config": "^3.1.0",
69
69
  "@atlaskit/teams-app-internal-analytics": "^2.4.0",
70
70
  "@atlaskit/teams-app-internal-navigation": "^3.1.0",
71
- "@atlaskit/teams-avatar": "^4.1.0",
71
+ "@atlaskit/teams-avatar": "^4.2.0",
72
72
  "@atlaskit/teams-public": "^3.6.0",
73
73
  "@atlaskit/theme": "^28.2.0",
74
- "@atlaskit/tmp-editor-statsig": "^245.0.0",
75
- "@atlaskit/tokens": "^20.7.0",
74
+ "@atlaskit/tmp-editor-statsig": "^247.0.0",
75
+ "@atlaskit/tokens": "^20.8.0",
76
76
  "@atlaskit/tooltip": "^24.4.0",
77
77
  "@babel/runtime": "^7.0.0",
78
78
  "@compiled/react": "^1.0.2",
@@ -158,6 +158,9 @@
158
158
  },
159
159
  "platform_editor_agent_card_fixes": {
160
160
  "type": "boolean"
161
+ },
162
+ "ptc_a11y_profile_card_text_spacing": {
163
+ "type": "boolean"
161
164
  }
162
165
  },
163
166
  "sideEffects": [