@atlaskit/profilecard 24.20.4 → 24.21.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 +17 -0
- package/__tests__/vr-tests/__snapshots__/agent-profilecard/agent-profile-card-example--default.png +0 -0
- package/__tests__/vr-tests/__snapshots__/user-profilecard/alternate-actions--default.png +0 -0
- package/__tests__/vr-tests/__snapshots__/user-profilecard/best-case-profile--default.png +0 -0
- package/__tests__/vr-tests/__snapshots__/user-profilecard/bot-case-profile--default.png +0 -0
- package/__tests__/vr-tests/__snapshots__/user-profilecard/error-state--default.png +0 -0
- package/__tests__/vr-tests/__snapshots__/user-profilecard/error-state-not-found--default.png +0 -0
- package/__tests__/vr-tests/__snapshots__/user-profilecard/worst-case-profile--default.png +0 -0
- package/compass.yml +3 -0
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/components/Agent/Actions.js +5 -7
- package/dist/cjs/components/Agent/ActionsCompiled.compiled.css +2 -2
- package/dist/cjs/components/Agent/ActionsCompiled.js +4 -8
- package/dist/cjs/components/Agent/AgentProfileCardCompiled.compiled.css +1 -1
- package/dist/cjs/components/Agent/AgentProfileCardCompiled.js +1 -1
- package/dist/cjs/components/Icon/IconLabel.js +1 -1
- package/dist/cjs/components/User/ProfileCardDetails.compiled.css +1 -1
- package/dist/cjs/components/User/ProfileCardDetails.js +1 -1
- package/dist/cjs/components/User/ReportingLinesDetails.compiled.css +1 -1
- package/dist/cjs/components/User/ReportingLinesDetails.js +1 -1
- package/dist/cjs/components/User/ReportingLinesDetailsCompiled.compiled.css +2 -2
- package/dist/cjs/components/User/ReportingLinesDetailsCompiled.js +2 -2
- package/dist/cjs/components/common/ProfileCardTrigger.js +17 -21
- package/dist/cjs/components/team-profile-card/main.compiled.css +1 -15
- package/dist/cjs/components/team-profile-card/main.js +82 -186
- package/dist/cjs/components/team-profile-card/team-connections/main.compiled.css +1 -6
- package/dist/cjs/components/team-profile-card/team-connections/main.js +1 -65
- package/dist/cjs/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.compiled.css +3 -3
- package/dist/cjs/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
- package/dist/cjs/styled/Card.compiled.css +7 -7
- package/dist/cjs/styled/Card.js +9 -9
- package/dist/cjs/util/analytics.js +2 -2
- package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/es2019/client/getTeamFromAGG.js +1 -1
- package/dist/es2019/components/Agent/Actions.js +1 -3
- package/dist/es2019/components/Agent/ActionsCompiled.compiled.css +2 -2
- package/dist/es2019/components/Agent/ActionsCompiled.js +2 -4
- package/dist/es2019/components/Agent/AgentProfileCardCompiled.compiled.css +1 -1
- package/dist/es2019/components/Agent/AgentProfileCardCompiled.js +1 -1
- package/dist/es2019/components/Icon/IconLabel.js +1 -1
- package/dist/es2019/components/User/ProfileCardDetails.compiled.css +1 -1
- package/dist/es2019/components/User/ProfileCardDetails.js +1 -1
- package/dist/es2019/components/User/ReportingLinesDetails.compiled.css +1 -1
- package/dist/es2019/components/User/ReportingLinesDetails.js +1 -1
- package/dist/es2019/components/User/ReportingLinesDetailsCompiled.compiled.css +2 -2
- package/dist/es2019/components/User/ReportingLinesDetailsCompiled.js +2 -2
- package/dist/es2019/components/common/ProfileCardTrigger.js +1 -4
- package/dist/es2019/components/team-profile-card/main.compiled.css +1 -15
- package/dist/es2019/components/team-profile-card/main.js +56 -158
- package/dist/es2019/components/team-profile-card/team-connections/main.compiled.css +1 -6
- package/dist/es2019/components/team-profile-card/team-connections/main.js +1 -69
- package/dist/es2019/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.compiled.css +3 -3
- package/dist/es2019/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
- package/dist/es2019/styled/Card.compiled.css +7 -7
- package/dist/es2019/styled/Card.js +9 -9
- package/dist/es2019/util/analytics.js +2 -2
- package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/esm/client/getTeamFromAGG.js +1 -1
- package/dist/esm/components/Agent/Actions.js +3 -7
- package/dist/esm/components/Agent/ActionsCompiled.compiled.css +2 -2
- package/dist/esm/components/Agent/ActionsCompiled.js +4 -8
- package/dist/esm/components/Agent/AgentProfileCardCompiled.compiled.css +1 -1
- package/dist/esm/components/Agent/AgentProfileCardCompiled.js +1 -1
- package/dist/esm/components/Icon/IconLabel.js +1 -1
- package/dist/esm/components/User/ProfileCardDetails.compiled.css +1 -1
- package/dist/esm/components/User/ProfileCardDetails.js +1 -1
- package/dist/esm/components/User/ReportingLinesDetails.compiled.css +1 -1
- package/dist/esm/components/User/ReportingLinesDetails.js +1 -1
- package/dist/esm/components/User/ReportingLinesDetailsCompiled.compiled.css +2 -2
- package/dist/esm/components/User/ReportingLinesDetailsCompiled.js +2 -2
- package/dist/esm/components/common/ProfileCardTrigger.js +17 -21
- package/dist/esm/components/team-profile-card/main.compiled.css +1 -15
- package/dist/esm/components/team-profile-card/main.js +70 -174
- package/dist/esm/components/team-profile-card/team-connections/main.compiled.css +1 -6
- package/dist/esm/components/team-profile-card/team-connections/main.js +1 -65
- package/dist/esm/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.compiled.css +3 -3
- package/dist/esm/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
- package/dist/esm/styled/Card.compiled.css +7 -7
- package/dist/esm/styled/Card.js +9 -9
- package/dist/esm/util/analytics.js +2 -2
- package/dist/types/components/team-profile-card/team-connections/main.d.ts +0 -1
- package/dist/types-ts4.5/components/team-profile-card/team-connections/main.d.ts +0 -1
- package/package.json +12 -23
- package/afm-post-office/tsconfig.json +0 -123
- package/afm-townsquare/tsconfig.json +0 -123
|
@@ -5,13 +5,11 @@ import React, { useCallback } from 'react';
|
|
|
5
5
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
6
6
|
import { LinkItem } from '@atlaskit/menu';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
-
import { Box, Inline,
|
|
8
|
+
import { Box, Inline, Text } from '@atlaskit/primitives/compiled';
|
|
9
9
|
import { useAnalyticsEvents as useAnalyticsEventsNext } from '@atlaskit/teams-app-internal-analytics';
|
|
10
10
|
import { ContainerIcon, getContainerProperties } from '@atlaskit/teams-public';
|
|
11
11
|
import { fireEvent } from '../../../util/analytics';
|
|
12
12
|
var styles = {
|
|
13
|
-
containerWrapperStyles: "_1e0c1txw _4cvr1h6o",
|
|
14
|
-
containerIconStyles: "_2rko12b0 _4t3i1tcg _1bsb1tcg",
|
|
15
13
|
containerTypeIconButtonStyles: "_18u01wug _4t3i7vkz _1bsb7vkz"
|
|
16
14
|
};
|
|
17
15
|
export var TeamConnections = function TeamConnections(_ref) {
|
|
@@ -47,68 +45,6 @@ export var TeamConnections = function TeamConnections(_ref) {
|
|
|
47
45
|
});
|
|
48
46
|
}
|
|
49
47
|
}, [containerType, createAnalyticsEvent, fireEventNext]);
|
|
50
|
-
return /*#__PURE__*/React.createElement(LinkItem, {
|
|
51
|
-
href: link,
|
|
52
|
-
onClick: onClick,
|
|
53
|
-
target: "_blank"
|
|
54
|
-
}, /*#__PURE__*/React.createElement(Inline, {
|
|
55
|
-
space: "space.100",
|
|
56
|
-
xcss: styles.containerWrapperStyles
|
|
57
|
-
}, /*#__PURE__*/React.createElement(ContainerIcon, {
|
|
58
|
-
containerType: containerType,
|
|
59
|
-
title: title,
|
|
60
|
-
containerIcon: containerIcon,
|
|
61
|
-
size: "small"
|
|
62
|
-
}), /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Text, {
|
|
63
|
-
maxLines: 1,
|
|
64
|
-
color: "color.text"
|
|
65
|
-
}, title), /*#__PURE__*/React.createElement(Inline, {
|
|
66
|
-
space: "space.050"
|
|
67
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
68
|
-
size: "small",
|
|
69
|
-
color: "color.text.subtlest"
|
|
70
|
-
}, description), /*#__PURE__*/React.createElement(Text, {
|
|
71
|
-
size: "small",
|
|
72
|
-
color: "color.text.subtlest"
|
|
73
|
-
}, containerTypeText))), /*#__PURE__*/React.createElement(Box, {
|
|
74
|
-
backgroundColor: 'color.background.neutral.subtle',
|
|
75
|
-
xcss: styles.containerTypeIconButtonStyles,
|
|
76
|
-
testId: "container-type-icon"
|
|
77
|
-
}, icon)));
|
|
78
|
-
};
|
|
79
|
-
export var NewTeamConnections = function NewTeamConnections(_ref2) {
|
|
80
|
-
var containerType = _ref2.containerType,
|
|
81
|
-
title = _ref2.title,
|
|
82
|
-
containerIcon = _ref2.containerIcon,
|
|
83
|
-
link = _ref2.link;
|
|
84
|
-
var _getContainerProperti2 = getContainerProperties({
|
|
85
|
-
containerType: containerType,
|
|
86
|
-
iconSize: 'medium',
|
|
87
|
-
isDisplayedOnProfileCard: true
|
|
88
|
-
}),
|
|
89
|
-
description = _getContainerProperti2.description,
|
|
90
|
-
icon = _getContainerProperti2.icon,
|
|
91
|
-
containerTypeText = _getContainerProperti2.containerTypeText;
|
|
92
|
-
var _useAnalyticsEvents2 = useAnalyticsEvents(),
|
|
93
|
-
createAnalyticsEvent = _useAnalyticsEvents2.createAnalyticsEvent;
|
|
94
|
-
var _useAnalyticsEventsNe2 = useAnalyticsEventsNext(),
|
|
95
|
-
fireEventNext = _useAnalyticsEventsNe2.fireEvent;
|
|
96
|
-
var onClick = useCallback(function () {
|
|
97
|
-
if (fg('ptc-enable-profile-card-analytics-refactor')) {
|
|
98
|
-
fireEventNext('ui.teamConnectionItem.clicked.teamProfileCard', {
|
|
99
|
-
container: containerType
|
|
100
|
-
});
|
|
101
|
-
} else {
|
|
102
|
-
fireEvent(createAnalyticsEvent, {
|
|
103
|
-
action: 'clicked',
|
|
104
|
-
actionSubject: 'teamConnectionItem',
|
|
105
|
-
actionSubjectId: 'teamProfileCard',
|
|
106
|
-
attributes: {
|
|
107
|
-
container: containerType
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
}, [containerType, createAnalyticsEvent, fireEventNext]);
|
|
112
48
|
return /*#__PURE__*/React.createElement(LinkItem, {
|
|
113
49
|
href: link,
|
|
114
50
|
onClick: onClick,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
3
3
|
._2rko1rr0{border-radius:var(--ds-radius-full,9999px)}
|
|
4
|
-
.
|
|
5
|
-
._1rjc1b66{padding-block:var(--ds-space-050,4px)}.
|
|
4
|
+
._1h6d8yml{border-color:var(--ds-border-accent-gray,#7d818a)}
|
|
5
|
+
._1rjc1b66{padding-block:var(--ds-space-050,4px)}._12ji1l7x{outline-color:var(--ds-border,#0b120e24)}
|
|
6
6
|
._12y3e4h9{outline-width:var(--ds-border-width,1px)}
|
|
7
7
|
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
8
8
|
._1bsb1tcg{width:24px}
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
._4t3i7vkz{height:1pc}
|
|
14
14
|
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
15
15
|
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
16
|
-
.
|
|
16
|
+
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
17
17
|
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
@@ -4,7 +4,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { Box, Inline, Stack } from '@atlaskit/primitives/compiled';
|
|
6
6
|
var styles = {
|
|
7
|
-
containerWrapperSkeleton: "_2rko12b0
|
|
7
|
+
containerWrapperSkeleton: "_2rko12b0 _1h6d8yml _12y3e4h9 _12ji1l7x _1qu2nqa1 _syazi7uo _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc",
|
|
8
8
|
containerIconSkeleton: "_2rko12b0 _4t3i1tcg _1bsb1tcg _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc",
|
|
9
9
|
firstLineSkeleton: "_2rko1rr0 _1rjc1b66",
|
|
10
10
|
secondLineSkeleton: "_2rko1rr0 _1rjc1b66 _1bsbqkoa",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
._154ixy5q{top:var(--ds-space-400,2pc)}
|
|
9
9
|
._154ize3t{top:var(--ds-space-0,0)}
|
|
10
10
|
._16jlkb7n{flex-grow:1}
|
|
11
|
-
.
|
|
11
|
+
._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
12
12
|
._18m915vq{overflow-y:hidden}
|
|
13
13
|
._18u01epz{margin-left:var(--ds-space-1000,5pc)}
|
|
14
14
|
._18u0u2gc{margin-left:var(--ds-space-100,8px)}
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
._1e0c1txw{display:flex}
|
|
37
37
|
._1e0c1ule{display:block}
|
|
38
38
|
._1e0cglyw{display:none}
|
|
39
|
-
.
|
|
40
|
-
.
|
|
41
|
-
.
|
|
39
|
+
._1itk1387{background-image:linear-gradient(to bottom,var(--ds-background-disabled,#17171708) 0,var(--ds-background-disabled,#17171708) 100%)}
|
|
40
|
+
._1itkdsyg{background-image:radial-gradient(circle,var(--ds-background-information-pressed,#adcbfb) 0,var(--ds-background-discovery-pressed,#e3bdfa) 25%,transparent 50%)}
|
|
41
|
+
._1itkybvv{background-image:linear-gradient(to bottom,var(--ds-background-brand-bold,#1868db) 0,var(--ds-background-brand-bold,#1868db) 100%)}
|
|
42
42
|
._1lrw14bs{background-size:100% 6pc}
|
|
43
43
|
._1ltv1ejb{left:var(--ds-space-300,24px)}
|
|
44
44
|
._1ltvze3t{left:var(--ds-space-0,0)}
|
|
45
45
|
._1n261g80{flex-wrap:wrap}
|
|
46
46
|
._1o9zidpf{flex-shrink:0}
|
|
47
|
-
.
|
|
47
|
+
._1oqbazsu#profile-card-action-button-group span{color:var(--ds-text-subtle,#505258)}
|
|
48
48
|
._1pby1mrw{z-index:-1}
|
|
49
49
|
._1reo15vq{overflow-x:hidden}
|
|
50
50
|
._1tkebv7e{min-height:136px}
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
._o5721q9c{white-space:nowrap}
|
|
69
69
|
._otyrze3t{margin-bottom:var(--ds-space-0,0)}
|
|
70
70
|
._s7n4jp4b{vertical-align:top}
|
|
71
|
-
.
|
|
72
|
-
.
|
|
71
|
+
._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
|
|
72
|
+
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
73
73
|
._tip8kb7n{animation-iteration-count:1}
|
|
74
74
|
._u5f312x7{padding-right:var(--ds-space-075,6px)}
|
|
75
75
|
._u5f31ejb{padding-right:var(--ds-space-300,24px)}
|
package/dist/esm/styled/Card.js
CHANGED
|
@@ -17,25 +17,25 @@ var styles = {
|
|
|
17
17
|
overflowActionButtonsWrapper: "_1e0c1o8l _1bsbzwfg _4t3izwfg",
|
|
18
18
|
cardContent: "_1e0c1txw _2lx21bp4 _1tkebv7e",
|
|
19
19
|
detailsGroup: "_1e0c1txw _2lx21bp4 _18u01epz _19bvxy5q _1bsb18pt",
|
|
20
|
-
disabledInfo: "_11c81o8v
|
|
20
|
+
disabledInfo: "_11c81o8v _syazi7uo _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t",
|
|
21
21
|
lozengeWrapper: "_19pkpxbi _1e0c1ule",
|
|
22
22
|
customLozengeContainer: "_1e0c1txw _2lx2vrvc _1n261g80 _1bah1y6m _19pkutpp",
|
|
23
23
|
cardContainer: "_1reo15vq _18m915vq _kqswh2mm _12vemgnk _1lrw14bs _ca0q1ejb _19bv1ejb _u5f31ejb _n3td1ejb",
|
|
24
|
-
cardContainerActiveUser: "
|
|
25
|
-
cardContainerDisabledUser: "
|
|
26
|
-
cardContainerWithElevation: "_2rko12b0
|
|
24
|
+
cardContainerActiveUser: "_1itkybvv",
|
|
25
|
+
cardContainerDisabledUser: "_1itk1387",
|
|
26
|
+
cardContainerWithElevation: "_2rko12b0 _16qs130s",
|
|
27
27
|
detailsLabel: "_zulpu2gc _1e0c1txw _4cvr1h6o _1bah1y6m _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t _o5721q9c",
|
|
28
28
|
detailsLabelNext: "_zulpu2gc _1e0c1txw _4cvr1h6o _1bah1y6m _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t _19bvze3t _o5721q9c",
|
|
29
29
|
detailsLabelExtraTopSpace: "_19pkxy5q",
|
|
30
|
-
detailsLabelIcon: "_1e0c1txw _1o9zidpf
|
|
31
|
-
detailsLabelText: "_1reo15vq _18m915vq _11c8dcr7 _1bto1l2s
|
|
32
|
-
kudosBlobAnimation: "_1e0cglyw _4t3i1w81 _1bsb1w81 _1pby1mrw _kqswstnw _j7hq1q51 _tip8kb7n _5sagi11n
|
|
30
|
+
detailsLabelIcon: "_1e0c1txw _1o9zidpf _syaz1rpy _1bsb7vkz _4t3i7vkz _s7n4jp4b _19pkze3t",
|
|
31
|
+
detailsLabelText: "_1reo15vq _18m915vq _11c8dcr7 _1bto1l2s _syazi7uo _19pkze3t _18u0ze3t",
|
|
32
|
+
kudosBlobAnimation: "_1e0cglyw _4t3i1w81 _1bsb1w81 _1pby1mrw _kqswstnw _j7hq1q51 _tip8kb7n _5sagi11n _1itkdsyg",
|
|
33
33
|
jobTitleLabel: "_19pkze3t _otyrze3t _18u0utpp _2hwxze3t",
|
|
34
|
-
appTitleLabel: "_2rko12b0
|
|
34
|
+
appTitleLabel: "_2rko12b0 _syazi7uo _u5f312x7 _19bv12x7 _1bsb1ns9 _19pk1b66 _otyrze3t _18u0utpp _2hwxze3t"
|
|
35
35
|
};
|
|
36
36
|
var stylesCompiled = {
|
|
37
37
|
jobTitleLabel: "_19pkze3t _otyrze3t _18u0utpp _2hwxze3t _1br315cr",
|
|
38
|
-
actionButtonGroup: "_zulp12x7 _uiztglyw _19pkpxbi _2hwxze3t _18u0ze3t _otyrze3t _y3gnusic _1bahesu3 _1e0c1txw
|
|
38
|
+
actionButtonGroup: "_zulp12x7 _uiztglyw _19pkpxbi _2hwxze3t _18u0ze3t _otyrze3t _y3gnusic _1bahesu3 _1e0c1txw _1oqbazsu"
|
|
39
39
|
};
|
|
40
40
|
export var ProfileImage = function ProfileImage(_ref) {
|
|
41
41
|
var children = _ref.children;
|
|
@@ -7,7 +7,7 @@ import { getPageTime } from './performance';
|
|
|
7
7
|
var ANALYTICS_CHANNEL = 'peopleTeams';
|
|
8
8
|
export var PACKAGE_META_DATA = {
|
|
9
9
|
packageName: "@atlaskit/profilecard",
|
|
10
|
-
packageVersion: "
|
|
10
|
+
packageVersion: "0.0.0-development"
|
|
11
11
|
};
|
|
12
12
|
var runItLater = function runItLater(cb) {
|
|
13
13
|
var requestIdleCallback = window.requestIdleCallback;
|
|
@@ -52,7 +52,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
52
52
|
actionSubjectId: actionSubjectId,
|
|
53
53
|
attributes: _objectSpread(_objectSpread({
|
|
54
54
|
packageName: "@atlaskit/profilecard",
|
|
55
|
-
packageVersion: "
|
|
55
|
+
packageVersion: "0.0.0-development"
|
|
56
56
|
}, attributes), {}, {
|
|
57
57
|
firedAt: Math.round(getPageTime())
|
|
58
58
|
})
|
|
@@ -1,4 +1,3 @@
|
|
|
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,4 +1,3 @@
|
|
|
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": "24.
|
|
3
|
+
"version": "24.21.0",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/atlassian-context": "^0.6.0",
|
|
45
45
|
"@atlaskit/avatar": "^25.5.0",
|
|
46
46
|
"@atlaskit/avatar-group": "^12.4.0",
|
|
47
|
-
"@atlaskit/button": "^23.
|
|
47
|
+
"@atlaskit/button": "^23.6.0",
|
|
48
48
|
"@atlaskit/css": "^0.15.0",
|
|
49
49
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
50
50
|
"@atlaskit/empty-state": "^10.1.0",
|
|
@@ -54,28 +54,26 @@
|
|
|
54
54
|
"@atlaskit/icon": "^28.5.0",
|
|
55
55
|
"@atlaskit/link": "^3.2.0",
|
|
56
56
|
"@atlaskit/logo": "^19.9.0",
|
|
57
|
-
"@atlaskit/lozenge": "^13.
|
|
57
|
+
"@atlaskit/lozenge": "^13.1.0",
|
|
58
58
|
"@atlaskit/menu": "^8.4.0",
|
|
59
59
|
"@atlaskit/modal-dialog": "^14.6.0",
|
|
60
|
-
"@atlaskit/people-teams-ui-public": "^3.
|
|
60
|
+
"@atlaskit/people-teams-ui-public": "^3.6.0",
|
|
61
61
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
62
62
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
63
|
-
"@atlaskit/popup": "^4.
|
|
64
|
-
"@atlaskit/primitives": "^16.
|
|
65
|
-
"@atlaskit/rovo-agent-components": "^3.
|
|
66
|
-
"@atlaskit/rovo-triggers": "^
|
|
63
|
+
"@atlaskit/popup": "^4.6.0",
|
|
64
|
+
"@atlaskit/primitives": "^16.1.0",
|
|
65
|
+
"@atlaskit/rovo-agent-components": "^3.11.0",
|
|
66
|
+
"@atlaskit/rovo-triggers": "^4.1.0",
|
|
67
67
|
"@atlaskit/spinner": "^19.0.0",
|
|
68
68
|
"@atlaskit/teams-app-config": "^1.12.0",
|
|
69
|
-
"@atlaskit/teams-app-internal-analytics": "^1.
|
|
70
|
-
"@atlaskit/teams-avatar": "^2.
|
|
69
|
+
"@atlaskit/teams-app-internal-analytics": "^1.19.0",
|
|
70
|
+
"@atlaskit/teams-avatar": "^2.4.0",
|
|
71
71
|
"@atlaskit/teams-public": "^0.62.0",
|
|
72
72
|
"@atlaskit/theme": "^21.0.0",
|
|
73
|
-
"@atlaskit/tokens": "^
|
|
74
|
-
"@atlaskit/tooltip": "^20.
|
|
73
|
+
"@atlaskit/tokens": "^8.0.0",
|
|
74
|
+
"@atlaskit/tooltip": "^20.8.0",
|
|
75
75
|
"@babel/runtime": "^7.0.0",
|
|
76
76
|
"@compiled/react": "^0.18.6",
|
|
77
|
-
"@emotion/react": "^11.7.1",
|
|
78
|
-
"@emotion/styled": "^11.0.0",
|
|
79
77
|
"date-fns": "^2.17.0",
|
|
80
78
|
"date-fns-tz": "^2.0.0",
|
|
81
79
|
"graphql": "^15.8.0",
|
|
@@ -141,18 +139,9 @@
|
|
|
141
139
|
"pt-deprecate-assistance-service": {
|
|
142
140
|
"type": "boolean"
|
|
143
141
|
},
|
|
144
|
-
"dst-a11y__replace-anchor-with-link__people-and-tea": {
|
|
145
|
-
"type": "boolean"
|
|
146
|
-
},
|
|
147
|
-
"should-render-to-parent-should-be-true-people-and-": {
|
|
148
|
-
"type": "boolean"
|
|
149
|
-
},
|
|
150
142
|
"platform-adopt-teams-nav-config": {
|
|
151
143
|
"type": "boolean"
|
|
152
144
|
},
|
|
153
|
-
"agent_studio_fe_permissions_settings_m1": {
|
|
154
|
-
"type": "boolean"
|
|
155
|
-
},
|
|
156
145
|
"jfp_a11y_team_profile_card_actions_label": {
|
|
157
146
|
"type": "boolean"
|
|
158
147
|
},
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.entry-points.post-office.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"outDir": "../../../../../post-office/tsDist/@atlaskit__profilecard/app",
|
|
7
|
-
"rootDir": "../",
|
|
8
|
-
"composite": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/**/examples.*",
|
|
19
|
-
"../src/**/examples/*",
|
|
20
|
-
"../src/**/examples/**/*",
|
|
21
|
-
"../src/**/*.stories.*",
|
|
22
|
-
"../src/**/stories/*",
|
|
23
|
-
"../src/**/stories/**/*"
|
|
24
|
-
],
|
|
25
|
-
"references": [
|
|
26
|
-
{
|
|
27
|
-
"path": "../../../analytics/analytics-next/afm-post-office/tsconfig.json"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"path": "../../../uip/atlassian-context/afm-post-office/tsconfig.json"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"path": "../../../design-system/avatar/afm-post-office/tsconfig.json"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"path": "../../../design-system/avatar-group/afm-post-office/tsconfig.json"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"path": "../../../design-system/button/afm-post-office/tsconfig.json"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"path": "../../../design-system/css/afm-post-office/tsconfig.json"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"path": "../../../design-system/dropdown-menu/afm-post-office/tsconfig.json"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"path": "../../../design-system/empty-state/afm-post-office/tsconfig.json"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"path": "../../../measurement/feature-gate-js-client/afm-post-office/tsconfig.json"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"path": "../../../team-central/give-kudos/afm-post-office/tsconfig.json"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"path": "../../../design-system/heading/afm-post-office/tsconfig.json"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"path": "../../../design-system/icon/afm-post-office/tsconfig.json"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"path": "../../../design-system/link/afm-post-office/tsconfig.json"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"path": "../../../design-system/logo/afm-post-office/tsconfig.json"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"path": "../../../design-system/lozenge/afm-post-office/tsconfig.json"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"path": "../../../design-system/menu/afm-post-office/tsconfig.json"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"path": "../../../design-system/modal-dialog/afm-post-office/tsconfig.json"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"path": "../../people-teams-ui-public/afm-post-office/tsconfig.json"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"path": "../../../platform/feature-flags-react/afm-post-office/tsconfig.json"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"path": "../../../design-system/popup/afm-post-office/tsconfig.json"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"path": "../../../design-system/primitives/afm-post-office/tsconfig.json"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"path": "../../../ai-mate/rovo-agent-components/afm-post-office/tsconfig.json"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"path": "../../../ai-mate/rovo-triggers/afm-post-office/tsconfig.json"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"path": "../../../design-system/spinner/afm-post-office/tsconfig.json"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"path": "../../teams-app-config/afm-post-office/tsconfig.json"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"path": "../../teams-app-internal-analytics/afm-post-office/tsconfig.json"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"path": "../../teams-avatar/afm-post-office/tsconfig.json"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"path": "../../teams-public/afm-post-office/tsconfig.json"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"path": "../../../design-system/theme/afm-post-office/tsconfig.json"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"path": "../../../design-system/tooltip/afm-post-office/tsconfig.json"
|
|
121
|
-
}
|
|
122
|
-
]
|
|
123
|
-
}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.entry-points.townsquare.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"outDir": "../../../../../townsquare/tsDist/@atlaskit__profilecard/app",
|
|
7
|
-
"rootDir": "../",
|
|
8
|
-
"composite": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/**/examples.*",
|
|
19
|
-
"../src/**/examples/*",
|
|
20
|
-
"../src/**/examples/**/*",
|
|
21
|
-
"../src/**/*.stories.*",
|
|
22
|
-
"../src/**/stories/*",
|
|
23
|
-
"../src/**/stories/**/*"
|
|
24
|
-
],
|
|
25
|
-
"references": [
|
|
26
|
-
{
|
|
27
|
-
"path": "../../../analytics/analytics-next/afm-townsquare/tsconfig.json"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"path": "../../../uip/atlassian-context/afm-townsquare/tsconfig.json"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"path": "../../../design-system/avatar/afm-townsquare/tsconfig.json"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"path": "../../../design-system/avatar-group/afm-townsquare/tsconfig.json"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"path": "../../../design-system/button/afm-townsquare/tsconfig.json"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"path": "../../../design-system/css/afm-townsquare/tsconfig.json"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"path": "../../../design-system/dropdown-menu/afm-townsquare/tsconfig.json"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"path": "../../../design-system/empty-state/afm-townsquare/tsconfig.json"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"path": "../../../measurement/feature-gate-js-client/afm-townsquare/tsconfig.json"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"path": "../../../team-central/give-kudos/afm-townsquare/tsconfig.json"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"path": "../../../design-system/heading/afm-townsquare/tsconfig.json"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"path": "../../../design-system/icon/afm-townsquare/tsconfig.json"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"path": "../../../design-system/link/afm-townsquare/tsconfig.json"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"path": "../../../design-system/logo/afm-townsquare/tsconfig.json"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"path": "../../../design-system/lozenge/afm-townsquare/tsconfig.json"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"path": "../../../design-system/menu/afm-townsquare/tsconfig.json"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"path": "../../../design-system/modal-dialog/afm-townsquare/tsconfig.json"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"path": "../../people-teams-ui-public/afm-townsquare/tsconfig.json"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"path": "../../../platform/feature-flags/afm-townsquare/tsconfig.json"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"path": "../../../platform/feature-flags-react/afm-townsquare/tsconfig.json"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"path": "../../../design-system/popup/afm-townsquare/tsconfig.json"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"path": "../../../design-system/primitives/afm-townsquare/tsconfig.json"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"path": "../../../ai-mate/rovo-agent-components/afm-townsquare/tsconfig.json"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"path": "../../../ai-mate/rovo-triggers/afm-townsquare/tsconfig.json"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"path": "../../../design-system/spinner/afm-townsquare/tsconfig.json"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"path": "../../teams-app-config/afm-townsquare/tsconfig.json"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"path": "../../teams-app-internal-analytics/afm-townsquare/tsconfig.json"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"path": "../../teams-avatar/afm-townsquare/tsconfig.json"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"path": "../../teams-public/afm-townsquare/tsconfig.json"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"path": "../../../design-system/theme/afm-townsquare/tsconfig.json"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"path": "../../../design-system/tokens/afm-townsquare/tsconfig.json"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"path": "../../../design-system/tooltip/afm-townsquare/tsconfig.json"
|
|
121
|
-
}
|
|
122
|
-
]
|
|
123
|
-
}
|