@atlaskit/profilecard 22.0.2 → 22.1.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 +14 -0
- package/afm-cc/tsconfig.json +3 -0
- package/afm-jira/tsconfig.json +3 -0
- package/afm-post-office/tsconfig.json +3 -0
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/components/Icon/IconLabel.js +5 -6
- package/dist/cjs/components/User/OverflowProfileCardButtons.js +1 -1
- package/dist/cjs/components/User/ProfileCard.js +4 -4
- package/dist/cjs/components/User/ProfileCardDetails.js +3 -2
- package/dist/cjs/components/User/ProfileCardResourced.js +1 -1
- package/dist/cjs/components/User/ProfileCardTrigger.js +1 -1
- package/dist/cjs/styled/Card.compiled.css +78 -0
- package/dist/cjs/styled/Card.js +225 -46
- package/dist/cjs/styled/ReportingLines.compiled.css +10 -0
- package/dist/cjs/styled/ReportingLines.js +44 -7
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/es2019/client/getTeamFromAGG.js +1 -1
- package/dist/es2019/components/Icon/IconLabel.js +5 -6
- package/dist/es2019/components/User/OverflowProfileCardButtons.js +1 -1
- package/dist/es2019/components/User/ProfileCard.js +4 -4
- package/dist/es2019/components/User/ProfileCardDetails.js +3 -2
- package/dist/es2019/components/User/ProfileCardResourced.js +1 -1
- package/dist/es2019/components/User/ProfileCardTrigger.js +1 -1
- package/dist/es2019/styled/Card.compiled.css +78 -0
- package/dist/es2019/styled/Card.js +199 -46
- package/dist/es2019/styled/ReportingLines.compiled.css +10 -0
- package/dist/es2019/styled/ReportingLines.js +42 -7
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/esm/client/getTeamFromAGG.js +1 -1
- package/dist/esm/components/Icon/IconLabel.js +5 -6
- package/dist/esm/components/User/OverflowProfileCardButtons.js +1 -1
- package/dist/esm/components/User/ProfileCard.js +4 -4
- package/dist/esm/components/User/ProfileCardDetails.js +3 -2
- package/dist/esm/components/User/ProfileCardResourced.js +1 -1
- package/dist/esm/components/User/ProfileCardTrigger.js +1 -1
- package/dist/esm/styled/Card.compiled.css +78 -0
- package/dist/esm/styled/Card.js +225 -48
- package/dist/esm/styled/ReportingLines.compiled.css +10 -0
- package/dist/esm/styled/ReportingLines.js +46 -7
- package/dist/esm/util/analytics.js +1 -1
- package/dist/types/components/Agent/Actions.d.ts +2 -2
- package/dist/types/components/Agent/AgentDeleteConfirmationModal.d.ts +2 -2
- package/dist/types/components/Agent/AgentProfileCard.d.ts +2 -2
- package/dist/types/components/Agent/AgentProfileCardResourced.d.ts +1 -1
- package/dist/types/components/Agent/AgentProfileCardTrigger.d.ts +2 -2
- package/dist/types/components/Agent/AgentProfileCardWrapper.d.ts +1 -1
- package/dist/types/components/Agent/ConversationStarters.d.ts +2 -2
- package/dist/types/components/Agent/lazyAgentProfileCard.d.ts +1 -1
- package/dist/types/components/Error/AccessLockSVG.d.ts +2 -2
- package/dist/types/components/Error/ErrorIllustration.d.ts +2 -2
- package/dist/types/components/Error/ErrorMessage.d.ts +2 -2
- package/dist/types/components/Icon/IconLabel.d.ts +2 -1
- package/dist/types/components/Team/TeamForbiddenErrorState.d.ts +2 -2
- package/dist/types/components/Team/TeamLoadingState.d.ts +2 -2
- package/dist/types/components/Team/TeamProfileCard.d.ts +2 -2
- package/dist/types/components/Team/TeamProfileCardTrigger.d.ts +5 -5
- package/dist/types/components/Team/lazyTeamProfileCard.d.ts +1 -1
- package/dist/types/components/User/OverflowProfileCardButtons.d.ts +1 -1
- package/dist/types/components/User/ProfileCard.d.ts +1 -1
- package/dist/types/components/User/ProfileCardDetails.d.ts +2 -2
- package/dist/types/components/User/ProfileCardTrigger.d.ts +2 -2
- package/dist/types/components/User/ReportingLinesDetails.d.ts +2 -2
- package/dist/types/components/User/UserLoadingState.d.ts +2 -2
- package/dist/types/components/common/LoadingState.d.ts +2 -2
- package/dist/types/components/common/ProfileCardTrigger.d.ts +2 -2
- package/dist/types/components/common/ProfileCardWrapper.d.ts +1 -1
- package/dist/types/styled/Card.d.ts +64 -84
- package/dist/types/styled/Error.d.ts +3 -3
- package/dist/types/styled/ReportingLines.d.ts +13 -17
- package/dist/types/styled/TeamCard.d.ts +15 -15
- package/dist/types-ts4.5/components/Agent/Actions.d.ts +2 -2
- package/dist/types-ts4.5/components/Agent/AgentDeleteConfirmationModal.d.ts +2 -2
- package/dist/types-ts4.5/components/Agent/AgentProfileCard.d.ts +2 -2
- package/dist/types-ts4.5/components/Agent/AgentProfileCardResourced.d.ts +1 -1
- package/dist/types-ts4.5/components/Agent/AgentProfileCardTrigger.d.ts +2 -2
- package/dist/types-ts4.5/components/Agent/AgentProfileCardWrapper.d.ts +1 -1
- package/dist/types-ts4.5/components/Agent/ConversationStarters.d.ts +2 -2
- package/dist/types-ts4.5/components/Agent/lazyAgentProfileCard.d.ts +1 -1
- package/dist/types-ts4.5/components/Error/AccessLockSVG.d.ts +2 -2
- package/dist/types-ts4.5/components/Error/ErrorIllustration.d.ts +2 -2
- package/dist/types-ts4.5/components/Error/ErrorMessage.d.ts +2 -2
- package/dist/types-ts4.5/components/Icon/IconLabel.d.ts +2 -1
- package/dist/types-ts4.5/components/Team/TeamForbiddenErrorState.d.ts +2 -2
- package/dist/types-ts4.5/components/Team/TeamLoadingState.d.ts +2 -2
- package/dist/types-ts4.5/components/Team/TeamProfileCard.d.ts +2 -2
- package/dist/types-ts4.5/components/Team/TeamProfileCardTrigger.d.ts +5 -5
- package/dist/types-ts4.5/components/Team/lazyTeamProfileCard.d.ts +1 -1
- package/dist/types-ts4.5/components/User/OverflowProfileCardButtons.d.ts +1 -1
- package/dist/types-ts4.5/components/User/ProfileCard.d.ts +1 -1
- package/dist/types-ts4.5/components/User/ProfileCardDetails.d.ts +2 -2
- package/dist/types-ts4.5/components/User/ProfileCardTrigger.d.ts +2 -2
- package/dist/types-ts4.5/components/User/ReportingLinesDetails.d.ts +2 -2
- package/dist/types-ts4.5/components/User/UserLoadingState.d.ts +2 -2
- package/dist/types-ts4.5/components/common/LoadingState.d.ts +2 -2
- package/dist/types-ts4.5/components/common/ProfileCardTrigger.d.ts +2 -2
- package/dist/types-ts4.5/components/common/ProfileCardWrapper.d.ts +1 -1
- package/dist/types-ts4.5/styled/Card.d.ts +64 -84
- package/dist/types-ts4.5/styled/Error.d.ts +3 -3
- package/dist/types-ts4.5/styled/ReportingLines.d.ts +13 -17
- package/dist/types-ts4.5/styled/TeamCard.d.ts +15 -15
- package/package.json +10 -5
|
@@ -40,11 +40,11 @@ export declare class TeamProfileCardTriggerInternal extends React.PureComponent<
|
|
|
40
40
|
handleClientSuccess(team: Team, shouldShowGiveKudos: boolean, teamCentralBaseUrl: string | undefined): void;
|
|
41
41
|
handleClientError(err: any): void;
|
|
42
42
|
filterActions(): ProfileCardAction[];
|
|
43
|
-
renderProfileCard: () => JSX.Element;
|
|
44
|
-
renderKudosLauncher: () => false | JSX.Element | undefined;
|
|
45
|
-
renderTrigger: (triggerProps: TriggerProps) => JSX.Element;
|
|
46
|
-
renderPopup(): string | number | boolean | React.
|
|
47
|
-
render(): string | number | boolean | React.
|
|
43
|
+
renderProfileCard: () => React.JSX.Element;
|
|
44
|
+
renderKudosLauncher: () => false | React.JSX.Element | undefined;
|
|
45
|
+
renderTrigger: (triggerProps: TriggerProps) => React.JSX.Element;
|
|
46
|
+
renderPopup(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
47
|
+
render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
48
48
|
}
|
|
49
49
|
declare const _default: React.ForwardRefExoticComponent<Pick<Omit<TeamProfileCardTriggerProps & AnalyticsProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, never> & {
|
|
50
50
|
cloudId?: string | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const TeamProfileCardLazy: import("react").LazyExoticComponent<(props: import("../../types").TeamProfilecardProps) => JSX.Element | null>;
|
|
2
|
+
export declare const TeamProfileCardLazy: import("react").LazyExoticComponent<(props: import("../../types").TeamProfilecardProps) => import("react").JSX.Element | null>;
|
|
@@ -5,5 +5,5 @@ type OverflowButtonsProps = {
|
|
|
5
5
|
onItemClick: (action: ProfileCardAction, args: any, event: React.MouseEvent | React.KeyboardEvent, index: number) => void;
|
|
6
6
|
} & AnalyticsWithDurationProps;
|
|
7
7
|
export declare const ACTION_OVERFLOW_THRESHOLD = 2;
|
|
8
|
-
export declare const OverflowProfileCardButtons: (props: OverflowButtonsProps) => JSX.Element;
|
|
8
|
+
export declare const OverflowProfileCardButtons: (props: OverflowButtonsProps) => React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type AnalyticsProps, type ProfilecardProps } from '../../types';
|
|
3
|
-
export declare const ProfilecardInternal: (props: ProfilecardProps & AnalyticsProps) => JSX.Element | null;
|
|
3
|
+
export declare const ProfilecardInternal: (props: ProfilecardProps & AnalyticsProps) => React.JSX.Element | null;
|
|
4
4
|
declare const _default: React.ForwardRefExoticComponent<Omit<ProfilecardProps & AnalyticsProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any>>;
|
|
5
5
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type AnalyticsWithDurationProps, type ProfilecardProps } from '../../types';
|
|
3
|
-
export declare const ProfileCardDetails: (props: ProfilecardProps & AnalyticsWithDurationProps) => JSX.Element;
|
|
3
|
+
export declare const ProfileCardDetails: (props: ProfilecardProps & AnalyticsWithDurationProps) => React.JSX.Element;
|
|
@@ -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, ariaHideProfileTrigger, }: ProfileCardTriggerProps): JSX.Element;
|
|
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, ariaHideProfileTrigger, }: ProfileCardTriggerProps): React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type AnalyticsWithDurationProps, type ProfilecardProps } from '../../types';
|
|
3
3
|
export type ReportingLinesDetailsProps = Pick<ProfilecardProps, 'reportingLines' | 'reportingLinesProfileUrl' | 'onReportingLinesClick'> & AnalyticsWithDurationProps;
|
|
4
|
-
declare const ReportingLinesDetails: (props: ReportingLinesDetailsProps) => JSX.Element;
|
|
4
|
+
declare const ReportingLinesDetails: (props: ReportingLinesDetailsProps) => React.JSX.Element;
|
|
5
5
|
export default ReportingLinesDetails;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
|
|
3
3
|
interface AnalyticsProps {
|
|
4
4
|
fireAnalytics: (payload: AnalyticsEventPayload) => void;
|
|
5
5
|
}
|
|
6
|
-
declare const UserLoadingState: ({ fireAnalytics }: AnalyticsProps) => JSX.Element;
|
|
6
|
+
declare const UserLoadingState: ({ fireAnalytics }: AnalyticsProps) => React.JSX.Element;
|
|
7
7
|
export default UserLoadingState;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
|
|
3
3
|
import { type ProfileType } from '../../types';
|
|
4
4
|
interface AnalyticsProps {
|
|
5
5
|
fireAnalytics?: (payload: AnalyticsEventPayload) => void;
|
|
6
6
|
profileType: ProfileType;
|
|
7
7
|
}
|
|
8
|
-
export declare const LoadingState: ({ fireAnalytics, profileType }: AnalyticsProps) => JSX.Element;
|
|
8
|
+
export declare const LoadingState: ({ fireAnalytics, profileType }: AnalyticsProps) => React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type ProfileCardTriggerProps } from './types';
|
|
3
|
-
declare function ProfileCardTrigger<T>({ trigger, ariaLabelledBy, children, renderProfileCard, fetchProfile, disabledAriaAttributes, profileCardType, fireAnalytics, ...popupProps }: ProfileCardTriggerProps<T>): JSX.Element;
|
|
3
|
+
declare function ProfileCardTrigger<T>({ trigger, ariaLabelledBy, children, renderProfileCard, fetchProfile, disabledAriaAttributes, profileCardType, fireAnalytics, ...popupProps }: ProfileCardTriggerProps<T>): React.JSX.Element;
|
|
4
4
|
export default ProfileCardTrigger;
|
|
@@ -1,89 +1,69 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const CardWrapper:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
export declare const
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
export declare const
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
as?: React.ElementType<any> | undefined;
|
|
54
|
-
} & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
55
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
56
|
-
}, {}, {}>;
|
|
57
|
-
export declare const JobTitleLabel: import("@emotion/styled").StyledComponent<{
|
|
58
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
59
|
-
as?: React.ElementType<any> | undefined;
|
|
60
|
-
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
61
|
-
export declare const AppTitleLabel: import("@emotion/styled").StyledComponent<{
|
|
62
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
63
|
-
as?: React.ElementType<any> | undefined;
|
|
64
|
-
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
65
|
-
export declare const SpinnerContainer: import("@emotion/styled").StyledComponent<{
|
|
66
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
67
|
-
as?: React.ElementType<any> | undefined;
|
|
68
|
-
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
|
+
export declare const CardWrapper: ({ children, role, testId, labelledBy, }: {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
role?: string | undefined;
|
|
5
|
+
testId?: string | undefined;
|
|
6
|
+
labelledBy?: string | undefined;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
|
+
export declare const ProfileImage: ({ children }: {
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}) => React.JSX.Element;
|
|
11
|
+
export declare const ActionsFlexSpacer: () => React.JSX.Element;
|
|
12
|
+
export declare const KudosBlobAnimationStyle: () => React.JSX.Element;
|
|
13
|
+
export declare const KudosBlobAnimation: () => React.JSX.Element;
|
|
14
|
+
export declare const AnimationWrapper: ({ children }: {
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
}) => React.JSX.Element;
|
|
17
|
+
export declare const AnimatedKudosButton: ({ children }: {
|
|
18
|
+
children: ReactNode;
|
|
19
|
+
}) => React.JSX.Element;
|
|
20
|
+
export declare const ActionButtonGroup: ({ children, testId, }: {
|
|
21
|
+
children: ReactNode;
|
|
22
|
+
testId?: string | undefined;
|
|
23
|
+
}) => React.JSX.Element;
|
|
24
|
+
export declare const OverflowActionButtonsWrapper: ({ children, testId, }: {
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
testId?: string | undefined;
|
|
27
|
+
}) => React.JSX.Element;
|
|
28
|
+
export declare const CardContent: ({ children }: {
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
}) => React.JSX.Element;
|
|
31
|
+
export declare const DetailsGroup: ({ children }: {
|
|
32
|
+
children: ReactNode;
|
|
33
|
+
}) => React.JSX.Element;
|
|
34
|
+
export declare const DisabledInfo: ({ children }: {
|
|
35
|
+
children: ReactNode;
|
|
36
|
+
}) => React.JSX.Element;
|
|
37
|
+
export declare const LozengeWrapper: ({ children }: {
|
|
38
|
+
children: ReactNode;
|
|
39
|
+
}) => React.JSX.Element;
|
|
40
|
+
export declare const CustomLozengeContainer: ({ children }: {
|
|
41
|
+
children: ReactNode;
|
|
42
|
+
}) => React.JSX.Element;
|
|
43
|
+
export declare const JobTitleLabel: ({ children }: {
|
|
44
|
+
children: ReactNode;
|
|
45
|
+
}) => React.JSX.Element;
|
|
46
|
+
export declare const AppTitleLabel: ({ children }: {
|
|
47
|
+
children: ReactNode;
|
|
48
|
+
}) => React.JSX.Element;
|
|
49
|
+
export declare const SpinnerContainer: ({ children, testId }: {
|
|
50
|
+
children: ReactNode;
|
|
51
|
+
testId?: string | undefined;
|
|
52
|
+
}) => React.JSX.Element;
|
|
69
53
|
interface CardContainerProps {
|
|
70
54
|
isDisabledUser?: boolean;
|
|
71
55
|
withoutElevation?: boolean;
|
|
56
|
+
children: ReactNode;
|
|
72
57
|
}
|
|
73
|
-
export declare const CardContainer:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
export declare const
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
85
|
-
export declare const DetailsLabelText: import("@emotion/styled").StyledComponent<{
|
|
86
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
87
|
-
as?: React.ElementType<any> | undefined;
|
|
88
|
-
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
58
|
+
export declare const CardContainer: ({ children, isDisabledUser, withoutElevation, }: CardContainerProps) => React.JSX.Element;
|
|
59
|
+
export declare const DetailsLabel: ({ children, extraTopSpace, }: {
|
|
60
|
+
children: ReactNode;
|
|
61
|
+
extraTopSpace?: boolean | undefined;
|
|
62
|
+
}) => React.JSX.Element;
|
|
63
|
+
export declare const DetailsLabelIcon: ({ children }: {
|
|
64
|
+
children: ReactNode;
|
|
65
|
+
}) => React.JSX.Element;
|
|
66
|
+
export declare const DetailsLabelText: ({ children }: {
|
|
67
|
+
children: ReactNode;
|
|
68
|
+
}) => React.JSX.Element;
|
|
89
69
|
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ErrorWrapper: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
6
|
export declare const ErrorTitle: import("@emotion/styled").StyledComponent<{
|
|
7
7
|
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: import("react").ElementType<any> | undefined;
|
|
8
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
9
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
10
10
|
export declare const TeamErrorText: import("@emotion/styled").StyledComponent<{
|
|
11
11
|
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?: import("react").ElementType<any> | undefined;
|
|
12
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
13
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ReportingLinesSection:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
export declare const OffsetWrapper: import("@emotion/styled").StyledComponent<{
|
|
15
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
as?: import("react").ElementType<any> | undefined;
|
|
17
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ReportingLinesSection: ({ children }: {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
}) => React.JSX.Element;
|
|
5
|
+
export declare const ManagerSection: ({ children }: {
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
|
+
export declare const ManagerName: ({ children }: {
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
}) => React.JSX.Element;
|
|
11
|
+
export declare const OffsetWrapper: ({ children }: {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
}) => React.JSX.Element;
|
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const CardTriggerWrapper: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
6
|
export declare const CardWrapper: import("@emotion/styled").StyledComponent<{
|
|
7
7
|
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: import("react").ElementType<any> | undefined;
|
|
8
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
9
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
10
|
export declare const TeamForbiddenErrorStateWrapper: import("@emotion/styled").StyledComponent<{
|
|
11
11
|
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?: import("react").ElementType<any> | undefined;
|
|
12
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
13
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
14
|
export declare const CardHeader: import("@emotion/styled").StyledComponent<{
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
as?: import("react").ElementType<any> | undefined;
|
|
16
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
17
|
} & {
|
|
18
18
|
image?: string | undefined;
|
|
19
19
|
isLoading?: boolean | undefined;
|
|
20
20
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
21
21
|
export declare const CardContent: import("@emotion/styled").StyledComponent<{
|
|
22
22
|
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
-
as?: import("react").ElementType<any> | undefined;
|
|
23
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
24
24
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
25
25
|
export declare const TeamName: import("@emotion/styled").StyledComponent<{
|
|
26
26
|
theme?: import("@emotion/react").Theme | undefined;
|
|
27
|
-
as?: import("react").ElementType<any> | undefined;
|
|
27
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
28
28
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
29
29
|
export declare const MemberCount: import("@emotion/styled").StyledComponent<{
|
|
30
30
|
theme?: import("@emotion/react").Theme | undefined;
|
|
31
|
-
as?: import("react").ElementType<any> | undefined;
|
|
31
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
32
32
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
33
33
|
export declare const AvatarSection: import("@emotion/styled").StyledComponent<{
|
|
34
34
|
theme?: import("@emotion/react").Theme | undefined;
|
|
35
|
-
as?: import("react").ElementType<any> | undefined;
|
|
35
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
36
36
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
37
37
|
export declare const DescriptionWrapper: import("@emotion/styled").StyledComponent<{
|
|
38
38
|
theme?: import("@emotion/react").Theme | undefined;
|
|
39
|
-
as?: import("react").ElementType<any> | undefined;
|
|
39
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
40
40
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
41
41
|
export declare const Description: import("@emotion/styled").StyledComponent<{
|
|
42
42
|
theme?: import("@emotion/react").Theme | undefined;
|
|
43
|
-
as?: import("react").ElementType<any> | undefined;
|
|
43
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
44
44
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
45
45
|
export declare const ActionButtons: import("@emotion/styled").StyledComponent<{
|
|
46
46
|
theme?: import("@emotion/react").Theme | undefined;
|
|
47
|
-
as?: import("react").ElementType<any> | undefined;
|
|
47
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
48
48
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
49
49
|
export declare const WrappedButton: import("@emotion/styled").StyledComponent<{
|
|
50
50
|
theme?: import("@emotion/react").Theme | undefined;
|
|
51
|
-
as?: import("react").ElementType<any> | undefined;
|
|
51
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
52
52
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
53
53
|
export declare const MoreButton: import("@emotion/styled").StyledComponent<{
|
|
54
54
|
theme?: import("@emotion/react").Theme | undefined;
|
|
55
|
-
as?: import("react").ElementType<any> | undefined;
|
|
55
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
56
56
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
57
57
|
export declare const LoadingWrapper: import("@emotion/styled").StyledComponent<{
|
|
58
58
|
theme?: import("@emotion/react").Theme | undefined;
|
|
59
|
-
as?: import("react").ElementType<any> | undefined;
|
|
59
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
60
60
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
61
61
|
export declare const AccessLockSVGWrapper: import("@emotion/styled").StyledComponent<{
|
|
62
62
|
theme?: import("@emotion/react").Theme | undefined;
|
|
63
|
-
as?: import("react").ElementType<any> | undefined;
|
|
63
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
64
64
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "22.0
|
|
3
|
+
"version": "22.1.0",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -54,26 +54,28 @@
|
|
|
54
54
|
"@atlaskit/atlassian-context": "^0.1.0",
|
|
55
55
|
"@atlaskit/avatar": "^21.18.0",
|
|
56
56
|
"@atlaskit/avatar-group": "^11.1.0",
|
|
57
|
-
"@atlaskit/button": "^20.
|
|
57
|
+
"@atlaskit/button": "^20.5.0",
|
|
58
|
+
"@atlaskit/css": "^0.8.0",
|
|
58
59
|
"@atlaskit/dropdown-menu": "^12.26.0",
|
|
59
60
|
"@atlaskit/empty-state": "^8.2.0",
|
|
60
61
|
"@atlaskit/focus-ring": "^2.1.0",
|
|
61
62
|
"@atlaskit/give-kudos": "^3.1.0",
|
|
62
|
-
"@atlaskit/icon": "^23.
|
|
63
|
+
"@atlaskit/icon": "^23.8.0",
|
|
63
64
|
"@atlaskit/lozenge": "^11.13.0",
|
|
64
65
|
"@atlaskit/menu": "^2.14.0",
|
|
65
66
|
"@atlaskit/modal-dialog": "^12.20.0",
|
|
66
67
|
"@atlaskit/people-teams-ui-public": "^2.1.0",
|
|
67
68
|
"@atlaskit/platform-feature-flags": "^1.0.0",
|
|
68
69
|
"@atlaskit/popup": "^1.31.0",
|
|
69
|
-
"@atlaskit/primitives": "^13.
|
|
70
|
+
"@atlaskit/primitives": "^13.5.0",
|
|
70
71
|
"@atlaskit/rovo-agent-components": "^1.17.0",
|
|
71
72
|
"@atlaskit/rovo-triggers": "^1.5.0",
|
|
72
73
|
"@atlaskit/spinner": "^17.1.0",
|
|
73
|
-
"@atlaskit/theme": "^
|
|
74
|
+
"@atlaskit/theme": "^15.0.0",
|
|
74
75
|
"@atlaskit/tokens": "^3.3.0",
|
|
75
76
|
"@atlaskit/tooltip": "^19.1.0",
|
|
76
77
|
"@babel/runtime": "^7.0.0",
|
|
78
|
+
"@compiled/react": "^0.18.1",
|
|
77
79
|
"@emotion/react": "^11.7.1",
|
|
78
80
|
"@emotion/styled": "^11.0.0",
|
|
79
81
|
"date-fns": "^2.17.0",
|
|
@@ -144,6 +146,9 @@
|
|
|
144
146
|
},
|
|
145
147
|
"team_id_to_ari_safe": {
|
|
146
148
|
"type": "boolean"
|
|
149
|
+
},
|
|
150
|
+
"compiled-migration-profilecard": {
|
|
151
|
+
"type": "boolean"
|
|
147
152
|
}
|
|
148
153
|
}
|
|
149
154
|
}
|