@atlaskit/profilecard 23.11.2 → 23.13.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 +20 -0
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/components/Agent/Actions.js +12 -113
- package/dist/cjs/components/team-profile-card/main.compiled.css +5 -0
- package/dist/cjs/components/team-profile-card/main.js +113 -11
- package/dist/cjs/components/team-profile-card/mocks.js +22 -0
- package/dist/cjs/components/team-profile-card/team-actions/index.js +13 -45
- package/dist/cjs/components/team-profile-card/team-actions/messages.js +0 -5
- package/dist/cjs/components/team-profile-card/team-connections/main.js +52 -1
- package/dist/cjs/components/team-profile-card/team-containers-skeleton/index.compiled.css +3 -1
- package/dist/cjs/components/team-profile-card/team-containers-skeleton/index.js +6 -3
- 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/Agent/Actions.js +4 -106
- package/dist/es2019/components/team-profile-card/main.compiled.css +5 -0
- package/dist/es2019/components/team-profile-card/main.js +116 -14
- package/dist/es2019/components/team-profile-card/mocks.js +22 -0
- package/dist/es2019/components/team-profile-card/team-actions/index.js +10 -43
- package/dist/es2019/components/team-profile-card/team-actions/messages.js +0 -5
- package/dist/es2019/components/team-profile-card/team-connections/main.js +53 -0
- package/dist/es2019/components/team-profile-card/team-containers-skeleton/index.compiled.css +3 -1
- package/dist/es2019/components/team-profile-card/team-containers-skeleton/index.js +6 -3
- 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/Agent/Actions.js +13 -114
- package/dist/esm/components/team-profile-card/main.compiled.css +5 -0
- package/dist/esm/components/team-profile-card/main.js +116 -14
- package/dist/esm/components/team-profile-card/mocks.js +22 -0
- package/dist/esm/components/team-profile-card/team-actions/index.js +12 -44
- package/dist/esm/components/team-profile-card/team-actions/messages.js +0 -5
- package/dist/esm/components/team-profile-card/team-connections/main.js +50 -0
- package/dist/esm/components/team-profile-card/team-containers-skeleton/index.compiled.css +3 -1
- package/dist/esm/components/team-profile-card/team-containers-skeleton/index.js +6 -3
- package/dist/esm/util/analytics.js +1 -1
- package/dist/types/components/team-profile-card/main.d.ts +2 -2
- package/dist/types/components/team-profile-card/team-actions/index.d.ts +6 -7
- package/dist/types/components/team-profile-card/team-actions/messages.d.ts +0 -5
- package/dist/types/components/team-profile-card/team-connections/main.d.ts +1 -0
- package/dist/types-ts4.5/components/team-profile-card/main.d.ts +2 -2
- package/dist/types-ts4.5/components/team-profile-card/team-actions/index.d.ts +6 -7
- package/dist/types-ts4.5/components/team-profile-card/team-actions/messages.d.ts +0 -5
- package/dist/types-ts4.5/components/team-profile-card/team-connections/main.d.ts +1 -0
- package/package.json +1 -4
- package/dist/cjs/components/team-profile-card/team-actions/index.compiled.css +0 -7
- package/dist/es2019/components/team-profile-card/team-actions/index.compiled.css +0 -7
- package/dist/esm/components/team-profile-card/team-actions/index.compiled.css +0 -7
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type LinkedContainerCardProps } from '@atlaskit/teams-public';
|
|
3
3
|
export declare const TeamConnections: ({ containerType, title, containerIcon, link, }: LinkedContainerCardProps) => React.JSX.Element;
|
|
4
|
+
export declare const NewTeamConnections: ({ containerType, title, containerIcon, link, }: LinkedContainerCardProps) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type AvatarProps } from '@atlaskit/avatar-group';
|
|
3
|
-
import {
|
|
3
|
+
import { TeamActionsProps } from './team-actions';
|
|
4
4
|
type TeamProfileCardProps = {
|
|
5
5
|
containerId: string;
|
|
6
6
|
teamId: string;
|
|
@@ -14,6 +14,6 @@ type TeamProfileCardProps = {
|
|
|
14
14
|
userId: string;
|
|
15
15
|
isVerified?: boolean;
|
|
16
16
|
teamProfileUrl?: string;
|
|
17
|
-
} &
|
|
17
|
+
} & TeamActionsProps;
|
|
18
18
|
export declare const TeamProfileCard: ({ containerId, teamId, displayName, description, avatarImageUrl, headerImageUrl, memberAvatars, memberCount, cloudId, userId, isVerified, teamProfileUrl, ...props }: TeamProfileCardProps) => JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ActionItem } from './more-actions';
|
|
3
|
-
type
|
|
4
|
-
teamProfileUrl?: string;
|
|
2
|
+
import { type ActionItem } from './more-actions';
|
|
3
|
+
type BaseTeamActionsProps = {
|
|
5
4
|
otherActions?: ActionItem[];
|
|
6
5
|
cloudId: string;
|
|
7
6
|
teamId: string;
|
|
8
7
|
loading?: boolean;
|
|
9
8
|
};
|
|
10
|
-
type KudosEnabledProps =
|
|
9
|
+
type KudosEnabledProps = BaseTeamActionsProps & {
|
|
11
10
|
isKudosEnabled: true;
|
|
12
11
|
teamCentralBaseUrl: string;
|
|
13
12
|
analyticsSource: string;
|
|
14
13
|
};
|
|
15
|
-
type KudosDisabledProps =
|
|
14
|
+
type KudosDisabledProps = BaseTeamActionsProps & {
|
|
16
15
|
isKudosEnabled?: false;
|
|
17
16
|
};
|
|
18
|
-
export type
|
|
19
|
-
export declare const
|
|
17
|
+
export type TeamActionsProps = KudosEnabledProps | KudosDisabledProps;
|
|
18
|
+
export declare const TeamActions: ({ isKudosEnabled, otherActions, loading, ...props }: TeamActionsProps) => React.JSX.Element | null;
|
|
20
19
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type LinkedContainerCardProps } from '@atlaskit/teams-public';
|
|
3
3
|
export declare const TeamConnections: ({ containerType, title, containerIcon, link, }: LinkedContainerCardProps) => React.JSX.Element;
|
|
4
|
+
export declare const NewTeamConnections: ({ containerType, title, containerIcon, link, }: LinkedContainerCardProps) => React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.13.0",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -136,9 +136,6 @@
|
|
|
136
136
|
"platform_agg_user_query_doc_change": {
|
|
137
137
|
"type": "boolean"
|
|
138
138
|
},
|
|
139
|
-
"rovo_use_agent_permissions": {
|
|
140
|
-
"type": "boolean"
|
|
141
|
-
},
|
|
142
139
|
"team_id_to_ari_safe": {
|
|
143
140
|
"type": "boolean"
|
|
144
141
|
},
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
._15a5nqa1{border-top-style:solid}
|
|
2
|
-
._16jlkb7n{flex-grow:1}
|
|
3
|
-
._19bv1ejb{padding-left:var(--ds-space-300,24px)}
|
|
4
|
-
._1i53muej{border-top-color:var(--ds-border,#091e4224)}
|
|
5
|
-
._ca0qpxbi{padding-top:var(--ds-space-200,1pc)}
|
|
6
|
-
._u5f31ejb{padding-right:var(--ds-space-300,24px)}
|
|
7
|
-
._uwhke4h9{border-top-width:var(--ds-border-width,1px)}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
._15a5nqa1{border-top-style:solid}
|
|
2
|
-
._16jlkb7n{flex-grow:1}
|
|
3
|
-
._19bv1ejb{padding-left:var(--ds-space-300,24px)}
|
|
4
|
-
._1i53muej{border-top-color:var(--ds-border,#091e4224)}
|
|
5
|
-
._ca0qpxbi{padding-top:var(--ds-space-200,1pc)}
|
|
6
|
-
._u5f31ejb{padding-right:var(--ds-space-300,24px)}
|
|
7
|
-
._uwhke4h9{border-top-width:var(--ds-border-width,1px)}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
._15a5nqa1{border-top-style:solid}
|
|
2
|
-
._16jlkb7n{flex-grow:1}
|
|
3
|
-
._19bv1ejb{padding-left:var(--ds-space-300,24px)}
|
|
4
|
-
._1i53muej{border-top-color:var(--ds-border,#091e4224)}
|
|
5
|
-
._ca0qpxbi{padding-top:var(--ds-space-200,1pc)}
|
|
6
|
-
._u5f31ejb{padding-right:var(--ds-space-300,24px)}
|
|
7
|
-
._uwhke4h9{border-top-width:var(--ds-border-width,1px)}
|