@atlaskit/profilecard 20.4.3 → 20.5.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,13 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 20.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#153098](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/153098)
8
+ [`1e9b8abfd8903`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1e9b8abfd8903) -
9
+ Adding support for en-ZZ locale
10
+
3
11
  ## 20.4.3
4
12
 
5
13
  ### Patch Changes
package/README.md CHANGED
@@ -2,17 +2,6 @@
2
2
 
3
3
  ## i18n
4
4
 
5
- `src/i18n` is generated folder by `yarn i18:pull`, so don't update any files in that folder manually.
6
- Contact Atlaskit team to get `TRANSIFEX_API_TOKEN` as a global variable
7
-
8
- ### Pushing translation
9
-
10
- In `atlaskit-mk-2/packages/people-and-teams/profilecard` folder:
11
-
12
- - Run `yarn i18n:push` to build and then find messages in `dis/esm/src` and push them to Transifex
13
-
14
- ### Pulling translation
15
-
16
- In `atlaskit-mk-2/packages/people-and-teams/profilecard` folder:
17
-
18
- - Run `yarn i18n:pull` to delete current `src/i18n` folder and download all messages from Transifex and generate `src/i18n` again.
5
+ Localization is now handled by Traduki 2.0. Please refer to the
6
+ [People and Teams](https://go.atlassian.com/traduki-people-and-teams) subscription in Traduki for
7
+ more information.
@@ -57,7 +57,7 @@ var addHeaders = exports.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', "20.4.3");
60
+ headers.append('atl-client-version', "20.5.0");
61
61
  return headers;
62
62
  };
63
63
  function getTeamFromAGG(_x, _x2, _x3) {
@@ -7,8 +7,8 @@ exports.default = void 0;
7
7
  /**
8
8
  * NOTE:
9
9
  *
10
- * This file is automatically generated by i18n-tools.
11
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
10
+ * This file was generated by i18n-tools which has been deprecated.
11
+ * It now requires manual updates.
12
12
  */
13
13
  var _default = exports.default = {
14
14
  zh: 'Chinese',
@@ -17,6 +17,8 @@ var _default = exports.default = {
17
17
  nl: 'Dutch',
18
18
  en: 'English',
19
19
  en_GB: 'English (United Kingdom)',
20
+ en_ZZ: 'English (Instrumented)',
21
+ // Used by i18n team in staging
20
22
  et: 'Estonian',
21
23
  fi: 'Finnish',
22
24
  fr: 'French',
@@ -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: "20.4.3"
48
+ packageVersion: "20.5.0"
49
49
  }, attributes), {}, {
50
50
  firedAt: Math.round((0, _performance.getPageTime)())
51
51
  })
@@ -67,7 +67,7 @@ export const addHeaders = headers => {
67
67
  headers.append('X-ExperimentalApi', 'teams-beta');
68
68
  headers.append('X-ExperimentalApi', 'team-members-beta');
69
69
  headers.append('atl-client-name', "@atlaskit/profilecard");
70
- headers.append('atl-client-version', "20.4.3");
70
+ headers.append('atl-client-version', "20.5.0");
71
71
  return headers;
72
72
  };
73
73
  export async function getTeamFromAGG(url, teamId, siteId) {
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
5
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
4
+ * This file was generated by i18n-tools which has been deprecated.
5
+ * It now requires manual updates.
6
6
  */
7
7
  export { default as zh } from './zh';
8
8
  export { default as zh_TW } from './zh_TW';
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
5
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
4
+ * This file was generated by i18n-tools which has been deprecated.
5
+ * It now requires manual updates.
6
6
  */
7
7
  export default {
8
8
  zh: 'Chinese',
@@ -11,6 +11,8 @@ export default {
11
11
  nl: 'Dutch',
12
12
  en: 'English',
13
13
  en_GB: 'English (United Kingdom)',
14
+ en_ZZ: 'English (Instrumented)',
15
+ // Used by i18n team in staging
14
16
  et: 'Estonian',
15
17
  fi: 'Finnish',
16
18
  fr: 'French',
@@ -32,7 +32,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
32
32
  actionSubjectId,
33
33
  attributes: {
34
34
  packageName: "@atlaskit/profilecard",
35
- packageVersion: "20.4.3",
35
+ packageVersion: "20.5.0",
36
36
  ...attributes,
37
37
  firedAt: Math.round(getPageTime())
38
38
  }
@@ -48,7 +48,7 @@ export var addHeaders = function addHeaders(headers) {
48
48
  headers.append('X-ExperimentalApi', 'teams-beta');
49
49
  headers.append('X-ExperimentalApi', 'team-members-beta');
50
50
  headers.append('atl-client-name', "@atlaskit/profilecard");
51
- headers.append('atl-client-version', "20.4.3");
51
+ headers.append('atl-client-version', "20.5.0");
52
52
  return headers;
53
53
  };
54
54
  export function getTeamFromAGG(_x, _x2, _x3) {
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
5
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
4
+ * This file was generated by i18n-tools which has been deprecated.
5
+ * It now requires manual updates.
6
6
  */
7
7
  export { default as zh } from './zh';
8
8
  export { default as zh_TW } from './zh_TW';
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
5
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
4
+ * This file was generated by i18n-tools which has been deprecated.
5
+ * It now requires manual updates.
6
6
  */
7
7
  export default {
8
8
  zh: 'Chinese',
@@ -11,6 +11,8 @@ export default {
11
11
  nl: 'Dutch',
12
12
  en: 'English',
13
13
  en_GB: 'English (United Kingdom)',
14
+ en_ZZ: 'English (Instrumented)',
15
+ // Used by i18n team in staging
14
16
  et: 'Estonian',
15
17
  fi: 'Finnish',
16
18
  fr: 'French',
@@ -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: "20.4.3"
42
+ packageVersion: "20.5.0"
43
43
  }, attributes), {}, {
44
44
  firedAt: Math.round(getPageTime())
45
45
  })
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
5
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
4
+ * This file was generated by i18n-tools which has been deprecated.
5
+ * It now requires manual updates.
6
6
  */
7
7
  export { default as zh } from './zh';
8
8
  export { default as zh_TW } from './zh_TW';
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
5
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
4
+ * This file was generated by i18n-tools which has been deprecated.
5
+ * It now requires manual updates.
6
6
  */
7
7
  declare const _default: {
8
8
  zh: string;
@@ -11,6 +11,7 @@ declare const _default: {
11
11
  nl: string;
12
12
  en: string;
13
13
  en_GB: string;
14
+ en_ZZ: string;
14
15
  et: string;
15
16
  fi: string;
16
17
  fr: string;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
5
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
4
+ * This file was generated by i18n-tools which has been deprecated.
5
+ * It now requires manual updates.
6
6
  */
7
7
  export { default as zh } from './zh';
8
8
  export { default as zh_TW } from './zh_TW';
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
5
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
4
+ * This file was generated by i18n-tools which has been deprecated.
5
+ * It now requires manual updates.
6
6
  */
7
7
  declare const _default: {
8
8
  zh: string;
@@ -11,6 +11,7 @@ declare const _default: {
11
11
  nl: string;
12
12
  en: string;
13
13
  en_GB: string;
14
+ en_ZZ: string;
14
15
  et: string;
15
16
  fi: string;
16
17
  fr: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "20.4.3",
3
+ "version": "20.5.0",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -61,7 +61,7 @@
61
61
  "@atlaskit/give-kudos": "^2.2.0",
62
62
  "@atlaskit/icon": "^22.22.0",
63
63
  "@atlaskit/lozenge": "^11.11.0",
64
- "@atlaskit/menu": "^2.12.0",
64
+ "@atlaskit/menu": "^2.13.0",
65
65
  "@atlaskit/modal-dialog": "^12.17.0",
66
66
  "@atlaskit/platform-feature-flags": "^0.3.0",
67
67
  "@atlaskit/popup": "^1.28.0",