@atlaskit/profilecard 22.0.1 → 22.0.3

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 (74) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/client/UserProfileCardClient.js +8 -1
  3. package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
  4. package/dist/cjs/client/getTeamFromAGG.js +1 -1
  5. package/dist/cjs/util/analytics.js +1 -1
  6. package/dist/es2019/client/UserProfileCardClient.js +37 -3
  7. package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
  8. package/dist/es2019/client/getTeamFromAGG.js +1 -1
  9. package/dist/es2019/util/analytics.js +1 -1
  10. package/dist/esm/client/UserProfileCardClient.js +8 -1
  11. package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
  12. package/dist/esm/client/getTeamFromAGG.js +1 -1
  13. package/dist/esm/util/analytics.js +1 -1
  14. package/dist/types/components/Agent/Actions.d.ts +2 -2
  15. package/dist/types/components/Agent/AgentDeleteConfirmationModal.d.ts +2 -2
  16. package/dist/types/components/Agent/AgentProfileCard.d.ts +2 -2
  17. package/dist/types/components/Agent/AgentProfileCardResourced.d.ts +1 -1
  18. package/dist/types/components/Agent/AgentProfileCardTrigger.d.ts +2 -2
  19. package/dist/types/components/Agent/AgentProfileCardWrapper.d.ts +1 -1
  20. package/dist/types/components/Agent/ConversationStarters.d.ts +2 -2
  21. package/dist/types/components/Agent/lazyAgentProfileCard.d.ts +1 -1
  22. package/dist/types/components/Error/AccessLockSVG.d.ts +2 -2
  23. package/dist/types/components/Error/ErrorIllustration.d.ts +2 -2
  24. package/dist/types/components/Error/ErrorMessage.d.ts +2 -2
  25. package/dist/types/components/Icon/IconLabel.d.ts +1 -1
  26. package/dist/types/components/Team/TeamForbiddenErrorState.d.ts +2 -2
  27. package/dist/types/components/Team/TeamLoadingState.d.ts +2 -2
  28. package/dist/types/components/Team/TeamProfileCard.d.ts +2 -2
  29. package/dist/types/components/Team/TeamProfileCardTrigger.d.ts +5 -5
  30. package/dist/types/components/Team/lazyTeamProfileCard.d.ts +1 -1
  31. package/dist/types/components/User/OverflowProfileCardButtons.d.ts +1 -1
  32. package/dist/types/components/User/ProfileCard.d.ts +1 -1
  33. package/dist/types/components/User/ProfileCardDetails.d.ts +2 -2
  34. package/dist/types/components/User/ProfileCardTrigger.d.ts +2 -2
  35. package/dist/types/components/User/ReportingLinesDetails.d.ts +2 -2
  36. package/dist/types/components/User/UserLoadingState.d.ts +2 -2
  37. package/dist/types/components/common/LoadingState.d.ts +2 -2
  38. package/dist/types/components/common/ProfileCardTrigger.d.ts +2 -2
  39. package/dist/types/components/common/ProfileCardWrapper.d.ts +1 -1
  40. package/dist/types/styled/Card.d.ts +20 -20
  41. package/dist/types/styled/Error.d.ts +3 -3
  42. package/dist/types/styled/ReportingLines.d.ts +4 -4
  43. package/dist/types/styled/TeamCard.d.ts +15 -15
  44. package/dist/types-ts4.5/components/Agent/Actions.d.ts +2 -2
  45. package/dist/types-ts4.5/components/Agent/AgentDeleteConfirmationModal.d.ts +2 -2
  46. package/dist/types-ts4.5/components/Agent/AgentProfileCard.d.ts +2 -2
  47. package/dist/types-ts4.5/components/Agent/AgentProfileCardResourced.d.ts +1 -1
  48. package/dist/types-ts4.5/components/Agent/AgentProfileCardTrigger.d.ts +2 -2
  49. package/dist/types-ts4.5/components/Agent/AgentProfileCardWrapper.d.ts +1 -1
  50. package/dist/types-ts4.5/components/Agent/ConversationStarters.d.ts +2 -2
  51. package/dist/types-ts4.5/components/Agent/lazyAgentProfileCard.d.ts +1 -1
  52. package/dist/types-ts4.5/components/Error/AccessLockSVG.d.ts +2 -2
  53. package/dist/types-ts4.5/components/Error/ErrorIllustration.d.ts +2 -2
  54. package/dist/types-ts4.5/components/Error/ErrorMessage.d.ts +2 -2
  55. package/dist/types-ts4.5/components/Icon/IconLabel.d.ts +1 -1
  56. package/dist/types-ts4.5/components/Team/TeamForbiddenErrorState.d.ts +2 -2
  57. package/dist/types-ts4.5/components/Team/TeamLoadingState.d.ts +2 -2
  58. package/dist/types-ts4.5/components/Team/TeamProfileCard.d.ts +2 -2
  59. package/dist/types-ts4.5/components/Team/TeamProfileCardTrigger.d.ts +5 -5
  60. package/dist/types-ts4.5/components/Team/lazyTeamProfileCard.d.ts +1 -1
  61. package/dist/types-ts4.5/components/User/OverflowProfileCardButtons.d.ts +1 -1
  62. package/dist/types-ts4.5/components/User/ProfileCard.d.ts +1 -1
  63. package/dist/types-ts4.5/components/User/ProfileCardDetails.d.ts +2 -2
  64. package/dist/types-ts4.5/components/User/ProfileCardTrigger.d.ts +2 -2
  65. package/dist/types-ts4.5/components/User/ReportingLinesDetails.d.ts +2 -2
  66. package/dist/types-ts4.5/components/User/UserLoadingState.d.ts +2 -2
  67. package/dist/types-ts4.5/components/common/LoadingState.d.ts +2 -2
  68. package/dist/types-ts4.5/components/common/ProfileCardTrigger.d.ts +2 -2
  69. package/dist/types-ts4.5/components/common/ProfileCardWrapper.d.ts +1 -1
  70. package/dist/types-ts4.5/styled/Card.d.ts +20 -20
  71. package/dist/types-ts4.5/styled/Error.d.ts +3 -3
  72. package/dist/types-ts4.5/styled/ReportingLines.d.ts +4 -4
  73. package/dist/types-ts4.5/styled/TeamCard.d.ts +15 -15
  74. package/package.json +9 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 22.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 22.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#108339](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/108339)
14
+ [`b629c99c2cb05`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b629c99c2cb05) -
15
+ Updated gql query to use gql tags
16
+
3
17
  ## 22.0.1
4
18
 
5
19
  ### Patch Changes
@@ -12,13 +12,18 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
12
12
  var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
13
13
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
14
14
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
15
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
15
16
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
17
+ var _graphql = require("graphql");
18
+ var _graphqlTag = _interopRequireDefault(require("graphql-tag"));
19
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
20
  var _analytics = require("../util/analytics");
17
21
  var _date = require("../util/date");
18
22
  var _performance = require("../util/performance");
19
23
  var _CachingClient2 = _interopRequireDefault(require("./CachingClient"));
20
24
  var _errorUtils = require("./errorUtils");
21
25
  var _graphqlUtils = require("./graphqlUtils");
26
+ var _templateObject;
22
27
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
23
28
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
24
29
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -53,9 +58,11 @@ var modifyResponse = exports.modifyResponse = function modifyResponse(response)
53
58
  accountType: data.accountType || undefined
54
59
  };
55
60
  };
61
+ var aggUserQuery = (0, _graphqlTag.default)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tquery user($userId: ID!) {\n\t\tuser(accountId: $userId) {\n\t\t\tid\n\t\t\tname\n\t\t\tpicture\n\t\t\taccountStatus\n\t\t\t__typename\n\t\t\t... on AtlassianAccountUser {\n\t\t\t\temail\n\t\t\t\tnickname\n\t\t\t\tzoneinfo\n\t\t\t\textendedProfile {\n\t\t\t\t\tjobTitle\n\t\t\t\t\torganization\n\t\t\t\t\tlocation\n\t\t\t\t\tclosedDate\n\t\t\t\t\tinactiveDate\n\t\t\t\t}\n\t\t\t}\n\t\t\t... on CustomerUser {\n\t\t\t\temail\n\t\t\t\tzoneinfo\n\t\t\t}\n\t\t\t... on AppUser {\n\t\t\t\tappType\n\t\t\t}\n\t\t}\n\t}\n"])));
62
+ var aggUserQueryString = "query user($userId: ID!) {\n\t\tuser(accountId: $userId) {\n\t\t\tid\n\t\t\tname\n\t\t\tpicture\n\t\t\taccountStatus\n\t\t\t__typename\n\t\t\t... on AtlassianAccountUser {\n\t\t\t\temail\n\t\t\t\tnickname\n\t\t\t\tzoneinfo\n\t\t\t\textendedProfile {\n\t\t\t\t\tjobTitle\n\t\t\t\t\torganization\n\t\t\t\t\tlocation\n\t\t\t\t\tclosedDate\n\t\t\t\t\tinactiveDate\n\t\t\t\t}\n\t\t\t}\n\t\t\t... on CustomerUser {\n\t\t\t\temail\n\t\t\t\tzoneinfo\n\t\t\t}\n\t\t\t... on AppUser {\n \t\t\tappType\n \t\t}\n\t\t}\n\t}";
56
63
  var buildAggUserQuery = exports.buildAggUserQuery = function buildAggUserQuery(userId) {
57
64
  return {
58
- query: "query user($userId: ID!) {\n\t\tuser(accountId: $userId) {\n\t\t\tid\n\t\t\tname\n\t\t\tpicture\n\t\t\taccountStatus\n\t\t\t__typename\n\t\t\t... on AtlassianAccountUser {\n\t\t\t\temail\n\t\t\t\tnickname\n\t\t\t\tzoneinfo\n\t\t\t\textendedProfile {\n\t\t\t\t\tjobTitle\n\t\t\t\t\torganization\n\t\t\t\t\tlocation\n\t\t\t\t\tclosedDate\n\t\t\t\t\tinactiveDate\n\t\t\t\t}\n\t\t\t}\n\t\t\t... on CustomerUser {\n\t\t\t\temail\n\t\t\t\tzoneinfo\n\t\t\t}\n\t\t\t... on AppUser {\n \t\t\tappType\n \t\t}\n\t\t}\n\t}",
65
+ query: (0, _platformFeatureFlags.fg)('platform_agg_user_query_doc_change') ? (0, _graphql.print)(aggUserQuery) : aggUserQueryString,
59
66
  variables: {
60
67
  userId: userId
61
68
  }
@@ -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', "22.0.1");
14
+ headers.append('atl-client-version', "22.0.3");
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', "22.0.1");
69
+ headers.append('atl-client-version', "22.0.3");
70
70
  return headers;
71
71
  };
72
72
  function getTeamFromAGG(_x, _x2, _x3) {
@@ -45,7 +45,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
45
45
  actionSubjectId: actionSubjectId,
46
46
  attributes: _objectSpread(_objectSpread({
47
47
  packageName: "@atlaskit/profilecard",
48
- packageVersion: "22.0.1"
48
+ packageVersion: "22.0.3"
49
49
  }, attributes), {}, {
50
50
  firedAt: Math.round((0, _performance.getPageTime)())
51
51
  })
@@ -1,3 +1,6 @@
1
+ import { print } from 'graphql';
2
+ import gql from 'graphql-tag';
3
+ import { fg } from '@atlaskit/platform-feature-flags';
1
4
  import { userRequestAnalytics } from '../util/analytics';
2
5
  import { localTime } from '../util/date';
3
6
  import { getPageTime } from '../util/performance';
@@ -37,8 +40,37 @@ export const modifyResponse = response => {
37
40
  accountType: data.accountType || undefined
38
41
  };
39
42
  };
40
- export const buildAggUserQuery = userId => ({
41
- query: `query user($userId: ID!) {
43
+ const aggUserQuery = gql`
44
+ query user($userId: ID!) {
45
+ user(accountId: $userId) {
46
+ id
47
+ name
48
+ picture
49
+ accountStatus
50
+ __typename
51
+ ... on AtlassianAccountUser {
52
+ email
53
+ nickname
54
+ zoneinfo
55
+ extendedProfile {
56
+ jobTitle
57
+ organization
58
+ location
59
+ closedDate
60
+ inactiveDate
61
+ }
62
+ }
63
+ ... on CustomerUser {
64
+ email
65
+ zoneinfo
66
+ }
67
+ ... on AppUser {
68
+ appType
69
+ }
70
+ }
71
+ }
72
+ `;
73
+ const aggUserQueryString = `query user($userId: ID!) {
42
74
  user(accountId: $userId) {
43
75
  id
44
76
  name
@@ -65,7 +97,9 @@ export const buildAggUserQuery = userId => ({
65
97
  appType
66
98
  }
67
99
  }
68
- }`,
100
+ }`;
101
+ export const buildAggUserQuery = userId => ({
102
+ query: fg('platform_agg_user_query_doc_change') ? print(aggUserQuery) : aggUserQueryString,
69
103
  variables: {
70
104
  userId
71
105
  }
@@ -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', "22.0.1");
9
+ headers.append('atl-client-version', "22.0.3");
10
10
  return headers;
11
11
  };
12
12
  export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
@@ -75,7 +75,7 @@ export const addHeaders = headers => {
75
75
  headers.append('X-ExperimentalApi', 'teams-beta');
76
76
  headers.append('X-ExperimentalApi', 'team-members-beta');
77
77
  headers.append('atl-client-name', "@atlaskit/profilecard");
78
- headers.append('atl-client-version', "22.0.1");
78
+ headers.append('atl-client-version', "22.0.3");
79
79
  return headers;
80
80
  };
81
81
  export async function getTeamFromAGG(url, teamId, siteId) {
@@ -32,7 +32,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
32
32
  actionSubjectId,
33
33
  attributes: {
34
34
  packageName: "@atlaskit/profilecard",
35
- packageVersion: "22.0.1",
35
+ packageVersion: "22.0.3",
36
36
  ...attributes,
37
37
  firedAt: Math.round(getPageTime())
38
38
  }
@@ -4,12 +4,17 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
4
4
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
5
5
  import _inherits from "@babel/runtime/helpers/inherits";
6
6
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
7
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
7
8
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
9
+ var _templateObject;
8
10
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
9
11
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
12
  import _regeneratorRuntime from "@babel/runtime/regenerator";
11
13
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
12
14
  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) { _defineProperty(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; }
15
+ import { print } from 'graphql';
16
+ import gql from 'graphql-tag';
17
+ import { fg } from '@atlaskit/platform-feature-flags';
13
18
  import { userRequestAnalytics } from '../util/analytics';
14
19
  import { localTime } from '../util/date';
15
20
  import { getPageTime } from '../util/performance';
@@ -47,9 +52,11 @@ export var modifyResponse = function modifyResponse(response) {
47
52
  accountType: data.accountType || undefined
48
53
  };
49
54
  };
55
+ var aggUserQuery = gql(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tquery user($userId: ID!) {\n\t\tuser(accountId: $userId) {\n\t\t\tid\n\t\t\tname\n\t\t\tpicture\n\t\t\taccountStatus\n\t\t\t__typename\n\t\t\t... on AtlassianAccountUser {\n\t\t\t\temail\n\t\t\t\tnickname\n\t\t\t\tzoneinfo\n\t\t\t\textendedProfile {\n\t\t\t\t\tjobTitle\n\t\t\t\t\torganization\n\t\t\t\t\tlocation\n\t\t\t\t\tclosedDate\n\t\t\t\t\tinactiveDate\n\t\t\t\t}\n\t\t\t}\n\t\t\t... on CustomerUser {\n\t\t\t\temail\n\t\t\t\tzoneinfo\n\t\t\t}\n\t\t\t... on AppUser {\n\t\t\t\tappType\n\t\t\t}\n\t\t}\n\t}\n"])));
56
+ var aggUserQueryString = "query user($userId: ID!) {\n\t\tuser(accountId: $userId) {\n\t\t\tid\n\t\t\tname\n\t\t\tpicture\n\t\t\taccountStatus\n\t\t\t__typename\n\t\t\t... on AtlassianAccountUser {\n\t\t\t\temail\n\t\t\t\tnickname\n\t\t\t\tzoneinfo\n\t\t\t\textendedProfile {\n\t\t\t\t\tjobTitle\n\t\t\t\t\torganization\n\t\t\t\t\tlocation\n\t\t\t\t\tclosedDate\n\t\t\t\t\tinactiveDate\n\t\t\t\t}\n\t\t\t}\n\t\t\t... on CustomerUser {\n\t\t\t\temail\n\t\t\t\tzoneinfo\n\t\t\t}\n\t\t\t... on AppUser {\n \t\t\tappType\n \t\t}\n\t\t}\n\t}";
50
57
  export var buildAggUserQuery = function buildAggUserQuery(userId) {
51
58
  return {
52
- query: "query user($userId: ID!) {\n\t\tuser(accountId: $userId) {\n\t\t\tid\n\t\t\tname\n\t\t\tpicture\n\t\t\taccountStatus\n\t\t\t__typename\n\t\t\t... on AtlassianAccountUser {\n\t\t\t\temail\n\t\t\t\tnickname\n\t\t\t\tzoneinfo\n\t\t\t\textendedProfile {\n\t\t\t\t\tjobTitle\n\t\t\t\t\torganization\n\t\t\t\t\tlocation\n\t\t\t\t\tclosedDate\n\t\t\t\t\tinactiveDate\n\t\t\t\t}\n\t\t\t}\n\t\t\t... on CustomerUser {\n\t\t\t\temail\n\t\t\t\tzoneinfo\n\t\t\t}\n\t\t\t... on AppUser {\n \t\t\tappType\n \t\t}\n\t\t}\n\t}",
59
+ query: fg('platform_agg_user_query_doc_change') ? print(aggUserQuery) : aggUserQueryString,
53
60
  variables: {
54
61
  userId: userId
55
62
  }
@@ -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', "22.0.1");
7
+ headers.append('atl-client-version', "22.0.3");
8
8
  return headers;
9
9
  };
10
10
  export function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -57,7 +57,7 @@ export var addHeaders = function addHeaders(headers) {
57
57
  headers.append('X-ExperimentalApi', 'teams-beta');
58
58
  headers.append('X-ExperimentalApi', 'team-members-beta');
59
59
  headers.append('atl-client-name', "@atlaskit/profilecard");
60
- headers.append('atl-client-version', "22.0.1");
60
+ headers.append('atl-client-version', "22.0.3");
61
61
  return headers;
62
62
  };
63
63
  export function getTeamFromAGG(_x, _x2, _x3) {
@@ -39,7 +39,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
39
39
  actionSubjectId: actionSubjectId,
40
40
  attributes: _objectSpread(_objectSpread({
41
41
  packageName: "@atlaskit/profilecard",
42
- packageVersion: "22.0.1"
42
+ packageVersion: "22.0.3"
43
43
  }, attributes), {}, {
44
44
  firedAt: Math.round(getPageTime())
45
45
  })
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type ProfileClient, type RovoAgentProfileCardInfo } from '../../types';
3
3
  type AgentActionsProps = {
4
4
  agent: RovoAgentProfileCardInfo;
@@ -11,5 +11,5 @@ type AgentActionsProps = {
11
11
  onViewFullProfileClick: () => void;
12
12
  resourceClient: ProfileClient;
13
13
  };
14
- export declare const AgentActions: ({ isAgentCreatedByCurrentUser, onEditAgent, onDeleteAgent, onDuplicateAgent, onCopyAgent, onChatClick, onViewFullProfileClick, agent, resourceClient, }: AgentActionsProps) => JSX.Element;
14
+ export declare const AgentActions: ({ isAgentCreatedByCurrentUser, onEditAgent, onDeleteAgent, onDuplicateAgent, onCopyAgent, onChatClick, onViewFullProfileClick, agent, resourceClient, }: AgentActionsProps) => React.JSX.Element;
15
15
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  type Props = {
3
3
  isOpen: boolean;
4
4
  onClose: () => void;
@@ -6,5 +6,5 @@ type Props = {
6
6
  agentId: string;
7
7
  agentName: string;
8
8
  };
9
- export declare const AgentDeleteConfirmationModal: ({ onClose, agentName, isOpen, onSubmit, agentId, }: Props) => JSX.Element;
9
+ export declare const AgentDeleteConfirmationModal: ({ onClose, agentName, isOpen, onSubmit, agentId, }: Props) => React.JSX.Element;
10
10
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AgentProfileCardProps } from '../../types';
3
- declare const AgentProfileCard: ({ agent, isLoading, isCreatedByViewingUser, cloudId, onChatClick, product, hasError, errorType, onConversationStartersClick, resourceClient, addFlag, }: AgentProfileCardProps) => JSX.Element;
3
+ declare const AgentProfileCard: ({ agent, isLoading, isCreatedByViewingUser, cloudId, onChatClick, product, hasError, errorType, onConversationStartersClick, resourceClient, addFlag, }: AgentProfileCardProps) => React.JSX.Element;
4
4
  export default AgentProfileCard;
@@ -10,4 +10,4 @@ export type AgentProfileCardResourcedProps = {
10
10
  product?: string;
11
11
  addFlag?: (flag: Flag) => void;
12
12
  } & AgentActionsType;
13
- export declare const AgentProfileCardResourced: (props: AgentProfileCardResourcedProps) => JSX.Element;
13
+ export declare const AgentProfileCardResourced: (props: AgentProfileCardResourcedProps) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AgentProfileCardTriggerProps } from '../../types';
3
- export declare const AgentProfileCardTrigger: ({ trigger, viewingUserId, product, ...props }: AgentProfileCardTriggerProps) => JSX.Element;
3
+ export declare const AgentProfileCardTrigger: ({ trigger, viewingUserId, product, ...props }: AgentProfileCardTriggerProps) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  export declare const AgentProfileCardWrapper: ({ children }: {
3
3
  children: React.ReactNode;
4
- }) => JSX.Element;
4
+ }) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AgentConversationStartersProps } from '@atlaskit/rovo-agent-components';
3
- export declare const ConversationStarters: ({ isAgentDefault, onConversationStarterClick, userDefinedConversationStarters, }: AgentConversationStartersProps) => JSX.Element;
3
+ export declare const ConversationStarters: ({ isAgentDefault, onConversationStarterClick, userDefinedConversationStarters, }: AgentConversationStartersProps) => React.JSX.Element;
@@ -1,2 +1,2 @@
1
1
  /// <reference types="react" />
2
- export declare const AgentProfileCardLazy: import("react").LazyExoticComponent<({ agent, isLoading, isCreatedByViewingUser, cloudId, onChatClick, product, hasError, errorType, onConversationStartersClick, resourceClient, addFlag, }: import("../../types").AgentProfileCardProps) => JSX.Element>;
2
+ export declare const AgentProfileCardLazy: import("react").LazyExoticComponent<({ agent, isLoading, isCreatedByViewingUser, cloudId, onChatClick, product, hasError, errorType, onConversationStartersClick, resourceClient, addFlag, }: import("../../types").AgentProfileCardProps) => import("react").JSX.Element>;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const AccessLockSVG: () => JSX.Element;
1
+ import React from 'react';
2
+ declare const AccessLockSVG: () => React.JSX.Element;
3
3
  export default AccessLockSVG;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const ErrorIllustration: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const ErrorIllustration: () => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
3
3
  import { type ProfileCardErrorType } from '../../types';
4
4
  interface Props {
@@ -6,5 +6,5 @@ interface Props {
6
6
  errorType?: ProfileCardErrorType;
7
7
  fireAnalytics: (payload: AnalyticsEventPayload) => void;
8
8
  }
9
- declare const ErrorMessage: (props: Props) => JSX.Element;
9
+ declare const ErrorMessage: (props: Props) => React.JSX.Element;
10
10
  export default ErrorMessage;
@@ -7,6 +7,6 @@ export default class IconLabel extends React.PureComponent<Props> {
7
7
  static defaultProps: {
8
8
  icon: string;
9
9
  };
10
- render(): JSX.Element | null;
10
+ render(): React.JSX.Element | null;
11
11
  }
12
12
  export {};
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AnalyticsFunction } from '../../types';
3
3
  declare const _default: (props: {
4
4
  analytics: AnalyticsFunction;
5
- }) => JSX.Element;
5
+ }) => React.JSX.Element;
6
6
  export default _default;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AnalyticsFunction } from '../../types';
3
3
  declare const _default: (props: {
4
4
  analytics: AnalyticsFunction;
5
- }) => JSX.Element;
5
+ }) => React.JSX.Element;
6
6
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { TeamProfilecardProps } from '../../types';
3
- declare const TeamProfileCard: (props: TeamProfilecardProps) => JSX.Element | null;
3
+ declare const TeamProfileCard: (props: TeamProfilecardProps) => React.JSX.Element | null;
4
4
  export default TeamProfileCard;
@@ -40,11 +40,11 @@ export declare class TeamProfileCardTriggerInternal extends React.PureComponent<
40
40
  handleClientSuccess(team: Team, shouldShowGiveKudos: boolean, teamCentralBaseUrl: string | undefined): void;
41
41
  handleClientError(err: any): void;
42
42
  filterActions(): ProfileCardAction[];
43
- renderProfileCard: () => JSX.Element;
44
- renderKudosLauncher: () => false | JSX.Element | undefined;
45
- renderTrigger: (triggerProps: TriggerProps) => JSX.Element;
46
- renderPopup(): string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
47
- render(): string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
43
+ renderProfileCard: () => React.JSX.Element;
44
+ renderKudosLauncher: () => false | React.JSX.Element | undefined;
45
+ renderTrigger: (triggerProps: TriggerProps) => React.JSX.Element;
46
+ renderPopup(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
47
+ render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
48
48
  }
49
49
  declare const _default: React.ForwardRefExoticComponent<Pick<Omit<TeamProfileCardTriggerProps & AnalyticsProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, never> & {
50
50
  cloudId?: string | undefined;
@@ -1,2 +1,2 @@
1
1
  /// <reference types="react" />
2
- export declare const TeamProfileCardLazy: import("react").LazyExoticComponent<(props: import("../../types").TeamProfilecardProps) => JSX.Element | null>;
2
+ export declare const TeamProfileCardLazy: import("react").LazyExoticComponent<(props: import("../../types").TeamProfilecardProps) => import("react").JSX.Element | null>;
@@ -5,5 +5,5 @@ type OverflowButtonsProps = {
5
5
  onItemClick: (action: ProfileCardAction, args: any, event: React.MouseEvent | React.KeyboardEvent, index: number) => void;
6
6
  } & AnalyticsWithDurationProps;
7
7
  export declare const ACTION_OVERFLOW_THRESHOLD = 2;
8
- export declare const OverflowProfileCardButtons: (props: OverflowButtonsProps) => JSX.Element;
8
+ export declare const OverflowProfileCardButtons: (props: OverflowButtonsProps) => React.JSX.Element;
9
9
  export {};
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { type AnalyticsProps, type ProfilecardProps } from '../../types';
3
- export declare const ProfilecardInternal: (props: ProfilecardProps & AnalyticsProps) => JSX.Element | null;
3
+ export declare const ProfilecardInternal: (props: ProfilecardProps & AnalyticsProps) => React.JSX.Element | null;
4
4
  declare const _default: React.ForwardRefExoticComponent<Omit<ProfilecardProps & AnalyticsProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any>>;
5
5
  export default _default;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AnalyticsWithDurationProps, type ProfilecardProps } from '../../types';
3
- export declare const ProfileCardDetails: (props: ProfilecardProps & AnalyticsWithDurationProps) => JSX.Element;
3
+ export declare const ProfileCardDetails: (props: ProfilecardProps & AnalyticsWithDurationProps) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type ProfileCardTriggerProps } from '../../types';
3
- export default function ProfilecardTriggerNext({ autoFocus, trigger, userId, cloudId, resourceClient, actions, position, children, testId, addFlag, onReportingLinesClick, ariaLabel, ariaLabelledBy, prepopulatedData, disabledAriaAttributes, onVisibilityChange, offset, viewingUserId, product, agentActions, ariaHideProfileTrigger, }: ProfileCardTriggerProps): JSX.Element;
3
+ export default function ProfilecardTriggerNext({ autoFocus, trigger, userId, cloudId, resourceClient, actions, position, children, testId, addFlag, onReportingLinesClick, ariaLabel, ariaLabelledBy, prepopulatedData, disabledAriaAttributes, onVisibilityChange, offset, viewingUserId, product, agentActions, ariaHideProfileTrigger, }: ProfileCardTriggerProps): React.JSX.Element;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AnalyticsWithDurationProps, type ProfilecardProps } from '../../types';
3
3
  export type ReportingLinesDetailsProps = Pick<ProfilecardProps, 'reportingLines' | 'reportingLinesProfileUrl' | 'onReportingLinesClick'> & AnalyticsWithDurationProps;
4
- declare const ReportingLinesDetails: (props: ReportingLinesDetailsProps) => JSX.Element;
4
+ declare const ReportingLinesDetails: (props: ReportingLinesDetailsProps) => React.JSX.Element;
5
5
  export default ReportingLinesDetails;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
3
3
  interface AnalyticsProps {
4
4
  fireAnalytics: (payload: AnalyticsEventPayload) => void;
5
5
  }
6
- declare const UserLoadingState: ({ fireAnalytics }: AnalyticsProps) => JSX.Element;
6
+ declare const UserLoadingState: ({ fireAnalytics }: AnalyticsProps) => React.JSX.Element;
7
7
  export default UserLoadingState;
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
3
3
  import { type ProfileType } from '../../types';
4
4
  interface AnalyticsProps {
5
5
  fireAnalytics?: (payload: AnalyticsEventPayload) => void;
6
6
  profileType: ProfileType;
7
7
  }
8
- export declare const LoadingState: ({ fireAnalytics, profileType }: AnalyticsProps) => JSX.Element;
8
+ export declare const LoadingState: ({ fireAnalytics, profileType }: AnalyticsProps) => React.JSX.Element;
9
9
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type ProfileCardTriggerProps } from './types';
3
- declare function ProfileCardTrigger<T>({ trigger, ariaLabelledBy, children, renderProfileCard, fetchProfile, disabledAriaAttributes, profileCardType, fireAnalytics, ...popupProps }: ProfileCardTriggerProps<T>): JSX.Element;
3
+ declare function ProfileCardTrigger<T>({ trigger, ariaLabelledBy, children, renderProfileCard, fetchProfile, disabledAriaAttributes, profileCardType, fireAnalytics, ...popupProps }: ProfileCardTriggerProps<T>): React.JSX.Element;
4
4
  export default ProfileCardTrigger;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  export declare const ProfileCardWrapper: ({ children }: {
3
3
  children: React.ReactNode;
4
- }) => JSX.Element;
4
+ }) => React.JSX.Element;
@@ -1,70 +1,70 @@
1
1
  import React from 'react';
2
2
  export declare const CardWrapper: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: React.ElementType<any> | undefined;
4
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
5
5
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
6
  export declare const ProfileImage: import("@emotion/styled").StyledComponent<{
7
7
  theme?: import("@emotion/react").Theme | undefined;
8
- as?: React.ElementType<any> | undefined;
8
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
9
9
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
10
  export declare const ActionsFlexSpacer: import("@emotion/styled").StyledComponent<{
11
11
  theme?: import("@emotion/react").Theme | undefined;
12
- as?: React.ElementType<any> | undefined;
12
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
13
13
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
14
  export declare const KudosBlobAnimationStyle: import("@emotion/styled").StyledComponent<{
15
15
  theme?: import("@emotion/react").Theme | undefined;
16
- as?: React.ElementType<any> | undefined;
16
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
17
17
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
18
  export declare const KudosBlobAnimation: React.FC;
19
19
  export declare const AnimationWrapper: import("@emotion/styled").StyledComponent<{
20
20
  theme?: import("@emotion/react").Theme | undefined;
21
- as?: React.ElementType<any> | undefined;
21
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
22
22
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
23
23
  export declare const AnimatedKudosButton: import("@emotion/styled").StyledComponent<{
24
24
  theme?: import("@emotion/react").Theme | undefined;
25
- as?: React.ElementType<any> | undefined;
25
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
26
26
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
27
27
  export declare const ActionButtonGroup: import("@emotion/styled").StyledComponent<{
28
28
  theme?: import("@emotion/react").Theme | undefined;
29
- as?: React.ElementType<any> | undefined;
29
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
30
30
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
31
31
  export declare const OverflowActionButtonsWrapper: import("@emotion/styled").StyledComponent<{
32
32
  theme?: import("@emotion/react").Theme | undefined;
33
- as?: React.ElementType<any> | undefined;
33
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
34
34
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
35
35
  export declare const CardContent: import("@emotion/styled").StyledComponent<{
36
36
  theme?: import("@emotion/react").Theme | undefined;
37
- as?: React.ElementType<any> | undefined;
37
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
38
38
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
39
39
  export declare const DetailsGroup: import("@emotion/styled").StyledComponent<{
40
40
  theme?: import("@emotion/react").Theme | undefined;
41
- as?: React.ElementType<any> | undefined;
41
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
42
42
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
43
43
  export declare const DisabledInfo: import("@emotion/styled").StyledComponent<{
44
44
  theme?: import("@emotion/react").Theme | undefined;
45
- as?: React.ElementType<any> | undefined;
45
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
46
46
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
47
47
  export declare const LozengeWrapper: import("@emotion/styled").StyledComponent<{
48
48
  theme?: import("@emotion/react").Theme | undefined;
49
- as?: React.ElementType<any> | undefined;
49
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
50
50
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
51
51
  export declare const CustomLozengeContainer: import("@emotion/styled").StyledComponent<{
52
52
  theme?: import("@emotion/react").Theme | undefined;
53
- as?: React.ElementType<any> | undefined;
53
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
54
54
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
55
55
  theme?: import("@emotion/react").Theme | undefined;
56
56
  }, {}, {}>;
57
57
  export declare const JobTitleLabel: import("@emotion/styled").StyledComponent<{
58
58
  theme?: import("@emotion/react").Theme | undefined;
59
- as?: React.ElementType<any> | undefined;
59
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
60
60
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
61
61
  export declare const AppTitleLabel: import("@emotion/styled").StyledComponent<{
62
62
  theme?: import("@emotion/react").Theme | undefined;
63
- as?: React.ElementType<any> | undefined;
63
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
64
64
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
65
65
  export declare const SpinnerContainer: import("@emotion/styled").StyledComponent<{
66
66
  theme?: import("@emotion/react").Theme | undefined;
67
- as?: React.ElementType<any> | undefined;
67
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
68
68
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
69
69
  interface CardContainerProps {
70
70
  isDisabledUser?: boolean;
@@ -72,18 +72,18 @@ interface CardContainerProps {
72
72
  }
73
73
  export declare const CardContainer: import("@emotion/styled").StyledComponent<{
74
74
  theme?: import("@emotion/react").Theme | undefined;
75
- as?: React.ElementType<any> | undefined;
75
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
76
76
  } & CardContainerProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
77
77
  export declare const DetailsLabel: import("@emotion/styled").StyledComponent<{
78
78
  theme?: import("@emotion/react").Theme | undefined;
79
- as?: React.ElementType<any> | undefined;
79
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
80
80
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
81
81
  export declare const DetailsLabelIcon: import("@emotion/styled").StyledComponent<{
82
82
  theme?: import("@emotion/react").Theme | undefined;
83
- as?: React.ElementType<any> | undefined;
83
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
84
84
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
85
85
  export declare const DetailsLabelText: import("@emotion/styled").StyledComponent<{
86
86
  theme?: import("@emotion/react").Theme | undefined;
87
- as?: React.ElementType<any> | undefined;
87
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
88
88
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
89
89
  export {};
@@ -1,13 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  export declare const ErrorWrapper: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
6
  export declare const ErrorTitle: import("@emotion/styled").StyledComponent<{
7
7
  theme?: import("@emotion/react").Theme | undefined;
8
- as?: import("react").ElementType<any> | undefined;
8
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
9
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
10
10
  export declare const TeamErrorText: import("@emotion/styled").StyledComponent<{
11
11
  theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
12
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
13
13
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;