@atlaskit/profilecard 24.46.1 → 24.46.3
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 +12 -0
- package/dist/cjs/components/Team/TeamProfileCardTrigger.js +2 -1
- package/dist/cjs/util/analytics.js +3 -2
- package/dist/es2019/components/Team/TeamProfileCardTrigger.js +2 -1
- package/dist/es2019/util/analytics.js +3 -2
- package/dist/esm/components/Team/TeamProfileCardTrigger.js +2 -1
- package/dist/esm/util/analytics.js +3 -2
- package/dist/types/client/ProfileCardClient.d.ts +4 -4
- package/dist/types/client/getTeamFromAGG.d.ts +2 -2
- package/dist/types/components/Agent/hooks/useAgentActions.d.ts +2 -2
- package/dist/types/components/Agent/lazyAgentProfileCard.d.ts +3 -1
- package/dist/types/components/Team/TeamProfileCardTrigger.d.ts +6 -6
- package/dist/types/components/Team/lazyTeamProfileCard.d.ts +3 -1
- package/dist/types/components/User/lazyProfileCard.d.ts +3 -1
- package/dist/types/util/analytics.d.ts +1 -1
- package/dist/types-ts4.5/client/ProfileCardClient.d.ts +4 -4
- package/dist/types-ts4.5/client/getTeamFromAGG.d.ts +2 -2
- package/dist/types-ts4.5/components/Agent/hooks/useAgentActions.d.ts +2 -2
- package/dist/types-ts4.5/components/Agent/lazyAgentProfileCard.d.ts +3 -1
- package/dist/types-ts4.5/components/Team/TeamProfileCardTrigger.d.ts +6 -6
- package/dist/types-ts4.5/components/Team/lazyTeamProfileCard.d.ts +3 -1
- package/dist/types-ts4.5/components/User/lazyProfileCard.d.ts +3 -1
- package/dist/types-ts4.5/util/analytics.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -451,4 +451,5 @@ var TeamProfileCardTrigger = function TeamProfileCardTrigger(props) {
|
|
|
451
451
|
* It now simply renders its children without any profile card behavior.
|
|
452
452
|
* Please use `@atlassian/team-profilecard` instead for team profile card functionality.
|
|
453
453
|
*/
|
|
454
|
-
var
|
|
454
|
+
var _default_1 = (0, _reactIntlNext.injectIntl)(TeamProfileCardTrigger);
|
|
455
|
+
var _default = exports.default = _default_1;
|
|
@@ -7,11 +7,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.userRequestAnalytics = exports.teamRequestAnalytics = exports.teamAvatarClicked = exports.reportingLinesClicked = exports.profileCardRendered = exports.moreMembersClicked = exports.moreActionsClicked = exports.getActionSubject = exports.errorRetryClicked = exports.cardTriggered = exports.agentRequestAnalytics = exports.actionClicked = exports.PACKAGE_META_DATA = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _performance = require("./performance");
|
|
10
|
+
var _process$env$_PACKAGE, _process$env$_PACKAGE2;
|
|
10
11
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
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; }
|
|
12
13
|
var PACKAGE_META_DATA = exports.PACKAGE_META_DATA = {
|
|
13
|
-
packageName: "@atlaskit/profilecard",
|
|
14
|
-
packageVersion: "0.0.0-development"
|
|
14
|
+
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
15
|
+
packageVersion: (_process$env$_PACKAGE2 = "0.0.0-development") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
15
16
|
};
|
|
16
17
|
var TEAM_SUBJECT = 'teamProfileCard';
|
|
17
18
|
var USER_SUBJECT = 'profilecard';
|
|
@@ -403,4 +403,5 @@ const TeamProfileCardTrigger = props => {
|
|
|
403
403
|
* It now simply renders its children without any profile card behavior.
|
|
404
404
|
* Please use `@atlassian/team-profilecard` instead for team profile card functionality.
|
|
405
405
|
*/
|
|
406
|
-
|
|
406
|
+
const _default_1 = injectIntl(TeamProfileCardTrigger);
|
|
407
|
+
export default _default_1;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
var _process$env$_PACKAGE, _process$env$_PACKAGE2;
|
|
1
2
|
import { getPageTime } from './performance';
|
|
2
3
|
export const PACKAGE_META_DATA = {
|
|
3
|
-
packageName: "@atlaskit/profilecard",
|
|
4
|
-
packageVersion: "0.0.0-development"
|
|
4
|
+
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
5
|
+
packageVersion: (_process$env$_PACKAGE2 = "0.0.0-development") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
5
6
|
};
|
|
6
7
|
const TEAM_SUBJECT = 'teamProfileCard';
|
|
7
8
|
const USER_SUBJECT = 'profilecard';
|
|
@@ -442,4 +442,5 @@ var TeamProfileCardTrigger = function TeamProfileCardTrigger(props) {
|
|
|
442
442
|
* It now simply renders its children without any profile card behavior.
|
|
443
443
|
* Please use `@atlassian/team-profilecard` instead for team profile card functionality.
|
|
444
444
|
*/
|
|
445
|
-
|
|
445
|
+
var _default_1 = injectIntl(TeamProfileCardTrigger);
|
|
446
|
+
export default _default_1;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
var _process$env$_PACKAGE, _process$env$_PACKAGE2;
|
|
2
3
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
4
|
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) { _defineProperty(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; }
|
|
4
5
|
import { getPageTime } from './performance';
|
|
5
6
|
export var PACKAGE_META_DATA = {
|
|
6
|
-
packageName: "@atlaskit/profilecard",
|
|
7
|
-
packageVersion: "0.0.0-development"
|
|
7
|
+
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
8
|
+
packageVersion: (_process$env$_PACKAGE2 = "0.0.0-development") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
8
9
|
};
|
|
9
10
|
var TEAM_SUBJECT = 'teamProfileCard';
|
|
10
11
|
var USER_SUBJECT = 'profilecard';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FireEventType } from '@atlaskit/teams-app-internal-analytics';
|
|
2
|
-
import { type AgentIdType, type ClientOverrides, type ProfileClient, type ProfileClientOptions, type TeamCentralReportingLinesData } from '../types';
|
|
2
|
+
import { type AgentIdType, type AgentPermissions, type ClientOverrides, type ProfileClient, type ProfileClientOptions, type RovoAgentCardClientResult, type Team, type TeamCentralReportingLinesData } from '../types';
|
|
3
3
|
import RovoAgentCardClient from './RovoAgentCardClient';
|
|
4
4
|
import TeamCentralCardClient from './TeamCentralCardClient';
|
|
5
5
|
import TeamProfileCardClient from './TeamProfileCardClient';
|
|
@@ -16,12 +16,12 @@ declare class ProfileCardClient implements ProfileClient {
|
|
|
16
16
|
constructor(config: ProfileClientOptions, clients?: ClientOverrides);
|
|
17
17
|
flushCache(): void;
|
|
18
18
|
getProfile(cloudId: string, userId: string, analytics?: FireEventType): Promise<any>;
|
|
19
|
-
getTeamProfile(teamId: string, orgId?: string, analytics?: FireEventType): Promise<
|
|
19
|
+
getTeamProfile(teamId: string, orgId?: string, analytics?: FireEventType): Promise<Team>;
|
|
20
20
|
getReportingLines(userId: string): Promise<TeamCentralReportingLinesData>;
|
|
21
21
|
getTeamCentralBaseUrl(teamCentralScopes?: TeamCentralScopes): Promise<string | undefined>;
|
|
22
22
|
shouldShowGiveKudos(): Promise<boolean>;
|
|
23
|
-
getRovoAgentProfile(id: AgentIdType, analytics?: FireEventType): Promise<
|
|
24
|
-
getRovoAgentPermissions(id: string, fireAnalytics?: FireEventType): Promise<
|
|
23
|
+
getRovoAgentProfile(id: AgentIdType, analytics?: FireEventType): Promise<RovoAgentCardClientResult>;
|
|
24
|
+
getRovoAgentPermissions(id: string, fireAnalytics?: FireEventType): Promise<AgentPermissions>;
|
|
25
25
|
deleteAgent(id: string, analytics?: FireEventType): Promise<void>;
|
|
26
26
|
setFavouriteAgent(id: string, isFavourite: boolean, analytics?: FireEventType): Promise<void>;
|
|
27
27
|
}
|
|
@@ -21,12 +21,12 @@ export declare const extractIdFromAri: (ari: string) => string;
|
|
|
21
21
|
export declare const idToAri: (teamId: string) => string;
|
|
22
22
|
export declare const idToAriSafe: (teamIdOrTeamAri: string) => string;
|
|
23
23
|
export declare const convertTeam: (result: AGGResult) => Team;
|
|
24
|
-
export declare const GATEWAY_QUERY_V2
|
|
24
|
+
export declare const GATEWAY_QUERY_V2: 'query TeamCard($teamId: ID!, $siteId: String!) {\n Team: team {\n team: teamV2(id: $teamId, siteId: $siteId) @optIn(to: "Team-v2") {\n \n id\n displayName\n description\n smallHeaderImageUrl\n largeHeaderImageUrl\n smallAvatarImageUrl\n largeAvatarImageUrl\n\t isVerified\n\t state\n members {\n nodes {\n member {\n accountId\n name\n picture\n }\n }\n }\n\n }\n }\n}';
|
|
25
25
|
type TeamQueryVariables = {
|
|
26
26
|
teamId: string;
|
|
27
27
|
siteId?: string;
|
|
28
28
|
};
|
|
29
|
-
export declare const buildGatewayQuery: ({ teamId, siteId }: TeamQueryVariables) => {
|
|
29
|
+
export declare const buildGatewayQuery: ({ teamId, siteId, }: TeamQueryVariables) => {
|
|
30
30
|
query: string;
|
|
31
31
|
variables: {
|
|
32
32
|
teamId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const firstCharUpper: (str: string) => string;
|
|
2
|
-
export declare const useAgentUrlActions: ({ cloudId, source }: {
|
|
2
|
+
export declare const useAgentUrlActions: ({ cloudId, source, }: {
|
|
3
3
|
cloudId: string;
|
|
4
4
|
source: string;
|
|
5
5
|
}) => {
|
|
@@ -7,7 +7,7 @@ export declare const useAgentUrlActions: ({ cloudId, source }: {
|
|
|
7
7
|
onCopyAgent: (agentId: string) => void;
|
|
8
8
|
onDuplicateAgent: (agentId: string) => void;
|
|
9
9
|
onOpenChat: (agentId: string, agentName: string) => void;
|
|
10
|
-
onConversationStarter: ({ agentId, prompt
|
|
10
|
+
onConversationStarter: ({ agentId, prompt }: {
|
|
11
11
|
agentId: string;
|
|
12
12
|
prompt: string;
|
|
13
13
|
}) => void;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { type LazyExoticComponent } from 'react';
|
|
2
|
+
import type { AgentProfileCardProps } from '../../types';
|
|
3
|
+
export declare const AgentProfileCardLazy: LazyExoticComponent<({ agent, isLoading, cloudId, onChatClick, hasError, errorType, onConversationStartersClick, resourceClient, addFlag, onDeleteAgent, hideMoreActions, hideAiDisclaimer, hideConversationStarters, }: AgentProfileCardProps) => React.JSX.Element>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type WithIntlProps, type WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import { type TriggerProps } from '@atlaskit/popup/types';
|
|
4
4
|
import { type AnalyticsEventAttributes, type FireEventType } from '@atlaskit/teams-app-internal-analytics';
|
|
5
5
|
import type { AnalyticsProps, ProfileCardAction, Team, TeamProfileCardTriggerProps, TeamProfileCardTriggerState } from '../../types';
|
|
6
6
|
export declare class TeamProfileCardTriggerInternal extends React.PureComponent<TeamProfileCardTriggerProps & AnalyticsProps & WrappedComponentProps, TeamProfileCardTriggerState> {
|
|
7
7
|
static defaultProps: {
|
|
8
8
|
actions: never[];
|
|
9
|
-
trigger:
|
|
10
|
-
position:
|
|
11
|
-
triggerLinkType:
|
|
9
|
+
trigger: 'hover';
|
|
10
|
+
position: 'bottom-start';
|
|
11
|
+
triggerLinkType: 'link';
|
|
12
12
|
shouldRenderToParent: boolean;
|
|
13
13
|
};
|
|
14
14
|
_isMounted: boolean;
|
|
@@ -59,7 +59,7 @@ export declare class TeamProfileCardTriggerInternal extends React.PureComponent<
|
|
|
59
59
|
* It now simply renders its children without any profile card behavior.
|
|
60
60
|
* Please use `@atlassian/team-profilecard` instead for team profile card functionality.
|
|
61
61
|
*/
|
|
62
|
-
declare const
|
|
62
|
+
declare const _default_1: React.FC<WithIntlProps<TeamProfileCardTriggerProps & WrappedComponentProps>> & {
|
|
63
63
|
WrappedComponent: React.ComponentType<TeamProfileCardTriggerProps & WrappedComponentProps>;
|
|
64
64
|
};
|
|
65
|
-
export default
|
|
65
|
+
export default _default_1;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { type LazyExoticComponent } from 'react';
|
|
2
|
+
import type { TeamProfilecardProps } from '../../types';
|
|
3
|
+
export declare const TeamProfileCardLazy: LazyExoticComponent<(props: TeamProfilecardProps) => React.JSX.Element | null>;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { type LazyExoticComponent } from 'react';
|
|
2
|
+
import type { ProfilecardProps, AnalyticsProps } from '../../types';
|
|
3
|
+
export declare const ProfileCardLazy: LazyExoticComponent<(props: ProfilecardProps & AnalyticsProps) => React.JSX.Element | null>;
|
|
@@ -5,7 +5,7 @@ export declare const PACKAGE_META_DATA: {
|
|
|
5
5
|
packageVersion: string;
|
|
6
6
|
};
|
|
7
7
|
type GenericAttributes = Record<string, string | number | boolean | undefined | string[]>;
|
|
8
|
-
export declare const getActionSubject: (type: string) => "
|
|
8
|
+
export declare const getActionSubject: (type: string) => "user" | "teamProfileCard" | "profilecard" | "rovoAgentProfilecard";
|
|
9
9
|
/**
|
|
10
10
|
* @private
|
|
11
11
|
* @deprecated Analytics events should be fired using the `@atlaskit/teams-app-internal-analytics` package.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FireEventType } from '@atlaskit/teams-app-internal-analytics';
|
|
2
|
-
import { type AgentIdType, type ClientOverrides, type ProfileClient, type ProfileClientOptions, type TeamCentralReportingLinesData } from '../types';
|
|
2
|
+
import { type AgentIdType, type AgentPermissions, type ClientOverrides, type ProfileClient, type ProfileClientOptions, type RovoAgentCardClientResult, type Team, type TeamCentralReportingLinesData } from '../types';
|
|
3
3
|
import RovoAgentCardClient from './RovoAgentCardClient';
|
|
4
4
|
import TeamCentralCardClient from './TeamCentralCardClient';
|
|
5
5
|
import TeamProfileCardClient from './TeamProfileCardClient';
|
|
@@ -16,12 +16,12 @@ declare class ProfileCardClient implements ProfileClient {
|
|
|
16
16
|
constructor(config: ProfileClientOptions, clients?: ClientOverrides);
|
|
17
17
|
flushCache(): void;
|
|
18
18
|
getProfile(cloudId: string, userId: string, analytics?: FireEventType): Promise<any>;
|
|
19
|
-
getTeamProfile(teamId: string, orgId?: string, analytics?: FireEventType): Promise<
|
|
19
|
+
getTeamProfile(teamId: string, orgId?: string, analytics?: FireEventType): Promise<Team>;
|
|
20
20
|
getReportingLines(userId: string): Promise<TeamCentralReportingLinesData>;
|
|
21
21
|
getTeamCentralBaseUrl(teamCentralScopes?: TeamCentralScopes): Promise<string | undefined>;
|
|
22
22
|
shouldShowGiveKudos(): Promise<boolean>;
|
|
23
|
-
getRovoAgentProfile(id: AgentIdType, analytics?: FireEventType): Promise<
|
|
24
|
-
getRovoAgentPermissions(id: string, fireAnalytics?: FireEventType): Promise<
|
|
23
|
+
getRovoAgentProfile(id: AgentIdType, analytics?: FireEventType): Promise<RovoAgentCardClientResult>;
|
|
24
|
+
getRovoAgentPermissions(id: string, fireAnalytics?: FireEventType): Promise<AgentPermissions>;
|
|
25
25
|
deleteAgent(id: string, analytics?: FireEventType): Promise<void>;
|
|
26
26
|
setFavouriteAgent(id: string, isFavourite: boolean, analytics?: FireEventType): Promise<void>;
|
|
27
27
|
}
|
|
@@ -21,12 +21,12 @@ export declare const extractIdFromAri: (ari: string) => string;
|
|
|
21
21
|
export declare const idToAri: (teamId: string) => string;
|
|
22
22
|
export declare const idToAriSafe: (teamIdOrTeamAri: string) => string;
|
|
23
23
|
export declare const convertTeam: (result: AGGResult) => Team;
|
|
24
|
-
export declare const GATEWAY_QUERY_V2
|
|
24
|
+
export declare const GATEWAY_QUERY_V2: 'query TeamCard($teamId: ID!, $siteId: String!) {\n Team: team {\n team: teamV2(id: $teamId, siteId: $siteId) @optIn(to: "Team-v2") {\n \n id\n displayName\n description\n smallHeaderImageUrl\n largeHeaderImageUrl\n smallAvatarImageUrl\n largeAvatarImageUrl\n\t isVerified\n\t state\n members {\n nodes {\n member {\n accountId\n name\n picture\n }\n }\n }\n\n }\n }\n}';
|
|
25
25
|
type TeamQueryVariables = {
|
|
26
26
|
teamId: string;
|
|
27
27
|
siteId?: string;
|
|
28
28
|
};
|
|
29
|
-
export declare const buildGatewayQuery: ({ teamId, siteId }: TeamQueryVariables) => {
|
|
29
|
+
export declare const buildGatewayQuery: ({ teamId, siteId, }: TeamQueryVariables) => {
|
|
30
30
|
query: string;
|
|
31
31
|
variables: {
|
|
32
32
|
teamId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const firstCharUpper: (str: string) => string;
|
|
2
|
-
export declare const useAgentUrlActions: ({ cloudId, source }: {
|
|
2
|
+
export declare const useAgentUrlActions: ({ cloudId, source, }: {
|
|
3
3
|
cloudId: string;
|
|
4
4
|
source: string;
|
|
5
5
|
}) => {
|
|
@@ -7,7 +7,7 @@ export declare const useAgentUrlActions: ({ cloudId, source }: {
|
|
|
7
7
|
onCopyAgent: (agentId: string) => void;
|
|
8
8
|
onDuplicateAgent: (agentId: string) => void;
|
|
9
9
|
onOpenChat: (agentId: string, agentName: string) => void;
|
|
10
|
-
onConversationStarter: ({ agentId, prompt
|
|
10
|
+
onConversationStarter: ({ agentId, prompt }: {
|
|
11
11
|
agentId: string;
|
|
12
12
|
prompt: string;
|
|
13
13
|
}) => void;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { type LazyExoticComponent } from 'react';
|
|
2
|
+
import type { AgentProfileCardProps } from '../../types';
|
|
3
|
+
export declare const AgentProfileCardLazy: LazyExoticComponent<({ agent, isLoading, cloudId, onChatClick, hasError, errorType, onConversationStartersClick, resourceClient, addFlag, onDeleteAgent, hideMoreActions, hideAiDisclaimer, hideConversationStarters, }: AgentProfileCardProps) => React.JSX.Element>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type WithIntlProps, type WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import { type TriggerProps } from '@atlaskit/popup/types';
|
|
4
4
|
import { type AnalyticsEventAttributes, type FireEventType } from '@atlaskit/teams-app-internal-analytics';
|
|
5
5
|
import type { AnalyticsProps, ProfileCardAction, Team, TeamProfileCardTriggerProps, TeamProfileCardTriggerState } from '../../types';
|
|
6
6
|
export declare class TeamProfileCardTriggerInternal extends React.PureComponent<TeamProfileCardTriggerProps & AnalyticsProps & WrappedComponentProps, TeamProfileCardTriggerState> {
|
|
7
7
|
static defaultProps: {
|
|
8
8
|
actions: never[];
|
|
9
|
-
trigger:
|
|
10
|
-
position:
|
|
11
|
-
triggerLinkType:
|
|
9
|
+
trigger: 'hover';
|
|
10
|
+
position: 'bottom-start';
|
|
11
|
+
triggerLinkType: 'link';
|
|
12
12
|
shouldRenderToParent: boolean;
|
|
13
13
|
};
|
|
14
14
|
_isMounted: boolean;
|
|
@@ -59,7 +59,7 @@ export declare class TeamProfileCardTriggerInternal extends React.PureComponent<
|
|
|
59
59
|
* It now simply renders its children without any profile card behavior.
|
|
60
60
|
* Please use `@atlassian/team-profilecard` instead for team profile card functionality.
|
|
61
61
|
*/
|
|
62
|
-
declare const
|
|
62
|
+
declare const _default_1: React.FC<WithIntlProps<TeamProfileCardTriggerProps & WrappedComponentProps>> & {
|
|
63
63
|
WrappedComponent: React.ComponentType<TeamProfileCardTriggerProps & WrappedComponentProps>;
|
|
64
64
|
};
|
|
65
|
-
export default
|
|
65
|
+
export default _default_1;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { type LazyExoticComponent } from 'react';
|
|
2
|
+
import type { TeamProfilecardProps } from '../../types';
|
|
3
|
+
export declare const TeamProfileCardLazy: LazyExoticComponent<(props: TeamProfilecardProps) => React.JSX.Element | null>;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { type LazyExoticComponent } from 'react';
|
|
2
|
+
import type { ProfilecardProps, AnalyticsProps } from '../../types';
|
|
3
|
+
export declare const ProfileCardLazy: LazyExoticComponent<(props: ProfilecardProps & AnalyticsProps) => React.JSX.Element | null>;
|
|
@@ -5,7 +5,7 @@ export declare const PACKAGE_META_DATA: {
|
|
|
5
5
|
packageVersion: string;
|
|
6
6
|
};
|
|
7
7
|
type GenericAttributes = Record<string, string | number | boolean | undefined | string[]>;
|
|
8
|
-
export declare const getActionSubject: (type: string) => "
|
|
8
|
+
export declare const getActionSubject: (type: string) => "user" | "teamProfileCard" | "profilecard" | "rovoAgentProfilecard";
|
|
9
9
|
/**
|
|
10
10
|
* @private
|
|
11
11
|
* @deprecated Analytics events should be fired using the `@atlaskit/teams-app-internal-analytics` package.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "24.46.
|
|
3
|
+
"version": "24.46.3",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
"@atlaskit/teams-app-config": "^1.12.0",
|
|
65
65
|
"@atlaskit/teams-app-internal-analytics": "^1.27.0",
|
|
66
66
|
"@atlaskit/teams-avatar": "^2.4.0",
|
|
67
|
-
"@atlaskit/teams-public": "^0.
|
|
67
|
+
"@atlaskit/teams-public": "^0.73.0",
|
|
68
68
|
"@atlaskit/theme": "^22.0.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^54.0.0",
|
|
70
70
|
"@atlaskit/tokens": "^11.4.0",
|
|
71
71
|
"@atlaskit/tooltip": "^21.1.0",
|
|
72
72
|
"@babel/runtime": "^7.0.0",
|