@atlaskit/profilecard 23.15.2 → 23.15.3

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,14 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 23.15.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#157715](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/157715)
8
+ [`8dd35b6f12e0d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8dd35b6f12e0d) -
9
+ NO-ISSUE clean up team_id_to_ari_safe
10
+ - Updated dependencies
11
+
3
12
  ## 23.15.2
4
13
 
5
14
  ### 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', "23.15.2");
14
+ headers.append('atl-client-version', "23.15.3");
15
15
  return headers;
16
16
  };
17
17
  function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -10,7 +10,6 @@ exports.idToAriSafe = exports.idToAri = void 0;
10
10
  var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
11
11
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
12
12
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
13
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
14
13
  var _graphqlUtils = require("./graphqlUtils");
15
14
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
16
15
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -57,7 +56,7 @@ var buildGatewayQuery = exports.buildGatewayQuery = function buildGatewayQuery(_
57
56
  return {
58
57
  query: GATEWAY_QUERY_V2,
59
58
  variables: {
60
- teamId: (0, _platformFeatureFlags.fg)('team_id_to_ari_safe') ? idToAriSafe(teamId) : idToAri(teamId),
59
+ teamId: idToAriSafe(teamId),
61
60
  siteId: siteId || 'None'
62
61
  }
63
62
  };
@@ -66,7 +65,7 @@ var addHeaders = exports.addHeaders = function addHeaders(headers) {
66
65
  headers.append('X-ExperimentalApi', 'teams-beta');
67
66
  headers.append('X-ExperimentalApi', 'team-members-beta');
68
67
  headers.append('atl-client-name', "@atlaskit/profilecard");
69
- headers.append('atl-client-version', "23.15.2");
68
+ headers.append('atl-client-version', "23.15.3");
70
69
  return headers;
71
70
  };
72
71
  function getTeamFromAGG(_x, _x2, _x3) {
@@ -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.15.2"
48
+ packageVersion: "23.15.3"
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.15.2");
9
+ headers.append('atl-client-version', "23.15.3");
10
10
  return headers;
11
11
  };
12
12
  export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
@@ -1,4 +1,3 @@
1
- import { fg } from '@atlaskit/platform-feature-flags';
2
1
  import { AGGQuery } from './graphqlUtils';
3
2
  const ARI_PREFIX = 'ari:cloud:identity::team/';
4
3
  export const extractIdFromAri = ari => {
@@ -67,7 +66,7 @@ export const buildGatewayQuery = ({
67
66
  }) => ({
68
67
  query: GATEWAY_QUERY_V2,
69
68
  variables: {
70
- teamId: fg('team_id_to_ari_safe') ? idToAriSafe(teamId) : idToAri(teamId),
69
+ teamId: idToAriSafe(teamId),
71
70
  siteId: siteId || 'None'
72
71
  }
73
72
  });
@@ -75,7 +74,7 @@ export const addHeaders = headers => {
75
74
  headers.append('X-ExperimentalApi', 'teams-beta');
76
75
  headers.append('X-ExperimentalApi', 'team-members-beta');
77
76
  headers.append('atl-client-name', "@atlaskit/profilecard");
78
- headers.append('atl-client-version', "23.15.2");
77
+ headers.append('atl-client-version', "23.15.3");
79
78
  return headers;
80
79
  };
81
80
  export async function getTeamFromAGG(url, teamId, siteId) {
@@ -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.15.2",
35
+ packageVersion: "23.15.3",
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.15.2");
7
+ headers.append('atl-client-version', "23.15.3");
8
8
  return headers;
9
9
  };
10
10
  export function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -3,7 +3,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _regeneratorRuntime from "@babel/runtime/regenerator";
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
- import { fg } from '@atlaskit/platform-feature-flags';
7
6
  import { AGGQuery } from './graphqlUtils';
8
7
  var ARI_PREFIX = 'ari:cloud:identity::team/';
9
8
  export var extractIdFromAri = function extractIdFromAri(ari) {
@@ -48,7 +47,7 @@ export var buildGatewayQuery = function buildGatewayQuery(_ref2) {
48
47
  return {
49
48
  query: GATEWAY_QUERY_V2,
50
49
  variables: {
51
- teamId: fg('team_id_to_ari_safe') ? idToAriSafe(teamId) : idToAri(teamId),
50
+ teamId: idToAriSafe(teamId),
52
51
  siteId: siteId || 'None'
53
52
  }
54
53
  };
@@ -57,7 +56,7 @@ export var addHeaders = function addHeaders(headers) {
57
56
  headers.append('X-ExperimentalApi', 'teams-beta');
58
57
  headers.append('X-ExperimentalApi', 'team-members-beta');
59
58
  headers.append('atl-client-name', "@atlaskit/profilecard");
60
- headers.append('atl-client-version', "23.15.2");
59
+ headers.append('atl-client-version', "23.15.3");
61
60
  return headers;
62
61
  };
63
62
  export function getTeamFromAGG(_x, _x2, _x3) {
@@ -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.15.2"
42
+ packageVersion: "23.15.3"
43
43
  }, attributes), {}, {
44
44
  firedAt: Math.round(getPageTime())
45
45
  })
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type AvatarProps } from '@atlaskit/avatar-group';
3
- import { TeamActionsProps } from './team-actions';
3
+ import { type TeamActionsProps } from './team-actions';
4
4
  export type TeamProfileCardProps = {
5
5
  containerId: string;
6
6
  teamId: string;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type AvatarProps } from '@atlaskit/avatar-group';
3
- import { TeamActionsProps } from './team-actions';
3
+ import { type TeamActionsProps } from './team-actions';
4
4
  export type TeamProfileCardProps = {
5
5
  containerId: string;
6
6
  teamId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "23.15.2",
3
+ "version": "23.15.3",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -55,29 +55,29 @@
55
55
  "@atlaskit/atlassian-context": "^0.2.0",
56
56
  "@atlaskit/avatar": "^25.1.0",
57
57
  "@atlaskit/avatar-group": "^12.0.0",
58
- "@atlaskit/button": "^23.0.0",
58
+ "@atlaskit/button": "^23.2.0",
59
59
  "@atlaskit/css": "^0.10.0",
60
- "@atlaskit/dropdown-menu": "^15.0.0",
60
+ "@atlaskit/dropdown-menu": "^15.2.0",
61
61
  "@atlaskit/empty-state": "^10.0.0",
62
62
  "@atlaskit/focus-ring": "^3.0.0",
63
63
  "@atlaskit/give-kudos": "^4.1.0",
64
64
  "@atlaskit/heading": "^5.2.0",
65
- "@atlaskit/icon": "^26.0.0",
65
+ "@atlaskit/icon": "^26.1.0",
66
66
  "@atlaskit/logo": "^18.0.0",
67
67
  "@atlaskit/lozenge": "^12.2.0",
68
- "@atlaskit/menu": "^7.0.0",
68
+ "@atlaskit/menu": "^7.1.0",
69
69
  "@atlaskit/modal-dialog": "^14.2.0",
70
70
  "@atlaskit/people-teams-ui-public": "^3.1.0",
71
71
  "@atlaskit/platform-feature-flags": "^1.1.0",
72
72
  "@atlaskit/popup": "^4.2.0",
73
- "@atlaskit/primitives": "^14.7.0",
74
- "@atlaskit/rovo-agent-components": "^2.9.0",
75
- "@atlaskit/rovo-triggers": "^2.11.0",
73
+ "@atlaskit/primitives": "^14.8.0",
74
+ "@atlaskit/rovo-agent-components": "^2.11.0",
75
+ "@atlaskit/rovo-triggers": "^2.12.0",
76
76
  "@atlaskit/spinner": "^18.0.0",
77
77
  "@atlaskit/teams-avatar": "^2.3.0",
78
78
  "@atlaskit/teams-public": "^0.29.0",
79
79
  "@atlaskit/theme": "^18.0.0",
80
- "@atlaskit/tokens": "^4.8.0",
80
+ "@atlaskit/tokens": "^4.9.0",
81
81
  "@atlaskit/tooltip": "^20.0.0",
82
82
  "@babel/runtime": "^7.0.0",
83
83
  "@compiled/react": "^0.18.3",
@@ -137,9 +137,6 @@
137
137
  "platform_agg_user_query_doc_change": {
138
138
  "type": "boolean"
139
139
  },
140
- "team_id_to_ari_safe": {
141
- "type": "boolean"
142
- },
143
140
  "compiled-migration-profilecard": {
144
141
  "type": "boolean"
145
142
  },