@atlaskit/profilecard 25.9.10 → 25.9.11

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 (166) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/agent/package.json +1 -8
  3. package/agent-profile-card/package.json +1 -8
  4. package/agent-profile-card-resourced/package.json +1 -8
  5. package/agent-profile-card-trigger/package.json +1 -8
  6. package/caching-client/package.json +1 -8
  7. package/client/package.json +1 -8
  8. package/config/package.json +1 -8
  9. package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
  10. package/dist/cjs/client/getTeamFromAGG.js +1 -1
  11. package/dist/cjs/util/analytics.js +2 -2
  12. package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
  13. package/dist/es2019/client/getTeamFromAGG.js +1 -1
  14. package/dist/es2019/util/analytics.js +2 -2
  15. package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
  16. package/dist/esm/client/getTeamFromAGG.js +1 -1
  17. package/dist/esm/util/analytics.js +2 -2
  18. package/i18n/package.json +1 -8
  19. package/lazy-profile-card/package.json +1 -8
  20. package/messages/package.json +1 -8
  21. package/mock-profile-client/package.json +1 -8
  22. package/mock-team-client/package.json +1 -8
  23. package/mocks/package.json +1 -8
  24. package/package.json +2 -2
  25. package/profile-card/package.json +1 -8
  26. package/profile-card-trigger/package.json +1 -8
  27. package/profile-data/package.json +1 -8
  28. package/simple-mock-clients/package.json +1 -8
  29. package/team/package.json +1 -8
  30. package/team-profile-card/package.json +1 -8
  31. package/team-profile-card-client/package.json +1 -8
  32. package/team-profile-card-trigger/package.json +1 -8
  33. package/types/package.json +1 -8
  34. package/user/package.json +1 -8
  35. package/user-profile-card-client/package.json +1 -8
  36. package/with-outer-listeners/package.json +1 -8
  37. package/dist/types-ts4.5/client/CachingClient.d.ts +0 -18
  38. package/dist/types-ts4.5/client/ProfileCardClient.d.ts +0 -28
  39. package/dist/types-ts4.5/client/RovoAgentCardClient.d.ts +0 -23
  40. package/dist/types-ts4.5/client/TeamCentralCardClient.d.ts +0 -50
  41. package/dist/types-ts4.5/client/TeamProfileCardClient.d.ts +0 -9
  42. package/dist/types-ts4.5/client/UserProfileCardClient.d.ts +0 -24
  43. package/dist/types-ts4.5/client/errorUtils.d.ts +0 -5
  44. package/dist/types-ts4.5/client/getOrgIdForCloudIdFromAGG.d.ts +0 -1
  45. package/dist/types-ts4.5/client/getTeamFromAGG.d.ts +0 -38
  46. package/dist/types-ts4.5/client/graphqlUtils.d.ts +0 -31
  47. package/dist/types-ts4.5/client/index.d.ts +0 -6
  48. package/dist/types-ts4.5/client/types.d.ts +0 -13
  49. package/dist/types-ts4.5/components/Agent/Actions.d.ts +0 -15
  50. package/dist/types-ts4.5/components/Agent/AgentDeleteConfirmationModal.d.ts +0 -10
  51. package/dist/types-ts4.5/components/Agent/AgentProfileCard.d.ts +0 -4
  52. package/dist/types-ts4.5/components/Agent/AgentProfileCardResourced.d.ts +0 -22
  53. package/dist/types-ts4.5/components/Agent/AgentProfileCardTrigger.d.ts +0 -4
  54. package/dist/types-ts4.5/components/Agent/AgentProfileCardWrapper.d.ts +0 -4
  55. package/dist/types-ts4.5/components/Agent/ConversationStarters.d.ts +0 -3
  56. package/dist/types-ts4.5/components/Agent/hooks/duplicateFetch.d.ts +0 -24
  57. package/dist/types-ts4.5/components/Agent/hooks/useAgentActions.d.ts +0 -16
  58. package/dist/types-ts4.5/components/Agent/index.d.ts +0 -2
  59. package/dist/types-ts4.5/components/Agent/lazyAgentProfileCard.d.ts +0 -3
  60. package/dist/types-ts4.5/components/Agent/messages.d.ts +0 -27
  61. package/dist/types-ts4.5/components/Agent/utils/index.d.ts +0 -4
  62. package/dist/types-ts4.5/components/Error/AccessLockSVG.d.ts +0 -3
  63. package/dist/types-ts4.5/components/Error/ErrorBoundary.d.ts +0 -10
  64. package/dist/types-ts4.5/components/Error/ErrorIllustration.d.ts +0 -2
  65. package/dist/types-ts4.5/components/Error/ErrorMessage.d.ts +0 -10
  66. package/dist/types-ts4.5/components/Error/index.d.ts +0 -3
  67. package/dist/types-ts4.5/components/Icon/IconLabel.d.ts +0 -13
  68. package/dist/types-ts4.5/components/Icon/index.d.ts +0 -1
  69. package/dist/types-ts4.5/components/Team/TeamForbiddenErrorState.d.ts +0 -6
  70. package/dist/types-ts4.5/components/Team/TeamLoadingState.d.ts +0 -6
  71. package/dist/types-ts4.5/components/Team/TeamProfileCard.d.ts +0 -7
  72. package/dist/types-ts4.5/components/Team/TeamProfileCardTrigger.d.ts +0 -65
  73. package/dist/types-ts4.5/components/Team/index.d.ts +0 -4
  74. package/dist/types-ts4.5/components/Team/lazyTeamProfileCard.d.ts +0 -3
  75. package/dist/types-ts4.5/components/User/OverflowProfileCardButtons.d.ts +0 -10
  76. package/dist/types-ts4.5/components/User/ProfileCard.d.ts +0 -5
  77. package/dist/types-ts4.5/components/User/ProfileCardDetails.d.ts +0 -3
  78. package/dist/types-ts4.5/components/User/ProfileCardResourced.d.ts +0 -22
  79. package/dist/types-ts4.5/components/User/ProfileCardTrigger.d.ts +0 -3
  80. package/dist/types-ts4.5/components/User/ReportingLinesDetails.d.ts +0 -5
  81. package/dist/types-ts4.5/components/User/UserLoadingState.d.ts +0 -7
  82. package/dist/types-ts4.5/components/User/index.d.ts +0 -4
  83. package/dist/types-ts4.5/components/User/lazyProfileCard.d.ts +0 -3
  84. package/dist/types-ts4.5/components/common/LoadingState.d.ts +0 -9
  85. package/dist/types-ts4.5/components/common/PopupTrigger.d.ts +0 -7
  86. package/dist/types-ts4.5/components/common/ProfileCardTrigger.d.ts +0 -9
  87. package/dist/types-ts4.5/components/common/ProfileCardWrapper.d.ts +0 -5
  88. package/dist/types-ts4.5/components/common/types.d.ts +0 -17
  89. package/dist/types-ts4.5/components/team-profile-card/index.d.ts +0 -1
  90. package/dist/types-ts4.5/components/team-profile-card/main.d.ts +0 -17
  91. package/dist/types-ts4.5/components/team-profile-card/mocks.d.ts +0 -16
  92. package/dist/types-ts4.5/components/team-profile-card/team-actions/index.d.ts +0 -21
  93. package/dist/types-ts4.5/components/team-profile-card/team-actions/messages.d.ts +0 -7
  94. package/dist/types-ts4.5/components/team-profile-card/team-actions/more-actions/index.d.ts +0 -11
  95. package/dist/types-ts4.5/components/team-profile-card/team-actions/more-actions/messages.d.ts +0 -7
  96. package/dist/types-ts4.5/components/team-profile-card/team-connections/main.d.ts +0 -3
  97. package/dist/types-ts4.5/components/team-profile-card/team-containers-skeleton/index.d.ts +0 -3
  98. package/dist/types-ts4.5/components/team-profile-card/team-containers-skeleton/linked-container-card-skeleton/index.d.ts +0 -2
  99. package/dist/types-ts4.5/i18n/cs.d.ts +0 -8
  100. package/dist/types-ts4.5/i18n/da.d.ts +0 -8
  101. package/dist/types-ts4.5/i18n/de.d.ts +0 -8
  102. package/dist/types-ts4.5/i18n/en.d.ts +0 -8
  103. package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -8
  104. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -8
  105. package/dist/types-ts4.5/i18n/es.d.ts +0 -8
  106. package/dist/types-ts4.5/i18n/et.d.ts +0 -27
  107. package/dist/types-ts4.5/i18n/fi.d.ts +0 -8
  108. package/dist/types-ts4.5/i18n/fr.d.ts +0 -8
  109. package/dist/types-ts4.5/i18n/hr.d.ts +0 -8
  110. package/dist/types-ts4.5/i18n/hu.d.ts +0 -8
  111. package/dist/types-ts4.5/i18n/index.d.ts +0 -36
  112. package/dist/types-ts4.5/i18n/is.d.ts +0 -27
  113. package/dist/types-ts4.5/i18n/it.d.ts +0 -8
  114. package/dist/types-ts4.5/i18n/ja.d.ts +0 -8
  115. package/dist/types-ts4.5/i18n/ko.d.ts +0 -8
  116. package/dist/types-ts4.5/i18n/languages.d.ts +0 -34
  117. package/dist/types-ts4.5/i18n/nb.d.ts +0 -8
  118. package/dist/types-ts4.5/i18n/nl.d.ts +0 -8
  119. package/dist/types-ts4.5/i18n/pl.d.ts +0 -8
  120. package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -8
  121. package/dist/types-ts4.5/i18n/pt_PT.d.ts +0 -27
  122. package/dist/types-ts4.5/i18n/ro.d.ts +0 -27
  123. package/dist/types-ts4.5/i18n/ru.d.ts +0 -8
  124. package/dist/types-ts4.5/i18n/sk.d.ts +0 -27
  125. package/dist/types-ts4.5/i18n/sl.d.ts +0 -8
  126. package/dist/types-ts4.5/i18n/sr_RS.d.ts +0 -8
  127. package/dist/types-ts4.5/i18n/sr_YR.d.ts +0 -8
  128. package/dist/types-ts4.5/i18n/sv.d.ts +0 -8
  129. package/dist/types-ts4.5/i18n/th.d.ts +0 -8
  130. package/dist/types-ts4.5/i18n/tr.d.ts +0 -8
  131. package/dist/types-ts4.5/i18n/uk.d.ts +0 -8
  132. package/dist/types-ts4.5/i18n/vi.d.ts +0 -8
  133. package/dist/types-ts4.5/i18n/zh.d.ts +0 -8
  134. package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -8
  135. package/dist/types-ts4.5/index.d.ts +0 -24
  136. package/dist/types-ts4.5/internal/filterActions.d.ts +0 -3
  137. package/dist/types-ts4.5/internal/getLabelMessage.d.ts +0 -3
  138. package/dist/types-ts4.5/internal/relative-date.d.ts +0 -3
  139. package/dist/types-ts4.5/messages.d.ts +0 -233
  140. package/dist/types-ts4.5/mocks/agent-data.d.ts +0 -4
  141. package/dist/types-ts4.5/mocks/index.d.ts +0 -4
  142. package/dist/types-ts4.5/mocks/mock-profile-client.d.ts +0 -1
  143. package/dist/types-ts4.5/mocks/mock-team-client.d.ts +0 -8
  144. package/dist/types-ts4.5/mocks/profile-data.d.ts +0 -45
  145. package/dist/types-ts4.5/mocks/reporting-lines-data.d.ts +0 -2
  146. package/dist/types-ts4.5/mocks/simple-mock-clients.d.ts +0 -19
  147. package/dist/types-ts4.5/mocks/team-data.d.ts +0 -15
  148. package/dist/types-ts4.5/mocks/util.d.ts +0 -6
  149. package/dist/types-ts4.5/styled/Card.d.ts +0 -59
  150. package/dist/types-ts4.5/styled/CoverImage.d.ts +0 -11
  151. package/dist/types-ts4.5/styled/Error.d.ts +0 -11
  152. package/dist/types-ts4.5/styled/ReportingLines.d.ts +0 -13
  153. package/dist/types-ts4.5/styled/TeamCard.d.ts +0 -35
  154. package/dist/types-ts4.5/styled/TeamTrigger.d.ts +0 -19
  155. package/dist/types-ts4.5/styled/UserTrigger.d.ts +0 -12
  156. package/dist/types-ts4.5/types.d.ts +0 -592
  157. package/dist/types-ts4.5/util/analytics.d.ts +0 -101
  158. package/dist/types-ts4.5/util/click.d.ts +0 -4
  159. package/dist/types-ts4.5/util/config.d.ts +0 -2
  160. package/dist/types-ts4.5/util/date.d.ts +0 -1
  161. package/dist/types-ts4.5/util/errors.d.ts +0 -43
  162. package/dist/types-ts4.5/util/performance.d.ts +0 -1
  163. package/dist/types-ts4.5/util/rovoAgentUtils.d.ts +0 -2
  164. package/dist/types-ts4.5/util/url.d.ts +0 -1
  165. package/dist/types-ts4.5/util/useProfileInfo.d.ts +0 -8
  166. package/dist/types-ts4.5/util/withOuterListeners.d.ts +0 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 25.9.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 25.9.10
4
10
 
5
11
  ### Patch Changes
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/components/Agent/index.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/components/Agent/index.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/components/Agent/index.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/components/Agent/AgentProfileCard.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/components/Agent/AgentProfileCard.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/components/Agent/AgentProfileCard.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/components/Agent/AgentProfileCardResourced.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/components/Agent/AgentProfileCardResourced.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/components/Agent/AgentProfileCardResourced.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/components/Agent/AgentProfileCardTrigger.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/components/Agent/AgentProfileCardTrigger.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/components/Agent/AgentProfileCardTrigger.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/client/CachingClient.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/client/CachingClient.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/client/CachingClient.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/client/index.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/client/index.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/client/index.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/util/config.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/util/config.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/util/config.d.ts"
17
10
  }
@@ -11,7 +11,7 @@ var _graphqlUtils = require("./graphqlUtils");
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', "25.9.9");
14
+ headers.append('atl-client-version', "25.9.10");
15
15
  return headers;
16
16
  };
17
17
  function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -66,7 +66,7 @@ var addHeaders = exports.addHeaders = function addHeaders(headers) {
66
66
  headers.append('X-ExperimentalApi', 'teams-beta');
67
67
  headers.append('X-ExperimentalApi', 'team-members-beta');
68
68
  headers.append('atl-client-name', "@atlaskit/profilecard");
69
- headers.append('atl-client-version', "25.9.9");
69
+ headers.append('atl-client-version', "25.9.10");
70
70
  return headers;
71
71
  };
72
72
  function getTeamFromAGG(_x, _x2, _x3) {
@@ -12,7 +12,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
12
12
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13
13
  var PACKAGE_META_DATA = exports.PACKAGE_META_DATA = {
14
14
  packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
15
- packageVersion: (_process$env$_PACKAGE2 = "25.9.9") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
15
+ packageVersion: (_process$env$_PACKAGE2 = "25.9.10") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
16
16
  };
17
17
  var TEAM_SUBJECT = 'teamProfileCard';
18
18
  var USER_SUBJECT = 'profilecard';
@@ -31,7 +31,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
31
31
  actionSubjectId: actionSubjectId,
32
32
  attributes: _objectSpread(_objectSpread({
33
33
  packageName: "@atlaskit/profilecard",
34
- packageVersion: "25.9.9"
34
+ packageVersion: "25.9.10"
35
35
  }, attributes), {}, {
36
36
  firedAt: Math.round((0, _performance.getPageTime)())
37
37
  })
@@ -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', "25.9.9");
9
+ headers.append('atl-client-version', "25.9.10");
10
10
  return headers;
11
11
  };
12
12
  export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
@@ -78,7 +78,7 @@ export const addHeaders = headers => {
78
78
  headers.append('X-ExperimentalApi', 'teams-beta');
79
79
  headers.append('X-ExperimentalApi', 'team-members-beta');
80
80
  headers.append('atl-client-name', "@atlaskit/profilecard");
81
- headers.append('atl-client-version', "25.9.9");
81
+ headers.append('atl-client-version', "25.9.10");
82
82
  return headers;
83
83
  };
84
84
  export async function getTeamFromAGG(url, teamId, siteId) {
@@ -2,7 +2,7 @@ var _process$env$_PACKAGE, _process$env$_PACKAGE2;
2
2
  import { getPageTime } from './performance';
3
3
  export const PACKAGE_META_DATA = {
4
4
  packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
5
- packageVersion: (_process$env$_PACKAGE2 = "25.9.9") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
5
+ packageVersion: (_process$env$_PACKAGE2 = "25.9.10") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
6
6
  };
7
7
  const TEAM_SUBJECT = 'teamProfileCard';
8
8
  const USER_SUBJECT = 'profilecard';
@@ -19,7 +19,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
19
19
  actionSubjectId,
20
20
  attributes: {
21
21
  packageName: "@atlaskit/profilecard",
22
- packageVersion: "25.9.9",
22
+ packageVersion: "25.9.10",
23
23
  ...attributes,
24
24
  firedAt: Math.round(getPageTime())
25
25
  }
@@ -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', "25.9.9");
7
+ headers.append('atl-client-version', "25.9.10");
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', "25.9.9");
62
+ headers.append('atl-client-version', "25.9.10");
63
63
  return headers;
64
64
  };
65
65
  export function getTeamFromAGG(_x, _x2, _x3) {
@@ -5,7 +5,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
5
5
  import { getPageTime } from './performance';
6
6
  export var PACKAGE_META_DATA = {
7
7
  packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
8
- packageVersion: (_process$env$_PACKAGE2 = "25.9.9") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
8
+ packageVersion: (_process$env$_PACKAGE2 = "25.9.10") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
9
9
  };
10
10
  var TEAM_SUBJECT = 'teamProfileCard';
11
11
  var USER_SUBJECT = 'profilecard';
@@ -24,7 +24,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
24
24
  actionSubjectId: actionSubjectId,
25
25
  attributes: _objectSpread(_objectSpread({
26
26
  packageName: "@atlaskit/profilecard",
27
- packageVersion: "25.9.9"
27
+ packageVersion: "25.9.10"
28
28
  }, attributes), {}, {
29
29
  firedAt: Math.round(getPageTime())
30
30
  })
package/i18n/package.json CHANGED
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/i18n/index.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/i18n/index.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/i18n/index.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/components/User/lazyProfileCard.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/components/User/lazyProfileCard.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/components/User/lazyProfileCard.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/messages.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/messages.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/messages.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/mocks/mock-profile-client.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/mocks/mock-profile-client.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/mocks/mock-profile-client.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/mocks/mock-team-client.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/mocks/mock-team-client.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/mocks/mock-team-client.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/mocks/index.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/mocks/index.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/mocks/index.d.ts"
17
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "25.9.10",
3
+ "version": "25.9.11",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -75,7 +75,7 @@
75
75
  "@atlaskit/teams-avatar": "^2.7.0",
76
76
  "@atlaskit/teams-public": "^1.5.0",
77
77
  "@atlaskit/theme": "^25.0.0",
78
- "@atlaskit/tmp-editor-statsig": "^102.0.0",
78
+ "@atlaskit/tmp-editor-statsig": "^103.0.0",
79
79
  "@atlaskit/tokens": "^13.4.0",
80
80
  "@atlaskit/tooltip": "^22.6.0",
81
81
  "@atlassian/studio-entry-link": "^1.1.0",
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/components/User/ProfileCard.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/components/User/ProfileCard.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/components/User/ProfileCard.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/components/User/ProfileCardTrigger.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/components/User/ProfileCardTrigger.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/components/User/ProfileCardTrigger.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/mocks/profile-data.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/mocks/profile-data.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/mocks/profile-data.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/mocks/simple-mock-clients.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/mocks/simple-mock-clients.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/mocks/simple-mock-clients.d.ts"
17
10
  }
package/team/package.json CHANGED
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/components/Team/index.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/components/Team/index.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/components/Team/index.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/components/Team/TeamProfileCard.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/components/Team/TeamProfileCard.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/components/Team/TeamProfileCard.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/client/TeamProfileCardClient.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/client/TeamProfileCardClient.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/client/TeamProfileCardClient.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/components/Team/TeamProfileCardTrigger.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/components/Team/TeamProfileCardTrigger.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/components/Team/TeamProfileCardTrigger.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/types.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/types.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/types.d.ts"
17
10
  }
package/user/package.json CHANGED
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/components/User/index.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/components/User/index.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/components/User/index.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/client/UserProfileCardClient.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/client/UserProfileCardClient.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/client/UserProfileCardClient.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/util/withOuterListeners.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/util/withOuterListeners.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/util/withOuterListeners.d.ts"
17
10
  }
@@ -1,18 +0,0 @@
1
- import { LRUMap } from 'lru_map';
2
- interface CachedData<T> {
3
- expire: number;
4
- profile: T;
5
- }
6
- export interface CacheConfig {
7
- cacheSize?: number;
8
- cacheMaxAge?: number;
9
- }
10
- export default class CachingClient<T> {
11
- config: Required<CacheConfig>;
12
- cache: LRUMap<string, CachedData<T>> | null;
13
- constructor(config: CacheConfig);
14
- setCachedProfile(cacheIdentifier: string, profile: T): void;
15
- getCachedProfile(cacheIdentifier: string): T | null;
16
- flushCache(): void;
17
- }
18
- export {};
@@ -1,28 +0,0 @@
1
- import type { FireEventType } from '@atlaskit/teams-app-internal-analytics';
2
- import { type AgentIdType, type AgentPermissions, type ClientOverrides, type ProfileClient, type ProfileClientOptions, type RovoAgentCardClientResult, type Team, type TeamCentralReportingLinesData } from '../types';
3
- import RovoAgentCardClient from './RovoAgentCardClient';
4
- import TeamCentralCardClient from './TeamCentralCardClient';
5
- import TeamProfileCardClient from './TeamProfileCardClient';
6
- import UserProfileCardClient from './UserProfileCardClient';
7
- export type TeamCentralScopes = {
8
- withOrgContext: true;
9
- withSiteContext: boolean;
10
- };
11
- declare class ProfileCardClient implements ProfileClient {
12
- userClient: UserProfileCardClient;
13
- teamClient: TeamProfileCardClient;
14
- tcClient?: TeamCentralCardClient;
15
- rovoAgentClient: RovoAgentCardClient;
16
- constructor(config: ProfileClientOptions, clients?: ClientOverrides);
17
- flushCache(): void;
18
- getProfile(cloudId: string, userId: string, analytics?: FireEventType): Promise<any>;
19
- getTeamProfile(teamId: string, orgId?: string, analytics?: FireEventType): Promise<Team>;
20
- getReportingLines(userId: string): Promise<TeamCentralReportingLinesData>;
21
- getTeamCentralBaseUrl(teamCentralScopes?: TeamCentralScopes): Promise<string | undefined>;
22
- shouldShowGiveKudos(): Promise<boolean>;
23
- getRovoAgentProfile(id: AgentIdType, analytics?: FireEventType): Promise<RovoAgentCardClientResult>;
24
- getRovoAgentPermissions(id: string, fireAnalytics?: FireEventType): Promise<AgentPermissions>;
25
- deleteAgent(id: string, analytics?: FireEventType): Promise<void>;
26
- setFavouriteAgent(id: string, isFavourite: boolean, analytics?: FireEventType): Promise<void>;
27
- }
28
- export default ProfileCardClient;
@@ -1,23 +0,0 @@
1
- import { type FireEventType } from '@atlaskit/teams-app-internal-analytics';
2
- import type { AgentIdType, AgentPermissions, ProfileClientOptions, RovoAgentCardClientResult } from '../types';
3
- import CachingClient from './CachingClient';
4
- export default class RovoAgentCardClient extends CachingClient<RovoAgentCardClientResult> {
5
- options: ProfileClientOptions;
6
- constructor(options: ProfileClientOptions);
7
- private basePath;
8
- private getActivationId;
9
- private getAgentByARIAgg;
10
- private getAgentByAccountIdAgg;
11
- makeRequest(id: AgentIdType, analytics?: FireEventType): Promise<RovoAgentCardClientResult>;
12
- /**
13
- * This function will call both REST and AGG endpoints to get the agent profile
14
- * There are some data that is only available in the AGG endpoint, so we need to call both
15
- * For any new fields, please only add them to the AGG endpoint
16
- *
17
- * @TODO migrate everything to AGG endpoint
18
- */
19
- getProfile(id: AgentIdType, analytics?: FireEventType): Promise<RovoAgentCardClientResult>;
20
- deleteAgent(agentId: string, analytics?: FireEventType): Promise<void>;
21
- setFavouriteAgent(agentId: string, isFavourite: boolean, analytics?: FireEventType): Promise<void>;
22
- getPermissions(id: string, fireAnalytics?: FireEventType): Promise<AgentPermissions>;
23
- }
@@ -1,50 +0,0 @@
1
- import { type TeamCentralReportingLinesData } from '../types';
2
- import CachingClient, { type CacheConfig } from './CachingClient';
3
- export declare const buildReportingLinesQuery: (aaid: string) => {
4
- query: string;
5
- variables: {
6
- aaid: string;
7
- };
8
- };
9
- export type TeamCentralCardClientOptions = CacheConfig & {
10
- cloudId?: string;
11
- gatewayGraphqlUrl: string;
12
- /**
13
- * If provided, will avoid resolving the org ID internally from the cloud ID,
14
- * and use the provided org ID instead
15
- */
16
- orgId?: string;
17
- teamCentralDisabled?: boolean;
18
- };
19
- declare class TeamCentralCardClient extends CachingClient<TeamCentralReportingLinesData> {
20
- options: TeamCentralCardClientOptions;
21
- /**
22
- * Simple circuit breaker to avoid making unnecessary calls to Team Central on auth failures
23
- * This is to handle the case where products may have provided teamCentralUrl, but the site itself
24
- * doesn't actually have any TC product.
25
- *
26
- * There's currently no way to reset this circuit breaker, but that's fine. This is meant to
27
- * catch a pretty specific edge case.
28
- */
29
- bypassOnFailure: boolean;
30
- orgContainsAnyWorkspacePromise: Promise<boolean>;
31
- private orgIdPromise;
32
- private workspaceExistsWithTypePromise;
33
- constructor(options: TeamCentralCardClientOptions);
34
- createOrgContainsAnyWorkspacePromise(config: TeamCentralCardClientOptions): Promise<boolean>;
35
- getReportingLines(userId: string): Promise<TeamCentralReportingLinesData>;
36
- /**
37
- * `public` so that mock client can override it; do not use it otherwise!
38
- */
39
- makeRequest(userId: string): Promise<TeamCentralReportingLinesData>;
40
- checkWorkspaceExists(): Promise<boolean>;
41
- getIsGlobalExperienceWorkspace(): Promise<boolean>;
42
- getOrgId(): Promise<string | null>;
43
- preloadWorkspaceExistsWithType(cloudId?: string): Promise<string | undefined>;
44
- private getOrgContainsAnyWorkspace;
45
- private getWorkspaceExistsWithType;
46
- preloadOrgId(gatewayGraphqlUrl: string, cloudId?: string, orgId?: string): Promise<string | null>;
47
- private getShardedApiPath;
48
- private filterReportingLinesUser;
49
- }
50
- export default TeamCentralCardClient;