@atlaskit/profilecard 23.19.0 → 23.19.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 +15 -0
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/components/User/ProfileCardTrigger.js +2 -1
- 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/User/ProfileCardTrigger.js +2 -1
- 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/User/ProfileCardTrigger.js +2 -1
- package/dist/esm/util/analytics.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 23.19.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 23.19.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#171707](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/171707)
|
|
14
|
+
[`bbb9147bfde7a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bbb9147bfde7a) -
|
|
15
|
+
NO-ISSUE Fix profile card pop up content text selection issue
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 23.19.0
|
|
4
19
|
|
|
5
20
|
### 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', "23.19.
|
|
14
|
+
headers.append('atl-client-version', "23.19.2");
|
|
15
15
|
return headers;
|
|
16
16
|
};
|
|
17
17
|
function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -65,7 +65,7 @@ var addHeaders = exports.addHeaders = function addHeaders(headers) {
|
|
|
65
65
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
66
66
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
67
67
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
68
|
-
headers.append('atl-client-version', "23.19.
|
|
68
|
+
headers.append('atl-client-version', "23.19.2");
|
|
69
69
|
return headers;
|
|
70
70
|
};
|
|
71
71
|
function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -406,7 +406,8 @@ function ProfilecardTriggerNext(_ref2) {
|
|
|
406
406
|
autoFocus: autoFocus !== null && autoFocus !== void 0 ? autoFocus : trigger === 'click'
|
|
407
407
|
// This feature gate is currently enabled only for Jira_Web to avoid UI issues in Confluence_Web.
|
|
408
408
|
,
|
|
409
|
-
shouldRenderToParent: (0, _platformFeatureFlags.fg)('enable_appropriate_reading_order_in_profile_card')
|
|
409
|
+
shouldRenderToParent: (0, _platformFeatureFlags.fg)('enable_appropriate_reading_order_in_profile_card'),
|
|
410
|
+
shouldDisableFocusLock: (0, _platformFeatureFlags.fg)('enable_appropriate_reading_order_in_profile_card')
|
|
410
411
|
}), shouldShowGiveKudos && teamCentralBaseUrl && /*#__PURE__*/_react.default.createElement(_react.Suspense, {
|
|
411
412
|
fallback: null
|
|
412
413
|
}, /*#__PURE__*/_react.default.createElement(_giveKudos.GiveKudosLauncherLazy, {
|
|
@@ -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.19.
|
|
48
|
+
packageVersion: "23.19.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', "23.19.
|
|
9
|
+
headers.append('atl-client-version', "23.19.2");
|
|
10
10
|
return headers;
|
|
11
11
|
};
|
|
12
12
|
export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
|
|
@@ -74,7 +74,7 @@ export const addHeaders = headers => {
|
|
|
74
74
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
75
75
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
76
76
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
77
|
-
headers.append('atl-client-version', "23.19.
|
|
77
|
+
headers.append('atl-client-version', "23.19.2");
|
|
78
78
|
return headers;
|
|
79
79
|
};
|
|
80
80
|
export async function getTeamFromAGG(url, teamId, siteId) {
|
|
@@ -338,7 +338,8 @@ export default function ProfilecardTriggerNext({
|
|
|
338
338
|
autoFocus: autoFocus !== null && autoFocus !== void 0 ? autoFocus : trigger === 'click'
|
|
339
339
|
// This feature gate is currently enabled only for Jira_Web to avoid UI issues in Confluence_Web.
|
|
340
340
|
,
|
|
341
|
-
shouldRenderToParent: fg('enable_appropriate_reading_order_in_profile_card')
|
|
341
|
+
shouldRenderToParent: fg('enable_appropriate_reading_order_in_profile_card'),
|
|
342
|
+
shouldDisableFocusLock: fg('enable_appropriate_reading_order_in_profile_card')
|
|
342
343
|
}), shouldShowGiveKudos && teamCentralBaseUrl && /*#__PURE__*/React.createElement(Suspense, {
|
|
343
344
|
fallback: null
|
|
344
345
|
}, /*#__PURE__*/React.createElement(GiveKudosLauncherLazy, {
|
|
@@ -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.19.
|
|
35
|
+
packageVersion: "23.19.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', "23.19.
|
|
7
|
+
headers.append('atl-client-version', "23.19.2");
|
|
8
8
|
return headers;
|
|
9
9
|
};
|
|
10
10
|
export function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -56,7 +56,7 @@ export var addHeaders = function addHeaders(headers) {
|
|
|
56
56
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
57
57
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
58
58
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
59
|
-
headers.append('atl-client-version', "23.19.
|
|
59
|
+
headers.append('atl-client-version', "23.19.2");
|
|
60
60
|
return headers;
|
|
61
61
|
};
|
|
62
62
|
export function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -397,7 +397,8 @@ export default function ProfilecardTriggerNext(_ref2) {
|
|
|
397
397
|
autoFocus: autoFocus !== null && autoFocus !== void 0 ? autoFocus : trigger === 'click'
|
|
398
398
|
// This feature gate is currently enabled only for Jira_Web to avoid UI issues in Confluence_Web.
|
|
399
399
|
,
|
|
400
|
-
shouldRenderToParent: fg('enable_appropriate_reading_order_in_profile_card')
|
|
400
|
+
shouldRenderToParent: fg('enable_appropriate_reading_order_in_profile_card'),
|
|
401
|
+
shouldDisableFocusLock: fg('enable_appropriate_reading_order_in_profile_card')
|
|
401
402
|
}), shouldShowGiveKudos && teamCentralBaseUrl && /*#__PURE__*/React.createElement(Suspense, {
|
|
402
403
|
fallback: null
|
|
403
404
|
}, /*#__PURE__*/React.createElement(GiveKudosLauncherLazy, {
|
|
@@ -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.19.
|
|
42
|
+
packageVersion: "23.19.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": "23.19.
|
|
3
|
+
"version": "23.19.2",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"@atlaskit/focus-ring": "^3.0.0",
|
|
64
64
|
"@atlaskit/give-kudos": "^4.3.0",
|
|
65
65
|
"@atlaskit/heading": "^5.2.0",
|
|
66
|
-
"@atlaskit/icon": "^
|
|
66
|
+
"@atlaskit/icon": "^27.0.0",
|
|
67
67
|
"@atlaskit/link": "^3.2.0",
|
|
68
|
-
"@atlaskit/logo": "^19.
|
|
68
|
+
"@atlaskit/logo": "^19.1.0",
|
|
69
69
|
"@atlaskit/lozenge": "^13.0.0",
|
|
70
70
|
"@atlaskit/menu": "^8.0.0",
|
|
71
71
|
"@atlaskit/modal-dialog": "^14.2.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@atlaskit/popup": "^4.3.0",
|
|
75
75
|
"@atlaskit/primitives": "^14.8.0",
|
|
76
76
|
"@atlaskit/rovo-agent-components": "^2.11.0",
|
|
77
|
-
"@atlaskit/rovo-triggers": "^2.
|
|
77
|
+
"@atlaskit/rovo-triggers": "^2.17.0",
|
|
78
78
|
"@atlaskit/spinner": "^18.0.0",
|
|
79
79
|
"@atlaskit/teams-avatar": "^2.3.0",
|
|
80
80
|
"@atlaskit/teams-public": "^0.38.0",
|