@atlaskit/profilecard 23.21.11 → 23.21.12

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 (46) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/afm-rovo-extension/tsconfig.json +111 -0
  3. package/afm-townsquare/tsconfig.json +111 -0
  4. package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
  5. package/dist/cjs/client/getTeamFromAGG.js +1 -1
  6. package/dist/cjs/components/Agent/Actions.js +2 -0
  7. package/dist/cjs/components/Agent/AgentDeleteConfirmationModal.js +2 -0
  8. package/dist/cjs/components/Agent/AgentProfileCard.js +2 -0
  9. package/dist/cjs/components/Agent/AgentProfileCardWrapper.js +2 -0
  10. package/dist/cjs/components/Agent/ConversationStarters.js +2 -0
  11. package/dist/cjs/components/Error/ErrorMessage.js +2 -0
  12. package/dist/cjs/components/Team/TeamProfileCardTrigger.js +1 -1
  13. package/dist/cjs/components/User/ProfileCardDetails.js +1 -1
  14. package/dist/cjs/components/User/ReportingLinesDetails.js +1 -0
  15. package/dist/cjs/components/common/ProfileCardWrapper.js +2 -0
  16. package/dist/cjs/components/team-profile-card/team-actions/more-actions/index.js +2 -0
  17. package/dist/cjs/util/analytics.js +1 -1
  18. package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
  19. package/dist/es2019/client/getTeamFromAGG.js +1 -1
  20. package/dist/es2019/components/Agent/Actions.js +1 -0
  21. package/dist/es2019/components/Agent/AgentDeleteConfirmationModal.js +1 -0
  22. package/dist/es2019/components/Agent/AgentProfileCard.js +1 -0
  23. package/dist/es2019/components/Agent/AgentProfileCardWrapper.js +2 -0
  24. package/dist/es2019/components/Agent/ConversationStarters.js +2 -0
  25. package/dist/es2019/components/Error/ErrorMessage.js +1 -0
  26. package/dist/es2019/components/Team/TeamProfileCardTrigger.js +1 -0
  27. package/dist/es2019/components/User/ProfileCardDetails.js +1 -0
  28. package/dist/es2019/components/User/ReportingLinesDetails.js +1 -0
  29. package/dist/es2019/components/common/ProfileCardWrapper.js +2 -0
  30. package/dist/es2019/components/team-profile-card/team-actions/more-actions/index.js +1 -0
  31. package/dist/es2019/util/analytics.js +1 -1
  32. package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
  33. package/dist/esm/client/getTeamFromAGG.js +1 -1
  34. package/dist/esm/components/Agent/Actions.js +1 -0
  35. package/dist/esm/components/Agent/AgentDeleteConfirmationModal.js +1 -0
  36. package/dist/esm/components/Agent/AgentProfileCard.js +1 -0
  37. package/dist/esm/components/Agent/AgentProfileCardWrapper.js +2 -0
  38. package/dist/esm/components/Agent/ConversationStarters.js +2 -0
  39. package/dist/esm/components/Error/ErrorMessage.js +1 -0
  40. package/dist/esm/components/Team/TeamProfileCardTrigger.js +1 -0
  41. package/dist/esm/components/User/ProfileCardDetails.js +1 -0
  42. package/dist/esm/components/User/ReportingLinesDetails.js +1 -0
  43. package/dist/esm/components/common/ProfileCardWrapper.js +2 -0
  44. package/dist/esm/components/team-profile-card/team-actions/more-actions/index.js +1 -0
  45. package/dist/esm/util/analytics.js +1 -1
  46. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 23.21.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 23.21.11
4
10
 
5
11
  ### Patch Changes
@@ -0,0 +1,111 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.rovo-extension.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../rovo-extension/tsDist/@atlaskit__profilecard/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*"
18
+ ],
19
+ "references": [
20
+ {
21
+ "path": "../../../analytics/analytics-next/afm-rovo-extension/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../../uip/atlassian-context/afm-rovo-extension/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../../design-system/avatar/afm-rovo-extension/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../../design-system/avatar-group/afm-rovo-extension/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../../design-system/button/afm-rovo-extension/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../design-system/css/afm-rovo-extension/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../../design-system/dropdown-menu/afm-rovo-extension/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../../design-system/empty-state/afm-rovo-extension/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../../measurement/feature-gate-js-client/afm-rovo-extension/tsconfig.json"
46
+ },
47
+ {
48
+ "path": "../../../team-central/give-kudos/afm-rovo-extension/tsconfig.json"
49
+ },
50
+ {
51
+ "path": "../../../design-system/heading/afm-rovo-extension/tsconfig.json"
52
+ },
53
+ {
54
+ "path": "../../../design-system/icon/afm-rovo-extension/tsconfig.json"
55
+ },
56
+ {
57
+ "path": "../../../design-system/link/afm-rovo-extension/tsconfig.json"
58
+ },
59
+ {
60
+ "path": "../../../design-system/logo/afm-rovo-extension/tsconfig.json"
61
+ },
62
+ {
63
+ "path": "../../../design-system/lozenge/afm-rovo-extension/tsconfig.json"
64
+ },
65
+ {
66
+ "path": "../../../design-system/menu/afm-rovo-extension/tsconfig.json"
67
+ },
68
+ {
69
+ "path": "../../../design-system/modal-dialog/afm-rovo-extension/tsconfig.json"
70
+ },
71
+ {
72
+ "path": "../../people-teams-ui-public/afm-rovo-extension/tsconfig.json"
73
+ },
74
+ {
75
+ "path": "../../../platform/feature-flags/afm-rovo-extension/tsconfig.json"
76
+ },
77
+ {
78
+ "path": "../../../design-system/popup/afm-rovo-extension/tsconfig.json"
79
+ },
80
+ {
81
+ "path": "../../../design-system/primitives/afm-rovo-extension/tsconfig.json"
82
+ },
83
+ {
84
+ "path": "../../../ai-mate/rovo-agent-components/afm-rovo-extension/tsconfig.json"
85
+ },
86
+ {
87
+ "path": "../../../ai-mate/rovo-triggers/afm-rovo-extension/tsconfig.json"
88
+ },
89
+ {
90
+ "path": "../../../design-system/spinner/afm-rovo-extension/tsconfig.json"
91
+ },
92
+ {
93
+ "path": "../../teams-app-config/afm-rovo-extension/tsconfig.json"
94
+ },
95
+ {
96
+ "path": "../../teams-avatar/afm-rovo-extension/tsconfig.json"
97
+ },
98
+ {
99
+ "path": "../../teams-public/afm-rovo-extension/tsconfig.json"
100
+ },
101
+ {
102
+ "path": "../../../design-system/theme/afm-rovo-extension/tsconfig.json"
103
+ },
104
+ {
105
+ "path": "../../../design-system/tokens/afm-rovo-extension/tsconfig.json"
106
+ },
107
+ {
108
+ "path": "../../../design-system/tooltip/afm-rovo-extension/tsconfig.json"
109
+ }
110
+ ]
111
+ }
@@ -0,0 +1,111 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.townsquare.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../townsquare/tsDist/@atlaskit__profilecard/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*"
18
+ ],
19
+ "references": [
20
+ {
21
+ "path": "../../../analytics/analytics-next/afm-townsquare/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../../uip/atlassian-context/afm-townsquare/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../../design-system/avatar/afm-townsquare/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../../design-system/avatar-group/afm-townsquare/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../../design-system/button/afm-townsquare/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../design-system/css/afm-townsquare/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../../design-system/dropdown-menu/afm-townsquare/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../../design-system/empty-state/afm-townsquare/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../../measurement/feature-gate-js-client/afm-townsquare/tsconfig.json"
46
+ },
47
+ {
48
+ "path": "../../../team-central/give-kudos/afm-townsquare/tsconfig.json"
49
+ },
50
+ {
51
+ "path": "../../../design-system/heading/afm-townsquare/tsconfig.json"
52
+ },
53
+ {
54
+ "path": "../../../design-system/icon/afm-townsquare/tsconfig.json"
55
+ },
56
+ {
57
+ "path": "../../../design-system/link/afm-townsquare/tsconfig.json"
58
+ },
59
+ {
60
+ "path": "../../../design-system/logo/afm-townsquare/tsconfig.json"
61
+ },
62
+ {
63
+ "path": "../../../design-system/lozenge/afm-townsquare/tsconfig.json"
64
+ },
65
+ {
66
+ "path": "../../../design-system/menu/afm-townsquare/tsconfig.json"
67
+ },
68
+ {
69
+ "path": "../../../design-system/modal-dialog/afm-townsquare/tsconfig.json"
70
+ },
71
+ {
72
+ "path": "../../people-teams-ui-public/afm-townsquare/tsconfig.json"
73
+ },
74
+ {
75
+ "path": "../../../platform/feature-flags/afm-townsquare/tsconfig.json"
76
+ },
77
+ {
78
+ "path": "../../../design-system/popup/afm-townsquare/tsconfig.json"
79
+ },
80
+ {
81
+ "path": "../../../design-system/primitives/afm-townsquare/tsconfig.json"
82
+ },
83
+ {
84
+ "path": "../../../ai-mate/rovo-agent-components/afm-townsquare/tsconfig.json"
85
+ },
86
+ {
87
+ "path": "../../../ai-mate/rovo-triggers/afm-townsquare/tsconfig.json"
88
+ },
89
+ {
90
+ "path": "../../../design-system/spinner/afm-townsquare/tsconfig.json"
91
+ },
92
+ {
93
+ "path": "../../teams-app-config/afm-townsquare/tsconfig.json"
94
+ },
95
+ {
96
+ "path": "../../teams-avatar/afm-townsquare/tsconfig.json"
97
+ },
98
+ {
99
+ "path": "../../teams-public/afm-townsquare/tsconfig.json"
100
+ },
101
+ {
102
+ "path": "../../../design-system/theme/afm-townsquare/tsconfig.json"
103
+ },
104
+ {
105
+ "path": "../../../design-system/tokens/afm-townsquare/tsconfig.json"
106
+ },
107
+ {
108
+ "path": "../../../design-system/tooltip/afm-townsquare/tsconfig.json"
109
+ }
110
+ ]
111
+ }
@@ -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', "23.21.10");
14
+ headers.append('atl-client-version', "23.21.11");
15
15
  return headers;
16
16
  };
17
17
  function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -65,7 +65,7 @@ var addHeaders = exports.addHeaders = function addHeaders(headers) {
65
65
  headers.append('X-ExperimentalApi', 'teams-beta');
66
66
  headers.append('X-ExperimentalApi', 'team-members-beta');
67
67
  headers.append('atl-client-name', "@atlaskit/profilecard");
68
- headers.append('atl-client-version', "23.21.10");
68
+ headers.append('atl-client-version', "23.21.11");
69
69
  return headers;
70
70
  };
71
71
  function getTeamFromAGG(_x, _x2, _x3) {
@@ -16,6 +16,8 @@ var _primitives = require("@atlaskit/primitives");
16
16
  var _rovoAgentComponents = require("@atlaskit/rovo-agent-components");
17
17
  var _AgentDeleteConfirmationModal = require("./AgentDeleteConfirmationModal");
18
18
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
19
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
20
+
19
21
  var chatToAgentButtonContainer = (0, _primitives.xcss)({
20
22
  width: '100%'
21
23
  });
@@ -14,6 +14,8 @@ var _new = _interopRequireDefault(require("@atlaskit/button/new"));
14
14
  var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
15
15
  var _primitives = require("@atlaskit/primitives");
16
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
17
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
18
+
17
19
  var AgentDeleteConfirmationModal = exports.AgentDeleteConfirmationModal = function AgentDeleteConfirmationModal(_ref) {
18
20
  var onClose = _ref.onClose,
19
21
  agentName = _ref.agentName,
@@ -23,6 +23,8 @@ var _ConversationStarters = require("./ConversationStarters");
23
23
  var _useAgentActions = require("./hooks/useAgentActions");
24
24
  var _messages = require("./messages");
25
25
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
26
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
27
+
26
28
  var styles = (0, _primitives.xcss)({
27
29
  paddingBlockStart: 'space.400',
28
30
  paddingInline: 'space.200'
@@ -7,6 +7,8 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.AgentProfileCardWrapper = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _primitives = require("@atlaskit/primitives");
10
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
11
+
10
12
  var styles = (0, _primitives.xcss)({
11
13
  width: '360px'
12
14
  });
@@ -8,6 +8,8 @@ exports.ConversationStarters = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _primitives = require("@atlaskit/primitives");
10
10
  var _rovoAgentComponents = require("@atlaskit/rovo-agent-components");
11
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
12
+
11
13
  var ConversationStarters = exports.ConversationStarters = function ConversationStarters(_ref) {
12
14
  var isAgentDefault = _ref.isAgentDefault,
13
15
  onConversationStarterClick = _ref.onConversationStarterClick,
@@ -14,6 +14,8 @@ var _primitives = require("@atlaskit/primitives");
14
14
  var _Error = require("../../styled/Error");
15
15
  var _analytics = require("../../util/analytics");
16
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
17
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
18
+
17
19
  var ErrorMessage = function ErrorMessage(props) {
18
20
  var errorType = props.errorType || {
19
21
  reason: 'default'
@@ -33,7 +33,7 @@ var _lazyTeamProfileCard = require("./lazyTeamProfileCard");
33
33
  var _TeamLoadingState = _interopRequireDefault(require("./TeamLoadingState"));
34
34
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
35
35
  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)); }
36
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
36
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
37
37
  var TeamProfileCardTriggerInternal = exports.TeamProfileCardTriggerInternal = /*#__PURE__*/function (_React$PureComponent) {
38
38
  function TeamProfileCardTriggerInternal() {
39
39
  var _this;
@@ -22,7 +22,7 @@ var _messages = _interopRequireDefault(require("../../messages"));
22
22
  var _Card = require("../../styled/Card");
23
23
  var _Icon = require("../Icon");
24
24
  var _ReportingLinesDetails = _interopRequireDefault(require("./ReportingLinesDetails"));
25
- var _excluded = ["text"];
25
+ var _excluded = ["text"]; // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
26
26
  var styles = {
27
27
  detailedListWrapper: "_19pkze3t _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
28
28
  detailedListWrapperNext: "_19pkxy5q _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
@@ -17,6 +17,7 @@ var _compiled = require("@atlaskit/primitives/compiled");
17
17
  var _messages = _interopRequireDefault(require("../../messages"));
18
18
  var _ReportingLines = require("../../styled/ReportingLines");
19
19
  var _analytics = require("../../util/analytics");
20
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
20
21
  function getProfileHref(userId, profileUrl) {
21
22
  return profileUrl ? profileUrl + userId : undefined;
22
23
  }
@@ -7,6 +7,8 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.ProfileCardWrapper = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _primitives = require("@atlaskit/primitives");
10
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
11
+
10
12
  var styles = (0, _primitives.xcss)({
11
13
  width: '360px'
12
14
  });
@@ -17,6 +17,8 @@ var _popup = _interopRequireDefault(require("@atlaskit/popup"));
17
17
  var _primitives = require("@atlaskit/primitives");
18
18
  var _messages = require("./messages");
19
19
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
20
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
21
+
20
22
  var MoreActions = exports.MoreActions = function MoreActions(_ref) {
21
23
  var actions = _ref.actions,
22
24
  loading = _ref.loading;
@@ -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: "23.21.10"
48
+ packageVersion: "23.21.11"
49
49
  }, attributes), {}, {
50
50
  firedAt: Math.round((0, _performance.getPageTime)())
51
51
  })
@@ -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', "23.21.10");
9
+ headers.append('atl-client-version', "23.21.11");
10
10
  return headers;
11
11
  };
12
12
  export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
@@ -74,7 +74,7 @@ export const addHeaders = headers => {
74
74
  headers.append('X-ExperimentalApi', 'teams-beta');
75
75
  headers.append('X-ExperimentalApi', 'team-members-beta');
76
76
  headers.append('atl-client-name', "@atlaskit/profilecard");
77
- headers.append('atl-client-version', "23.21.10");
77
+ headers.append('atl-client-version', "23.21.11");
78
78
  return headers;
79
79
  };
80
80
  export async function getTeamFromAGG(url, teamId, siteId) {
@@ -1,6 +1,7 @@
1
1
  import React, { useCallback, useState } from 'react';
2
2
  import { defineMessages, useIntl } from 'react-intl-next';
3
3
  import Button from '@atlaskit/button/new';
4
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
4
5
  import { Box, Inline, xcss } from '@atlaskit/primitives';
5
6
  import { AgentDropdownMenu, ChatPillIcon } from '@atlaskit/rovo-agent-components';
6
7
  import { AgentDeleteConfirmationModal } from './AgentDeleteConfirmationModal';
@@ -2,6 +2,7 @@ import React, { useCallback } from 'react';
2
2
  import { defineMessages, useIntl } from 'react-intl-next';
3
3
  import Button from '@atlaskit/button/new';
4
4
  import Modal, { ModalBody, ModalFooter, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
5
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
5
6
  import { Text } from '@atlaskit/primitives';
6
7
  export const AgentDeleteConfirmationModal = ({
7
8
  onClose,
@@ -1,6 +1,7 @@
1
1
  import React, { useCallback, useEffect, useState } from 'react';
2
2
  import { useIntl } from 'react-intl-next';
3
3
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
4
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
4
5
  import { Box, Stack, xcss } from '@atlaskit/primitives';
5
6
  import { AgentAvatar, AgentBanner, AgentProfileCreator, AgentProfileInfo, AgentStarCount } from '@atlaskit/rovo-agent-components';
6
7
  import { fireEvent, profileCardRendered } from '../../util/analytics';
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
+
3
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
2
4
  import { Box, xcss } from '@atlaskit/primitives';
3
5
  const styles = xcss({
4
6
  width: '360px'
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
+
3
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
2
4
  import { Stack } from '@atlaskit/primitives';
3
5
  import { AgentConversationStarters } from '@atlaskit/rovo-agent-components';
4
6
  export const ConversationStarters = ({
@@ -2,6 +2,7 @@ import React, { useEffect } from 'react';
2
2
  import Button from '@atlaskit/button/new';
3
3
  import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
4
4
  import IconError from '@atlaskit/icon/glyph/cross-circle';
5
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
5
6
  import { Text } from '@atlaskit/primitives';
6
7
  import { ErrorTitle, ErrorWrapper } from '../../styled/Error';
7
8
  import { profileCardRendered } from '../../util/analytics';
@@ -6,6 +6,7 @@ import { withAnalyticsEvents } from '@atlaskit/analytics-next';
6
6
  import { GiveKudosLauncherLazy, KudosType } from '@atlaskit/give-kudos';
7
7
  import { fg } from '@atlaskit/platform-feature-flags';
8
8
  import Popup from '@atlaskit/popup';
9
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
9
10
  import { Box } from '@atlaskit/primitives';
10
11
  import { layers } from '@atlaskit/theme/constants';
11
12
  import filterActions from '../../internal/filterActions';
@@ -7,6 +7,7 @@ import { cx } from '@compiled/react';
7
7
  import { FormattedMessage } from 'react-intl-next';
8
8
  import Lozenge from '@atlaskit/lozenge';
9
9
  import { fg } from '@atlaskit/platform-feature-flags';
10
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
10
11
  import { Text } from '@atlaskit/primitives';
11
12
  import { Box } from '@atlaskit/primitives/compiled';
12
13
  import relativeDate from '../../internal/relative-date';
@@ -5,6 +5,7 @@ import React from 'react';
5
5
  import { FormattedMessage, useIntl } from 'react-intl-next';
6
6
  import Avatar from '@atlaskit/avatar';
7
7
  import AvatarGroup from '@atlaskit/avatar-group';
8
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
8
9
  import { Box, xcss } from '@atlaskit/primitives';
9
10
  import { Pressable } from '@atlaskit/primitives/compiled';
10
11
  import messages from '../../messages';
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
+
3
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
2
4
  import { Box, xcss } from '@atlaskit/primitives';
3
5
  const styles = xcss({
4
6
  width: '360px'
@@ -5,6 +5,7 @@ import { IconButton } from '@atlaskit/button/new';
5
5
  import MoreIcon from '@atlaskit/icon/core/migration/show-more-horizontal--more';
6
6
  import { MenuGroup, Section } from '@atlaskit/menu';
7
7
  import Popup from '@atlaskit/popup';
8
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
8
9
  import { Box } from '@atlaskit/primitives';
9
10
  import { messages } from './messages';
10
11
  export const MoreActions = ({
@@ -32,7 +32,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
32
32
  actionSubjectId,
33
33
  attributes: {
34
34
  packageName: "@atlaskit/profilecard",
35
- packageVersion: "23.21.10",
35
+ packageVersion: "23.21.11",
36
36
  ...attributes,
37
37
  firedAt: Math.round(getPageTime())
38
38
  }
@@ -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', "23.21.10");
7
+ headers.append('atl-client-version', "23.21.11");
8
8
  return headers;
9
9
  };
10
10
  export function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -56,7 +56,7 @@ export var addHeaders = function addHeaders(headers) {
56
56
  headers.append('X-ExperimentalApi', 'teams-beta');
57
57
  headers.append('X-ExperimentalApi', 'team-members-beta');
58
58
  headers.append('atl-client-name', "@atlaskit/profilecard");
59
- headers.append('atl-client-version', "23.21.10");
59
+ headers.append('atl-client-version', "23.21.11");
60
60
  return headers;
61
61
  };
62
62
  export function getTeamFromAGG(_x, _x2, _x3) {
@@ -4,6 +4,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
4
4
  import React, { useCallback, useState } from 'react';
5
5
  import { defineMessages, useIntl } from 'react-intl-next';
6
6
  import Button from '@atlaskit/button/new';
7
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
7
8
  import { Box, Inline, xcss } from '@atlaskit/primitives';
8
9
  import { AgentDropdownMenu, ChatPillIcon } from '@atlaskit/rovo-agent-components';
9
10
  import { AgentDeleteConfirmationModal } from './AgentDeleteConfirmationModal';
@@ -4,6 +4,7 @@ import React, { useCallback } from 'react';
4
4
  import { defineMessages, useIntl } from 'react-intl-next';
5
5
  import Button from '@atlaskit/button/new';
6
6
  import Modal, { ModalBody, ModalFooter, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
7
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
7
8
  import { Text } from '@atlaskit/primitives';
8
9
  export var AgentDeleteConfirmationModal = function AgentDeleteConfirmationModal(_ref) {
9
10
  var onClose = _ref.onClose,
@@ -4,6 +4,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
4
4
  import React, { useCallback, useEffect, useState } from 'react';
5
5
  import { useIntl } from 'react-intl-next';
6
6
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
7
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
7
8
  import { Box, Stack, xcss } from '@atlaskit/primitives';
8
9
  import { AgentAvatar, AgentBanner, AgentProfileCreator, AgentProfileInfo, AgentStarCount } from '@atlaskit/rovo-agent-components';
9
10
  import { fireEvent, profileCardRendered } from '../../util/analytics';
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
+
3
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
2
4
  import { Box, xcss } from '@atlaskit/primitives';
3
5
  var styles = xcss({
4
6
  width: '360px'
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
+
3
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
2
4
  import { Stack } from '@atlaskit/primitives';
3
5
  import { AgentConversationStarters } from '@atlaskit/rovo-agent-components';
4
6
  export var ConversationStarters = function ConversationStarters(_ref) {
@@ -2,6 +2,7 @@ import React, { useEffect } from 'react';
2
2
  import Button from '@atlaskit/button/new';
3
3
  import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
4
4
  import IconError from '@atlaskit/icon/glyph/cross-circle';
5
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
5
6
  import { Text } from '@atlaskit/primitives';
6
7
  import { ErrorTitle, ErrorWrapper } from '../../styled/Error';
7
8
  import { profileCardRendered } from '../../util/analytics';
@@ -14,6 +14,7 @@ import { withAnalyticsEvents } from '@atlaskit/analytics-next';
14
14
  import { GiveKudosLauncherLazy, KudosType } from '@atlaskit/give-kudos';
15
15
  import { fg } from '@atlaskit/platform-feature-flags';
16
16
  import Popup from '@atlaskit/popup';
17
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
17
18
  import { Box } from '@atlaskit/primitives';
18
19
  import { layers } from '@atlaskit/theme/constants';
19
20
  import _filterActions from '../../internal/filterActions';
@@ -9,6 +9,7 @@ import { cx } from '@compiled/react';
9
9
  import { FormattedMessage } from 'react-intl-next';
10
10
  import Lozenge from '@atlaskit/lozenge';
11
11
  import { fg } from '@atlaskit/platform-feature-flags';
12
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
12
13
  import { Text } from '@atlaskit/primitives';
13
14
  import { Box } from '@atlaskit/primitives/compiled';
14
15
  import relativeDate from '../../internal/relative-date';
@@ -5,6 +5,7 @@ import React from 'react';
5
5
  import { FormattedMessage, useIntl } from 'react-intl-next';
6
6
  import Avatar from '@atlaskit/avatar';
7
7
  import AvatarGroup from '@atlaskit/avatar-group';
8
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
8
9
  import { Box, xcss } from '@atlaskit/primitives';
9
10
  import { Pressable } from '@atlaskit/primitives/compiled';
10
11
  import messages from '../../messages';
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
+
3
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
2
4
  import { Box, xcss } from '@atlaskit/primitives';
3
5
  var styles = xcss({
4
6
  width: '360px'
@@ -6,6 +6,7 @@ import { IconButton } from '@atlaskit/button/new';
6
6
  import MoreIcon from '@atlaskit/icon/core/migration/show-more-horizontal--more';
7
7
  import { MenuGroup, Section } from '@atlaskit/menu';
8
8
  import Popup from '@atlaskit/popup';
9
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
9
10
  import { Box } from '@atlaskit/primitives';
10
11
  import { messages } from './messages';
11
12
  export var MoreActions = function MoreActions(_ref) {
@@ -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: "23.21.10"
42
+ packageVersion: "23.21.11"
43
43
  }, attributes), {}, {
44
44
  firedAt: Math.round(getPageTime())
45
45
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "23.21.11",
3
+ "version": "23.21.12",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -56,7 +56,7 @@
56
56
  "@atlaskit/avatar-group": "^12.1.0",
57
57
  "@atlaskit/button": "^23.2.0",
58
58
  "@atlaskit/css": "^0.12.0",
59
- "@atlaskit/dropdown-menu": "^16.1.0",
59
+ "@atlaskit/dropdown-menu": "^16.2.0",
60
60
  "@atlaskit/empty-state": "^10.1.0",
61
61
  "@atlaskit/feature-gate-js-client": "^5.5.0",
62
62
  "@atlaskit/give-kudos": "^4.3.0",
@@ -71,12 +71,12 @@
71
71
  "@atlaskit/platform-feature-flags": "^1.1.0",
72
72
  "@atlaskit/popup": "^4.3.0",
73
73
  "@atlaskit/primitives": "^14.10.0",
74
- "@atlaskit/rovo-agent-components": "^2.12.0",
74
+ "@atlaskit/rovo-agent-components": "^2.13.0",
75
75
  "@atlaskit/rovo-triggers": "^3.1.0",
76
76
  "@atlaskit/spinner": "^18.0.0",
77
- "@atlaskit/teams-app-config": "^1.9.0",
77
+ "@atlaskit/teams-app-config": "^1.10.0",
78
78
  "@atlaskit/teams-avatar": "^2.3.0",
79
- "@atlaskit/teams-public": "^0.44.0",
79
+ "@atlaskit/teams-public": "^0.45.0",
80
80
  "@atlaskit/theme": "^19.0.0",
81
81
  "@atlaskit/tokens": "^5.5.0",
82
82
  "@atlaskit/tooltip": "^20.3.0",