@atlaskit/profilecard 24.18.1 → 24.19.0

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 24.19.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`f6a1676c5404f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f6a1676c5404f) -
8
+ Update chat to agent button text
9
+
3
10
  ## 24.18.1
4
11
 
5
12
  ### Patch Changes
@@ -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', "24.18.0");
14
+ headers.append('atl-client-version', "24.18.1");
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', "24.18.0");
69
+ headers.append('atl-client-version', "24.18.1");
70
70
  return headers;
71
71
  };
72
72
  function getTeamFromAGG(_x, _x2, _x3) {
@@ -164,9 +164,9 @@ var _AgentActions = function _AgentActions(_ref) {
164
164
  };
165
165
  var messages = (0, _reactIntlNext.defineMessages)({
166
166
  actionChatToAgent: {
167
- id: 'ptc-directory.agent-profile.action.dropdown.chat-to-agent.nonfinal',
168
- defaultMessage: 'Chat to Agent',
169
- description: 'Text for the "chat to agent" action to chat to the agent'
167
+ id: 'ptc-directory.agent-profile.action.dropdown.chat-with-agent',
168
+ defaultMessage: 'Chat with Agent',
169
+ description: 'Text for the "chat with agent" action to chat to the agent'
170
170
  }
171
171
  });
172
172
  var AgentActions = exports.AgentActions = (0, _platformFeatureFlagsReact.componentWithFG)('profilecard_primitives_compiled', _ActionsCompiled.AgentActions, _AgentActions);
@@ -144,8 +144,8 @@ var AgentActions = exports.AgentActions = function AgentActions(_ref) {
144
144
  };
145
145
  var messages = (0, _reactIntlNext.defineMessages)({
146
146
  actionChatToAgent: {
147
- id: 'ptc-directory.agent-profile.action.dropdown.chat-to-agent.nonfinal',
148
- defaultMessage: 'Chat to Agent',
149
- description: 'Text for the "chat to agent" action to chat to the agent'
147
+ id: 'ptc-directory.agent-profile.action.dropdown.chat-with-agent',
148
+ defaultMessage: 'Chat with Agent',
149
+ description: 'Text for the "chat with agent" action to chat to the agent'
150
150
  }
151
151
  });
@@ -133,7 +133,7 @@ function ProfileCardTriggerInner(_ref, ref) {
133
133
  content: function content() {
134
134
  return (
135
135
  /*#__PURE__*/
136
- // eslint-disable-next-line jsx-a11y/no-static-element-interactions
136
+ // eslint-disable-next-line @atlassian/a11y/no-static-element-interactions
137
137
  _react.default.createElement("div", {
138
138
  onMouseEnter: onMouseEnter
139
139
  // eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
@@ -13,7 +13,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
13
13
  var ANALYTICS_CHANNEL = 'peopleTeams';
14
14
  var PACKAGE_META_DATA = exports.PACKAGE_META_DATA = {
15
15
  packageName: "@atlaskit/profilecard",
16
- packageVersion: "24.18.0"
16
+ packageVersion: "24.18.1"
17
17
  };
18
18
  var runItLater = function runItLater(cb) {
19
19
  var requestIdleCallback = window.requestIdleCallback;
@@ -58,7 +58,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
58
58
  actionSubjectId: actionSubjectId,
59
59
  attributes: _objectSpread(_objectSpread({
60
60
  packageName: "@atlaskit/profilecard",
61
- packageVersion: "24.18.0"
61
+ packageVersion: "24.18.1"
62
62
  }, attributes), {}, {
63
63
  firedAt: Math.round((0, _performance.getPageTime)())
64
64
  })
@@ -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', "24.18.0");
9
+ headers.append('atl-client-version', "24.18.1");
10
10
  return headers;
11
11
  };
12
12
  export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
@@ -77,7 +77,7 @@ export const addHeaders = headers => {
77
77
  headers.append('X-ExperimentalApi', 'teams-beta');
78
78
  headers.append('X-ExperimentalApi', 'team-members-beta');
79
79
  headers.append('atl-client-name', "@atlaskit/profilecard");
80
- headers.append('atl-client-version', "24.18.0");
80
+ headers.append('atl-client-version', "24.18.1");
81
81
  return headers;
82
82
  };
83
83
  export async function getTeamFromAGG(url, teamId, siteId) {
@@ -142,9 +142,9 @@ const _AgentActions = ({
142
142
  };
143
143
  const messages = defineMessages({
144
144
  actionChatToAgent: {
145
- id: 'ptc-directory.agent-profile.action.dropdown.chat-to-agent.nonfinal',
146
- defaultMessage: 'Chat to Agent',
147
- description: 'Text for the "chat to agent" action to chat to the agent'
145
+ id: 'ptc-directory.agent-profile.action.dropdown.chat-with-agent',
146
+ defaultMessage: 'Chat with Agent',
147
+ description: 'Text for the "chat with agent" action to chat to the agent'
148
148
  }
149
149
  });
150
150
  export const AgentActions = componentWithFG('profilecard_primitives_compiled', AgentActionsCompiled, _AgentActions);
@@ -121,8 +121,8 @@ export const AgentActions = ({
121
121
  };
122
122
  const messages = defineMessages({
123
123
  actionChatToAgent: {
124
- id: 'ptc-directory.agent-profile.action.dropdown.chat-to-agent.nonfinal',
125
- defaultMessage: 'Chat to Agent',
126
- description: 'Text for the "chat to agent" action to chat to the agent'
124
+ id: 'ptc-directory.agent-profile.action.dropdown.chat-with-agent',
125
+ defaultMessage: 'Chat with Agent',
126
+ description: 'Text for the "chat with agent" action to chat to the agent'
127
127
  }
128
128
  });
@@ -105,7 +105,7 @@ function ProfileCardTriggerInner({
105
105
  },
106
106
  content: () =>
107
107
  /*#__PURE__*/
108
- // eslint-disable-next-line jsx-a11y/no-static-element-interactions
108
+ // eslint-disable-next-line @atlassian/a11y/no-static-element-interactions
109
109
  React.createElement("div", {
110
110
  onMouseEnter: onMouseEnter
111
111
  // eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
@@ -4,7 +4,7 @@ import { getPageTime } from './performance';
4
4
  const ANALYTICS_CHANNEL = 'peopleTeams';
5
5
  export const PACKAGE_META_DATA = {
6
6
  packageName: "@atlaskit/profilecard",
7
- packageVersion: "24.18.0"
7
+ packageVersion: "24.18.1"
8
8
  };
9
9
  const runItLater = cb => {
10
10
  const requestIdleCallback = window.requestIdleCallback;
@@ -45,7 +45,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
45
45
  actionSubjectId,
46
46
  attributes: {
47
47
  packageName: "@atlaskit/profilecard",
48
- packageVersion: "24.18.0",
48
+ packageVersion: "24.18.1",
49
49
  ...attributes,
50
50
  firedAt: Math.round(getPageTime())
51
51
  }
@@ -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', "24.18.0");
7
+ headers.append('atl-client-version', "24.18.1");
8
8
  return headers;
9
9
  };
10
10
  export function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -59,7 +59,7 @@ export var addHeaders = function addHeaders(headers) {
59
59
  headers.append('X-ExperimentalApi', 'teams-beta');
60
60
  headers.append('X-ExperimentalApi', 'team-members-beta');
61
61
  headers.append('atl-client-name', "@atlaskit/profilecard");
62
- headers.append('atl-client-version', "24.18.0");
62
+ headers.append('atl-client-version', "24.18.1");
63
63
  return headers;
64
64
  };
65
65
  export function getTeamFromAGG(_x, _x2, _x3) {
@@ -156,9 +156,9 @@ var _AgentActions = function _AgentActions(_ref) {
156
156
  };
157
157
  var messages = defineMessages({
158
158
  actionChatToAgent: {
159
- id: 'ptc-directory.agent-profile.action.dropdown.chat-to-agent.nonfinal',
160
- defaultMessage: 'Chat to Agent',
161
- description: 'Text for the "chat to agent" action to chat to the agent'
159
+ id: 'ptc-directory.agent-profile.action.dropdown.chat-with-agent',
160
+ defaultMessage: 'Chat with Agent',
161
+ description: 'Text for the "chat with agent" action to chat to the agent'
162
162
  }
163
163
  });
164
164
  export var AgentActions = componentWithFG('profilecard_primitives_compiled', AgentActionsCompiled, _AgentActions);
@@ -135,8 +135,8 @@ export var AgentActions = function AgentActions(_ref) {
135
135
  };
136
136
  var messages = defineMessages({
137
137
  actionChatToAgent: {
138
- id: 'ptc-directory.agent-profile.action.dropdown.chat-to-agent.nonfinal',
139
- defaultMessage: 'Chat to Agent',
140
- description: 'Text for the "chat to agent" action to chat to the agent'
138
+ id: 'ptc-directory.agent-profile.action.dropdown.chat-with-agent',
139
+ defaultMessage: 'Chat with Agent',
140
+ description: 'Text for the "chat with agent" action to chat to the agent'
141
141
  }
142
142
  });
@@ -124,7 +124,7 @@ function ProfileCardTriggerInner(_ref, ref) {
124
124
  content: function content() {
125
125
  return (
126
126
  /*#__PURE__*/
127
- // eslint-disable-next-line jsx-a11y/no-static-element-interactions
127
+ // eslint-disable-next-line @atlassian/a11y/no-static-element-interactions
128
128
  React.createElement("div", {
129
129
  onMouseEnter: onMouseEnter
130
130
  // eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
@@ -7,7 +7,7 @@ import { getPageTime } from './performance';
7
7
  var ANALYTICS_CHANNEL = 'peopleTeams';
8
8
  export var PACKAGE_META_DATA = {
9
9
  packageName: "@atlaskit/profilecard",
10
- packageVersion: "24.18.0"
10
+ packageVersion: "24.18.1"
11
11
  };
12
12
  var runItLater = function runItLater(cb) {
13
13
  var requestIdleCallback = window.requestIdleCallback;
@@ -52,7 +52,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
52
52
  actionSubjectId: actionSubjectId,
53
53
  attributes: _objectSpread(_objectSpread({
54
54
  packageName: "@atlaskit/profilecard",
55
- packageVersion: "24.18.0"
55
+ packageVersion: "24.18.1"
56
56
  }, attributes), {}, {
57
57
  firedAt: Math.round(getPageTime())
58
58
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "24.18.1",
3
+ "version": "24.19.0",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -42,7 +42,7 @@
42
42
  "@atlaskit/afm-i18n-platform-people-and-teams-profilecard": "2.7.0",
43
43
  "@atlaskit/analytics-next": "^11.1.0",
44
44
  "@atlaskit/atlassian-context": "^0.6.0",
45
- "@atlaskit/avatar": "^25.3.0",
45
+ "@atlaskit/avatar": "^25.4.0",
46
46
  "@atlaskit/avatar-group": "^12.3.0",
47
47
  "@atlaskit/button": "^23.5.0",
48
48
  "@atlaskit/css": "^0.14.0",
@@ -56,17 +56,17 @@
56
56
  "@atlaskit/logo": "^19.9.0",
57
57
  "@atlaskit/lozenge": "^13.0.0",
58
58
  "@atlaskit/menu": "^8.4.0",
59
- "@atlaskit/modal-dialog": "^14.4.0",
60
- "@atlaskit/people-teams-ui-public": "^3.4.0",
59
+ "@atlaskit/modal-dialog": "^14.5.0",
60
+ "@atlaskit/people-teams-ui-public": "^3.5.0",
61
61
  "@atlaskit/platform-feature-flags": "^1.1.0",
62
62
  "@atlaskit/platform-feature-flags-react": "^0.3.0",
63
63
  "@atlaskit/popup": "^4.4.0",
64
64
  "@atlaskit/primitives": "^14.15.0",
65
- "@atlaskit/rovo-agent-components": "^3.7.0",
65
+ "@atlaskit/rovo-agent-components": "^3.8.0",
66
66
  "@atlaskit/rovo-triggers": "^3.13.0",
67
67
  "@atlaskit/spinner": "^19.0.0",
68
68
  "@atlaskit/teams-app-config": "^1.12.0",
69
- "@atlaskit/teams-app-internal-analytics": "^1.13.0",
69
+ "@atlaskit/teams-app-internal-analytics": "^1.15.0",
70
70
  "@atlaskit/teams-avatar": "^2.3.0",
71
71
  "@atlaskit/teams-public": "^0.62.0",
72
72
  "@atlaskit/theme": "^21.0.0",