@atlaskit/profilecard 27.1.32 → 27.2.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/dist/cjs/client/addHeaders.js +1 -1
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/components/Agent/Actions.js +7 -6
- package/dist/cjs/components/Agent/AgentProfileCard.js +13 -10
- package/dist/cjs/components/Agent/AgentProfileCardWrapper.js +3 -3
- package/dist/cjs/components/Team/TeamProfileCard.js +1 -1
- package/dist/cjs/components/User/ProfileCardDetails.js +8 -7
- package/dist/cjs/components/User/ProfileCardTrigger.js +4 -3
- package/dist/cjs/styled/CoverImage.js +1 -2
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/cjs/util/createEvent.js +1 -1
- package/dist/es2019/client/addHeaders.js +1 -1
- package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/es2019/components/Agent/Actions.js +2 -1
- package/dist/es2019/components/Agent/AgentProfileCard.js +4 -1
- package/dist/es2019/components/Agent/AgentProfileCardWrapper.js +1 -1
- package/dist/es2019/components/Team/TeamProfileCard.js +1 -1
- package/dist/es2019/components/User/ProfileCardDetails.js +3 -2
- package/dist/es2019/components/User/ProfileCardTrigger.js +2 -1
- package/dist/es2019/styled/CoverImage.js +1 -2
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/es2019/util/createEvent.js +1 -1
- package/dist/esm/client/addHeaders.js +1 -1
- package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/esm/components/Agent/Actions.js +2 -1
- package/dist/esm/components/Agent/AgentProfileCard.js +4 -1
- package/dist/esm/components/Agent/AgentProfileCardWrapper.js +1 -1
- package/dist/esm/components/Team/TeamProfileCard.js +1 -1
- package/dist/esm/components/User/ProfileCardDetails.js +3 -2
- package/dist/esm/components/User/ProfileCardTrigger.js +2 -1
- package/dist/esm/styled/CoverImage.js +1 -2
- package/dist/esm/util/analytics.js +1 -1
- package/dist/esm/util/createEvent.js +1 -1
- package/package.json +10 -13
- package/stories/agent-profilecard.stories.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 27.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`ae9a4c6484afa`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ae9a4c6484afa) -
|
|
8
|
+
Update i18n NPM package versions for people-and-teams,identity (Group 8)
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 27.1.33
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 27.1.32
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -11,6 +11,6 @@ var addHeaders = exports.addHeaders = function addHeaders(headers) {
|
|
|
11
11
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
12
12
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
13
13
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
14
|
-
headers.append('atl-client-version', "27.1.
|
|
14
|
+
headers.append('atl-client-version', "27.1.33");
|
|
15
15
|
return headers;
|
|
16
16
|
};
|
|
@@ -11,7 +11,7 @@ var _AGGQuery = require("./AGGQuery");
|
|
|
11
11
|
var ORG_ID_FROM_CLOUD_ID_QUERY = "query OrgIdFromCloudId($cloudId: ID!) {\n\ttenantContexts(cloudIds: [$cloudId]) {\n\t\torgId\n\t}\n}";
|
|
12
12
|
var addHeaders = function addHeaders(headers) {
|
|
13
13
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
14
|
-
headers.append('atl-client-version', "27.1.
|
|
14
|
+
headers.append('atl-client-version', "27.1.33");
|
|
15
15
|
return headers;
|
|
16
16
|
};
|
|
17
17
|
function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -16,7 +16,8 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
16
16
|
var _reactIntl = require("react-intl");
|
|
17
17
|
var _button = _interopRequireDefault(require("@atlaskit/button/default/button"));
|
|
18
18
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
19
|
-
var
|
|
19
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
20
|
+
var _inline = require("@atlaskit/primitives/compiled/inline");
|
|
20
21
|
var _AgentDropdownMenu = require("@atlaskit/rovo-agent-components/ui/AgentDropdownMenu");
|
|
21
22
|
var _useAnalyticsEvents2 = require("@atlaskit/teams-app-internal-analytics/use-analytics-events");
|
|
22
23
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
@@ -81,10 +82,10 @@ var AgentActions = exports.AgentActions = function AgentActions(_ref) {
|
|
|
81
82
|
});
|
|
82
83
|
setIsDeleteModalOpen(true);
|
|
83
84
|
}, [agent.id, fireEvent]);
|
|
84
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(
|
|
85
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_inline.Inline, {
|
|
85
86
|
space: "space.100",
|
|
86
87
|
xcss: (0, _expValEquals.expValEquals)('platform_editor_agent_mentions', 'isEnabled', true) && (0, _fg.fg)('platform_editor_agent_mentions_drop_one_fixes') ? styles.actionsWrapperStyles : styles.actionsWrapperStylesLegacy
|
|
87
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
88
|
+
}, /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
88
89
|
xcss: styles.chatToAgentButtonContainer
|
|
89
90
|
}, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
90
91
|
shouldFitContainer: true,
|
|
@@ -92,12 +93,12 @@ var AgentActions = exports.AgentActions = function AgentActions(_ref) {
|
|
|
92
93
|
e.stopPropagation();
|
|
93
94
|
onChatClick(e);
|
|
94
95
|
}
|
|
95
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
96
|
+
}, /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
96
97
|
xcss: styles.chatToAgentButtonWrapper
|
|
97
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
98
|
+
}, /*#__PURE__*/_react.default.createElement(_inline.Inline, {
|
|
98
99
|
space: "space.050",
|
|
99
100
|
alignBlock: "center"
|
|
100
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
101
|
+
}, /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
101
102
|
xcss: styles.chatPillTextStyles
|
|
102
103
|
}, formatMessage(messages.actionChatToAgent)))))), !hideMoreActions && /*#__PURE__*/_react.default.createElement(_AgentDropdownMenu.AgentDropdownMenu, {
|
|
103
104
|
agentId: agent.id,
|
|
@@ -19,7 +19,10 @@ var _css = require("@atlaskit/css");
|
|
|
19
19
|
var _featureGates = _interopRequireDefault(require("@atlaskit/feature-gate-js-client/feature-gates"));
|
|
20
20
|
var _informationCircle = _interopRequireDefault(require("@atlaskit/icon/core/information-circle"));
|
|
21
21
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
22
|
-
var
|
|
22
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
23
|
+
var _flex = require("@atlaskit/primitives/compiled/flex");
|
|
24
|
+
var _stack = require("@atlaskit/primitives/compiled/stack");
|
|
25
|
+
var _text = require("@atlaskit/primitives/compiled/text");
|
|
23
26
|
var _isForgeAgent = require("@atlaskit/rovo-agent-components/common/utils/is-forge-agent");
|
|
24
27
|
var _GeneratedAvatar = require("@atlaskit/rovo-agent-components/ui/agent-avatar/GeneratedAvatar");
|
|
25
28
|
var _AgentAvatar = require("@atlaskit/rovo-agent-components/ui/AgentAvatar");
|
|
@@ -216,7 +219,7 @@ var AgentProfileCard = function AgentProfileCard(_ref) {
|
|
|
216
219
|
|
|
217
220
|
// Only for M1 hideAgentActions preview cards so other consumers stay unchanged.
|
|
218
221
|
var needsBottomPaddingFallback = hideAgentActions && (_featureGates.default.getExperimentValue('jira_agent_recommendations_m1', 'isEnabled', false) || (0, _expValEquals.expValEquals)('platform_editor_agent_mentions', 'isEnabled', true) && (0, _fg.fg)('platform_editor_agent_mentions_drop_one_fixes') || (0, _fg.fg)('platform_editor_agent_card_fixes'));
|
|
219
|
-
return /*#__PURE__*/_react.default.createElement(_AgentProfileCardWrapper.AgentProfileCardWrapper, null, /*#__PURE__*/_react.default.createElement(
|
|
222
|
+
return /*#__PURE__*/_react.default.createElement(_AgentProfileCardWrapper.AgentProfileCardWrapper, null, /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
220
223
|
xcss: (0, _expValEquals.expValEquals)('platform_editor_agent_mentions', 'isEnabled', true) && (0, _fg.fg)('platform_editor_agent_mentions_drop_one_fixes') || (0, _fg.fg)('platform_editor_agent_card_fixes') ? styles.cardContainerStyles : styles.cardContainerStylesLegacy
|
|
221
224
|
}, /*#__PURE__*/_react.default.createElement(_GeneratedAvatar.AgentBanner, {
|
|
222
225
|
agentId: agent.id,
|
|
@@ -225,7 +228,7 @@ var AgentProfileCard = function AgentProfileCard(_ref) {
|
|
|
225
228
|
agentIdentityAccountId: agent.identity_account_id,
|
|
226
229
|
isRovoDev: isRovoDev,
|
|
227
230
|
creatorType: (0, _fg.fg)('jira_improve_agent_profile_for_a2a') ? agent.creator_type : undefined
|
|
228
|
-
}), /*#__PURE__*/_react.default.createElement(
|
|
231
|
+
}), /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
229
232
|
xcss: styles.avatarStyles
|
|
230
233
|
}, /*#__PURE__*/_react.default.createElement(_AgentAvatar.AgentAvatar, {
|
|
231
234
|
agentId: agent.id,
|
|
@@ -235,10 +238,10 @@ var AgentProfileCard = function AgentProfileCard(_ref) {
|
|
|
235
238
|
isRovoDev: isRovoDev,
|
|
236
239
|
isForgeAgent: (0, _fg.fg)('rovo_agent_support_a2a_avatar') ? (0, _isForgeAgent.isForgeAgentByCreatorType)(agent.creator_type) : agent.creator_type === 'FORGE' || agent.creator_type === 'THIRD_PARTY',
|
|
237
240
|
forgeAgentIconUrl: agent.icon
|
|
238
|
-
})), /*#__PURE__*/_react.default.createElement(
|
|
241
|
+
})), /*#__PURE__*/_react.default.createElement(_stack.Stack, {
|
|
239
242
|
space: (0, _expValEquals.expValEquals)('platform_editor_agent_mentions', 'isEnabled', true) && (0, _fg.fg)('platform_editor_agent_mentions_drop_one_fixes') || (0, _fg.fg)('platform_editor_agent_card_fixes') ? 'space.150' : 'space.100',
|
|
240
243
|
xcss: (0, _css.cx)(styles.detailWrapper, needsBottomPaddingFallback && styles.detailWrapperPreviewBottomPadding)
|
|
241
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
244
|
+
}, /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
242
245
|
xcss: styles.agentProfileInfoWrapper
|
|
243
246
|
}, /*#__PURE__*/_react.default.createElement(_AgentProfileInfo.AgentProfileInfo, {
|
|
244
247
|
agentName: agent.name,
|
|
@@ -258,12 +261,12 @@ var AgentProfileCard = function AgentProfileCard(_ref) {
|
|
|
258
261
|
}),
|
|
259
262
|
starCountRender: null,
|
|
260
263
|
agentDescription: (0, _expValEquals.expValEquals)('platform_editor_agent_mentions', 'isEnabled', true) && (0, _fg.fg)('platform_editor_agent_mentions_drop_one_fixes') || (0, _fg.fg)('platform_editor_agent_card_fixes') ? undefined : agent.description
|
|
261
|
-
})), !!agent.description && ((0, _expValEquals.expValEquals)('platform_editor_agent_mentions', 'isEnabled', true) && (0, _fg.fg)('platform_editor_agent_mentions_drop_one_fixes') || (0, _fg.fg)('platform_editor_agent_card_fixes')) && /*#__PURE__*/_react.default.createElement(
|
|
264
|
+
})), !!agent.description && ((0, _expValEquals.expValEquals)('platform_editor_agent_mentions', 'isEnabled', true) && (0, _fg.fg)('platform_editor_agent_mentions_drop_one_fixes') || (0, _fg.fg)('platform_editor_agent_card_fixes')) && /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
262
265
|
xcss: styles.descriptionWrapper
|
|
263
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
266
|
+
}, /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
264
267
|
xcss: styles.description,
|
|
265
268
|
as: "p"
|
|
266
|
-
}, agent.description)), !hideAiDisclaimer && /*#__PURE__*/_react.default.createElement(
|
|
269
|
+
}, agent.description)), !hideAiDisclaimer && /*#__PURE__*/_react.default.createElement(_flex.Flex, {
|
|
267
270
|
alignItems: "start",
|
|
268
271
|
direction: "column",
|
|
269
272
|
gap: "space.050",
|
|
@@ -276,10 +279,10 @@ var AgentProfileCard = function AgentProfileCard(_ref) {
|
|
|
276
279
|
color: "var(--ds-icon-subtlest, #6B6E76)",
|
|
277
280
|
label: "",
|
|
278
281
|
size: "small"
|
|
279
|
-
}), " ", /*#__PURE__*/_react.default.createElement(
|
|
282
|
+
}), " ", /*#__PURE__*/_react.default.createElement(_text.Text, {
|
|
280
283
|
size: "small",
|
|
281
284
|
color: "color.text.subtlest"
|
|
282
|
-
}, formatMessage(_messages.messages.aiDisclaimer)))), shouldShowConversationStarters && /*#__PURE__*/_react.default.createElement(
|
|
285
|
+
}, formatMessage(_messages.messages.aiDisclaimer)))), shouldShowConversationStarters && /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
283
286
|
xcss: styles.conversationStartersWrapper
|
|
284
287
|
}, /*#__PURE__*/_react.default.createElement(_ConversationStarters.ConversationStarters, {
|
|
285
288
|
isAgentDefault: agent.is_default,
|
|
@@ -10,7 +10,7 @@ require("./AgentProfileCardWrapper.compiled.css");
|
|
|
10
10
|
var _runtime = require("@compiled/react/runtime");
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
13
|
-
var
|
|
13
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
14
14
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
15
15
|
var styles = {
|
|
16
16
|
wrapper: "_2rko1mok _1bsb1gwv _bfhk1bhr _16qs130s",
|
|
@@ -19,11 +19,11 @@ var styles = {
|
|
|
19
19
|
var AgentProfileCardWrapper = exports.AgentProfileCardWrapper = function AgentProfileCardWrapper(_ref) {
|
|
20
20
|
var children = _ref.children;
|
|
21
21
|
if ((0, _expValEquals.expValEquals)('platform_editor_agent_mentions', 'isEnabled', true) && (0, _fg.fg)('platform_editor_agent_mentions_drop_one_fixes') || (0, _fg.fg)('platform_editor_agent_card_fixes')) {
|
|
22
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
22
|
+
return /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
23
23
|
xcss: styles.wrapper
|
|
24
24
|
}, children);
|
|
25
25
|
}
|
|
26
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
26
|
+
return /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
27
27
|
xcss: styles.wrapperLegacy
|
|
28
28
|
}, children);
|
|
29
29
|
};
|
|
@@ -18,7 +18,7 @@ var _button = _interopRequireDefault(require("@atlaskit/button/default/button"))
|
|
|
18
18
|
var _button2 = _interopRequireDefault(require("@atlaskit/button/icon/button"));
|
|
19
19
|
var _link = _interopRequireDefault(require("@atlaskit/button/link"));
|
|
20
20
|
var _showMoreHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/show-more-horizontal"));
|
|
21
|
-
var _lozenge = _interopRequireDefault(require("@atlaskit/lozenge/lozenge"));
|
|
21
|
+
var _lozenge = _interopRequireDefault(require("@atlaskit/lozenge/new/lozenge"));
|
|
22
22
|
var _linkItem = _interopRequireDefault(require("@atlaskit/menu/link-item"));
|
|
23
23
|
var _menuGroup = _interopRequireDefault(require("@atlaskit/menu/menu-group"));
|
|
24
24
|
var _main = require("@atlaskit/people-teams-ui-public/verified-team-icon/main");
|
|
@@ -14,8 +14,9 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
14
14
|
var _react = _interopRequireWildcard(require("react"));
|
|
15
15
|
var _react2 = require("@compiled/react");
|
|
16
16
|
var _reactIntl = require("react-intl");
|
|
17
|
-
var _lozenge = _interopRequireDefault(require("@atlaskit/lozenge/lozenge"));
|
|
18
|
-
var
|
|
17
|
+
var _lozenge = _interopRequireDefault(require("@atlaskit/lozenge/new/lozenge"));
|
|
18
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
19
|
+
var _text = require("@atlaskit/primitives/compiled/text");
|
|
19
20
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
20
21
|
var _Tooltip = _interopRequireDefault(require("@atlaskit/tooltip/Tooltip"));
|
|
21
22
|
var _relativeDate = _interopRequireDefault(require("../../internal/relative-date"));
|
|
@@ -51,7 +52,7 @@ var renderName = function renderName(nickname, fullName, meta, nameRef, isRender
|
|
|
51
52
|
// Only showing the tooltip when the element has been truncated (ellipsis)
|
|
52
53
|
return nameRef.current.scrollWidth > nameRef.current.clientWidth;
|
|
53
54
|
}
|
|
54
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
55
|
+
}, /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
55
56
|
ref: nameRef,
|
|
56
57
|
as: "h2",
|
|
57
58
|
xcss: (0, _react2.cx)(styles.fullNameLabel, styles.activeAccount, meta ? styles.metaLabel : styles.noMetaLabel),
|
|
@@ -70,7 +71,7 @@ var disabledAccountDesc = function disabledAccountDesc(statusModifiedDate, disab
|
|
|
70
71
|
var relativeDateKey = (0, _relativeDate.default)(date);
|
|
71
72
|
var msgKey = relativeDateKey ? "".concat(status, "AccountDescMsgHasDate").concat(relativeDateKey) : "".concat(status, "AccountDescMsgNoDate");
|
|
72
73
|
var secondSentence = /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _messages.default[msgKey]);
|
|
73
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
74
|
+
return /*#__PURE__*/_react.default.createElement(_text.Text, {
|
|
74
75
|
as: "p",
|
|
75
76
|
testId: "profilecard-disabled-account"
|
|
76
77
|
}, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _messages.default.generalDescMsgForDisabledUser), " ", secondSentence);
|
|
@@ -109,7 +110,7 @@ var DisabledProfileCardDetails = function DisabledProfileCardDetails(props) {
|
|
|
109
110
|
status = props.status,
|
|
110
111
|
statusModifiedDate = props.statusModifiedDate;
|
|
111
112
|
var name = status === 'inactive' ? fullName || nickname : nickname || /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _messages.default.disabledAccountDefaultName);
|
|
112
|
-
return /*#__PURE__*/_react.default.createElement(_Card.DetailsGroup, null, /*#__PURE__*/_react.default.createElement(
|
|
113
|
+
return /*#__PURE__*/_react.default.createElement(_Card.DetailsGroup, null, /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
113
114
|
as: "h2",
|
|
114
115
|
xcss: (0, _react2.cx)(styles.fullNameLabel, styles.noMetaLabel, styles.disabledAccount),
|
|
115
116
|
testId: "profilecard-name",
|
|
@@ -152,9 +153,9 @@ var ProfileCardDetails = exports.ProfileCardDetails = function ProfileCardDetail
|
|
|
152
153
|
var lozenges = /*#__PURE__*/_react.default.createElement(CustomLozenges, {
|
|
153
154
|
lozenges: props.customLozenges
|
|
154
155
|
});
|
|
155
|
-
return /*#__PURE__*/_react.default.createElement(_Card.DetailsGroup, null, renderName(props.nickname, props.fullName, meta, nameRef, isRenderedInPortal, isTriggeredUsingKeyboard), meta && /*#__PURE__*/_react.default.createElement(_Card.JobTitleLabel, null, meta), meta && props.customLozenges && props.customLozenges.length > 0 ? /*#__PURE__*/_react.default.createElement(
|
|
156
|
+
return /*#__PURE__*/_react.default.createElement(_Card.DetailsGroup, null, renderName(props.nickname, props.fullName, meta, nameRef, isRenderedInPortal, isTriggeredUsingKeyboard), meta && /*#__PURE__*/_react.default.createElement(_Card.JobTitleLabel, null, meta), meta && props.customLozenges && props.customLozenges.length > 0 ? /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
156
157
|
paddingBlockStart: "space.150"
|
|
157
|
-
}, lozenges) : lozenges, /*#__PURE__*/_react.default.createElement(
|
|
158
|
+
}, lozenges) : lozenges, /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
158
159
|
as: "dl",
|
|
159
160
|
xcss: styles.detailedListWrapperNext
|
|
160
161
|
}, /*#__PURE__*/_react.default.createElement(_IconLabel.default, {
|
|
@@ -15,7 +15,8 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
15
15
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
16
16
|
var _react = _interopRequireWildcard(require("react"));
|
|
17
17
|
var _reactIntl = require("react-intl");
|
|
18
|
-
var
|
|
18
|
+
var _giveKudosLauncher = require("@atlaskit/give-kudos/give-kudos-launcher");
|
|
19
|
+
var _types = require("@atlaskit/give-kudos/types");
|
|
19
20
|
var _popup = require("@atlaskit/popup/popup");
|
|
20
21
|
var _useAnalyticsEvents2 = require("@atlaskit/teams-app-internal-analytics/use-analytics-events");
|
|
21
22
|
var _constants = require("@atlaskit/theme/constants");
|
|
@@ -447,10 +448,10 @@ function ProfilecardTriggerNext(_ref2) {
|
|
|
447
448
|
autoFocus: (0, _expValEquals.expValEquals)('editor_a11y_7152_profile_card_tab_order', 'isEnabled', true) ? isRenderedInPortal && isTriggeredUsingKeyboard ? false : autoFocus !== null && autoFocus !== void 0 ? autoFocus : trigger === 'click' : autoFocus !== null && autoFocus !== void 0 ? autoFocus : trigger === 'click'
|
|
448
449
|
}), shouldShowGiveKudos && teamCentralBaseUrl && /*#__PURE__*/_react.default.createElement(_react.Suspense, {
|
|
449
450
|
fallback: null
|
|
450
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
451
|
+
}, /*#__PURE__*/_react.default.createElement(_giveKudosLauncher.GiveKudosLauncherLazy, {
|
|
451
452
|
isOpen: kudosDrawerOpen,
|
|
452
453
|
recipient: {
|
|
453
|
-
type:
|
|
454
|
+
type: _types.KudosType.INDIVIDUAL,
|
|
454
455
|
recipientId: userId
|
|
455
456
|
},
|
|
456
457
|
analyticsSource: "profile-card",
|
|
@@ -10,7 +10,6 @@ require("./CoverImage.compiled.css");
|
|
|
10
10
|
var _runtime = require("@compiled/react/runtime");
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _css = require("@atlaskit/css");
|
|
13
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
14
13
|
var _box = require("@atlaskit/primitives/compiled/box");
|
|
15
14
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
16
15
|
var styles = {
|
|
@@ -39,6 +38,6 @@ var CoverImage = exports.CoverImage = function CoverImage(_ref) {
|
|
|
39
38
|
ref: imgRef,
|
|
40
39
|
src: src,
|
|
41
40
|
alt: alt,
|
|
42
|
-
xcss: (0, _css.cx)(
|
|
41
|
+
xcss: (0, _css.cx)(styles.imageNext, isDisabled && styles.grayoutImage)
|
|
43
42
|
}));
|
|
44
43
|
};
|
|
@@ -7,7 +7,7 @@ exports.USER_SUBJECT = exports.TEAM_SUBJECT = exports.PACKAGE_META_DATA = export
|
|
|
7
7
|
var _process$env$_PACKAGE, _process$env$_PACKAGE2;
|
|
8
8
|
var PACKAGE_META_DATA = exports.PACKAGE_META_DATA = {
|
|
9
9
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
10
|
-
packageVersion: (_process$env$_PACKAGE2 = "27.1.
|
|
10
|
+
packageVersion: (_process$env$_PACKAGE2 = "27.1.33") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
11
11
|
};
|
|
12
12
|
var TEAM_SUBJECT = exports.TEAM_SUBJECT = 'teamProfileCard';
|
|
13
13
|
var USER_SUBJECT = exports.USER_SUBJECT = 'profilecard';
|
|
@@ -22,7 +22,7 @@ var createEvent = exports.createEvent = function createEvent(eventType, action,
|
|
|
22
22
|
actionSubjectId: actionSubjectId,
|
|
23
23
|
attributes: _objectSpread(_objectSpread({
|
|
24
24
|
packageName: "@atlaskit/profilecard",
|
|
25
|
-
packageVersion: "27.1.
|
|
25
|
+
packageVersion: "27.1.33"
|
|
26
26
|
}, attributes), {}, {
|
|
27
27
|
firedAt: Math.round((0, _performance.getPageTime)())
|
|
28
28
|
})
|
|
@@ -5,6 +5,6 @@ export const addHeaders = headers => {
|
|
|
5
5
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
6
6
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
7
7
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
8
|
-
headers.append('atl-client-version', "27.1.
|
|
8
|
+
headers.append('atl-client-version', "27.1.33");
|
|
9
9
|
return headers;
|
|
10
10
|
};
|
|
@@ -6,7 +6,7 @@ const ORG_ID_FROM_CLOUD_ID_QUERY = `query OrgIdFromCloudId($cloudId: ID!) {
|
|
|
6
6
|
}`;
|
|
7
7
|
const addHeaders = headers => {
|
|
8
8
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
9
|
-
headers.append('atl-client-version', "27.1.
|
|
9
|
+
headers.append('atl-client-version', "27.1.33");
|
|
10
10
|
return headers;
|
|
11
11
|
};
|
|
12
12
|
export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
|
|
@@ -5,7 +5,8 @@ import React, { useCallback, useState } from 'react';
|
|
|
5
5
|
import { defineMessages, useIntl } from 'react-intl';
|
|
6
6
|
import Button from '@atlaskit/button/default/button';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
|
-
import { Box
|
|
8
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
9
|
+
import { Inline } from '@atlaskit/primitives/compiled/inline';
|
|
9
10
|
import { AgentDropdownMenu } from '@atlaskit/rovo-agent-components/ui/AgentDropdownMenu';
|
|
10
11
|
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
11
12
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -7,7 +7,10 @@ import { cx } from '@atlaskit/css';
|
|
|
7
7
|
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
8
8
|
import InformationCircleIcon from '@atlaskit/icon/core/information-circle';
|
|
9
9
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
10
|
-
import { Box
|
|
10
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
11
|
+
import { Flex } from '@atlaskit/primitives/compiled/flex';
|
|
12
|
+
import { Stack } from '@atlaskit/primitives/compiled/stack';
|
|
13
|
+
import { Text } from '@atlaskit/primitives/compiled/text';
|
|
11
14
|
import { isForgeAgentByCreatorType } from '@atlaskit/rovo-agent-components/common/utils/is-forge-agent';
|
|
12
15
|
import { AgentBanner } from '@atlaskit/rovo-agent-components/ui/agent-avatar/GeneratedAvatar';
|
|
13
16
|
import { AgentAvatar } from '@atlaskit/rovo-agent-components/ui/AgentAvatar';
|
|
@@ -3,7 +3,7 @@ import "./AgentProfileCardWrapper.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
6
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
6
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
7
7
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
8
8
|
const styles = {
|
|
9
9
|
wrapper: "_2rko1mok _1bsb1gwv _bfhk1bhr _16qs130s",
|
|
@@ -7,7 +7,7 @@ import Button from '@atlaskit/button/default/button';
|
|
|
7
7
|
import IconButton from '@atlaskit/button/icon/button';
|
|
8
8
|
import LinkButton from '@atlaskit/button/link';
|
|
9
9
|
import MoreIcon from '@atlaskit/icon/core/show-more-horizontal';
|
|
10
|
-
import Lozenge from '@atlaskit/lozenge/lozenge';
|
|
10
|
+
import Lozenge from '@atlaskit/lozenge/new/lozenge';
|
|
11
11
|
import LinkItem from '@atlaskit/menu/link-item';
|
|
12
12
|
import MenuGroup from '@atlaskit/menu/menu-group';
|
|
13
13
|
import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public/verified-team-icon/main';
|
|
@@ -5,8 +5,9 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import React, { useRef } from 'react';
|
|
6
6
|
import { cx } from '@compiled/react';
|
|
7
7
|
import { FormattedMessage } from 'react-intl';
|
|
8
|
-
import Lozenge from '@atlaskit/lozenge/lozenge';
|
|
9
|
-
import { Box
|
|
8
|
+
import Lozenge from '@atlaskit/lozenge/new/lozenge';
|
|
9
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
10
|
+
import { Text } from '@atlaskit/primitives/compiled/text';
|
|
10
11
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
11
12
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
12
13
|
import relativeDate from '../../internal/relative-date';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { Suspense, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
3
3
|
import { useIntl } from 'react-intl';
|
|
4
|
-
import { GiveKudosLauncherLazy
|
|
4
|
+
import { GiveKudosLauncherLazy } from '@atlaskit/give-kudos/give-kudos-launcher';
|
|
5
|
+
import { KudosType } from '@atlaskit/give-kudos/types';
|
|
5
6
|
import { Popup } from '@atlaskit/popup/popup';
|
|
6
7
|
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
7
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-atlaskit-theme
|
|
@@ -3,7 +3,6 @@ import "./CoverImage.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useRef } from 'react';
|
|
5
5
|
import { cx } from '@atlaskit/css';
|
|
6
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
7
6
|
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
8
7
|
const styles = {
|
|
9
8
|
container: "_1reo15vq _18m915vq _1bsb1osq _4t3i1qr7 _kqswh2mm _13li12b0 _qrwq12b0 _1e0c1txw _1bah1h6o _4cvr1h6o",
|
|
@@ -31,6 +30,6 @@ export const CoverImage = ({
|
|
|
31
30
|
ref: imgRef,
|
|
32
31
|
src: src,
|
|
33
32
|
alt: alt,
|
|
34
|
-
xcss: cx(
|
|
33
|
+
xcss: cx(styles.imageNext, isDisabled && styles.grayoutImage)
|
|
35
34
|
}));
|
|
36
35
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _process$env$_PACKAGE, _process$env$_PACKAGE2;
|
|
2
2
|
export const PACKAGE_META_DATA = {
|
|
3
3
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
4
|
-
packageVersion: (_process$env$_PACKAGE2 = "27.1.
|
|
4
|
+
packageVersion: (_process$env$_PACKAGE2 = "27.1.33") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
5
5
|
};
|
|
6
6
|
export const TEAM_SUBJECT = 'teamProfileCard';
|
|
7
7
|
export const USER_SUBJECT = 'profilecard';
|
|
@@ -11,7 +11,7 @@ export const createEvent = (eventType, action, actionSubject, actionSubjectId, a
|
|
|
11
11
|
actionSubjectId,
|
|
12
12
|
attributes: {
|
|
13
13
|
packageName: "@atlaskit/profilecard",
|
|
14
|
-
packageVersion: "27.1.
|
|
14
|
+
packageVersion: "27.1.33",
|
|
15
15
|
...attributes,
|
|
16
16
|
firedAt: Math.round(getPageTime())
|
|
17
17
|
}
|
|
@@ -5,6 +5,6 @@ export var addHeaders = function addHeaders(headers) {
|
|
|
5
5
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
6
6
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
7
7
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
8
|
-
headers.append('atl-client-version', "27.1.
|
|
8
|
+
headers.append('atl-client-version', "27.1.33");
|
|
9
9
|
return headers;
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import { AGGQuery } from './AGGQuery';
|
|
|
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', "27.1.
|
|
7
|
+
headers.append('atl-client-version', "27.1.33");
|
|
8
8
|
return headers;
|
|
9
9
|
};
|
|
10
10
|
export function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -8,7 +8,8 @@ import React, { useCallback, useState } from 'react';
|
|
|
8
8
|
import { defineMessages, useIntl } from 'react-intl';
|
|
9
9
|
import Button from '@atlaskit/button/default/button';
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
|
-
import { Box
|
|
11
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
12
|
+
import { Inline } from '@atlaskit/primitives/compiled/inline';
|
|
12
13
|
import { AgentDropdownMenu } from '@atlaskit/rovo-agent-components/ui/AgentDropdownMenu';
|
|
13
14
|
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
14
15
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -13,7 +13,10 @@ import { cx } from '@atlaskit/css';
|
|
|
13
13
|
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
14
14
|
import InformationCircleIcon from '@atlaskit/icon/core/information-circle';
|
|
15
15
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
16
|
-
import { Box
|
|
16
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
17
|
+
import { Flex } from '@atlaskit/primitives/compiled/flex';
|
|
18
|
+
import { Stack } from '@atlaskit/primitives/compiled/stack';
|
|
19
|
+
import { Text } from '@atlaskit/primitives/compiled/text';
|
|
17
20
|
import { isForgeAgentByCreatorType } from '@atlaskit/rovo-agent-components/common/utils/is-forge-agent';
|
|
18
21
|
import { AgentBanner } from '@atlaskit/rovo-agent-components/ui/agent-avatar/GeneratedAvatar';
|
|
19
22
|
import { AgentAvatar } from '@atlaskit/rovo-agent-components/ui/AgentAvatar';
|
|
@@ -3,7 +3,7 @@ import "./AgentProfileCardWrapper.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
6
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
6
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
7
7
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
8
8
|
var styles = {
|
|
9
9
|
wrapper: "_2rko1mok _1bsb1gwv _bfhk1bhr _16qs130s",
|
|
@@ -12,7 +12,7 @@ import Button from '@atlaskit/button/default/button';
|
|
|
12
12
|
import IconButton from '@atlaskit/button/icon/button';
|
|
13
13
|
import LinkButton from '@atlaskit/button/link';
|
|
14
14
|
import MoreIcon from '@atlaskit/icon/core/show-more-horizontal';
|
|
15
|
-
import Lozenge from '@atlaskit/lozenge/lozenge';
|
|
15
|
+
import Lozenge from '@atlaskit/lozenge/new/lozenge';
|
|
16
16
|
import LinkItem from '@atlaskit/menu/link-item';
|
|
17
17
|
import MenuGroup from '@atlaskit/menu/menu-group';
|
|
18
18
|
import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public/verified-team-icon/main';
|
|
@@ -7,8 +7,9 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
7
7
|
import React, { useRef } from 'react';
|
|
8
8
|
import { cx } from '@compiled/react';
|
|
9
9
|
import { FormattedMessage } from 'react-intl';
|
|
10
|
-
import Lozenge from '@atlaskit/lozenge/lozenge';
|
|
11
|
-
import { Box
|
|
10
|
+
import Lozenge from '@atlaskit/lozenge/new/lozenge';
|
|
11
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
12
|
+
import { Text } from '@atlaskit/primitives/compiled/text';
|
|
12
13
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
13
14
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
14
15
|
import relativeDate from '../../internal/relative-date';
|
|
@@ -11,7 +11,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
11
11
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
12
12
|
import React, { Suspense, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
13
13
|
import { useIntl } from 'react-intl';
|
|
14
|
-
import { GiveKudosLauncherLazy
|
|
14
|
+
import { GiveKudosLauncherLazy } from '@atlaskit/give-kudos/give-kudos-launcher';
|
|
15
|
+
import { KudosType } from '@atlaskit/give-kudos/types';
|
|
15
16
|
import { Popup } from '@atlaskit/popup/popup';
|
|
16
17
|
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
17
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-atlaskit-theme
|
|
@@ -3,7 +3,6 @@ import "./CoverImage.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useRef } from 'react';
|
|
5
5
|
import { cx } from '@atlaskit/css';
|
|
6
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
7
6
|
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
8
7
|
var styles = {
|
|
9
8
|
container: "_1reo15vq _18m915vq _1bsb1osq _4t3i1qr7 _kqswh2mm _13li12b0 _qrwq12b0 _1e0c1txw _1bah1h6o _4cvr1h6o",
|
|
@@ -31,6 +30,6 @@ export var CoverImage = function CoverImage(_ref) {
|
|
|
31
30
|
ref: imgRef,
|
|
32
31
|
src: src,
|
|
33
32
|
alt: alt,
|
|
34
|
-
xcss: cx(
|
|
33
|
+
xcss: cx(styles.imageNext, isDisabled && styles.grayoutImage)
|
|
35
34
|
}));
|
|
36
35
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _process$env$_PACKAGE, _process$env$_PACKAGE2;
|
|
2
2
|
export var PACKAGE_META_DATA = {
|
|
3
3
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
4
|
-
packageVersion: (_process$env$_PACKAGE2 = "27.1.
|
|
4
|
+
packageVersion: (_process$env$_PACKAGE2 = "27.1.33") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
5
5
|
};
|
|
6
6
|
export var TEAM_SUBJECT = 'teamProfileCard';
|
|
7
7
|
export var USER_SUBJECT = 'profilecard';
|
|
@@ -16,7 +16,7 @@ export var createEvent = function createEvent(eventType, action, actionSubject,
|
|
|
16
16
|
actionSubjectId: actionSubjectId,
|
|
17
17
|
attributes: _objectSpread(_objectSpread({
|
|
18
18
|
packageName: "@atlaskit/profilecard",
|
|
19
|
-
packageVersion: "27.1.
|
|
19
|
+
packageVersion: "27.1.33"
|
|
20
20
|
}, attributes), {}, {
|
|
21
21
|
firedAt: Math.round(getPageTime())
|
|
22
22
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.2.0",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@atlaskit/afm-i18n-platform-people-and-teams-profilecard": "2.
|
|
44
|
+
"@atlaskit/afm-i18n-platform-people-and-teams-profilecard": "2.284.0",
|
|
45
45
|
"@atlaskit/atlassian-context": "^2.0.0",
|
|
46
46
|
"@atlaskit/avatar": "^30.0.0",
|
|
47
47
|
"@atlaskit/avatar-group": "^14.4.0",
|
|
@@ -50,28 +50,28 @@
|
|
|
50
50
|
"@atlaskit/dropdown-menu": "^21.0.0",
|
|
51
51
|
"@atlaskit/empty-state": "^12.2.0",
|
|
52
52
|
"@atlaskit/feature-gate-js-client": "^7.0.0",
|
|
53
|
-
"@atlaskit/give-kudos": "^7.
|
|
53
|
+
"@atlaskit/give-kudos": "^7.2.0",
|
|
54
54
|
"@atlaskit/heading": "^8.0.0",
|
|
55
55
|
"@atlaskit/icon": "^38.0.0",
|
|
56
56
|
"@atlaskit/link": "5.1.7",
|
|
57
57
|
"@atlaskit/lozenge": "^17.0.0",
|
|
58
58
|
"@atlaskit/menu": "^11.0.0",
|
|
59
|
-
"@atlaskit/modal-dialog": "^17.
|
|
59
|
+
"@atlaskit/modal-dialog": "^17.1.0",
|
|
60
60
|
"@atlaskit/people-teams-ui-public": "^5.2.0",
|
|
61
61
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
62
|
-
"@atlaskit/popup": "^
|
|
63
|
-
"@atlaskit/primitives": "^22.
|
|
62
|
+
"@atlaskit/popup": "^10.0.0",
|
|
63
|
+
"@atlaskit/primitives": "^22.6.0",
|
|
64
64
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
65
65
|
"@atlaskit/rovo-agent-components": "^9.9.0",
|
|
66
|
-
"@atlaskit/rovo-triggers": "^12.
|
|
66
|
+
"@atlaskit/rovo-triggers": "^12.3.0",
|
|
67
67
|
"@atlaskit/spinner": "^20.4.0",
|
|
68
68
|
"@atlaskit/teams-app-config": "^3.1.0",
|
|
69
69
|
"@atlaskit/teams-app-internal-analytics": "^2.4.0",
|
|
70
70
|
"@atlaskit/teams-app-internal-navigation": "^3.1.0",
|
|
71
71
|
"@atlaskit/teams-avatar": "^4.1.0",
|
|
72
|
-
"@atlaskit/teams-public": "^3.
|
|
72
|
+
"@atlaskit/teams-public": "^3.5.0",
|
|
73
73
|
"@atlaskit/theme": "^28.2.0",
|
|
74
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
74
|
+
"@atlaskit/tmp-editor-statsig": "^241.0.0",
|
|
75
75
|
"@atlaskit/tokens": "^20.6.0",
|
|
76
76
|
"@atlaskit/tooltip": "^24.4.0",
|
|
77
77
|
"@babel/runtime": "^7.0.0",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
100
100
|
"@atlassian/platform-storybook-helpers": "^0.6.0",
|
|
101
101
|
"@atlassian/ptc-test-utils": "^0.16.0",
|
|
102
|
-
"@atlassian/testing-library": "^0.
|
|
102
|
+
"@atlassian/testing-library": "^0.12.0",
|
|
103
103
|
"@atlassian/workbench": "workspace:^",
|
|
104
104
|
"@storybook/addon-actions": "^8.6.14",
|
|
105
105
|
"@storybook/test": "^8.6.14",
|
|
@@ -138,9 +138,6 @@
|
|
|
138
138
|
"jfp_a11y_team_profile_card_actions_label": {
|
|
139
139
|
"type": "boolean"
|
|
140
140
|
},
|
|
141
|
-
"cover-header-image-team-profilecard": {
|
|
142
|
-
"type": "boolean"
|
|
143
|
-
},
|
|
144
141
|
"rovo_agent_versioning_enabled": {
|
|
145
142
|
"type": "boolean"
|
|
146
143
|
},
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
4
4
|
import { IntlProvider } from 'react-intl';
|
|
5
5
|
|
|
6
|
-
import { withPlatformFeatureGates } from '@atlassian/feature-flags-storybook-utils';
|
|
6
|
+
import { withPlatformFeatureGates } from '@atlassian/feature-flags-storybook-utils/with-platform-feature-gates';
|
|
7
7
|
import { withAnalyticsLogger } from '@atlassian/platform-storybook-helpers/analytics-logger';
|
|
8
8
|
import { withStorybookLinkHarness } from '@atlassian/platform-storybook-helpers/link-harness';
|
|
9
9
|
import { withMaxWidth } from '@atlassian/platform-storybook-helpers/max-width';
|