@atlaskit/profilecard 27.6.8 → 27.7.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.
Files changed (77) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/client/addHeaders.js +1 -1
  3. package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
  4. package/dist/cjs/components/Agent/Actions.js +1 -1
  5. package/dist/cjs/components/Agent/AgentProfileCard.js +1 -1
  6. package/dist/cjs/components/Agent/AgentProfileCardResourced.js +1 -1
  7. package/dist/cjs/components/Agent/AgentProfileCardTrigger.js +1 -1
  8. package/dist/cjs/components/Agent/AgentProfileCardWrapper.js +1 -1
  9. package/dist/cjs/components/Agent/hooks/useAgentUrlActions.js +1 -5
  10. package/dist/cjs/components/User/ProfileCardDetails.js +1 -1
  11. package/dist/cjs/components/User/ReportingLinesDetails.js +1 -1
  12. package/dist/cjs/components/common/ProfileCardWrapper.js +1 -1
  13. package/dist/cjs/components/team-profile-card/main.js +1 -1
  14. package/dist/cjs/components/team-profile-card/team-connections/main.js +1 -1
  15. package/dist/cjs/components/team-profile-card/team-containers-skeleton/index.js +1 -1
  16. package/dist/cjs/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
  17. package/dist/cjs/styled/Card.js +1 -1
  18. package/dist/cjs/styled/CoverImage.js +1 -1
  19. package/dist/cjs/styled/Error.js +1 -1
  20. package/dist/cjs/styled/ReportingLines.js +1 -1
  21. package/dist/cjs/styled/TeamCard.js +1 -1
  22. package/dist/cjs/styled/TeamTrigger.js +1 -1
  23. package/dist/cjs/styled/UserTrigger.js +1 -1
  24. package/dist/cjs/util/analytics.js +1 -1
  25. package/dist/cjs/util/createEvent.js +1 -1
  26. package/dist/cjs/util/withOuterListeners.js +1 -1
  27. package/dist/es2019/client/addHeaders.js +1 -1
  28. package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
  29. package/dist/es2019/components/Agent/Actions.js +1 -1
  30. package/dist/es2019/components/Agent/AgentProfileCard.js +1 -1
  31. package/dist/es2019/components/Agent/AgentProfileCardResourced.js +1 -1
  32. package/dist/es2019/components/Agent/AgentProfileCardTrigger.js +1 -1
  33. package/dist/es2019/components/Agent/AgentProfileCardWrapper.js +1 -1
  34. package/dist/es2019/components/Agent/hooks/useAgentUrlActions.js +1 -5
  35. package/dist/es2019/components/User/ProfileCardDetails.js +1 -1
  36. package/dist/es2019/components/User/ReportingLinesDetails.js +1 -1
  37. package/dist/es2019/components/common/ProfileCardWrapper.js +1 -1
  38. package/dist/es2019/components/team-profile-card/main.js +1 -1
  39. package/dist/es2019/components/team-profile-card/team-connections/main.js +1 -1
  40. package/dist/es2019/components/team-profile-card/team-containers-skeleton/index.js +1 -1
  41. package/dist/es2019/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
  42. package/dist/es2019/styled/Card.js +1 -1
  43. package/dist/es2019/styled/CoverImage.js +1 -1
  44. package/dist/es2019/styled/Error.js +1 -1
  45. package/dist/es2019/styled/ReportingLines.js +1 -1
  46. package/dist/es2019/styled/TeamCard.js +1 -1
  47. package/dist/es2019/styled/TeamTrigger.js +1 -1
  48. package/dist/es2019/styled/UserTrigger.js +1 -1
  49. package/dist/es2019/util/analytics.js +1 -1
  50. package/dist/es2019/util/createEvent.js +1 -1
  51. package/dist/es2019/util/withOuterListeners.js +1 -1
  52. package/dist/esm/client/addHeaders.js +1 -1
  53. package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
  54. package/dist/esm/components/Agent/Actions.js +1 -1
  55. package/dist/esm/components/Agent/AgentProfileCard.js +1 -1
  56. package/dist/esm/components/Agent/AgentProfileCardResourced.js +1 -1
  57. package/dist/esm/components/Agent/AgentProfileCardTrigger.js +1 -1
  58. package/dist/esm/components/Agent/AgentProfileCardWrapper.js +1 -1
  59. package/dist/esm/components/Agent/hooks/useAgentUrlActions.js +1 -5
  60. package/dist/esm/components/User/ProfileCardDetails.js +1 -1
  61. package/dist/esm/components/User/ReportingLinesDetails.js +1 -1
  62. package/dist/esm/components/common/ProfileCardWrapper.js +1 -1
  63. package/dist/esm/components/team-profile-card/main.js +1 -1
  64. package/dist/esm/components/team-profile-card/team-connections/main.js +1 -1
  65. package/dist/esm/components/team-profile-card/team-containers-skeleton/index.js +1 -1
  66. package/dist/esm/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.js +1 -1
  67. package/dist/esm/styled/Card.js +1 -1
  68. package/dist/esm/styled/CoverImage.js +1 -1
  69. package/dist/esm/styled/Error.js +1 -1
  70. package/dist/esm/styled/ReportingLines.js +1 -1
  71. package/dist/esm/styled/TeamCard.js +1 -1
  72. package/dist/esm/styled/TeamTrigger.js +1 -1
  73. package/dist/esm/styled/UserTrigger.js +1 -1
  74. package/dist/esm/util/analytics.js +1 -1
  75. package/dist/esm/util/createEvent.js +1 -1
  76. package/dist/esm/util/withOuterListeners.js +1 -1
  77. package/package.json +6 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 27.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`d0bb2f32f3025`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d0bb2f32f3025) -
8
+ Cleanup `feature_gate` `platform-adopt-teams-nav-config`. Profile, team, and directory links now
9
+ always use the shared `@atlaskit/teams-app-config` navigation.
10
+ - Updated dependencies
11
+
12
+ ## 27.7.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [`f5b2e7ae6d6bc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f5b2e7ae6d6bc) -
17
+ Update i18n NPM package versions for people-and-teams,identity (Group 8)
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies
22
+
3
23
  ## 27.6.8
4
24
 
5
25
  ### 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.6.7");
14
+ headers.append('atl-client-version', "27.7.0");
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.6.7");
14
+ headers.append('atl-client-version', "27.7.0");
15
15
  return headers;
16
16
  };
17
17
  function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -1,4 +1,4 @@
1
- /* Actions.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Actions.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* AgentProfileCard.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* AgentProfileCard.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -86,7 +86,7 @@ var AgentProfileCardResourced = exports.AgentProfileCardResourced = function Age
86
86
  } : undefined,
87
87
  userCreator: userCreatorInfo ? {
88
88
  name: (_userCreatorInfo$full = userCreatorInfo.fullName) !== null && _userCreatorInfo$full !== void 0 ? _userCreatorInfo$full : '',
89
- profileLink: (0, _fg.fg)('platform-adopt-teams-nav-config') ? profileHref : "/people/".concat(currentCreatorUserId)
89
+ profileLink: profileHref
90
90
  } : undefined,
91
91
  forgeCreator: creator !== null && creator !== void 0 ? creator : undefined
92
92
  });
@@ -113,7 +113,7 @@ var AgentProfileCardTrigger = exports.AgentProfileCardTrigger = /*#__PURE__*/(0,
113
113
  return _context.abrupt("return", {
114
114
  type: 'CUSTOMER',
115
115
  name: creatorInfo.fullName,
116
- profileLink: (0, _fg.fg)('platform-adopt-teams-nav-config') ? profileHref : "/people/".concat(_userId),
116
+ profileLink: profileHref,
117
117
  id: _userId
118
118
  });
119
119
  case 11:
@@ -1,4 +1,4 @@
1
- /* AgentProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* AgentProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -198,11 +198,7 @@ var useAgentUrlActions = exports.useAgentUrlActions = function useAgentUrlAction
198
198
  shouldOpenInSameTab: false
199
199
  }),
200
200
  onNavigate = _navigateToTeamsApp.onNavigate;
201
- if ((0, _fg.fg)('platform-adopt-teams-nav-config')) {
202
- onNavigate();
203
- } else {
204
- window.open("".concat(window.location.origin, "/people/agent/").concat(agentId), '_blank', 'noopener, noreferrer');
205
- }
201
+ onNavigate();
206
202
  fireEvent('ui.button.clicked.viewAgentFullProfileButton', {
207
203
  agentId: agentId,
208
204
  source: source
@@ -1,4 +1,4 @@
1
- /* ProfileCardDetails.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ProfileCardDetails.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* ReportingLinesDetails.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReportingLinesDetails.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* ProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* Card.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Card.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
3
3
  /* eslint-disable @atlaskit/design-system/no-styled-tagged-template-expression -- needs manual remediation */
4
4
  "use strict";
@@ -1,4 +1,4 @@
1
- /* CoverImage.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* CoverImage.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* Error.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Error.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* ReportingLines.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReportingLines.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
3
3
  "use strict";
4
4
 
@@ -1,4 +1,4 @@
1
- /* TeamCard.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* TeamCard.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* TeamTrigger.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* TeamTrigger.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* UserTrigger.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* UserTrigger.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
3
3
  // PLEASE NOTE: This file is sync-loaded with the trigger components. Only add components here that
4
4
  // are necessary for the main render of the trigger component to help maintain bundle size.
@@ -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.6.7") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
10
+ packageVersion: (_process$env$_PACKAGE2 = "27.7.0") !== 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.6.7"
25
+ packageVersion: "27.7.0"
26
26
  }, attributes), {}, {
27
27
  firedAt: Math.round((0, _performance.getPageTime)())
28
28
  })
@@ -1,4 +1,4 @@
1
- /* withOuterListeners.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* withOuterListeners.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -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.6.7");
8
+ headers.append('atl-client-version', "27.7.0");
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.6.7");
9
+ headers.append('atl-client-version', "27.7.0");
10
10
  return headers;
11
11
  };
12
12
  export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
@@ -1,4 +1,4 @@
1
- /* Actions.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Actions.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./Actions.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useCallback, useState } from 'react';
@@ -1,4 +1,4 @@
1
- /* AgentProfileCard.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* AgentProfileCard.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./AgentProfileCard.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useCallback, useEffect, useState } from 'react';
@@ -52,7 +52,7 @@ export const AgentProfileCardResourced = props => {
52
52
  } : undefined,
53
53
  userCreator: userCreatorInfo ? {
54
54
  name: (_userCreatorInfo$full = userCreatorInfo.fullName) !== null && _userCreatorInfo$full !== void 0 ? _userCreatorInfo$full : '',
55
- profileLink: fg('platform-adopt-teams-nav-config') ? profileHref : `/people/${currentCreatorUserId}`
55
+ profileLink: profileHref
56
56
  } : undefined,
57
57
  forgeCreator: creator !== null && creator !== void 0 ? creator : undefined
58
58
  });
@@ -85,7 +85,7 @@ export const AgentProfileCardTrigger = /*#__PURE__*/forwardRef(({
85
85
  return {
86
86
  type: 'CUSTOMER',
87
87
  name: creatorInfo.fullName,
88
- profileLink: fg('platform-adopt-teams-nav-config') ? profileHref : `/people/${userId}`,
88
+ profileLink: profileHref,
89
89
  id: userId
90
90
  };
91
91
  } catch {
@@ -1,4 +1,4 @@
1
- /* AgentProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* AgentProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./AgentProfileCardWrapper.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -165,11 +165,7 @@ export const useAgentUrlActions = ({
165
165
  cloudId,
166
166
  shouldOpenInSameTab: false
167
167
  });
168
- if (fg('platform-adopt-teams-nav-config')) {
169
- onNavigate();
170
- } else {
171
- window.open(`${window.location.origin}/people/agent/${agentId}`, '_blank', 'noopener, noreferrer');
172
- }
168
+ onNavigate();
173
169
  fireEvent('ui.button.clicked.viewAgentFullProfileButton', {
174
170
  agentId,
175
171
  source
@@ -1,4 +1,4 @@
1
- /* ProfileCardDetails.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ProfileCardDetails.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./ProfileCardDetails.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* ReportingLinesDetails.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReportingLinesDetails.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./ReportingLinesDetails.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* ProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./ProfileCardWrapper.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./main.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./main.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useCallback } from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* Card.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Card.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
3
3
  /* eslint-disable @atlaskit/design-system/no-styled-tagged-template-expression -- needs manual remediation */
4
4
  import "./Card.compiled.css";
@@ -1,4 +1,4 @@
1
- /* CoverImage.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* CoverImage.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./CoverImage.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useRef } from 'react';
@@ -1,4 +1,4 @@
1
- /* Error.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Error.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./Error.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* ReportingLines.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReportingLines.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
3
3
  import "./ReportingLines.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* TeamCard.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* TeamCard.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./TeamCard.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* TeamTrigger.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* TeamTrigger.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./TeamTrigger.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* UserTrigger.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* UserTrigger.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
3
3
  // PLEASE NOTE: This file is sync-loaded with the trigger components. Only add components here that
4
4
  // are necessary for the main render of the trigger component to help maintain bundle size.
@@ -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.6.7") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
4
+ packageVersion: (_process$env$_PACKAGE2 = "27.7.0") !== 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.6.7",
14
+ packageVersion: "27.7.0",
15
15
  ...attributes,
16
16
  firedAt: Math.round(getPageTime())
17
17
  }
@@ -1,4 +1,4 @@
1
- /* withOuterListeners.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* withOuterListeners.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./withOuterListeners.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -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.6.7");
8
+ headers.append('atl-client-version', "27.7.0");
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.6.7");
7
+ headers.append('atl-client-version', "27.7.0");
8
8
  return headers;
9
9
  };
10
10
  export function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -1,4 +1,4 @@
1
- /* Actions.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Actions.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import "./Actions.compiled.css";
@@ -1,4 +1,4 @@
1
- /* AgentProfileCard.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* AgentProfileCard.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
4
4
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
@@ -77,7 +77,7 @@ export var AgentProfileCardResourced = function AgentProfileCardResourced(props)
77
77
  } : undefined,
78
78
  userCreator: userCreatorInfo ? {
79
79
  name: (_userCreatorInfo$full = userCreatorInfo.fullName) !== null && _userCreatorInfo$full !== void 0 ? _userCreatorInfo$full : '',
80
- profileLink: fg('platform-adopt-teams-nav-config') ? profileHref : "/people/".concat(currentCreatorUserId)
80
+ profileLink: profileHref
81
81
  } : undefined,
82
82
  forgeCreator: creator !== null && creator !== void 0 ? creator : undefined
83
83
  });
@@ -104,7 +104,7 @@ export var AgentProfileCardTrigger = /*#__PURE__*/forwardRef(function (_ref, ref
104
104
  return _context.abrupt("return", {
105
105
  type: 'CUSTOMER',
106
106
  name: creatorInfo.fullName,
107
- profileLink: fg('platform-adopt-teams-nav-config') ? profileHref : "/people/".concat(_userId),
107
+ profileLink: profileHref,
108
108
  id: _userId
109
109
  });
110
110
  case 11:
@@ -1,4 +1,4 @@
1
- /* AgentProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* AgentProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./AgentProfileCardWrapper.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -191,11 +191,7 @@ export var useAgentUrlActions = function useAgentUrlActions(_ref3) {
191
191
  shouldOpenInSameTab: false
192
192
  }),
193
193
  onNavigate = _navigateToTeamsApp.onNavigate;
194
- if (fg('platform-adopt-teams-nav-config')) {
195
- onNavigate();
196
- } else {
197
- window.open("".concat(window.location.origin, "/people/agent/").concat(agentId), '_blank', 'noopener, noreferrer');
198
- }
194
+ onNavigate();
199
195
  fireEvent('ui.button.clicked.viewAgentFullProfileButton', {
200
196
  agentId: agentId,
201
197
  source: source
@@ -1,4 +1,4 @@
1
- /* ProfileCardDetails.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ProfileCardDetails.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["text"];
@@ -1,4 +1,4 @@
1
- /* ReportingLinesDetails.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReportingLinesDetails.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./ReportingLinesDetails.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* ProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ProfileCardWrapper.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./ProfileCardWrapper.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["containerId", "teamId", "displayName", "description", "avatarImageUrl", "headerImageUrl", "memberAvatars", "memberCount", "cloudId", "userId", "isVerified", "teamProfileUrl"];
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./main.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useCallback } from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
3
3
  import "./index.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* Card.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Card.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
3
3
  /* eslint-disable @atlaskit/design-system/no-styled-tagged-template-expression -- needs manual remediation */
4
4
  import "./Card.compiled.css";
@@ -1,4 +1,4 @@
1
- /* CoverImage.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* CoverImage.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./CoverImage.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useRef } from 'react';
@@ -1,4 +1,4 @@
1
- /* Error.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* Error.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./Error.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* ReportingLines.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ReportingLines.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
3
3
  import "./ReportingLines.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* TeamCard.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* TeamCard.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./TeamCard.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* TeamTrigger.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* TeamTrigger.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./TeamTrigger.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* UserTrigger.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* UserTrigger.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports share Compiled style value(s) [styles] which cannot be exported across files (UI Styling Standard: no-exported-css) */
3
3
  // PLEASE NOTE: This file is sync-loaded with the trigger components. Only add components here that
4
4
  // are necessary for the main render of the trigger component to help maintain bundle size.
@@ -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.6.7") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
4
+ packageVersion: (_process$env$_PACKAGE2 = "27.7.0") !== 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.6.7"
19
+ packageVersion: "27.7.0"
20
20
  }, attributes), {}, {
21
21
  firedAt: Math.round(getPageTime())
22
22
  })
@@ -1,4 +1,4 @@
1
- /* withOuterListeners.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* withOuterListeners.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "27.6.8",
3
+ "version": "27.7.1",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,16 +41,16 @@
41
41
  "access": "public"
42
42
  },
43
43
  "dependencies": {
44
- "@atlaskit/afm-i18n-platform-people-and-teams-profilecard": "2.301.0",
44
+ "@atlaskit/afm-i18n-platform-people-and-teams-profilecard": "2.306.0",
45
45
  "@atlaskit/atlassian-context": "^2.0.0",
46
46
  "@atlaskit/avatar": "^30.1.0",
47
47
  "@atlaskit/avatar-group": "^14.4.0",
48
- "@atlaskit/button": "^25.7.0",
48
+ "@atlaskit/button": "^25.8.0",
49
49
  "@atlaskit/css": "^1.1.0",
50
50
  "@atlaskit/dropdown-menu": "^21.3.0",
51
51
  "@atlaskit/empty-state": "^12.2.0",
52
52
  "@atlaskit/feature-gate-js-client": "^8.0.0",
53
- "@atlaskit/give-kudos": "^7.7.0",
53
+ "@atlaskit/give-kudos": "^7.8.0",
54
54
  "@atlaskit/heading": "^8.0.0",
55
55
  "@atlaskit/icon": "^38.0.0",
56
56
  "@atlaskit/link": "5.1.7",
@@ -62,14 +62,14 @@
62
62
  "@atlaskit/popup": "^10.2.0",
63
63
  "@atlaskit/primitives": "^22.7.0",
64
64
  "@atlaskit/react-compiler-gating": "^0.2.0",
65
- "@atlaskit/rovo-agent-components": "^10.8.0",
65
+ "@atlaskit/rovo-agent-components": "^10.9.0",
66
66
  "@atlaskit/rovo-triggers": "^12.14.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.5.0",
70
70
  "@atlaskit/teams-app-internal-navigation": "^3.1.0",
71
71
  "@atlaskit/teams-avatar": "^4.2.0",
72
- "@atlaskit/teams-public": "^3.9.0",
72
+ "@atlaskit/teams-public": "^3.10.0",
73
73
  "@atlaskit/theme": "^28.2.0",
74
74
  "@atlaskit/tmp-editor-statsig": "^260.0.0",
75
75
  "@atlaskit/tokens": "^20.11.0",
@@ -129,9 +129,6 @@
129
129
  "atlas_profilecard_skip_workspace_type_fetch": {
130
130
  "type": "boolean"
131
131
  },
132
- "platform-adopt-teams-nav-config": {
133
- "type": "boolean"
134
- },
135
132
  "jfp_a11y_team_profile_card_actions_label": {
136
133
  "type": "boolean"
137
134
  },