@atlaskit/profilecard 25.1.4 → 25.1.6
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 +13 -0
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/components/User/ProfileCardTrigger.js +1 -4
- package/dist/cjs/components/User/ReportingLinesDetails.compiled.css +1 -0
- package/dist/cjs/components/User/ReportingLinesDetails.js +4 -2
- package/dist/cjs/util/analytics.js +2 -2
- package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/es2019/client/getTeamFromAGG.js +1 -1
- package/dist/es2019/components/User/ProfileCardTrigger.js +1 -4
- package/dist/es2019/components/User/ReportingLinesDetails.compiled.css +1 -0
- package/dist/es2019/components/User/ReportingLinesDetails.js +4 -2
- package/dist/es2019/util/analytics.js +2 -2
- package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/esm/client/getTeamFromAGG.js +1 -1
- package/dist/esm/components/User/ProfileCardTrigger.js +1 -4
- package/dist/esm/components/User/ReportingLinesDetails.compiled.css +1 -0
- package/dist/esm/components/User/ReportingLinesDetails.js +4 -2
- package/dist/esm/util/analytics.js +2 -2
- package/package.json +5 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 25.1.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`33a5dcc627271`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/33a5dcc627271) -
|
|
8
|
+
Updated custom pressables border radius to align with Team 26 US
|
|
9
|
+
|
|
10
|
+
## 25.1.5
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 25.1.4
|
|
4
17
|
|
|
5
18
|
### Patch 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', "
|
|
14
|
+
headers.append('atl-client-version', "25.1.5");
|
|
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', "
|
|
69
|
+
headers.append('atl-client-version', "25.1.5");
|
|
70
70
|
return headers;
|
|
71
71
|
};
|
|
72
72
|
function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -123,7 +123,7 @@ function ProfilecardTriggerNext(_ref2) {
|
|
|
123
123
|
var isExternalControl = propsIsVisible !== undefined && propsIsVisible !== visible;
|
|
124
124
|
// Skip delay entirely for click triggers, or for externally controlled visibility
|
|
125
125
|
// when the flashing fix is not enabled (preserving the original 0ms behavior).
|
|
126
|
-
var shouldSkipDelay = trigger === 'click' || isExternalControl && !(0, _platformFeatureFlags.fg)('jira_ai_fix_agent_profile_card_flashing')
|
|
126
|
+
var shouldSkipDelay = trigger === 'click' || isExternalControl && !(0, _platformFeatureFlags.fg)('jira_ai_fix_agent_profile_card_flashing');
|
|
127
127
|
// When externally controlled with the flashing fix enabled, use a short debounce
|
|
128
128
|
// to absorb rapid focus changes from dropdown options settling after async load.
|
|
129
129
|
var REDUCED_DELAY_MS = 100;
|
|
@@ -334,9 +334,6 @@ function ProfilecardTriggerNext(_ref2) {
|
|
|
334
334
|
showProfilecard();
|
|
335
335
|
}, [showProfilecard]);
|
|
336
336
|
(0, _react.useEffect)(function () {
|
|
337
|
-
if (!(0, _platformFeatureFlags.fg)('fix_profilecard_trigger_isvisible')) {
|
|
338
|
-
return;
|
|
339
|
-
}
|
|
340
337
|
// If the prop isVisible is not defined, we don't want to do anything
|
|
341
338
|
if (propsIsVisible === undefined) {
|
|
342
339
|
return;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
._11c8i4vh{font:var(--ds-font-heading-xxsmall,normal 653 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
2
3
|
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
3
4
|
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
4
5
|
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
@@ -14,6 +14,7 @@ var _reactIntl = require("react-intl");
|
|
|
14
14
|
var _avatar = _interopRequireDefault(require("@atlaskit/avatar"));
|
|
15
15
|
var _avatarGroup = _interopRequireDefault(require("@atlaskit/avatar-group"));
|
|
16
16
|
var _css = require("@atlaskit/css");
|
|
17
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
18
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
18
19
|
var _messages = _interopRequireDefault(require("../../messages"));
|
|
19
20
|
var _ReportingLines = require("../../styled/ReportingLines");
|
|
@@ -25,7 +26,8 @@ function getProfileHref(userId, profileUrl) {
|
|
|
25
26
|
return profileUrl ? profileUrl + userId : undefined;
|
|
26
27
|
}
|
|
27
28
|
var styles = {
|
|
28
|
-
|
|
29
|
+
reportingLinesButtonDEPRECATED: "_ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _bfhksm61 _irr31dpa",
|
|
30
|
+
reportingLinesButton: "_2rko1qi0 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _bfhksm61 _irr31dpa",
|
|
29
31
|
reportingLinesHeadingDefaultStyles: "_11c8i4vh _syazi7uo _k48p1pd9 _otyru2gc",
|
|
30
32
|
reportingLinesHeadingStyles: "_otyrze3t"
|
|
31
33
|
};
|
|
@@ -88,7 +90,7 @@ var ReportingLinesDetails = function ReportingLinesDetails(props) {
|
|
|
88
90
|
return onReportingLinksClick(manager, 'manager', getProfileHref(manager.accountIdentifier, reportingLinesProfileUrl));
|
|
89
91
|
},
|
|
90
92
|
isDisabled: !onReportingLinesClick,
|
|
91
|
-
xcss: styles.reportingLinesButton,
|
|
93
|
+
xcss: (0, _platformFeatureFlags.fg)('enable_teams_t26_design_drop_core_experiences') ? styles.reportingLinesButton : styles.reportingLinesButtonDEPRECATED,
|
|
92
94
|
"aria-label": formatMessage(_messages.default.viewManagerProfile, {
|
|
93
95
|
name: (_manager$pii = manager.pii) === null || _manager$pii === void 0 ? void 0 : _manager$pii.name
|
|
94
96
|
})
|
|
@@ -12,7 +12,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
12
12
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13
13
|
var PACKAGE_META_DATA = exports.PACKAGE_META_DATA = {
|
|
14
14
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
15
|
-
packageVersion: (_process$env$_PACKAGE2 = "
|
|
15
|
+
packageVersion: (_process$env$_PACKAGE2 = "25.1.5") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
16
16
|
};
|
|
17
17
|
var TEAM_SUBJECT = 'teamProfileCard';
|
|
18
18
|
var USER_SUBJECT = 'profilecard';
|
|
@@ -31,7 +31,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
31
31
|
actionSubjectId: actionSubjectId,
|
|
32
32
|
attributes: _objectSpread(_objectSpread({
|
|
33
33
|
packageName: "@atlaskit/profilecard",
|
|
34
|
-
packageVersion: "
|
|
34
|
+
packageVersion: "25.1.5"
|
|
35
35
|
}, attributes), {}, {
|
|
36
36
|
firedAt: Math.round((0, _performance.getPageTime)())
|
|
37
37
|
})
|
|
@@ -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', "
|
|
9
|
+
headers.append('atl-client-version', "25.1.5");
|
|
10
10
|
return headers;
|
|
11
11
|
};
|
|
12
12
|
export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
|
|
@@ -78,7 +78,7 @@ export const addHeaders = headers => {
|
|
|
78
78
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
79
79
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
80
80
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
81
|
-
headers.append('atl-client-version', "
|
|
81
|
+
headers.append('atl-client-version', "25.1.5");
|
|
82
82
|
return headers;
|
|
83
83
|
};
|
|
84
84
|
export async function getTeamFromAGG(url, teamId, siteId) {
|
|
@@ -100,7 +100,7 @@ export default function ProfilecardTriggerNext({
|
|
|
100
100
|
const isExternalControl = propsIsVisible !== undefined && propsIsVisible !== visible;
|
|
101
101
|
// Skip delay entirely for click triggers, or for externally controlled visibility
|
|
102
102
|
// when the flashing fix is not enabled (preserving the original 0ms behavior).
|
|
103
|
-
const shouldSkipDelay = trigger === 'click' || isExternalControl && !fg('jira_ai_fix_agent_profile_card_flashing')
|
|
103
|
+
const shouldSkipDelay = trigger === 'click' || isExternalControl && !fg('jira_ai_fix_agent_profile_card_flashing');
|
|
104
104
|
// When externally controlled with the flashing fix enabled, use a short debounce
|
|
105
105
|
// to absorb rapid focus changes from dropdown options settling after async load.
|
|
106
106
|
const REDUCED_DELAY_MS = 100;
|
|
@@ -268,9 +268,6 @@ export default function ProfilecardTriggerNext({
|
|
|
268
268
|
showProfilecard();
|
|
269
269
|
}, [showProfilecard]);
|
|
270
270
|
useEffect(() => {
|
|
271
|
-
if (!fg('fix_profilecard_trigger_isvisible')) {
|
|
272
|
-
return;
|
|
273
|
-
}
|
|
274
271
|
// If the prop isVisible is not defined, we don't want to do anything
|
|
275
272
|
if (propsIsVisible === undefined) {
|
|
276
273
|
return;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
._11c8i4vh{font:var(--ds-font-heading-xxsmall,normal 653 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
2
3
|
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
3
4
|
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
4
5
|
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
@@ -6,6 +6,7 @@ import { FormattedMessage, useIntl } from 'react-intl';
|
|
|
6
6
|
import Avatar from '@atlaskit/avatar';
|
|
7
7
|
import AvatarGroup from '@atlaskit/avatar-group';
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
10
|
import { Box, Pressable } from '@atlaskit/primitives/compiled';
|
|
10
11
|
import messages from '../../messages';
|
|
11
12
|
import { ManagerName, ManagerSection, OffsetWrapper, ReportingLinesSection } from '../../styled/ReportingLines';
|
|
@@ -15,7 +16,8 @@ function getProfileHref(userId, profileUrl) {
|
|
|
15
16
|
return profileUrl ? profileUrl + userId : undefined;
|
|
16
17
|
}
|
|
17
18
|
const styles = {
|
|
18
|
-
|
|
19
|
+
reportingLinesButtonDEPRECATED: "_ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _bfhksm61 _irr31dpa",
|
|
20
|
+
reportingLinesButton: "_2rko1qi0 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _bfhksm61 _irr31dpa",
|
|
19
21
|
reportingLinesHeadingDefaultStyles: "_11c8i4vh _syazi7uo _k48p1pd9 _otyru2gc",
|
|
20
22
|
reportingLinesHeadingStyles: "_otyrze3t"
|
|
21
23
|
};
|
|
@@ -74,7 +76,7 @@ const ReportingLinesDetails = props => {
|
|
|
74
76
|
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.managerSectionHeading)), /*#__PURE__*/React.createElement(OffsetWrapper, null, /*#__PURE__*/React.createElement(Pressable, {
|
|
75
77
|
onClick: () => onReportingLinksClick(manager, 'manager', getProfileHref(manager.accountIdentifier, reportingLinesProfileUrl)),
|
|
76
78
|
isDisabled: !onReportingLinesClick,
|
|
77
|
-
xcss: styles.reportingLinesButton,
|
|
79
|
+
xcss: fg('enable_teams_t26_design_drop_core_experiences') ? styles.reportingLinesButton : styles.reportingLinesButtonDEPRECATED,
|
|
78
80
|
"aria-label": formatMessage(messages.viewManagerProfile, {
|
|
79
81
|
name: (_manager$pii = manager.pii) === null || _manager$pii === void 0 ? void 0 : _manager$pii.name
|
|
80
82
|
})
|
|
@@ -2,7 +2,7 @@ var _process$env$_PACKAGE, _process$env$_PACKAGE2;
|
|
|
2
2
|
import { getPageTime } from './performance';
|
|
3
3
|
export const PACKAGE_META_DATA = {
|
|
4
4
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
5
|
-
packageVersion: (_process$env$_PACKAGE2 = "
|
|
5
|
+
packageVersion: (_process$env$_PACKAGE2 = "25.1.5") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
6
6
|
};
|
|
7
7
|
const TEAM_SUBJECT = 'teamProfileCard';
|
|
8
8
|
const USER_SUBJECT = 'profilecard';
|
|
@@ -19,7 +19,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
|
|
|
19
19
|
actionSubjectId,
|
|
20
20
|
attributes: {
|
|
21
21
|
packageName: "@atlaskit/profilecard",
|
|
22
|
-
packageVersion: "
|
|
22
|
+
packageVersion: "25.1.5",
|
|
23
23
|
...attributes,
|
|
24
24
|
firedAt: Math.round(getPageTime())
|
|
25
25
|
}
|
|
@@ -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', "
|
|
7
|
+
headers.append('atl-client-version', "25.1.5");
|
|
8
8
|
return headers;
|
|
9
9
|
};
|
|
10
10
|
export function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -59,7 +59,7 @@ export var addHeaders = function addHeaders(headers) {
|
|
|
59
59
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
60
60
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
61
61
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
62
|
-
headers.append('atl-client-version', "
|
|
62
|
+
headers.append('atl-client-version', "25.1.5");
|
|
63
63
|
return headers;
|
|
64
64
|
};
|
|
65
65
|
export function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -114,7 +114,7 @@ export default function ProfilecardTriggerNext(_ref2) {
|
|
|
114
114
|
var isExternalControl = propsIsVisible !== undefined && propsIsVisible !== visible;
|
|
115
115
|
// Skip delay entirely for click triggers, or for externally controlled visibility
|
|
116
116
|
// when the flashing fix is not enabled (preserving the original 0ms behavior).
|
|
117
|
-
var shouldSkipDelay = trigger === 'click' || isExternalControl && !fg('jira_ai_fix_agent_profile_card_flashing')
|
|
117
|
+
var shouldSkipDelay = trigger === 'click' || isExternalControl && !fg('jira_ai_fix_agent_profile_card_flashing');
|
|
118
118
|
// When externally controlled with the flashing fix enabled, use a short debounce
|
|
119
119
|
// to absorb rapid focus changes from dropdown options settling after async load.
|
|
120
120
|
var REDUCED_DELAY_MS = 100;
|
|
@@ -325,9 +325,6 @@ export default function ProfilecardTriggerNext(_ref2) {
|
|
|
325
325
|
showProfilecard();
|
|
326
326
|
}, [showProfilecard]);
|
|
327
327
|
useEffect(function () {
|
|
328
|
-
if (!fg('fix_profilecard_trigger_isvisible')) {
|
|
329
|
-
return;
|
|
330
|
-
}
|
|
331
328
|
// If the prop isVisible is not defined, we don't want to do anything
|
|
332
329
|
if (propsIsVisible === undefined) {
|
|
333
330
|
return;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
._11c8i4vh{font:var(--ds-font-heading-xxsmall,normal 653 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
2
3
|
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
3
4
|
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
4
5
|
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
@@ -9,6 +9,7 @@ import { FormattedMessage, useIntl } from 'react-intl';
|
|
|
9
9
|
import Avatar from '@atlaskit/avatar';
|
|
10
10
|
import AvatarGroup from '@atlaskit/avatar-group';
|
|
11
11
|
import { cx } from '@atlaskit/css';
|
|
12
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
13
|
import { Box, Pressable } from '@atlaskit/primitives/compiled';
|
|
13
14
|
import messages from '../../messages';
|
|
14
15
|
import { ManagerName, ManagerSection, OffsetWrapper, ReportingLinesSection } from '../../styled/ReportingLines';
|
|
@@ -18,7 +19,8 @@ function getProfileHref(userId, profileUrl) {
|
|
|
18
19
|
return profileUrl ? profileUrl + userId : undefined;
|
|
19
20
|
}
|
|
20
21
|
var styles = {
|
|
21
|
-
|
|
22
|
+
reportingLinesButtonDEPRECATED: "_ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _bfhksm61 _irr31dpa",
|
|
23
|
+
reportingLinesButton: "_2rko1qi0 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _bfhksm61 _irr31dpa",
|
|
22
24
|
reportingLinesHeadingDefaultStyles: "_11c8i4vh _syazi7uo _k48p1pd9 _otyru2gc",
|
|
23
25
|
reportingLinesHeadingStyles: "_otyrze3t"
|
|
24
26
|
};
|
|
@@ -81,7 +83,7 @@ var ReportingLinesDetails = function ReportingLinesDetails(props) {
|
|
|
81
83
|
return onReportingLinksClick(manager, 'manager', getProfileHref(manager.accountIdentifier, reportingLinesProfileUrl));
|
|
82
84
|
},
|
|
83
85
|
isDisabled: !onReportingLinesClick,
|
|
84
|
-
xcss: styles.reportingLinesButton,
|
|
86
|
+
xcss: fg('enable_teams_t26_design_drop_core_experiences') ? styles.reportingLinesButton : styles.reportingLinesButtonDEPRECATED,
|
|
85
87
|
"aria-label": formatMessage(messages.viewManagerProfile, {
|
|
86
88
|
name: (_manager$pii = manager.pii) === null || _manager$pii === void 0 ? void 0 : _manager$pii.name
|
|
87
89
|
})
|
|
@@ -5,7 +5,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
5
5
|
import { getPageTime } from './performance';
|
|
6
6
|
export var PACKAGE_META_DATA = {
|
|
7
7
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
8
|
-
packageVersion: (_process$env$_PACKAGE2 = "
|
|
8
|
+
packageVersion: (_process$env$_PACKAGE2 = "25.1.5") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
9
9
|
};
|
|
10
10
|
var TEAM_SUBJECT = 'teamProfileCard';
|
|
11
11
|
var USER_SUBJECT = 'profilecard';
|
|
@@ -24,7 +24,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
24
24
|
actionSubjectId: actionSubjectId,
|
|
25
25
|
attributes: _objectSpread(_objectSpread({
|
|
26
26
|
packageName: "@atlaskit/profilecard",
|
|
27
|
-
packageVersion: "
|
|
27
|
+
packageVersion: "25.1.5"
|
|
28
28
|
}, attributes), {}, {
|
|
29
29
|
firedAt: Math.round(getPageTime())
|
|
30
30
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "25.1.
|
|
3
|
+
"version": "25.1.6",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
"@atlaskit/empty-state": "^10.2.0",
|
|
57
57
|
"@atlaskit/give-kudos": "^5.3.0",
|
|
58
58
|
"@atlaskit/heading": "^5.4.0",
|
|
59
|
-
"@atlaskit/icon": "^34.
|
|
59
|
+
"@atlaskit/icon": "^34.3.0",
|
|
60
60
|
"@atlaskit/link": "3.4.2",
|
|
61
61
|
"@atlaskit/lozenge": "^13.7.0",
|
|
62
62
|
"@atlaskit/menu": "^8.5.0",
|
|
63
|
-
"@atlaskit/modal-dialog": "^14.
|
|
63
|
+
"@atlaskit/modal-dialog": "^14.18.0",
|
|
64
64
|
"@atlaskit/people-teams-ui-public": "^4.0.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
66
66
|
"@atlaskit/popup": "^4.16.0",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"@atlaskit/teams-avatar": "^2.6.0",
|
|
75
75
|
"@atlaskit/teams-public": "^1.1.0",
|
|
76
76
|
"@atlaskit/theme": "^23.1.0",
|
|
77
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
77
|
+
"@atlaskit/tmp-editor-statsig": "^66.0.0",
|
|
78
78
|
"@atlaskit/tokens": "^13.0.0",
|
|
79
|
-
"@atlaskit/tooltip": "^21.
|
|
79
|
+
"@atlaskit/tooltip": "^21.2.0",
|
|
80
80
|
"@babel/runtime": "^7.0.0",
|
|
81
81
|
"@compiled/react": "^0.20.0",
|
|
82
82
|
"date-fns": "^2.17.0",
|
|
@@ -141,9 +141,6 @@
|
|
|
141
141
|
"platform_agg_user_query_doc_change": {
|
|
142
142
|
"type": "boolean"
|
|
143
143
|
},
|
|
144
|
-
"fix_profilecard_trigger_isvisible": {
|
|
145
|
-
"type": "boolean"
|
|
146
|
-
},
|
|
147
144
|
"pt-deprecate-assistance-service": {
|
|
148
145
|
"type": "boolean"
|
|
149
146
|
},
|