@atlaskit/profilecard 19.7.13 → 19.7.14
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 +7 -0
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/components/User/ProfileCardTrigger.js +1 -1
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/es2019/client/getTeamFromAGG.js +1 -1
- package/dist/es2019/components/User/ProfileCardTrigger.js +1 -1
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/esm/client/getTeamFromAGG.js +1 -1
- package/dist/esm/components/User/ProfileCardTrigger.js +1 -1
- package/dist/esm/util/analytics.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 19.7.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#66217](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66217) [`60bb0cdab810`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/60bb0cdab810) - Without providing button attribute in the hover state, it won't trigger by keyboard. That's why, we are providing button behavior as default to profilecard component.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
3
10
|
## 19.7.13
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -57,7 +57,7 @@ var addHeaders = exports.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', "19.7.
|
|
60
|
+
headers.append('atl-client-version', "19.7.14");
|
|
61
61
|
return headers;
|
|
62
62
|
};
|
|
63
63
|
function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -286,7 +286,7 @@ var ProfilecardTrigger = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
286
286
|
return /*#__PURE__*/_react.default.createElement("span", (0, _extends2.default)({}, innerProps, _this3.containerListeners, {
|
|
287
287
|
ref: ref,
|
|
288
288
|
"data-testid": _this3.props.testId,
|
|
289
|
-
role:
|
|
289
|
+
role: "button",
|
|
290
290
|
tabIndex: 0
|
|
291
291
|
}), _this3.props.children);
|
|
292
292
|
},
|
|
@@ -44,7 +44,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
44
44
|
actionSubjectId: actionSubjectId,
|
|
45
45
|
attributes: _objectSpread(_objectSpread({
|
|
46
46
|
packageName: "@atlaskit/profilecard",
|
|
47
|
-
packageVersion: "19.7.
|
|
47
|
+
packageVersion: "19.7.14"
|
|
48
48
|
}, attributes), {}, {
|
|
49
49
|
firedAt: Math.round((0, _performance.getPageTime)())
|
|
50
50
|
})
|
|
@@ -67,7 +67,7 @@ export const addHeaders = headers => {
|
|
|
67
67
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
68
68
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
69
69
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
70
|
-
headers.append('atl-client-version', "19.7.
|
|
70
|
+
headers.append('atl-client-version', "19.7.14");
|
|
71
71
|
return headers;
|
|
72
72
|
};
|
|
73
73
|
export async function getTeamFromAGG(url, teamId, siteId) {
|
|
@@ -241,7 +241,7 @@ class ProfilecardTrigger extends React.PureComponent {
|
|
|
241
241
|
return /*#__PURE__*/React.createElement("span", _extends({}, innerProps, this.containerListeners, {
|
|
242
242
|
ref: ref,
|
|
243
243
|
"data-testid": this.props.testId,
|
|
244
|
-
role:
|
|
244
|
+
role: "button",
|
|
245
245
|
tabIndex: 0
|
|
246
246
|
}), this.props.children);
|
|
247
247
|
},
|
|
@@ -31,7 +31,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
|
|
|
31
31
|
actionSubjectId,
|
|
32
32
|
attributes: {
|
|
33
33
|
packageName: "@atlaskit/profilecard",
|
|
34
|
-
packageVersion: "19.7.
|
|
34
|
+
packageVersion: "19.7.14",
|
|
35
35
|
...attributes,
|
|
36
36
|
firedAt: Math.round(getPageTime())
|
|
37
37
|
}
|
|
@@ -48,7 +48,7 @@ export var addHeaders = function addHeaders(headers) {
|
|
|
48
48
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
49
49
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
50
50
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
51
|
-
headers.append('atl-client-version', "19.7.
|
|
51
|
+
headers.append('atl-client-version', "19.7.14");
|
|
52
52
|
return headers;
|
|
53
53
|
};
|
|
54
54
|
export function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -276,7 +276,7 @@ var ProfilecardTrigger = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
276
276
|
return /*#__PURE__*/React.createElement("span", _extends({}, innerProps, _this3.containerListeners, {
|
|
277
277
|
ref: ref,
|
|
278
278
|
"data-testid": _this3.props.testId,
|
|
279
|
-
role:
|
|
279
|
+
role: "button",
|
|
280
280
|
tabIndex: 0
|
|
281
281
|
}), _this3.props.children);
|
|
282
282
|
},
|
|
@@ -38,7 +38,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
38
38
|
actionSubjectId: actionSubjectId,
|
|
39
39
|
attributes: _objectSpread(_objectSpread({
|
|
40
40
|
packageName: "@atlaskit/profilecard",
|
|
41
|
-
packageVersion: "19.7.
|
|
41
|
+
packageVersion: "19.7.14"
|
|
42
42
|
}, attributes), {}, {
|
|
43
43
|
firedAt: Math.round(getPageTime())
|
|
44
44
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "19.7.
|
|
3
|
+
"version": "19.7.14",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"@atlaskit/dropdown-menu": "^12.1.0",
|
|
60
60
|
"@atlaskit/empty-state": "^7.6.0",
|
|
61
61
|
"@atlaskit/focus-ring": "^1.3.4",
|
|
62
|
-
"@atlaskit/give-kudos": "^2.
|
|
62
|
+
"@atlaskit/give-kudos": "^2.1.0",
|
|
63
63
|
"@atlaskit/icon": "^22.0.0",
|
|
64
|
-
"@atlaskit/lozenge": "^11.
|
|
64
|
+
"@atlaskit/lozenge": "^11.6.0",
|
|
65
65
|
"@atlaskit/menu": "^2.1.0",
|
|
66
66
|
"@atlaskit/popup": "^1.11.0",
|
|
67
67
|
"@atlaskit/spinner": "^16.0.0",
|