@atlaskit/profilecard 19.18.1 → 19.19.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 +15 -0
- package/agent/package.json +14 -0
- package/dist/cjs/client/ProfileCardClient.js +2 -2
- package/dist/cjs/client/RovoAgentCardClient.js +11 -8
- package/dist/cjs/client/getAgentInfo.js +4 -7
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/components/Agent/AgentProfileCard.js +34 -6
- package/dist/cjs/components/Agent/AgentProfileCardResourced.js +36 -12
- package/dist/cjs/components/Agent/AgentProfileCardTrigger.js +41 -16
- package/dist/cjs/components/Agent/index.js +8 -0
- package/dist/cjs/components/Agent/useSetFavouriteAgent.js +22 -16
- package/dist/cjs/components/common/ProfileCardTrigger.js +13 -5
- package/dist/cjs/mocks/simple-mock-clients.js +1 -1
- package/dist/cjs/util/analytics.js +16 -4
- package/dist/cjs/util/rovoAgentUtils.js +3 -3
- package/dist/cjs/util/useProfileInfo.js +11 -6
- package/dist/es2019/client/ProfileCardClient.js +2 -2
- package/dist/es2019/client/RovoAgentCardClient.js +12 -9
- package/dist/es2019/client/getAgentInfo.js +5 -3
- package/dist/es2019/client/getTeamFromAGG.js +1 -1
- package/dist/es2019/components/Agent/AgentProfileCard.js +32 -6
- package/dist/es2019/components/Agent/AgentProfileCardResourced.js +31 -10
- package/dist/es2019/components/Agent/AgentProfileCardTrigger.js +39 -17
- package/dist/es2019/components/Agent/index.js +2 -0
- package/dist/es2019/components/Agent/useSetFavouriteAgent.js +5 -2
- package/dist/es2019/components/common/ProfileCardTrigger.js +10 -3
- package/dist/es2019/mocks/simple-mock-clients.js +1 -1
- package/dist/es2019/util/analytics.js +20 -6
- package/dist/es2019/util/rovoAgentUtils.js +2 -2
- package/dist/es2019/util/useProfileInfo.js +3 -1
- package/dist/esm/client/ProfileCardClient.js +2 -2
- package/dist/esm/client/RovoAgentCardClient.js +12 -9
- package/dist/esm/client/getAgentInfo.js +4 -7
- package/dist/esm/client/getTeamFromAGG.js +1 -1
- package/dist/esm/components/Agent/AgentProfileCard.js +31 -6
- package/dist/esm/components/Agent/AgentProfileCardResourced.js +36 -12
- package/dist/esm/components/Agent/AgentProfileCardTrigger.js +42 -17
- package/dist/esm/components/Agent/index.js +2 -0
- package/dist/esm/components/Agent/useSetFavouriteAgent.js +22 -16
- package/dist/esm/components/common/ProfileCardTrigger.js +13 -5
- package/dist/esm/mocks/simple-mock-clients.js +1 -1
- package/dist/esm/util/analytics.js +16 -4
- package/dist/esm/util/rovoAgentUtils.js +2 -2
- package/dist/esm/util/useProfileInfo.js +11 -6
- package/dist/types/client/ProfileCardClient.d.ts +2 -2
- package/dist/types/client/RovoAgentCardClient.d.ts +3 -3
- package/dist/types/components/Agent/AgentProfileCard.d.ts +4 -3
- package/dist/types/components/Agent/AgentProfileCardResourced.d.ts +1 -1
- package/dist/types/components/Agent/index.d.ts +2 -0
- package/dist/types/components/Agent/lazyAgentProfileCard.d.ts +3 -2
- package/dist/types/components/Agent/useSetFavouriteAgent.d.ts +2 -2
- package/dist/types/components/common/ProfileCardTrigger.d.ts +1 -1
- package/dist/types/components/common/types.d.ts +6 -1
- package/dist/types/mocks/simple-mock-clients.d.ts +2 -2
- package/dist/types/types.d.ts +6 -1
- package/dist/types/util/analytics.d.ts +1 -1
- package/dist/types/util/rovoAgentUtils.d.ts +1 -0
- package/dist/types/util/useProfileInfo.d.ts +1 -0
- package/dist/types-ts4.5/client/ProfileCardClient.d.ts +2 -2
- package/dist/types-ts4.5/client/RovoAgentCardClient.d.ts +3 -3
- package/dist/types-ts4.5/components/Agent/AgentProfileCard.d.ts +4 -3
- package/dist/types-ts4.5/components/Agent/AgentProfileCardResourced.d.ts +1 -1
- package/dist/types-ts4.5/components/Agent/index.d.ts +2 -0
- package/dist/types-ts4.5/components/Agent/lazyAgentProfileCard.d.ts +3 -2
- package/dist/types-ts4.5/components/Agent/useSetFavouriteAgent.d.ts +2 -2
- package/dist/types-ts4.5/components/common/ProfileCardTrigger.d.ts +1 -1
- package/dist/types-ts4.5/components/common/types.d.ts +6 -1
- package/dist/types-ts4.5/mocks/simple-mock-clients.d.ts +2 -2
- package/dist/types-ts4.5/types.d.ts +6 -1
- package/dist/types-ts4.5/util/analytics.d.ts +1 -1
- package/dist/types-ts4.5/util/rovoAgentUtils.d.ts +1 -0
- package/dist/types-ts4.5/util/useProfileInfo.d.ts +1 -0
- package/package.json +3 -2
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const AgentProfileCardLazy: import("react").LazyExoticComponent<({ agent, isLoading, isCreatedByViewingUser, cloudId, onOpenChat, product, }: {
|
|
3
|
-
agent
|
|
2
|
+
export declare const AgentProfileCardLazy: import("react").LazyExoticComponent<({ agent, isLoading, isCreatedByViewingUser, cloudId, onOpenChat, product, hasError, errorType, }: {
|
|
3
|
+
agent?: import("../../types").RovoAgentProfileCardInfo | undefined;
|
|
4
4
|
isLoading?: boolean | undefined;
|
|
5
5
|
hasError?: boolean | undefined;
|
|
6
6
|
isCreatedByViewingUser?: boolean | undefined;
|
|
7
7
|
cloudId?: string | undefined;
|
|
8
8
|
onOpenChat?: ((agentId: string) => void) | undefined;
|
|
9
9
|
product?: string | undefined;
|
|
10
|
+
errorType?: import("../..").ProfileCardErrorType | undefined;
|
|
10
11
|
}) => JSX.Element>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type ProfileCardTriggerProps } from './types';
|
|
3
|
-
declare function ProfileCardTrigger<T>({ trigger, ariaLabelledBy, children, renderProfileCard, fetchProfile, disabledAriaAttributes, ...popupProps }: ProfileCardTriggerProps<T>): JSX.Element;
|
|
3
|
+
declare function ProfileCardTrigger<T>({ trigger, ariaLabelledBy, children, renderProfileCard, fetchProfile, disabledAriaAttributes, profileCardType, fireAnalytics, ...popupProps }: ProfileCardTriggerProps<T>): JSX.Element;
|
|
4
4
|
export default ProfileCardTrigger;
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
|
|
2
3
|
import { type PopupProps } from '@atlaskit/popup';
|
|
4
|
+
import { type ProfileCardErrorType } from '../../types';
|
|
3
5
|
export type ProfileCardTriggerProps<T> = {
|
|
4
6
|
trigger: 'hover' | 'click';
|
|
5
7
|
ariaLabelledBy?: string;
|
|
6
8
|
disabledAriaAttributes?: boolean;
|
|
7
9
|
children: React.ReactNode;
|
|
8
|
-
renderProfileCard: ({ profileData, isLoading, }: {
|
|
10
|
+
renderProfileCard: ({ profileData, isLoading, error, }: {
|
|
9
11
|
profileData?: T;
|
|
10
12
|
isLoading: boolean;
|
|
13
|
+
error: ProfileCardErrorType | undefined | null;
|
|
11
14
|
}) => React.ReactNode;
|
|
12
15
|
fetchProfile?: () => Promise<T>;
|
|
16
|
+
profileCardType: 'agent' | 'user' | 'team';
|
|
17
|
+
fireAnalytics?: (payload: AnalyticsEventPayload) => void;
|
|
13
18
|
} & Omit<PopupProps, 'trigger' | 'isOpen' | 'content'>;
|
|
@@ -2,7 +2,7 @@ import ProfileCardClient from '../client/ProfileCardClient';
|
|
|
2
2
|
import RovoAgentCardClient from '../client/RovoAgentCardClient';
|
|
3
3
|
import TeamProfileCardClient from '../client/TeamProfileCardClient';
|
|
4
4
|
import UserProfileCardClient from '../client/UserProfileCardClient';
|
|
5
|
-
import { type ProfileCardClientData, type RovoAgent, type Team } from '../types';
|
|
5
|
+
import { type AgentIdType, type ProfileCardClientData, type RovoAgent, type Team } from '../types';
|
|
6
6
|
declare class SimpleMockTeamClient extends TeamProfileCardClient {
|
|
7
7
|
makeRequest(teamId: string): Promise<Team>;
|
|
8
8
|
}
|
|
@@ -10,7 +10,7 @@ declare class SimpleMockUserClient extends UserProfileCardClient {
|
|
|
10
10
|
makeRequest(cloudId: string, userId: string): Promise<ProfileCardClientData>;
|
|
11
11
|
}
|
|
12
12
|
declare class SimpleMockAgentClient extends RovoAgentCardClient {
|
|
13
|
-
makeRequest(
|
|
13
|
+
makeRequest(id: AgentIdType, cloudId: string): Promise<RovoAgent>;
|
|
14
14
|
}
|
|
15
15
|
export declare const simpleMockUserClient: SimpleMockUserClient;
|
|
16
16
|
export declare const simpleMockTeamClient: SimpleMockTeamClient;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -151,6 +151,7 @@ export interface ProfileCardTriggerProps {
|
|
|
151
151
|
isVisible?: boolean;
|
|
152
152
|
offset?: [number, number];
|
|
153
153
|
product?: string;
|
|
154
|
+
viewingUserId?: string;
|
|
154
155
|
}
|
|
155
156
|
export interface ProfileCardTriggerState {
|
|
156
157
|
visible?: boolean;
|
|
@@ -387,6 +388,10 @@ export interface MessageIntlProviderProps {
|
|
|
387
388
|
intl: IntlShape;
|
|
388
389
|
}
|
|
389
390
|
export type RelativeDateKeyType = 'ThisWeek' | 'ThisMonth' | 'LastMonth' | 'AFewMonths' | 'SeveralMonths' | 'MoreThanAYear' | null;
|
|
391
|
+
export type AgentIdType = {
|
|
392
|
+
type: 'agent' | 'identity';
|
|
393
|
+
value: string;
|
|
394
|
+
};
|
|
390
395
|
export interface ProfileClient {
|
|
391
396
|
flushCache: () => void;
|
|
392
397
|
getProfile: (cloudId: string, userId: string, analytics?: (event: AnalyticsEventPayload) => void) => Promise<ProfileCardClientData>;
|
|
@@ -394,7 +399,7 @@ export interface ProfileClient {
|
|
|
394
399
|
getReportingLines: (userId: string) => Promise<TeamCentralReportingLinesData>;
|
|
395
400
|
shouldShowGiveKudos: () => Promise<boolean>;
|
|
396
401
|
getTeamCentralBaseUrl: () => string | undefined;
|
|
397
|
-
getRovoAgentProfile: (
|
|
402
|
+
getRovoAgentProfile: (id: AgentIdType, fireAnalytics?: (event: AnalyticsEventPayload) => void) => Promise<RovoAgent>;
|
|
398
403
|
}
|
|
399
404
|
export type ProfilecardTriggerPosition = 'bottom-start' | 'bottom' | 'bottom-end' | 'left-start' | 'left' | 'left-end' | 'top-end' | 'top' | 'top-start' | 'right-end' | 'right' | 'right-start';
|
|
400
405
|
export type ProfileCardErrorType = {
|
|
@@ -11,7 +11,7 @@ interface AnalyticsEvent {
|
|
|
11
11
|
source?: string;
|
|
12
12
|
}
|
|
13
13
|
export declare const fireEvent: (createAnalyticsEvent: CreateUIAnalyticsEvent | undefined, body: AnalyticsEvent) => void;
|
|
14
|
-
export declare const cardTriggered: (type: 'user' | 'team', method: 'hover' | 'click') => AnalyticsEventPayload;
|
|
14
|
+
export declare const cardTriggered: (type: 'user' | 'team' | 'agent', method: 'hover' | 'click') => AnalyticsEventPayload;
|
|
15
15
|
export declare const teamRequestAnalytics: (action: 'triggered' | 'succeeded' | 'failed', attributes?: {
|
|
16
16
|
duration: number;
|
|
17
17
|
} & GenericAttributes) => AnalyticsEventPayload;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
|
|
2
|
-
import { type ClientOverrides, type ProfileClientOptions, type TeamCentralReportingLinesData } from '../types';
|
|
2
|
+
import { type AgentIdType, type ClientOverrides, type ProfileClientOptions, type TeamCentralReportingLinesData } from '../types';
|
|
3
3
|
import RovoAgentCardClient from './RovoAgentCardClient';
|
|
4
4
|
import TeamCentralCardClient from './TeamCentralCardClient';
|
|
5
5
|
import TeamProfileCardClient from './TeamProfileCardClient';
|
|
@@ -16,6 +16,6 @@ declare class ProfileCardClient {
|
|
|
16
16
|
getReportingLines(userId: string): Promise<TeamCentralReportingLinesData>;
|
|
17
17
|
getTeamCentralBaseUrl(): string | undefined;
|
|
18
18
|
shouldShowGiveKudos(): Promise<boolean>;
|
|
19
|
-
getRovoAgentProfile(
|
|
19
|
+
getRovoAgentProfile(id: AgentIdType, analytics?: (event: AnalyticsEventPayload) => void): Promise<import("../types").RovoAgent>;
|
|
20
20
|
}
|
|
21
21
|
export default ProfileCardClient;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
|
|
2
|
-
import type { ProfileClientOptions, RovoAgent } from '../types';
|
|
2
|
+
import type { AgentIdType, ProfileClientOptions, RovoAgent } from '../types';
|
|
3
3
|
import CachingClient from './CachingClient';
|
|
4
4
|
export default class RovoAgentCardClient extends CachingClient<RovoAgent> {
|
|
5
5
|
options: ProfileClientOptions;
|
|
6
6
|
constructor(options: ProfileClientOptions);
|
|
7
|
-
makeRequest(
|
|
8
|
-
getProfile(
|
|
7
|
+
makeRequest(id: AgentIdType, cloudId: string): Promise<RovoAgent>;
|
|
8
|
+
getProfile(id: AgentIdType, analytics?: (event: AnalyticsEventPayload) => void): Promise<RovoAgent>;
|
|
9
9
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type RovoAgentProfileCardInfo } from '../../types';
|
|
2
|
+
import { type ProfileCardErrorType, type RovoAgentProfileCardInfo } from '../../types';
|
|
3
3
|
type AgentProfileCardProps = {
|
|
4
|
-
agent
|
|
4
|
+
agent?: RovoAgentProfileCardInfo;
|
|
5
5
|
isLoading?: boolean;
|
|
6
6
|
hasError?: boolean;
|
|
7
7
|
isCreatedByViewingUser?: boolean;
|
|
8
8
|
cloudId?: string;
|
|
9
9
|
onOpenChat?: (agentId: string) => void;
|
|
10
10
|
product?: string;
|
|
11
|
+
errorType?: ProfileCardErrorType;
|
|
11
12
|
};
|
|
12
|
-
declare const AgentProfileCard: ({ agent, isLoading, isCreatedByViewingUser, cloudId, onOpenChat, product, }: AgentProfileCardProps) => JSX.Element;
|
|
13
|
+
declare const AgentProfileCard: ({ agent, isLoading, isCreatedByViewingUser, cloudId, onOpenChat, product, hasError, errorType, }: AgentProfileCardProps) => JSX.Element;
|
|
13
14
|
export default AgentProfileCard;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const AgentProfileCardLazy: import("react").LazyExoticComponent<({ agent, isLoading, isCreatedByViewingUser, cloudId, onOpenChat, product, }: {
|
|
3
|
-
agent
|
|
2
|
+
export declare const AgentProfileCardLazy: import("react").LazyExoticComponent<({ agent, isLoading, isCreatedByViewingUser, cloudId, onOpenChat, product, hasError, errorType, }: {
|
|
3
|
+
agent?: import("../../types").RovoAgentProfileCardInfo | undefined;
|
|
4
4
|
isLoading?: boolean | undefined;
|
|
5
5
|
hasError?: boolean | undefined;
|
|
6
6
|
isCreatedByViewingUser?: boolean | undefined;
|
|
7
7
|
cloudId?: string | undefined;
|
|
8
8
|
onOpenChat?: ((agentId: string) => void) | undefined;
|
|
9
9
|
product?: string | undefined;
|
|
10
|
+
errorType?: import("../..").ProfileCardErrorType | undefined;
|
|
10
11
|
}) => JSX.Element>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type ProfileCardTriggerProps } from './types';
|
|
3
|
-
declare function ProfileCardTrigger<T>({ trigger, ariaLabelledBy, children, renderProfileCard, fetchProfile, disabledAriaAttributes, ...popupProps }: ProfileCardTriggerProps<T>): JSX.Element;
|
|
3
|
+
declare function ProfileCardTrigger<T>({ trigger, ariaLabelledBy, children, renderProfileCard, fetchProfile, disabledAriaAttributes, profileCardType, fireAnalytics, ...popupProps }: ProfileCardTriggerProps<T>): JSX.Element;
|
|
4
4
|
export default ProfileCardTrigger;
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
|
|
2
3
|
import { type PopupProps } from '@atlaskit/popup';
|
|
4
|
+
import { type ProfileCardErrorType } from '../../types';
|
|
3
5
|
export type ProfileCardTriggerProps<T> = {
|
|
4
6
|
trigger: 'hover' | 'click';
|
|
5
7
|
ariaLabelledBy?: string;
|
|
6
8
|
disabledAriaAttributes?: boolean;
|
|
7
9
|
children: React.ReactNode;
|
|
8
|
-
renderProfileCard: ({ profileData, isLoading, }: {
|
|
10
|
+
renderProfileCard: ({ profileData, isLoading, error, }: {
|
|
9
11
|
profileData?: T;
|
|
10
12
|
isLoading: boolean;
|
|
13
|
+
error: ProfileCardErrorType | undefined | null;
|
|
11
14
|
}) => React.ReactNode;
|
|
12
15
|
fetchProfile?: () => Promise<T>;
|
|
16
|
+
profileCardType: 'agent' | 'user' | 'team';
|
|
17
|
+
fireAnalytics?: (payload: AnalyticsEventPayload) => void;
|
|
13
18
|
} & Omit<PopupProps, 'trigger' | 'isOpen' | 'content'>;
|
|
@@ -2,7 +2,7 @@ import ProfileCardClient from '../client/ProfileCardClient';
|
|
|
2
2
|
import RovoAgentCardClient from '../client/RovoAgentCardClient';
|
|
3
3
|
import TeamProfileCardClient from '../client/TeamProfileCardClient';
|
|
4
4
|
import UserProfileCardClient from '../client/UserProfileCardClient';
|
|
5
|
-
import { type ProfileCardClientData, type RovoAgent, type Team } from '../types';
|
|
5
|
+
import { type AgentIdType, type ProfileCardClientData, type RovoAgent, type Team } from '../types';
|
|
6
6
|
declare class SimpleMockTeamClient extends TeamProfileCardClient {
|
|
7
7
|
makeRequest(teamId: string): Promise<Team>;
|
|
8
8
|
}
|
|
@@ -10,7 +10,7 @@ declare class SimpleMockUserClient extends UserProfileCardClient {
|
|
|
10
10
|
makeRequest(cloudId: string, userId: string): Promise<ProfileCardClientData>;
|
|
11
11
|
}
|
|
12
12
|
declare class SimpleMockAgentClient extends RovoAgentCardClient {
|
|
13
|
-
makeRequest(
|
|
13
|
+
makeRequest(id: AgentIdType, cloudId: string): Promise<RovoAgent>;
|
|
14
14
|
}
|
|
15
15
|
export declare const simpleMockUserClient: SimpleMockUserClient;
|
|
16
16
|
export declare const simpleMockTeamClient: SimpleMockTeamClient;
|
|
@@ -154,6 +154,7 @@ export interface ProfileCardTriggerProps {
|
|
|
154
154
|
number
|
|
155
155
|
];
|
|
156
156
|
product?: string;
|
|
157
|
+
viewingUserId?: string;
|
|
157
158
|
}
|
|
158
159
|
export interface ProfileCardTriggerState {
|
|
159
160
|
visible?: boolean;
|
|
@@ -393,6 +394,10 @@ export interface MessageIntlProviderProps {
|
|
|
393
394
|
intl: IntlShape;
|
|
394
395
|
}
|
|
395
396
|
export type RelativeDateKeyType = 'ThisWeek' | 'ThisMonth' | 'LastMonth' | 'AFewMonths' | 'SeveralMonths' | 'MoreThanAYear' | null;
|
|
397
|
+
export type AgentIdType = {
|
|
398
|
+
type: 'agent' | 'identity';
|
|
399
|
+
value: string;
|
|
400
|
+
};
|
|
396
401
|
export interface ProfileClient {
|
|
397
402
|
flushCache: () => void;
|
|
398
403
|
getProfile: (cloudId: string, userId: string, analytics?: (event: AnalyticsEventPayload) => void) => Promise<ProfileCardClientData>;
|
|
@@ -400,7 +405,7 @@ export interface ProfileClient {
|
|
|
400
405
|
getReportingLines: (userId: string) => Promise<TeamCentralReportingLinesData>;
|
|
401
406
|
shouldShowGiveKudos: () => Promise<boolean>;
|
|
402
407
|
getTeamCentralBaseUrl: () => string | undefined;
|
|
403
|
-
getRovoAgentProfile: (
|
|
408
|
+
getRovoAgentProfile: (id: AgentIdType, fireAnalytics?: (event: AnalyticsEventPayload) => void) => Promise<RovoAgent>;
|
|
404
409
|
}
|
|
405
410
|
export type ProfilecardTriggerPosition = 'bottom-start' | 'bottom' | 'bottom-end' | 'left-start' | 'left' | 'left-end' | 'top-end' | 'top' | 'top-start' | 'right-end' | 'right' | 'right-start';
|
|
406
411
|
export type ProfileCardErrorType = {
|
|
@@ -11,7 +11,7 @@ interface AnalyticsEvent {
|
|
|
11
11
|
source?: string;
|
|
12
12
|
}
|
|
13
13
|
export declare const fireEvent: (createAnalyticsEvent: CreateUIAnalyticsEvent | undefined, body: AnalyticsEvent) => void;
|
|
14
|
-
export declare const cardTriggered: (type: 'user' | 'team', method: 'hover' | 'click') => AnalyticsEventPayload;
|
|
14
|
+
export declare const cardTriggered: (type: 'user' | 'team' | 'agent', method: 'hover' | 'click') => AnalyticsEventPayload;
|
|
15
15
|
export declare const teamRequestAnalytics: (action: 'triggered' | 'succeeded' | 'failed', attributes?: {
|
|
16
16
|
duration: number;
|
|
17
17
|
} & GenericAttributes) => AnalyticsEventPayload;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.19.0",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"./team": "./src/components/Team/index.ts",
|
|
39
39
|
"./types": "./src/types.ts",
|
|
40
40
|
"./user": "./src/components/User/index.ts",
|
|
41
|
+
"./agent": "./src/components/Agent/index.ts",
|
|
41
42
|
"./mocks": "./src/mocks/index.ts",
|
|
42
43
|
".": "./src/index.ts"
|
|
43
44
|
},
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
68
69
|
"@atlaskit/popup": "^1.23.0",
|
|
69
70
|
"@atlaskit/primitives": "^12.0.0",
|
|
70
|
-
"@atlaskit/rovo-agent-components": "0.4.
|
|
71
|
+
"@atlaskit/rovo-agent-components": "0.4.2",
|
|
71
72
|
"@atlaskit/spinner": "^16.3.0",
|
|
72
73
|
"@atlaskit/theme": "^13.0.0",
|
|
73
74
|
"@atlaskit/tokens": "^1.59.0",
|