@atlaskit/profilecard 17.2.4 → 17.2.5

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,11 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 17.2.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`dbd0fa0aa5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dbd0fa0aa5e) - Handle both new and legacy Team ARIs
8
+
3
9
  ## 17.2.4
4
10
 
5
11
  ### Patch Changes
@@ -30,7 +30,7 @@ var extractIdFromAri = function extractIdFromAri(ari) {
30
30
  exports.extractIdFromAri = extractIdFromAri;
31
31
 
32
32
  var idToAri = function idToAri(teamId) {
33
- return "ari:cloud:teams::team/".concat(teamId);
33
+ return "ari:cloud:identity::team/".concat(teamId);
34
34
  };
35
35
 
36
36
  exports.idToAri = idToAri;
@@ -59,7 +59,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
59
59
  actionSubjectId: actionSubjectId,
60
60
  attributes: _objectSpread(_objectSpread({
61
61
  packageName: "@atlaskit/profilecard",
62
- packageVersion: "17.2.4"
62
+ packageVersion: "17.2.5"
63
63
  }, attributes), {}, {
64
64
  firedAt: Math.round((0, _performance.getPageTime)())
65
65
  })
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "17.2.4"
3
+ "version": "17.2.5"
4
4
  }
@@ -5,7 +5,7 @@ export const extractIdFromAri = ari => {
5
5
  return id;
6
6
  };
7
7
  export const idToAri = teamId => {
8
- return `ari:cloud:teams::team/${teamId}`;
8
+ return `ari:cloud:identity::team/${teamId}`;
9
9
  };
10
10
  export const convertTeam = result => {
11
11
  var _team$members;
@@ -38,7 +38,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
38
38
  actionSubjectId,
39
39
  attributes: {
40
40
  packageName: "@atlaskit/profilecard",
41
- packageVersion: "17.2.4",
41
+ packageVersion: "17.2.5",
42
42
  ...attributes,
43
43
  firedAt: Math.round(getPageTime())
44
44
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "17.2.4"
3
+ "version": "17.2.5"
4
4
  }
@@ -13,7 +13,7 @@ export var extractIdFromAri = function extractIdFromAri(ari) {
13
13
  return id;
14
14
  };
15
15
  export var idToAri = function idToAri(teamId) {
16
- return "ari:cloud:teams::team/".concat(teamId);
16
+ return "ari:cloud:identity::team/".concat(teamId);
17
17
  };
18
18
  export var convertTeam = function convertTeam(result) {
19
19
  var _team$members;
@@ -48,7 +48,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
48
48
  actionSubjectId: actionSubjectId,
49
49
  attributes: _objectSpread(_objectSpread({
50
50
  packageName: "@atlaskit/profilecard",
51
- packageVersion: "17.2.4"
51
+ packageVersion: "17.2.5"
52
52
  }, attributes), {}, {
53
53
  firedAt: Math.round(getPageTime())
54
54
  })
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "17.2.4"
3
+ "version": "17.2.5"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "17.2.4",
3
+ "version": "17.2.5",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -49,14 +49,14 @@
49
49
  "@atlaskit/analytics-next": "^8.2.0",
50
50
  "@atlaskit/avatar": "^21.1.0",
51
51
  "@atlaskit/avatar-group": "^9.1.0",
52
- "@atlaskit/button": "^16.3.0",
52
+ "@atlaskit/button": "^16.4.0",
53
53
  "@atlaskit/dropdown-menu": "^11.5.0",
54
54
  "@atlaskit/give-kudos": "^0.8.0",
55
55
  "@atlaskit/icon": "^21.11.0",
56
- "@atlaskit/lozenge": "^11.2.0",
57
- "@atlaskit/menu": "^1.3.0",
56
+ "@atlaskit/lozenge": "^11.3.0",
57
+ "@atlaskit/menu": "^1.4.0",
58
58
  "@atlaskit/popup": "^1.5.0",
59
- "@atlaskit/spinner": "^15.0.0",
59
+ "@atlaskit/spinner": "^15.2.0",
60
60
  "@atlaskit/theme": "^12.2.0",
61
61
  "@atlaskit/tokens": "^0.10.0",
62
62
  "@babel/runtime": "^7.0.0",