@atlaskit/profilecard 19.26.0 → 19.26.1
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 +9 -0
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/components/Agent/AgentProfileCard.js +3 -1
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/es2019/client/getTeamFromAGG.js +1 -1
- package/dist/es2019/components/Agent/AgentProfileCard.js +3 -1
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/esm/client/getTeamFromAGG.js +1 -1
- package/dist/esm/components/Agent/AgentProfileCard.js +3 -1
- package/dist/esm/util/analytics.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 19.26.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#137195](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/137195)
|
|
8
|
+
[`0c6a0ad6e8350`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c6a0ad6e8350) -
|
|
9
|
+
Pass identity_account_id to AgentAvatar
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 19.26.0
|
|
4
13
|
|
|
5
14
|
### Minor 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.26.
|
|
60
|
+
headers.append('atl-client-version', "19.26.1");
|
|
61
61
|
return headers;
|
|
62
62
|
};
|
|
63
63
|
function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -169,12 +169,14 @@ var AgentProfileCard = function AgentProfileCard(_ref) {
|
|
|
169
169
|
}, /*#__PURE__*/_react.default.createElement(_rovoAgentComponents.AgentBanner, {
|
|
170
170
|
agentId: agent.id,
|
|
171
171
|
agentNamedId: agent.named_id,
|
|
172
|
-
height: 96
|
|
172
|
+
height: 96,
|
|
173
|
+
agentIdentityAccountId: agent.identity_account_id
|
|
173
174
|
}), /*#__PURE__*/_react.default.createElement(_primitives.Box, {
|
|
174
175
|
xcss: avatarStyles
|
|
175
176
|
}, /*#__PURE__*/_react.default.createElement(_rovoAgentComponents.AgentAvatar, {
|
|
176
177
|
agentId: agent.id,
|
|
177
178
|
agentNamedId: agent.named_id,
|
|
179
|
+
agentIdentityAccountId: agent.identity_account_id,
|
|
178
180
|
size: "xlarge"
|
|
179
181
|
})), /*#__PURE__*/_react.default.createElement(_primitives.Stack, {
|
|
180
182
|
space: "space.100",
|
|
@@ -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: "19.26.
|
|
48
|
+
packageVersion: "19.26.1"
|
|
49
49
|
}, attributes), {}, {
|
|
50
50
|
firedAt: Math.round((0, _performance.getPageTime)())
|
|
51
51
|
})
|
|
@@ -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.26.
|
|
70
|
+
headers.append('atl-client-version', "19.26.1");
|
|
71
71
|
return headers;
|
|
72
72
|
};
|
|
73
73
|
export async function getTeamFromAGG(url, teamId, siteId) {
|
|
@@ -122,12 +122,14 @@ const AgentProfileCard = ({
|
|
|
122
122
|
}, /*#__PURE__*/React.createElement(AgentBanner, {
|
|
123
123
|
agentId: agent.id,
|
|
124
124
|
agentNamedId: agent.named_id,
|
|
125
|
-
height: 96
|
|
125
|
+
height: 96,
|
|
126
|
+
agentIdentityAccountId: agent.identity_account_id
|
|
126
127
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
127
128
|
xcss: avatarStyles
|
|
128
129
|
}, /*#__PURE__*/React.createElement(AgentAvatar, {
|
|
129
130
|
agentId: agent.id,
|
|
130
131
|
agentNamedId: agent.named_id,
|
|
132
|
+
agentIdentityAccountId: agent.identity_account_id,
|
|
131
133
|
size: "xlarge"
|
|
132
134
|
})), /*#__PURE__*/React.createElement(Stack, {
|
|
133
135
|
space: "space.100",
|
|
@@ -32,7 +32,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
|
|
|
32
32
|
actionSubjectId,
|
|
33
33
|
attributes: {
|
|
34
34
|
packageName: "@atlaskit/profilecard",
|
|
35
|
-
packageVersion: "19.26.
|
|
35
|
+
packageVersion: "19.26.1",
|
|
36
36
|
...attributes,
|
|
37
37
|
firedAt: Math.round(getPageTime())
|
|
38
38
|
}
|
|
@@ -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.26.
|
|
51
|
+
headers.append('atl-client-version', "19.26.1");
|
|
52
52
|
return headers;
|
|
53
53
|
};
|
|
54
54
|
export function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -159,12 +159,14 @@ var AgentProfileCard = function AgentProfileCard(_ref) {
|
|
|
159
159
|
}, /*#__PURE__*/React.createElement(AgentBanner, {
|
|
160
160
|
agentId: agent.id,
|
|
161
161
|
agentNamedId: agent.named_id,
|
|
162
|
-
height: 96
|
|
162
|
+
height: 96,
|
|
163
|
+
agentIdentityAccountId: agent.identity_account_id
|
|
163
164
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
164
165
|
xcss: avatarStyles
|
|
165
166
|
}, /*#__PURE__*/React.createElement(AgentAvatar, {
|
|
166
167
|
agentId: agent.id,
|
|
167
168
|
agentNamedId: agent.named_id,
|
|
169
|
+
agentIdentityAccountId: agent.identity_account_id,
|
|
168
170
|
size: "xlarge"
|
|
169
171
|
})), /*#__PURE__*/React.createElement(Stack, {
|
|
170
172
|
space: "space.100",
|
|
@@ -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: "19.26.
|
|
42
|
+
packageVersion: "19.26.1"
|
|
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": "19.26.
|
|
3
|
+
"version": "19.26.1",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
66
66
|
"@atlaskit/popup": "^1.24.0",
|
|
67
67
|
"@atlaskit/primitives": "^12.1.0",
|
|
68
|
-
"@atlaskit/rovo-agent-components": "^1.
|
|
68
|
+
"@atlaskit/rovo-agent-components": "^1.2.0",
|
|
69
69
|
"@atlaskit/spinner": "^16.3.0",
|
|
70
70
|
"@atlaskit/theme": "^13.0.0",
|
|
71
71
|
"@atlaskit/tokens": "^1.59.0",
|