@atlaskit/profilecard 24.14.0 → 24.14.1
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 +10 -0
- package/__tests__/vr-tests/__snapshots__/user-profilecard/error-state--default.png +0 -0
- package/__tests__/vr-tests/agent-profilecard.vr.tsx +7 -1
- package/__tests__/vr-tests/user-profilecard.vr.tsx +42 -6
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/components/Agent/Actions.js +5 -2
- package/dist/cjs/components/Agent/ActionsCompiled.compiled.css +19 -0
- package/dist/cjs/components/Agent/ActionsCompiled.js +140 -0
- package/dist/cjs/components/Agent/AgentDeleteConfirmationModal.js +2 -4
- package/dist/cjs/components/Agent/AgentProfileCard.js +5 -1
- package/dist/cjs/components/Agent/AgentProfileCardCompiled.compiled.css +8 -0
- package/dist/cjs/components/Agent/AgentProfileCardCompiled.js +242 -0
- package/dist/cjs/components/Agent/AgentProfileCardWrapper.compiled.css +1 -0
- package/dist/cjs/components/Agent/AgentProfileCardWrapper.js +9 -8
- package/dist/cjs/components/Agent/ConversationStarters.js +2 -4
- package/dist/cjs/components/Error/ErrorMessage.js +3 -3
- package/dist/cjs/components/Team/TeamProfileCardTrigger.js +3 -3
- package/dist/cjs/components/User/ProfileCardDetails.compiled.css +0 -1
- package/dist/cjs/components/User/ProfileCardDetails.js +2 -4
- package/dist/cjs/components/User/ReportingLinesDetails.js +4 -1
- package/dist/cjs/components/User/ReportingLinesDetailsCompiled.compiled.css +11 -0
- package/dist/cjs/components/User/ReportingLinesDetailsCompiled.js +109 -0
- package/dist/cjs/components/common/ProfileCardWrapper.compiled.css +1 -0
- package/dist/cjs/components/common/ProfileCardWrapper.js +9 -8
- package/dist/cjs/components/team-profile-card/team-actions/more-actions/index.js +2 -4
- package/dist/cjs/styled/CoverImage.compiled.css +2 -0
- package/dist/cjs/styled/CoverImage.js +4 -2
- package/dist/cjs/styled/Error.compiled.css +0 -2
- package/dist/cjs/styled/Error.js +5 -3
- 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 +5 -2
- package/dist/es2019/components/Agent/ActionsCompiled.compiled.css +19 -0
- package/dist/es2019/components/Agent/ActionsCompiled.js +116 -0
- package/dist/es2019/components/Agent/AgentDeleteConfirmationModal.js +1 -2
- package/dist/es2019/components/Agent/AgentProfileCard.js +5 -1
- package/dist/es2019/components/Agent/AgentProfileCardCompiled.compiled.css +8 -0
- package/dist/es2019/components/Agent/AgentProfileCardCompiled.js +186 -0
- package/dist/es2019/components/Agent/AgentProfileCardWrapper.compiled.css +1 -0
- package/dist/es2019/components/Agent/AgentProfileCardWrapper.js +8 -7
- package/dist/es2019/components/Agent/ConversationStarters.js +1 -3
- package/dist/es2019/components/Error/ErrorMessage.js +1 -2
- package/dist/es2019/components/Team/TeamProfileCardTrigger.js +1 -2
- package/dist/es2019/components/User/ProfileCardDetails.compiled.css +0 -1
- package/dist/es2019/components/User/ProfileCardDetails.js +1 -4
- package/dist/es2019/components/User/ReportingLinesDetails.js +4 -1
- package/dist/es2019/components/User/ReportingLinesDetailsCompiled.compiled.css +11 -0
- package/dist/es2019/components/User/ReportingLinesDetailsCompiled.js +96 -0
- package/dist/es2019/components/common/ProfileCardWrapper.compiled.css +1 -0
- package/dist/es2019/components/common/ProfileCardWrapper.js +8 -7
- package/dist/es2019/components/team-profile-card/team-actions/more-actions/index.js +1 -2
- package/dist/es2019/styled/CoverImage.compiled.css +2 -0
- package/dist/es2019/styled/CoverImage.js +4 -2
- package/dist/es2019/styled/Error.compiled.css +0 -2
- package/dist/es2019/styled/Error.js +6 -4
- 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 +5 -2
- package/dist/esm/components/Agent/ActionsCompiled.compiled.css +19 -0
- package/dist/esm/components/Agent/ActionsCompiled.js +131 -0
- package/dist/esm/components/Agent/AgentDeleteConfirmationModal.js +1 -2
- package/dist/esm/components/Agent/AgentProfileCard.js +5 -1
- package/dist/esm/components/Agent/AgentProfileCardCompiled.compiled.css +8 -0
- package/dist/esm/components/Agent/AgentProfileCardCompiled.js +233 -0
- package/dist/esm/components/Agent/AgentProfileCardWrapper.compiled.css +1 -0
- package/dist/esm/components/Agent/AgentProfileCardWrapper.js +8 -7
- package/dist/esm/components/Agent/ConversationStarters.js +1 -3
- package/dist/esm/components/Error/ErrorMessage.js +1 -2
- package/dist/esm/components/Team/TeamProfileCardTrigger.js +1 -2
- package/dist/esm/components/User/ProfileCardDetails.compiled.css +0 -1
- package/dist/esm/components/User/ProfileCardDetails.js +1 -4
- package/dist/esm/components/User/ReportingLinesDetails.js +4 -1
- package/dist/esm/components/User/ReportingLinesDetailsCompiled.compiled.css +11 -0
- package/dist/esm/components/User/ReportingLinesDetailsCompiled.js +102 -0
- package/dist/esm/components/common/ProfileCardWrapper.compiled.css +1 -0
- package/dist/esm/components/common/ProfileCardWrapper.js +8 -7
- package/dist/esm/components/team-profile-card/team-actions/more-actions/index.js +1 -2
- package/dist/esm/styled/CoverImage.compiled.css +2 -0
- package/dist/esm/styled/CoverImage.js +4 -2
- package/dist/esm/styled/Error.compiled.css +0 -2
- package/dist/esm/styled/Error.js +6 -4
- package/dist/esm/util/analytics.js +2 -2
- package/dist/types/components/Agent/Actions.d.ts +10 -1
- package/dist/types/components/Agent/ActionsCompiled.d.ts +14 -0
- package/dist/types/components/Agent/AgentProfileCard.d.ts +13 -3
- package/dist/types/components/Agent/AgentProfileCardCompiled.d.ts +4 -0
- package/dist/types/components/Agent/lazyAgentProfileCard.d.ts +12 -1
- package/dist/types/components/User/ReportingLinesDetails.d.ts +2 -2
- package/dist/types/components/User/ReportingLinesDetailsCompiled.d.ts +5 -0
- package/dist/types-ts4.5/components/Agent/Actions.d.ts +10 -1
- package/dist/types-ts4.5/components/Agent/ActionsCompiled.d.ts +14 -0
- package/dist/types-ts4.5/components/Agent/AgentProfileCard.d.ts +13 -3
- package/dist/types-ts4.5/components/Agent/AgentProfileCardCompiled.d.ts +4 -0
- package/dist/types-ts4.5/components/Agent/lazyAgentProfileCard.d.ts +12 -1
- package/dist/types-ts4.5/components/User/ReportingLinesDetails.d.ts +2 -2
- package/dist/types-ts4.5/components/User/ReportingLinesDetailsCompiled.d.ts +5 -0
- package/package.json +11 -5
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
/* AgentProfileCardCompiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
import "./AgentProfileCardCompiled.compiled.css";
|
|
3
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
4
|
+
import React, { useCallback, useEffect, useState } from 'react';
|
|
5
|
+
import { useIntl } from 'react-intl-next';
|
|
6
|
+
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
7
|
+
import { Box, Stack } from '@atlaskit/primitives/compiled';
|
|
8
|
+
import { AgentAvatar, AgentBanner, AgentProfileCreator, AgentProfileInfo, AgentStarCount } from '@atlaskit/rovo-agent-components';
|
|
9
|
+
import { fireEvent, profileCardRendered } from '../../util/analytics';
|
|
10
|
+
import { LoadingState } from '../common/LoadingState';
|
|
11
|
+
import { ErrorMessage } from '../Error';
|
|
12
|
+
import { AgentActions } from './Actions';
|
|
13
|
+
import { AgentProfileCardWrapper } from './AgentProfileCardWrapper';
|
|
14
|
+
import { ConversationStarters } from './ConversationStarters';
|
|
15
|
+
import { useAgentUrlActions } from './hooks/useAgentActions';
|
|
16
|
+
import { messages } from './messages';
|
|
17
|
+
const styles = {
|
|
18
|
+
detailWrapper: "_18zrpxbi _1q51xy5q",
|
|
19
|
+
avatarStyles: "_kqswstnw _154i1ejb _1ltvpxbi",
|
|
20
|
+
cardContainerStyles: "_2rko1mok _16qs1cd0 _kqswh2mm"
|
|
21
|
+
};
|
|
22
|
+
const AgentProfileCard = ({
|
|
23
|
+
agent,
|
|
24
|
+
isLoading,
|
|
25
|
+
cloudId,
|
|
26
|
+
onChatClick,
|
|
27
|
+
hasError,
|
|
28
|
+
errorType,
|
|
29
|
+
onConversationStartersClick,
|
|
30
|
+
resourceClient,
|
|
31
|
+
addFlag,
|
|
32
|
+
onDeleteAgent
|
|
33
|
+
}) => {
|
|
34
|
+
var _agent$user_defined_c, _agent$external_confi, _agent$external_confi2, _agent$creatorInfo, _agent$creatorInfo2, _agent$creatorInfo3, _agent$creatorInfo4;
|
|
35
|
+
const {
|
|
36
|
+
onEditAgent,
|
|
37
|
+
onCopyAgent,
|
|
38
|
+
onDuplicateAgent,
|
|
39
|
+
onOpenChat: onOpenChatFullScreen,
|
|
40
|
+
onConversationStarter,
|
|
41
|
+
onViewFullProfile
|
|
42
|
+
} = useAgentUrlActions({
|
|
43
|
+
cloudId: cloudId || '',
|
|
44
|
+
source: 'agentProfileCard'
|
|
45
|
+
});
|
|
46
|
+
const [isStarred, setIsStarred] = useState(false);
|
|
47
|
+
const [starCount, setStarCount] = useState();
|
|
48
|
+
const {
|
|
49
|
+
formatMessage
|
|
50
|
+
} = useIntl();
|
|
51
|
+
const userDefinedConversationStarters = agent === null || agent === void 0 ? void 0 : (_agent$user_defined_c = agent.user_defined_conversation_starters) === null || _agent$user_defined_c === void 0 ? void 0 : _agent$user_defined_c.map(starter => {
|
|
52
|
+
return {
|
|
53
|
+
message: starter,
|
|
54
|
+
type: 'user-defined'
|
|
55
|
+
};
|
|
56
|
+
});
|
|
57
|
+
useEffect(() => {
|
|
58
|
+
setIsStarred(!!(agent !== null && agent !== void 0 && agent.favourite));
|
|
59
|
+
setStarCount(agent === null || agent === void 0 ? void 0 : agent.favourite_count);
|
|
60
|
+
}, [agent === null || agent === void 0 ? void 0 : agent.favourite, agent === null || agent === void 0 ? void 0 : agent.favourite_count]);
|
|
61
|
+
const {
|
|
62
|
+
createAnalyticsEvent
|
|
63
|
+
} = useAnalyticsEvents();
|
|
64
|
+
const fireAnalytics = useCallback(payload => {
|
|
65
|
+
if (createAnalyticsEvent) {
|
|
66
|
+
fireEvent(createAnalyticsEvent, payload);
|
|
67
|
+
}
|
|
68
|
+
}, [createAnalyticsEvent]);
|
|
69
|
+
const handleSetFavourite = useCallback(async () => {
|
|
70
|
+
if (agent !== null && agent !== void 0 && agent.id) {
|
|
71
|
+
try {
|
|
72
|
+
await resourceClient.setFavouriteAgent(agent.id, !isStarred, fireAnalytics);
|
|
73
|
+
if (isStarred) {
|
|
74
|
+
setStarCount(starCount ? starCount - 1 : 0);
|
|
75
|
+
} else {
|
|
76
|
+
setStarCount((starCount || 0) + 1);
|
|
77
|
+
}
|
|
78
|
+
setIsStarred(!isStarred);
|
|
79
|
+
} catch (error) {}
|
|
80
|
+
}
|
|
81
|
+
}, [agent === null || agent === void 0 ? void 0 : agent.id, fireAnalytics, isStarred, resourceClient, starCount]);
|
|
82
|
+
const handleOnDelete = useCallback(async () => {
|
|
83
|
+
if (agent && onDeleteAgent) {
|
|
84
|
+
// Optimistically remove from cache
|
|
85
|
+
const {
|
|
86
|
+
restore
|
|
87
|
+
} = onDeleteAgent(agent.id);
|
|
88
|
+
try {
|
|
89
|
+
await resourceClient.deleteAgent(agent.id, fireAnalytics);
|
|
90
|
+
addFlag === null || addFlag === void 0 ? void 0 : addFlag({
|
|
91
|
+
title: formatMessage(messages.agentDeletedSuccessFlagTitle),
|
|
92
|
+
description: formatMessage(messages.agentDeletedSuccessFlagDescription, {
|
|
93
|
+
agentName: agent.name
|
|
94
|
+
}),
|
|
95
|
+
type: 'success',
|
|
96
|
+
id: 'ptc-directory.agent-profile.delete-agent-success'
|
|
97
|
+
});
|
|
98
|
+
} catch (error) {
|
|
99
|
+
// Restore agent to cache on error
|
|
100
|
+
restore();
|
|
101
|
+
addFlag === null || addFlag === void 0 ? void 0 : addFlag({
|
|
102
|
+
title: formatMessage(messages.agentDeletedErrorFlagTitle),
|
|
103
|
+
description: formatMessage(messages.agentDeletedErrorFlagDescription),
|
|
104
|
+
type: 'error',
|
|
105
|
+
id: 'ptc-directory.agent-profile.delete-agent-error'
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}, [addFlag, agent, formatMessage, onDeleteAgent, resourceClient, fireAnalytics]);
|
|
110
|
+
useEffect(() => {
|
|
111
|
+
if (!isLoading && agent) {
|
|
112
|
+
fireAnalytics(profileCardRendered('agent', 'content'));
|
|
113
|
+
}
|
|
114
|
+
}, [agent, fireAnalytics, isLoading]);
|
|
115
|
+
if (isLoading) {
|
|
116
|
+
return /*#__PURE__*/React.createElement(AgentProfileCardWrapper, null, /*#__PURE__*/React.createElement(LoadingState, {
|
|
117
|
+
profileType: "agent",
|
|
118
|
+
fireAnalytics: fireAnalytics
|
|
119
|
+
}));
|
|
120
|
+
}
|
|
121
|
+
if (hasError || !agent) {
|
|
122
|
+
return /*#__PURE__*/React.createElement(AgentProfileCardWrapper, null, /*#__PURE__*/React.createElement(ErrorMessage, {
|
|
123
|
+
fireAnalyticsNext: () => {},
|
|
124
|
+
errorType: errorType,
|
|
125
|
+
fireAnalytics: fireAnalytics
|
|
126
|
+
}));
|
|
127
|
+
}
|
|
128
|
+
return /*#__PURE__*/React.createElement(AgentProfileCardWrapper, null, /*#__PURE__*/React.createElement(Box, {
|
|
129
|
+
xcss: styles.cardContainerStyles
|
|
130
|
+
}, /*#__PURE__*/React.createElement(AgentBanner, {
|
|
131
|
+
agentId: agent.id,
|
|
132
|
+
agentNamedId: (_agent$external_confi = agent.external_config_reference) !== null && _agent$external_confi !== void 0 ? _agent$external_confi : agent.named_id,
|
|
133
|
+
height: 96,
|
|
134
|
+
agentIdentityAccountId: agent.identity_account_id
|
|
135
|
+
}), /*#__PURE__*/React.createElement(Box, {
|
|
136
|
+
xcss: styles.avatarStyles
|
|
137
|
+
}, /*#__PURE__*/React.createElement(AgentAvatar, {
|
|
138
|
+
agentId: agent.id,
|
|
139
|
+
agentNamedId: (_agent$external_confi2 = agent.external_config_reference) !== null && _agent$external_confi2 !== void 0 ? _agent$external_confi2 : agent.named_id,
|
|
140
|
+
agentIdentityAccountId: agent.identity_account_id,
|
|
141
|
+
size: "xlarge",
|
|
142
|
+
isForgeAgent: agent.creator_type === 'FORGE' || agent.creator_type === 'THIRD_PARTY',
|
|
143
|
+
forgeAgentIconUrl: agent.icon
|
|
144
|
+
})), /*#__PURE__*/React.createElement(Stack, {
|
|
145
|
+
space: "space.100",
|
|
146
|
+
xcss: styles.detailWrapper
|
|
147
|
+
}, /*#__PURE__*/React.createElement(AgentProfileInfo, {
|
|
148
|
+
agentName: agent.name,
|
|
149
|
+
isStarred: isStarred,
|
|
150
|
+
onStarToggle: handleSetFavourite,
|
|
151
|
+
isHidden: agent.visibility === 'PRIVATE',
|
|
152
|
+
creatorRender: ((_agent$creatorInfo = agent.creatorInfo) === null || _agent$creatorInfo === void 0 ? void 0 : _agent$creatorInfo.type) && /*#__PURE__*/React.createElement(AgentProfileCreator, {
|
|
153
|
+
creator: {
|
|
154
|
+
type: (_agent$creatorInfo2 = agent.creatorInfo) === null || _agent$creatorInfo2 === void 0 ? void 0 : _agent$creatorInfo2.type,
|
|
155
|
+
name: ((_agent$creatorInfo3 = agent.creatorInfo) === null || _agent$creatorInfo3 === void 0 ? void 0 : _agent$creatorInfo3.name) || '',
|
|
156
|
+
profileLink: ((_agent$creatorInfo4 = agent.creatorInfo) === null || _agent$creatorInfo4 === void 0 ? void 0 : _agent$creatorInfo4.profileLink) || ''
|
|
157
|
+
},
|
|
158
|
+
isLoading: false,
|
|
159
|
+
onCreatorLinkClick: () => {}
|
|
160
|
+
}),
|
|
161
|
+
starCountRender: /*#__PURE__*/React.createElement(AgentStarCount, {
|
|
162
|
+
starCount: starCount,
|
|
163
|
+
isLoading: false
|
|
164
|
+
}),
|
|
165
|
+
agentDescription: agent.description
|
|
166
|
+
}), /*#__PURE__*/React.createElement(ConversationStarters, {
|
|
167
|
+
isAgentDefault: agent.is_default,
|
|
168
|
+
userDefinedConversationStarters: userDefinedConversationStarters,
|
|
169
|
+
onConversationStarterClick: conversationStarter => {
|
|
170
|
+
onConversationStartersClick ? onConversationStartersClick(conversationStarter) : onConversationStarter({
|
|
171
|
+
agentId: agent.id,
|
|
172
|
+
prompt: conversationStarter.message
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
})), /*#__PURE__*/React.createElement(AgentActions, {
|
|
176
|
+
agent: agent,
|
|
177
|
+
onEditAgent: () => onEditAgent(agent.id),
|
|
178
|
+
onCopyAgent: () => onCopyAgent(agent.id),
|
|
179
|
+
onDuplicateAgent: () => onDuplicateAgent(agent.id),
|
|
180
|
+
onDeleteAgent: handleOnDelete,
|
|
181
|
+
onChatClick: onChatClick ? event => onChatClick(event) : () => onOpenChatFullScreen(agent.id, agent.name),
|
|
182
|
+
resourceClient: resourceClient,
|
|
183
|
+
onViewFullProfileClick: () => onViewFullProfile(agent.id)
|
|
184
|
+
})));
|
|
185
|
+
};
|
|
186
|
+
export default AgentProfileCard;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._1bsb1gwv{width:360px}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
/* AgentProfileCardWrapper.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
import "./AgentProfileCardWrapper.compiled.css";
|
|
3
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
1
4
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
width: '360px'
|
|
7
|
-
});
|
|
5
|
+
import { Box } from '@atlaskit/primitives/compiled';
|
|
6
|
+
const styles = {
|
|
7
|
+
wrapper: "_1bsb1gwv"
|
|
8
|
+
};
|
|
8
9
|
export const AgentProfileCardWrapper = ({
|
|
9
10
|
children
|
|
10
11
|
}) => {
|
|
11
12
|
return /*#__PURE__*/React.createElement(Box, {
|
|
12
|
-
xcss: styles
|
|
13
|
+
xcss: styles.wrapper
|
|
13
14
|
}, children);
|
|
14
15
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
|
-
import { Stack } from '@atlaskit/primitives';
|
|
2
|
+
import { Stack } from '@atlaskit/primitives/compiled';
|
|
5
3
|
import { AgentConversationStarters } from '@atlaskit/rovo-agent-components';
|
|
6
4
|
export const ConversationStarters = ({
|
|
7
5
|
isAgentDefault,
|
|
@@ -3,8 +3,7 @@ import Button from '@atlaskit/button/new';
|
|
|
3
3
|
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
4
4
|
import IconError from '@atlaskit/icon/glyph/cross-circle';
|
|
5
5
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
|
-
|
|
7
|
-
import { Text } from '@atlaskit/primitives';
|
|
6
|
+
import { Text } from '@atlaskit/primitives/compiled';
|
|
8
7
|
import { ErrorTitle, ErrorWrapper } from '../../styled/Error';
|
|
9
8
|
import { PACKAGE_META_DATA, profileCardRendered } from '../../util/analytics';
|
|
10
9
|
const ErrorMessage = props => {
|
|
@@ -6,8 +6,7 @@ import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
|
6
6
|
import { GiveKudosLauncherLazy, KudosType } from '@atlaskit/give-kudos';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
8
|
import Popup from '@atlaskit/popup';
|
|
9
|
-
|
|
10
|
-
import { Box } from '@atlaskit/primitives';
|
|
9
|
+
import { Box } from '@atlaskit/primitives/compiled';
|
|
11
10
|
import { layers } from '@atlaskit/theme/constants';
|
|
12
11
|
import filterActions from '../../internal/filterActions';
|
|
13
12
|
import messages from '../../messages';
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
._18u0ze3t{margin-left:var(--ds-space-0,0)}
|
|
6
6
|
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
7
7
|
._19pkxy5q{margin-top:var(--ds-space-400,2pc)}
|
|
8
|
-
._19pkze3t{margin-top:var(--ds-space-0,0)}
|
|
9
8
|
._1bguutpp#profilecard-name-label{margin-bottom:var(--ds-space-150,9pt)}
|
|
10
9
|
._1bto1l2s{text-overflow:ellipsis}
|
|
11
10
|
._1hpmutpp#profilecard-name-label{margin-top:var(--ds-space-150,9pt)}
|
|
@@ -7,16 +7,13 @@ import { cx } from '@compiled/react';
|
|
|
7
7
|
import { FormattedMessage } from 'react-intl-next';
|
|
8
8
|
import Lozenge from '@atlaskit/lozenge';
|
|
9
9
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
|
-
|
|
11
|
-
import { Text } from '@atlaskit/primitives';
|
|
12
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
10
|
+
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
13
11
|
import relativeDate from '../../internal/relative-date';
|
|
14
12
|
import messages from '../../messages';
|
|
15
13
|
import { AppTitleLabel, CustomLozengeContainer, DetailsGroup, DisabledInfo, JobTitleLabel, LozengeWrapper } from '../../styled/Card';
|
|
16
14
|
import { IconLabel } from '../Icon';
|
|
17
15
|
import ReportingLinesDetails from './ReportingLinesDetails';
|
|
18
16
|
const styles = {
|
|
19
|
-
detailedListWrapper: "_19pkze3t _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
20
17
|
detailedListWrapperNext: "_19pkxy5q _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
21
18
|
fullNameLabel: "_1reo15vq _18m915vq _11c81ixg _1bto1l2s _o5721q9c",
|
|
22
19
|
noMetaLabel: "_2hwxidpf _18u0idpf _rcujxy5q _1l6uutpp",
|
|
@@ -6,6 +6,7 @@ import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
|
6
6
|
import Avatar from '@atlaskit/avatar';
|
|
7
7
|
import AvatarGroup from '@atlaskit/avatar-group';
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
9
10
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
10
11
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
11
12
|
import { Pressable } from '@atlaskit/primitives/compiled';
|
|
@@ -13,6 +14,7 @@ import messages from '../../messages';
|
|
|
13
14
|
import { ManagerName, ManagerSection, OffsetWrapper, ReportingLinesSection } from '../../styled/ReportingLines';
|
|
14
15
|
import { PACKAGE_META_DATA, reportingLinesClicked } from '../../util/analytics';
|
|
15
16
|
import { getPageTime } from '../../util/performance';
|
|
17
|
+
import { default as ReportingLinesDetailsCompiled } from './ReportingLinesDetailsCompiled';
|
|
16
18
|
function getProfileHref(userId, profileUrl) {
|
|
17
19
|
return profileUrl ? profileUrl + userId : undefined;
|
|
18
20
|
}
|
|
@@ -122,4 +124,5 @@ const ReportingLinesDetails = props => {
|
|
|
122
124
|
showMoreButtonProps: showMoreButtonProps
|
|
123
125
|
})));
|
|
124
126
|
};
|
|
125
|
-
|
|
127
|
+
const ReportingLinesDetailsExport = componentWithFG('profilecard_primitives_compiled', ReportingLinesDetailsCompiled, ReportingLinesDetails);
|
|
128
|
+
export default ReportingLinesDetailsExport;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
._11c81vhk{font:var(--ds-font-heading-xxsmall,normal 600 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
3
|
+
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
4
|
+
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
5
|
+
._k48p1pd9{font-weight:var(--ds-font-weight-semibold,600)}
|
|
6
|
+
._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
|
|
7
|
+
._otyru2gc{margin-bottom:var(--ds-space-100,8px)}
|
|
8
|
+
._otyrze3t{margin-bottom:var(--ds-space-0,0)}
|
|
9
|
+
._syaz1fxt{color:var(--ds-text,#172b4d)}
|
|
10
|
+
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
11
|
+
._irr3166n:hover{background-color:var(--ds-background-neutral-subtle-hovered,#091e420f)}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/* ReportingLinesDetailsCompiled.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
import "./ReportingLinesDetailsCompiled.compiled.css";
|
|
3
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
6
|
+
import Avatar from '@atlaskit/avatar';
|
|
7
|
+
import AvatarGroup from '@atlaskit/avatar-group';
|
|
8
|
+
import { cx } from '@atlaskit/css';
|
|
9
|
+
import { Box, Pressable } from '@atlaskit/primitives/compiled';
|
|
10
|
+
import messages from '../../messages';
|
|
11
|
+
import { ManagerName, ManagerSection, OffsetWrapper, ReportingLinesSection } from '../../styled/ReportingLines';
|
|
12
|
+
import { reportingLinesClicked } from '../../util/analytics';
|
|
13
|
+
function getProfileHref(userId, profileUrl) {
|
|
14
|
+
return profileUrl ? profileUrl + userId : undefined;
|
|
15
|
+
}
|
|
16
|
+
const styles = {
|
|
17
|
+
reportingLinesButton: "_ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _bfhksm61 _irr3166n",
|
|
18
|
+
reportingLinesHeadingDefaultStyles: "_11c81vhk _syaz1fxt _k48p1pd9 _otyru2gc",
|
|
19
|
+
reportingLinesHeadingStyles: "_otyrze3t"
|
|
20
|
+
};
|
|
21
|
+
const avatarGroupMaxCount = 5;
|
|
22
|
+
const ReportingLinesDetails = props => {
|
|
23
|
+
var _manager$pii, _manager$pii2;
|
|
24
|
+
const {
|
|
25
|
+
formatMessage
|
|
26
|
+
} = useIntl();
|
|
27
|
+
const {
|
|
28
|
+
fireAnalyticsWithDuration,
|
|
29
|
+
reportingLines = {},
|
|
30
|
+
reportingLinesProfileUrl,
|
|
31
|
+
onReportingLinesClick
|
|
32
|
+
} = props;
|
|
33
|
+
const {
|
|
34
|
+
managers = [],
|
|
35
|
+
reports = []
|
|
36
|
+
} = reportingLines;
|
|
37
|
+
const manager = managers.length >= 1 ? managers[0] : undefined;
|
|
38
|
+
const hasReports = reports.length > 0;
|
|
39
|
+
const getReportingLinesOnClick = (user, userType) => onReportingLinesClick ? () => {
|
|
40
|
+
fireAnalyticsWithDuration(duration => reportingLinesClicked({
|
|
41
|
+
duration,
|
|
42
|
+
userType
|
|
43
|
+
}));
|
|
44
|
+
onReportingLinesClick(user);
|
|
45
|
+
} : undefined;
|
|
46
|
+
const onReportingLinksClick = (user, userType, href) => {
|
|
47
|
+
let shouldPreventDefault = false;
|
|
48
|
+
if (onReportingLinesClick) {
|
|
49
|
+
shouldPreventDefault = onReportingLinesClick(user) === false;
|
|
50
|
+
}
|
|
51
|
+
fireAnalyticsWithDuration(duration => reportingLinesClicked({
|
|
52
|
+
duration,
|
|
53
|
+
userType
|
|
54
|
+
}));
|
|
55
|
+
if (shouldPreventDefault) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
if (href) {
|
|
59
|
+
window.location.href = href;
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
const showMoreButtonProps = {
|
|
63
|
+
'aria-label': formatMessage(messages.profileCardMoreReportingLinesLabel, {
|
|
64
|
+
count: reports.length - avatarGroupMaxCount + 1
|
|
65
|
+
})
|
|
66
|
+
};
|
|
67
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, manager && /*#__PURE__*/React.createElement(ReportingLinesSection, null, /*#__PURE__*/React.createElement(Box, {
|
|
68
|
+
xcss: cx(styles.reportingLinesHeadingDefaultStyles, styles.reportingLinesHeadingStyles)
|
|
69
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.managerSectionHeading)), /*#__PURE__*/React.createElement(OffsetWrapper, null, /*#__PURE__*/React.createElement(Pressable, {
|
|
70
|
+
onClick: () => onReportingLinksClick(manager, 'manager', getProfileHref(manager.accountIdentifier, reportingLinesProfileUrl)),
|
|
71
|
+
isDisabled: !onReportingLinesClick,
|
|
72
|
+
xcss: styles.reportingLinesButton
|
|
73
|
+
}, /*#__PURE__*/React.createElement(ManagerSection, null, /*#__PURE__*/React.createElement(Avatar, {
|
|
74
|
+
size: "xsmall",
|
|
75
|
+
src: (_manager$pii = manager.pii) === null || _manager$pii === void 0 ? void 0 : _manager$pii.picture
|
|
76
|
+
}), /*#__PURE__*/React.createElement(ManagerName, null, (_manager$pii2 = manager.pii) === null || _manager$pii2 === void 0 ? void 0 : _manager$pii2.name))))), hasReports && /*#__PURE__*/React.createElement(ReportingLinesSection, null, /*#__PURE__*/React.createElement(Box, {
|
|
77
|
+
xcss: styles.reportingLinesHeadingDefaultStyles
|
|
78
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.directReportsSectionHeading)), /*#__PURE__*/React.createElement(AvatarGroup, {
|
|
79
|
+
appearance: "stack",
|
|
80
|
+
size: "small",
|
|
81
|
+
data: reports.map(member => {
|
|
82
|
+
var _member$pii, _member$pii2;
|
|
83
|
+
return {
|
|
84
|
+
key: member.accountIdentifier,
|
|
85
|
+
name: ((_member$pii = member.pii) === null || _member$pii === void 0 ? void 0 : _member$pii.name) || '',
|
|
86
|
+
src: (_member$pii2 = member.pii) === null || _member$pii2 === void 0 ? void 0 : _member$pii2.picture,
|
|
87
|
+
href: getProfileHref(member.accountIdentifier, reportingLinesProfileUrl),
|
|
88
|
+
onClick: getReportingLinesOnClick(member, 'direct-report')
|
|
89
|
+
};
|
|
90
|
+
}),
|
|
91
|
+
maxCount: avatarGroupMaxCount,
|
|
92
|
+
testId: "profilecard-reports-avatar-group",
|
|
93
|
+
showMoreButtonProps: showMoreButtonProps
|
|
94
|
+
})));
|
|
95
|
+
};
|
|
96
|
+
export default ReportingLinesDetails;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._1bsb1gwv{width:360px}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
/* ProfileCardWrapper.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
import "./ProfileCardWrapper.compiled.css";
|
|
3
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
1
4
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
width: '360px'
|
|
7
|
-
});
|
|
5
|
+
import { Box } from '@atlaskit/primitives/compiled';
|
|
6
|
+
const styles = {
|
|
7
|
+
wrapper: "_1bsb1gwv"
|
|
8
|
+
};
|
|
8
9
|
export const ProfileCardWrapper = ({
|
|
9
10
|
children,
|
|
10
11
|
testId
|
|
11
12
|
}) => {
|
|
12
13
|
return /*#__PURE__*/React.createElement(Box, {
|
|
13
|
-
xcss: styles,
|
|
14
|
+
xcss: styles.wrapper,
|
|
14
15
|
testId: testId
|
|
15
16
|
}, children);
|
|
16
17
|
};
|
|
@@ -5,8 +5,7 @@ import { IconButton } from '@atlaskit/button/new';
|
|
|
5
5
|
import MoreIcon from '@atlaskit/icon/core/migration/show-more-horizontal--more';
|
|
6
6
|
import { MenuGroup, Section } from '@atlaskit/menu';
|
|
7
7
|
import Popup from '@atlaskit/popup';
|
|
8
|
-
|
|
9
|
-
import { Box } from '@atlaskit/primitives';
|
|
8
|
+
import { Box } from '@atlaskit/primitives/compiled';
|
|
10
9
|
import { messages } from './messages';
|
|
11
10
|
export const MoreActions = ({
|
|
12
11
|
actions,
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
._1e0c1txw{display:flex}
|
|
7
7
|
._1reo15vq{overflow-x:hidden}
|
|
8
8
|
._4cvr1h6o{align-items:center}
|
|
9
|
+
._4t3i1osq{height:100%}
|
|
9
10
|
._4t3i1qr7{height:8pc}
|
|
10
11
|
._4t3i1wug{height:auto}
|
|
12
|
+
._5ral1dfr{object-fit:cover}
|
|
11
13
|
._kqswh2mm{position:relative}
|
|
12
14
|
._qrwq12b0{border-top-right-radius:var(--ds-radius-small,4px)}
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
import "./CoverImage.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useRef } from 'react';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
6
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
6
7
|
const styles = {
|
|
7
8
|
container: "_1reo15vq _18m915vq _1bsb1osq _4t3i1qr7 _kqswh2mm _13li12b0 _qrwq12b0 _1e0c1txw _1bah1h6o _4cvr1h6o",
|
|
8
|
-
image: "_1bsbnklw _4t3i1wug"
|
|
9
|
+
image: "_1bsbnklw _4t3i1wug",
|
|
10
|
+
imageNext: "_4t3i1osq _5ral1dfr"
|
|
9
11
|
};
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -26,6 +28,6 @@ export const CoverImage = ({
|
|
|
26
28
|
ref: imgRef,
|
|
27
29
|
src: src,
|
|
28
30
|
alt: alt,
|
|
29
|
-
xcss: styles.image
|
|
31
|
+
xcss: fg('cover-header-image-team-profilecard') ? styles.imageNext : styles.image
|
|
30
32
|
}));
|
|
31
33
|
};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
1
|
._19bv1ejb{padding-left:var(--ds-space-300,24px)}
|
|
3
2
|
._19pku2gc{margin-top:var(--ds-space-100,8px)}
|
|
4
3
|
._ca0q1ejb{padding-top:var(--ds-space-300,24px)}
|
|
5
4
|
._n3td1ejb{padding-bottom:var(--ds-space-300,24px)}
|
|
6
|
-
._syaz1fxt{color:var(--ds-text,#172b4d)}
|
|
7
5
|
._syaz1wmz{color:var(--ds-text-subtlest,#6b778c)}
|
|
8
6
|
._u5f31ejb{padding-right:var(--ds-space-300,24px)}
|
|
9
7
|
._y3gn1h6o{text-align:center}
|
|
@@ -4,19 +4,21 @@ import "./Error.compiled.css";
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { cx } from '@atlaskit/css';
|
|
7
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
7
|
+
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
8
8
|
import { N200 } from '@atlaskit/theme/colors';
|
|
9
9
|
const styles = {
|
|
10
10
|
errorWrapper: "_y3gn1h6o _ca0q1ejb _u5f31ejb _n3td1ejb _19bv1ejb",
|
|
11
|
-
errorTitle: "
|
|
11
|
+
errorTitle: "_19pku2gc",
|
|
12
12
|
teamErrorText: "_syaz1wmz _19pku2gc"
|
|
13
13
|
};
|
|
14
14
|
export const ErrorWrapper = props => /*#__PURE__*/React.createElement(Box, _extends({
|
|
15
15
|
xcss: cx(styles.errorWrapper)
|
|
16
16
|
}, props));
|
|
17
17
|
export const ErrorTitle = props => /*#__PURE__*/React.createElement(Box, {
|
|
18
|
-
xcss:
|
|
19
|
-
},
|
|
18
|
+
xcss: styles.errorTitle
|
|
19
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
20
|
+
color: "color.text"
|
|
21
|
+
}, props.children));
|
|
20
22
|
export const TeamErrorText = props => /*#__PURE__*/React.createElement(Box, {
|
|
21
23
|
xcss: cx(styles.teamErrorText)
|
|
22
24
|
}, props.children);
|
|
@@ -4,7 +4,7 @@ import { getPageTime } from './performance';
|
|
|
4
4
|
const ANALYTICS_CHANNEL = 'peopleTeams';
|
|
5
5
|
export const PACKAGE_META_DATA = {
|
|
6
6
|
packageName: "@atlaskit/profilecard",
|
|
7
|
-
packageVersion: "
|
|
7
|
+
packageVersion: "0.0.0-development"
|
|
8
8
|
};
|
|
9
9
|
const runItLater = cb => {
|
|
10
10
|
const requestIdleCallback = window.requestIdleCallback;
|
|
@@ -45,7 +45,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
|
|
|
45
45
|
actionSubjectId,
|
|
46
46
|
attributes: {
|
|
47
47
|
packageName: "@atlaskit/profilecard",
|
|
48
|
-
packageVersion: "
|
|
48
|
+
packageVersion: "0.0.0-development",
|
|
49
49
|
...attributes,
|
|
50
50
|
firedAt: Math.round(getPageTime())
|
|
51
51
|
}
|
|
@@ -4,7 +4,7 @@ import { AGGQuery } from './graphqlUtils';
|
|
|
4
4
|
var ORG_ID_FROM_CLOUD_ID_QUERY = "query OrgIdFromCloudId($cloudId: ID!) {\n\ttenantContexts(cloudIds: [$cloudId]) {\n\t\torgId\n\t}\n}";
|
|
5
5
|
var addHeaders = function addHeaders(headers) {
|
|
6
6
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
7
|
-
headers.append('atl-client-version', "
|
|
7
|
+
headers.append('atl-client-version', "0.0.0-development");
|
|
8
8
|
return headers;
|
|
9
9
|
};
|
|
10
10
|
export function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -59,7 +59,7 @@ export var addHeaders = function addHeaders(headers) {
|
|
|
59
59
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
60
60
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
61
61
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
62
|
-
headers.append('atl-client-version', "
|
|
62
|
+
headers.append('atl-client-version', "0.0.0-development");
|
|
63
63
|
return headers;
|
|
64
64
|
};
|
|
65
65
|
export function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -9,10 +9,12 @@ import { defineMessages, useIntl } from 'react-intl-next';
|
|
|
9
9
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
10
10
|
import Button from '@atlaskit/button/new';
|
|
11
11
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
12
13
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
13
14
|
import { Box, Inline, xcss } from '@atlaskit/primitives';
|
|
14
15
|
import { AgentDropdownMenu, ChatPillIcon } from '@atlaskit/rovo-agent-components';
|
|
15
16
|
import { fireEvent } from '../../util/analytics';
|
|
17
|
+
import { AgentActions as AgentActionsCompiled } from './ActionsCompiled';
|
|
16
18
|
import { AgentDeleteConfirmationModal } from './AgentDeleteConfirmationModal';
|
|
17
19
|
var chatToAgentButtonContainer = xcss({
|
|
18
20
|
width: '100%'
|
|
@@ -43,7 +45,7 @@ var actionsWrapperStyles = xcss({
|
|
|
43
45
|
marginBlockStart: 'space.200',
|
|
44
46
|
color: 'color.text'
|
|
45
47
|
});
|
|
46
|
-
|
|
48
|
+
var _AgentActions = function _AgentActions(_ref) {
|
|
47
49
|
var onEditAgent = _ref.onEditAgent,
|
|
48
50
|
onDeleteAgent = _ref.onDeleteAgent,
|
|
49
51
|
onDuplicateAgent = _ref.onDuplicateAgent,
|
|
@@ -146,4 +148,5 @@ var messages = defineMessages({
|
|
|
146
148
|
defaultMessage: 'Chat to Agent',
|
|
147
149
|
description: 'Text for the "chat to agent" action to chat to the agent'
|
|
148
150
|
}
|
|
149
|
-
});
|
|
151
|
+
});
|
|
152
|
+
export var AgentActions = componentWithFG('profilecard_primitives_compiled', AgentActionsCompiled, _AgentActions);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
._189ee4h9{border-width:var(--ds-border-width,1px)}
|
|
3
|
+
._18zrv77o{padding-inline:var(--ds-space-025,2px)}
|
|
4
|
+
._1h6dmuej{border-color:var(--ds-border,#091e4224)}._15a5nqa1{border-top-style:solid}
|
|
5
|
+
._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
|
|
6
|
+
._1bah1h6o{justify-content:center}
|
|
7
|
+
._1bsb1osq{width:100%}
|
|
8
|
+
._1e0c1txw{display:flex}
|
|
9
|
+
._1nmz1hna{word-break:break-word}
|
|
10
|
+
._1pfhpxbi{margin-block-start:var(--ds-space-200,1pc)}
|
|
11
|
+
._1ul9gktf{min-width:20px}
|
|
12
|
+
._4t3igktf{height:20px}
|
|
13
|
+
._ca0qpxbi{padding-top:var(--ds-space-200,1pc)}
|
|
14
|
+
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
15
|
+
._n3tdpxbi{padding-bottom:var(--ds-space-200,1pc)}
|
|
16
|
+
._o5721jtm{white-space:pre-wrap}
|
|
17
|
+
._syaz1fxt{color:var(--ds-text,#172b4d)}
|
|
18
|
+
._u5f3pxbi{padding-right:var(--ds-space-200,1pc)}
|
|
19
|
+
._y3gn1e5h{text-align:left}
|