@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
@@ -1 +0,0 @@
1
- export declare const localTime: (timezone: string, format: string) => string | null;
@@ -1,43 +0,0 @@
1
- export declare class HttpError extends Error {
2
- code: number;
3
- traceId?: string | null;
4
- constructor(code: number, reason: string, traceId?: string | null);
5
- }
6
- type KnownErrorExtensions = {
7
- errorNumber?: number;
8
- };
9
- type ErrorExtensions = KnownErrorExtensions & Record<string, any>;
10
- type ErrorCategory = 'NotFound' | 'NotPermitted' | 'MalformedInput' | 'Internal' | 'Gone';
11
- export declare class DirectoryGraphQLError extends Error {
12
- category: ErrorCategory;
13
- type: string;
14
- path: string;
15
- errorNumber?: number;
16
- extensions: Record<string, any>;
17
- constructor(message: string, category: ErrorCategory, type: string, extensions?: ErrorExtensions, path?: (string | number)[]);
18
- }
19
- export declare class DirectoryGraphQLErrors extends Error {
20
- errors: DirectoryGraphQLError[];
21
- traceId?: string | null;
22
- constructor(errors: unknown, traceId: string | null);
23
- }
24
- type KnownAggErrorExtensions = {
25
- statusCode?: number;
26
- errorType?: string;
27
- classification?: string;
28
- };
29
- type AggErrorExtensions = KnownAggErrorExtensions & Record<string, any>;
30
- export declare class AGGError extends Error {
31
- path: string;
32
- extensions: Record<string, any>;
33
- statusCode?: number;
34
- errorType?: string;
35
- classification?: string;
36
- constructor(message: string, extensions: AggErrorExtensions, path?: (string | number)[]);
37
- }
38
- export declare class AGGErrors extends Error {
39
- errors: AGGError[];
40
- traceId?: string | null;
41
- constructor(errors: unknown, traceId: string | null);
42
- }
43
- export {};
@@ -1 +0,0 @@
1
- export declare const getPageTime: () => number;
@@ -1,2 +0,0 @@
1
- export declare const USER_ARI_PREFIX = "ari:cloud:identity::user/";
2
- export declare const getAAIDFromARI: (ari: string) => string | undefined;
@@ -1 +0,0 @@
1
- export declare const encodeParamsToUrl: (baseUrl: string, params: Record<string, string | number | boolean>) => string;
@@ -1,8 +0,0 @@
1
- export declare const useProfileInfo: <T>({ fetchUserProfile, }: {
2
- fetchUserProfile?: () => Promise<T>;
3
- }) => {
4
- profileData: T | undefined;
5
- isLoading: boolean;
6
- error: null;
7
- getProfileData: () => Promise<void>;
8
- };
@@ -1,6 +0,0 @@
1
- import React, { type ComponentType } from 'react';
2
- export interface WithOuterListenersProps {
3
- handleClickOutside?: () => void;
4
- handleEscapeKeydown?: () => void;
5
- }
6
- export default function withOuterListeners<P>(Component: ComponentType<P>): React.ComponentClass<P & WithOuterListenersProps>;