@atlaskit/profilecard 26.24.12 → 26.25.0
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 +22 -0
- package/dist/cjs/client/addHeaders.js +1 -1
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/components/Agent/AgentProfileCard.js +1 -1
- package/dist/cjs/components/User/ProfileCardTrigger.js +1 -5
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/cjs/util/createEvent.js +1 -1
- package/dist/es2019/client/addHeaders.js +1 -1
- package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/es2019/components/Agent/AgentProfileCard.js +1 -1
- package/dist/es2019/components/User/ProfileCardTrigger.js +1 -5
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/es2019/util/createEvent.js +1 -1
- package/dist/esm/client/addHeaders.js +1 -1
- package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/esm/components/Agent/AgentProfileCard.js +1 -1
- package/dist/esm/components/User/ProfileCardTrigger.js +1 -5
- package/dist/esm/util/analytics.js +1 -1
- package/dist/esm/util/createEvent.js +1 -1
- package/dist/types/components/User/ProfileCardTrigger.d.ts +1 -1
- package/dist/types/types.d.ts +0 -4
- package/package.json +8 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 26.25.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`ad7fc6fbafd28`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ad7fc6fbafd28) -
|
|
8
|
+
Cleanup feature gate `jira_ai_hide_conversation_starters_profilecard` in the off state. Removes
|
|
9
|
+
the `hideAgentConversationStarters` prop from `ProfileCardTrigger` and `ProfilecardProps` - the
|
|
10
|
+
prop only had an effect behind the removed gate, and all usages have been cleaned up in this PR.
|
|
11
|
+
Agent profile cards opened from the profile card trigger always show conversation starters.
|
|
12
|
+
- [`d09e13cae1b7d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d09e13cae1b7d) -
|
|
13
|
+
Update i18n NPM package versions for people-and-teams,identity (Group 8)
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
19
|
+
## 26.24.13
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 26.24.12
|
|
4
26
|
|
|
5
27
|
### 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', "26.24.
|
|
14
|
+
headers.append('atl-client-version', "26.24.13");
|
|
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', "26.24.
|
|
14
|
+
headers.append('atl-client-version', "26.24.13");
|
|
15
15
|
return headers;
|
|
16
16
|
};
|
|
17
17
|
function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -211,7 +211,7 @@ var AgentProfileCard = function AgentProfileCard(_ref) {
|
|
|
211
211
|
// Both Jira Coding Agent and Rovo Dev do not support conversations and chat.
|
|
212
212
|
// They share the same creator_type ('ROVO_DEV') but have different display names.
|
|
213
213
|
var isRovoDevOrJiraCodingAgent = isRovoDev || agent.creator_type === 'ROVO_DEV' && agent.name.toLowerCase() === 'jira coding agent';
|
|
214
|
-
var shouldShowConversationStarters = !isRovoDevOrJiraCodingAgent && !(((0,
|
|
214
|
+
var shouldShowConversationStarters = !isRovoDevOrJiraCodingAgent && !(((0, _expValEquals.expValEquals)('platform_editor_agent_mentions', 'isEnabled', true) && (0, _fg.fg)('platform_editor_agent_mentions_drop_one_fixes') || (0, _fg.fg)('platform_editor_agent_card_fixes')) && hideConversationStarters);
|
|
215
215
|
var shouldShowAgentActions = !isRovoDevOrJiraCodingAgent && !hideAgentActions;
|
|
216
216
|
|
|
217
217
|
// Only for M1 hideAgentActions preview cards so other consumers stay unchanged.
|
|
@@ -16,7 +16,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
16
16
|
var _react = _interopRequireWildcard(require("react"));
|
|
17
17
|
var _reactIntl = require("react-intl");
|
|
18
18
|
var _giveKudos = require("@atlaskit/give-kudos");
|
|
19
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
20
19
|
var _popup = require("@atlaskit/popup/popup");
|
|
21
20
|
var _useAnalyticsEvents2 = require("@atlaskit/teams-app-internal-analytics/use-analytics-events");
|
|
22
21
|
var _constants = require("@atlaskit/theme/constants");
|
|
@@ -60,7 +59,6 @@ function ProfileCardContent(_ref) {
|
|
|
60
59
|
onConversationStartersClick: agentActions === null || agentActions === void 0 ? void 0 : agentActions.onConversationStartersClick,
|
|
61
60
|
addFlag: addFlag,
|
|
62
61
|
hideMoreActions: !!hideAgentMoreActions,
|
|
63
|
-
hideConversationStarters: (0, _fg.fg)('jira_ai_hide_conversation_starters_profilecard') && !!profilecardProps.hideAgentConversationStarters,
|
|
64
62
|
hideAiDisclaimer: hideAiDisclaimer
|
|
65
63
|
});
|
|
66
64
|
} else {
|
|
@@ -102,7 +100,6 @@ function ProfilecardTriggerNext(_ref2) {
|
|
|
102
100
|
agentActions = _ref2.agentActions,
|
|
103
101
|
hideAgentMoreActions = _ref2.hideAgentMoreActions,
|
|
104
102
|
hideAiDisclaimer = _ref2.hideAiDisclaimer,
|
|
105
|
-
hideAgentConversationStarters = _ref2.hideAgentConversationStarters,
|
|
106
103
|
_ref2$ariaHideProfile = _ref2.ariaHideProfileTrigger,
|
|
107
104
|
ariaHideProfileTrigger = _ref2$ariaHideProfile === void 0 ? false : _ref2$ariaHideProfile,
|
|
108
105
|
propsIsVisible = _ref2.isVisible,
|
|
@@ -384,8 +381,7 @@ function ProfilecardTriggerNext(_ref2) {
|
|
|
384
381
|
cloudId: cloudId,
|
|
385
382
|
openKudosDrawer: openKudosDrawer,
|
|
386
383
|
isTriggeredUsingKeyboard: isTriggeredUsingKeyboard,
|
|
387
|
-
disabledAriaAttributes: disabledAriaAttributes
|
|
388
|
-
hideAgentConversationStarters: (0, _fg.fg)('jira_ai_hide_conversation_starters_profilecard') && hideAgentConversationStarters
|
|
384
|
+
disabledAriaAttributes: disabledAriaAttributes
|
|
389
385
|
});
|
|
390
386
|
var ssrPlaceholderProp = ssrPlaceholderId ? {
|
|
391
387
|
'data-ssr-placeholder-replace': ssrPlaceholderId
|
|
@@ -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 = "26.24.
|
|
10
|
+
packageVersion: (_process$env$_PACKAGE2 = "26.24.13") !== 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: "26.24.
|
|
25
|
+
packageVersion: "26.24.13"
|
|
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', "26.24.
|
|
8
|
+
headers.append('atl-client-version', "26.24.13");
|
|
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', "26.24.
|
|
9
|
+
headers.append('atl-client-version', "26.24.13");
|
|
10
10
|
return headers;
|
|
11
11
|
};
|
|
12
12
|
export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
|
|
@@ -159,7 +159,7 @@ const AgentProfileCard = ({
|
|
|
159
159
|
// Both Jira Coding Agent and Rovo Dev do not support conversations and chat.
|
|
160
160
|
// They share the same creator_type ('ROVO_DEV') but have different display names.
|
|
161
161
|
const isRovoDevOrJiraCodingAgent = isRovoDev || agent.creator_type === 'ROVO_DEV' && agent.name.toLowerCase() === 'jira coding agent';
|
|
162
|
-
const shouldShowConversationStarters = !isRovoDevOrJiraCodingAgent && !((
|
|
162
|
+
const shouldShowConversationStarters = !isRovoDevOrJiraCodingAgent && !((expValEquals('platform_editor_agent_mentions', 'isEnabled', true) && fg('platform_editor_agent_mentions_drop_one_fixes') || fg('platform_editor_agent_card_fixes')) && hideConversationStarters);
|
|
163
163
|
const shouldShowAgentActions = !isRovoDevOrJiraCodingAgent && !hideAgentActions;
|
|
164
164
|
|
|
165
165
|
// Only for M1 hideAgentActions preview cards so other consumers stay unchanged.
|
|
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import React, { Suspense, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
3
3
|
import { useIntl } from 'react-intl';
|
|
4
4
|
import { GiveKudosLauncherLazy, KudosType } from '@atlaskit/give-kudos';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
6
5
|
import { Popup } from '@atlaskit/popup/popup';
|
|
7
6
|
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
8
7
|
import { layers } from '@atlaskit/theme/constants';
|
|
@@ -42,7 +41,6 @@ function ProfileCardContent({
|
|
|
42
41
|
onConversationStartersClick: agentActions === null || agentActions === void 0 ? void 0 : agentActions.onConversationStartersClick,
|
|
43
42
|
addFlag: addFlag,
|
|
44
43
|
hideMoreActions: !!hideAgentMoreActions,
|
|
45
|
-
hideConversationStarters: fg('jira_ai_hide_conversation_starters_profilecard') && !!profilecardProps.hideAgentConversationStarters,
|
|
46
44
|
hideAiDisclaimer: hideAiDisclaimer
|
|
47
45
|
});
|
|
48
46
|
} else {
|
|
@@ -81,7 +79,6 @@ export default function ProfilecardTriggerNext({
|
|
|
81
79
|
agentActions,
|
|
82
80
|
hideAgentMoreActions,
|
|
83
81
|
hideAiDisclaimer,
|
|
84
|
-
hideAgentConversationStarters,
|
|
85
82
|
ariaHideProfileTrigger = false,
|
|
86
83
|
isVisible: propsIsVisible,
|
|
87
84
|
isRenderedInPortal,
|
|
@@ -317,8 +314,7 @@ export default function ProfilecardTriggerNext({
|
|
|
317
314
|
cloudId: cloudId,
|
|
318
315
|
openKudosDrawer: openKudosDrawer,
|
|
319
316
|
isTriggeredUsingKeyboard: isTriggeredUsingKeyboard,
|
|
320
|
-
disabledAriaAttributes: disabledAriaAttributes
|
|
321
|
-
hideAgentConversationStarters: fg('jira_ai_hide_conversation_starters_profilecard') && hideAgentConversationStarters
|
|
317
|
+
disabledAriaAttributes: disabledAriaAttributes
|
|
322
318
|
};
|
|
323
319
|
const ssrPlaceholderProp = ssrPlaceholderId ? {
|
|
324
320
|
'data-ssr-placeholder-replace': ssrPlaceholderId
|
|
@@ -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 = "26.24.
|
|
4
|
+
packageVersion: (_process$env$_PACKAGE2 = "26.24.13") !== 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: "26.24.
|
|
14
|
+
packageVersion: "26.24.13",
|
|
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', "26.24.
|
|
8
|
+
headers.append('atl-client-version', "26.24.13");
|
|
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', "26.24.
|
|
7
|
+
headers.append('atl-client-version', "26.24.13");
|
|
8
8
|
return headers;
|
|
9
9
|
};
|
|
10
10
|
export function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -202,7 +202,7 @@ var AgentProfileCard = function AgentProfileCard(_ref) {
|
|
|
202
202
|
// Both Jira Coding Agent and Rovo Dev do not support conversations and chat.
|
|
203
203
|
// They share the same creator_type ('ROVO_DEV') but have different display names.
|
|
204
204
|
var isRovoDevOrJiraCodingAgent = isRovoDev || agent.creator_type === 'ROVO_DEV' && agent.name.toLowerCase() === 'jira coding agent';
|
|
205
|
-
var shouldShowConversationStarters = !isRovoDevOrJiraCodingAgent && !((
|
|
205
|
+
var shouldShowConversationStarters = !isRovoDevOrJiraCodingAgent && !((expValEquals('platform_editor_agent_mentions', 'isEnabled', true) && fg('platform_editor_agent_mentions_drop_one_fixes') || fg('platform_editor_agent_card_fixes')) && hideConversationStarters);
|
|
206
206
|
var shouldShowAgentActions = !isRovoDevOrJiraCodingAgent && !hideAgentActions;
|
|
207
207
|
|
|
208
208
|
// Only for M1 hideAgentActions preview cards so other consumers stay unchanged.
|
|
@@ -12,7 +12,6 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
12
12
|
import React, { Suspense, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
13
13
|
import { useIntl } from 'react-intl';
|
|
14
14
|
import { GiveKudosLauncherLazy, KudosType } from '@atlaskit/give-kudos';
|
|
15
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
16
15
|
import { Popup } from '@atlaskit/popup/popup';
|
|
17
16
|
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
18
17
|
import { layers } from '@atlaskit/theme/constants';
|
|
@@ -51,7 +50,6 @@ function ProfileCardContent(_ref) {
|
|
|
51
50
|
onConversationStartersClick: agentActions === null || agentActions === void 0 ? void 0 : agentActions.onConversationStartersClick,
|
|
52
51
|
addFlag: addFlag,
|
|
53
52
|
hideMoreActions: !!hideAgentMoreActions,
|
|
54
|
-
hideConversationStarters: fg('jira_ai_hide_conversation_starters_profilecard') && !!profilecardProps.hideAgentConversationStarters,
|
|
55
53
|
hideAiDisclaimer: hideAiDisclaimer
|
|
56
54
|
});
|
|
57
55
|
} else {
|
|
@@ -93,7 +91,6 @@ export default function ProfilecardTriggerNext(_ref2) {
|
|
|
93
91
|
agentActions = _ref2.agentActions,
|
|
94
92
|
hideAgentMoreActions = _ref2.hideAgentMoreActions,
|
|
95
93
|
hideAiDisclaimer = _ref2.hideAiDisclaimer,
|
|
96
|
-
hideAgentConversationStarters = _ref2.hideAgentConversationStarters,
|
|
97
94
|
_ref2$ariaHideProfile = _ref2.ariaHideProfileTrigger,
|
|
98
95
|
ariaHideProfileTrigger = _ref2$ariaHideProfile === void 0 ? false : _ref2$ariaHideProfile,
|
|
99
96
|
propsIsVisible = _ref2.isVisible,
|
|
@@ -375,8 +372,7 @@ export default function ProfilecardTriggerNext(_ref2) {
|
|
|
375
372
|
cloudId: cloudId,
|
|
376
373
|
openKudosDrawer: openKudosDrawer,
|
|
377
374
|
isTriggeredUsingKeyboard: isTriggeredUsingKeyboard,
|
|
378
|
-
disabledAriaAttributes: disabledAriaAttributes
|
|
379
|
-
hideAgentConversationStarters: fg('jira_ai_hide_conversation_starters_profilecard') && hideAgentConversationStarters
|
|
375
|
+
disabledAriaAttributes: disabledAriaAttributes
|
|
380
376
|
});
|
|
381
377
|
var ssrPlaceholderProp = ssrPlaceholderId ? {
|
|
382
378
|
'data-ssr-placeholder-replace': ssrPlaceholderId
|
|
@@ -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 = "26.24.
|
|
4
|
+
packageVersion: (_process$env$_PACKAGE2 = "26.24.13") !== 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: "26.24.
|
|
19
|
+
packageVersion: "26.24.13"
|
|
20
20
|
}, attributes), {}, {
|
|
21
21
|
firedAt: Math.round(getPageTime())
|
|
22
22
|
})
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type ProfileCardTriggerProps } from '../../types';
|
|
3
|
-
export default function ProfilecardTriggerNext({ autoFocus, trigger, userId, cloudId, resourceClient, actions, position, children, testId, addFlag, onReportingLinesClick, ariaLabel, ariaLabelledBy, prepopulatedData, disabledAriaAttributes, onVisibilityChange, offset, viewingUserId, product, agentActions, hideAgentMoreActions, hideAiDisclaimer,
|
|
3
|
+
export default function ProfilecardTriggerNext({ autoFocus, trigger, userId, cloudId, resourceClient, actions, position, children, testId, addFlag, onReportingLinesClick, ariaLabel, ariaLabelledBy, prepopulatedData, disabledAriaAttributes, onVisibilityChange, offset, viewingUserId, product, agentActions, hideAgentMoreActions, hideAiDisclaimer, ariaHideProfileTrigger, isVisible: propsIsVisible, isRenderedInPortal, ssrPlaceholderId, showDelay: customShowDelay, hideDelay: customHideDelay, }: ProfileCardTriggerProps): React.JSX.Element;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -215,8 +215,6 @@ export interface ProfileCardTriggerProps {
|
|
|
215
215
|
hideDelay?: number;
|
|
216
216
|
hideAgentMoreActions?: boolean;
|
|
217
217
|
hideAiDisclaimer?: boolean;
|
|
218
|
-
/** Hide the conversation starters. Defaults to false (conversation starters are shown by default). */
|
|
219
|
-
hideAgentConversationStarters?: boolean;
|
|
220
218
|
}
|
|
221
219
|
export interface ProfileCardTriggerState {
|
|
222
220
|
visible?: boolean;
|
|
@@ -415,8 +413,6 @@ export interface ProfilecardProps {
|
|
|
415
413
|
isTriggeredUsingKeyboard?: boolean;
|
|
416
414
|
disabledAriaAttributes?: boolean;
|
|
417
415
|
agentActions?: AgentActionsType;
|
|
418
|
-
/** When true (and feature-gated), hide the agent conversation starters section */
|
|
419
|
-
hideAgentConversationStarters?: boolean;
|
|
420
416
|
}
|
|
421
417
|
export type AnalyticsFromDuration = <K extends keyof AnalyticsEventAttributes>(eventKey: K, duration: number) => {
|
|
422
418
|
attributes: AnalyticsEventAttributes[K];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.25.0",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@atlaskit/afm-i18n-platform-people-and-teams-profilecard": "2.
|
|
44
|
+
"@atlaskit/afm-i18n-platform-people-and-teams-profilecard": "2.258.0",
|
|
45
45
|
"@atlaskit/atlassian-context": "^1.2.0",
|
|
46
46
|
"@atlaskit/avatar": "^28.0.0",
|
|
47
47
|
"@atlaskit/avatar-group": "^14.3.0",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"@atlaskit/dropdown-menu": "^18.3.0",
|
|
51
51
|
"@atlaskit/empty-state": "^12.2.0",
|
|
52
52
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
53
|
-
"@atlaskit/give-kudos": "^6.
|
|
53
|
+
"@atlaskit/give-kudos": "^6.18.0",
|
|
54
54
|
"@atlaskit/heading": "^7.2.0",
|
|
55
55
|
"@atlaskit/icon": "^37.7.0",
|
|
56
|
-
"@atlaskit/link": "5.1.
|
|
56
|
+
"@atlaskit/link": "5.1.5",
|
|
57
57
|
"@atlaskit/lozenge": "^15.4.0",
|
|
58
58
|
"@atlaskit/menu": "^11.0.0",
|
|
59
59
|
"@atlaskit/modal-dialog": "^16.6.0",
|
|
@@ -62,17 +62,17 @@
|
|
|
62
62
|
"@atlaskit/popup": "^6.3.0",
|
|
63
63
|
"@atlaskit/primitives": "^22.5.0",
|
|
64
64
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
65
|
-
"@atlaskit/rovo-agent-components": "^8.
|
|
65
|
+
"@atlaskit/rovo-agent-components": "^8.15.0",
|
|
66
66
|
"@atlaskit/rovo-triggers": "^11.2.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": "^2.3.0",
|
|
71
71
|
"@atlaskit/teams-avatar": "^4.1.0",
|
|
72
|
-
"@atlaskit/teams-public": "^2.
|
|
72
|
+
"@atlaskit/teams-public": "^2.13.0",
|
|
73
73
|
"@atlaskit/theme": "^28.2.0",
|
|
74
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
75
|
-
"@atlaskit/tokens": "^
|
|
74
|
+
"@atlaskit/tmp-editor-statsig": "^203.0.0",
|
|
75
|
+
"@atlaskit/tokens": "^19.0.0",
|
|
76
76
|
"@atlaskit/tooltip": "^24.3.0",
|
|
77
77
|
"@babel/runtime": "^7.0.0",
|
|
78
78
|
"@compiled/react": "^1.0.2",
|
|
@@ -147,9 +147,6 @@
|
|
|
147
147
|
"jira_improve_agent_profile_for_a2a": {
|
|
148
148
|
"type": "boolean"
|
|
149
149
|
},
|
|
150
|
-
"jira_ai_hide_conversation_starters_profilecard": {
|
|
151
|
-
"type": "boolean"
|
|
152
|
-
},
|
|
153
150
|
"confluence_fix_agent_profile_card_flash": {
|
|
154
151
|
"type": "boolean"
|
|
155
152
|
},
|