@atlaskit/profilecard 19.5.0 → 19.5.1

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
+ ## 19.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5259a126fa1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5259a126fa1) - Replace calls to pf-directory `Team` and `TeamMembership` with AGG `teamV2` in Directory app.
8
+
3
9
  ## 19.5.0
4
10
 
5
11
  ### Minor Changes
@@ -52,11 +52,11 @@ var buildGatewayQuery = function buildGatewayQuery(_ref2) {
52
52
  var teamId = _ref2.teamId,
53
53
  siteId = _ref2.siteId;
54
54
  return {
55
- query: (0, _platformFeatureFlags.getBooleanFF)('platform.teams.site-scoped.m1') && siteId ? GATEWAY_QUERY_V2 : GATEWAY_QUERY,
55
+ query: (0, _platformFeatureFlags.getBooleanFF)('platform.teams.site-scoped.m1') ? GATEWAY_QUERY_V2 : GATEWAY_QUERY,
56
56
  variables: _objectSpread({
57
57
  teamId: idToAri(teamId)
58
- }, (0, _platformFeatureFlags.getBooleanFF)('platform.teams.site-scoped.m1') && siteId ? {
59
- siteId: siteId
58
+ }, (0, _platformFeatureFlags.getBooleanFF)('platform.teams.site-scoped.m1') ? {
59
+ siteId: siteId || 'None'
60
60
  } : {})
61
61
  };
62
62
  };
@@ -44,7 +44,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
44
44
  actionSubjectId: actionSubjectId,
45
45
  attributes: _objectSpread(_objectSpread({
46
46
  packageName: "@atlaskit/profilecard",
47
- packageVersion: "19.5.0"
47
+ packageVersion: "19.5.1"
48
48
  }, attributes), {}, {
49
49
  firedAt: Math.round((0, _performance.getPageTime)())
50
50
  })
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "19.5.0"
3
+ "version": "19.5.1"
4
4
  }
@@ -65,11 +65,11 @@ export const buildGatewayQuery = ({
65
65
  teamId,
66
66
  siteId
67
67
  }) => ({
68
- query: getBooleanFF('platform.teams.site-scoped.m1') && siteId ? GATEWAY_QUERY_V2 : GATEWAY_QUERY,
68
+ query: getBooleanFF('platform.teams.site-scoped.m1') ? GATEWAY_QUERY_V2 : GATEWAY_QUERY,
69
69
  variables: {
70
70
  teamId: idToAri(teamId),
71
- ...(getBooleanFF('platform.teams.site-scoped.m1') && siteId ? {
72
- siteId
71
+ ...(getBooleanFF('platform.teams.site-scoped.m1') ? {
72
+ siteId: siteId || 'None'
73
73
  } : {})
74
74
  }
75
75
  });
@@ -31,7 +31,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
31
31
  actionSubjectId,
32
32
  attributes: {
33
33
  packageName: "@atlaskit/profilecard",
34
- packageVersion: "19.5.0",
34
+ packageVersion: "19.5.1",
35
35
  ...attributes,
36
36
  firedAt: Math.round(getPageTime())
37
37
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "19.5.0"
3
+ "version": "19.5.1"
4
4
  }
@@ -40,11 +40,11 @@ export var buildGatewayQuery = function buildGatewayQuery(_ref2) {
40
40
  var teamId = _ref2.teamId,
41
41
  siteId = _ref2.siteId;
42
42
  return {
43
- query: getBooleanFF('platform.teams.site-scoped.m1') && siteId ? GATEWAY_QUERY_V2 : GATEWAY_QUERY,
43
+ query: getBooleanFF('platform.teams.site-scoped.m1') ? GATEWAY_QUERY_V2 : GATEWAY_QUERY,
44
44
  variables: _objectSpread({
45
45
  teamId: idToAri(teamId)
46
- }, getBooleanFF('platform.teams.site-scoped.m1') && siteId ? {
47
- siteId: siteId
46
+ }, getBooleanFF('platform.teams.site-scoped.m1') ? {
47
+ siteId: siteId || 'None'
48
48
  } : {})
49
49
  };
50
50
  };
@@ -38,7 +38,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
38
38
  actionSubjectId: actionSubjectId,
39
39
  attributes: _objectSpread(_objectSpread({
40
40
  packageName: "@atlaskit/profilecard",
41
- packageVersion: "19.5.0"
41
+ packageVersion: "19.5.1"
42
42
  }, attributes), {}, {
43
43
  firedAt: Math.round(getPageTime())
44
44
  })
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "19.5.0"
3
+ "version": "19.5.1"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "19.5.0",
3
+ "version": "19.5.1",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -53,14 +53,14 @@
53
53
  "@atlaskit/avatar": "^21.3.0",
54
54
  "@atlaskit/avatar-group": "^9.3.0",
55
55
  "@atlaskit/button": "^16.8.0",
56
- "@atlaskit/dropdown-menu": "^11.9.0",
56
+ "@atlaskit/dropdown-menu": "^11.10.0",
57
57
  "@atlaskit/empty-state": "^7.6.0",
58
58
  "@atlaskit/give-kudos": "^1.1.0",
59
59
  "@atlaskit/icon": "^21.12.0",
60
60
  "@atlaskit/lozenge": "^11.4.0",
61
- "@atlaskit/menu": "^1.7.0",
62
- "@atlaskit/platform-feature-flags": "^0.2.3",
63
- "@atlaskit/popup": "^1.7.0",
61
+ "@atlaskit/menu": "^1.8.0",
62
+ "@atlaskit/platform-feature-flags": "^0.2.4",
63
+ "@atlaskit/popup": "^1.8.0",
64
64
  "@atlaskit/spinner": "^15.5.0",
65
65
  "@atlaskit/theme": "^12.5.0",
66
66
  "@atlaskit/tokens": "^1.9.0",