@atlaskit/profilecard 26.1.5 → 26.1.7

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,20 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 26.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 26.1.6
10
+
11
+ ### Patch Changes
12
+
13
+ - [`ee28cf33718b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee28cf33718b0) -
14
+ Add @atlassian/react-compiler-gating as a runtime dependency to enable React Compiler platform
15
+ gating.
16
+ - Updated dependencies
17
+
3
18
  ## 26.1.5
4
19
 
5
20
  ### Patch Changes
@@ -115,6 +115,9 @@
115
115
  {
116
116
  "path": "../../../design-system/tooltip/afm-cc/tsconfig.json"
117
117
  },
118
+ {
119
+ "path": "../../../react-compiler/react-compiler-gating/afm-cc/tsconfig.json"
120
+ },
118
121
  {
119
122
  "path": "../../../studio-foundations/studio-entry-link/afm-cc/tsconfig.json"
120
123
  }
@@ -115,6 +115,9 @@
115
115
  {
116
116
  "path": "../../../design-system/tooltip/afm-products/tsconfig.json"
117
117
  },
118
+ {
119
+ "path": "../../../react-compiler/react-compiler-gating/afm-products/tsconfig.json"
120
+ },
118
121
  {
119
122
  "path": "../../../studio-foundations/studio-entry-link/afm-products/tsconfig.json"
120
123
  }
@@ -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', "26.1.4");
14
+ headers.append('atl-client-version', "26.1.6");
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', "26.1.4");
69
+ headers.append('atl-client-version', "26.1.6");
70
70
  return headers;
71
71
  };
72
72
  function getTeamFromAGG(_x, _x2, _x3) {
@@ -18,6 +18,7 @@ var _avatarGroup = _interopRequireDefault(require("@atlaskit/avatar-group"));
18
18
  var _heading = _interopRequireDefault(require("@atlaskit/heading"));
19
19
  var _linkItem = _interopRequireDefault(require("@atlaskit/menu/link-item"));
20
20
  var _verifiedTeamIcon = require("@atlaskit/people-teams-ui-public/verified-team-icon");
21
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
21
22
  var _compiled = require("@atlaskit/primitives/compiled");
22
23
  var _teamsAppInternalAnalytics = require("@atlaskit/teams-app-internal-analytics");
23
24
  var _teamsAvatar = _interopRequireDefault(require("@atlaskit/teams-avatar"));
@@ -76,7 +77,7 @@ var TeamProfileCard = exports.TeamProfileCard = function TeamProfileCard(_ref) {
76
77
  src: headerImageUrl,
77
78
  xcss: styles.headerImageStyles,
78
79
  testId: "profile-header-image",
79
- alt: "team-header-image"
80
+ alt: (0, _platformFeatureFlags.fg)('create_modernization_ga_fixes_drop_2') ? '' : 'team-header-image'
80
81
  }), /*#__PURE__*/React.createElement(_compiled.Stack, {
81
82
  space: "space.200",
82
83
  xcss: styles.containerStyles
@@ -12,7 +12,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
12
12
  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; }
13
13
  var PACKAGE_META_DATA = exports.PACKAGE_META_DATA = {
14
14
  packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
15
- packageVersion: (_process$env$_PACKAGE2 = "26.1.4") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
15
+ packageVersion: (_process$env$_PACKAGE2 = "26.1.6") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
16
16
  };
17
17
  var TEAM_SUBJECT = 'teamProfileCard';
18
18
  var USER_SUBJECT = 'profilecard';
@@ -31,7 +31,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
31
31
  actionSubjectId: actionSubjectId,
32
32
  attributes: _objectSpread(_objectSpread({
33
33
  packageName: "@atlaskit/profilecard",
34
- packageVersion: "26.1.4"
34
+ packageVersion: "26.1.6"
35
35
  }, attributes), {}, {
36
36
  firedAt: Math.round((0, _performance.getPageTime)())
37
37
  })
@@ -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', "26.1.4");
9
+ headers.append('atl-client-version', "26.1.6");
10
10
  return headers;
11
11
  };
12
12
  export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
@@ -78,7 +78,7 @@ export const addHeaders = headers => {
78
78
  headers.append('X-ExperimentalApi', 'teams-beta');
79
79
  headers.append('X-ExperimentalApi', 'team-members-beta');
80
80
  headers.append('atl-client-name', "@atlaskit/profilecard");
81
- headers.append('atl-client-version', "26.1.4");
81
+ headers.append('atl-client-version', "26.1.6");
82
82
  return headers;
83
83
  };
84
84
  export async function getTeamFromAGG(url, teamId, siteId) {
@@ -9,6 +9,7 @@ import AvatarGroup from '@atlaskit/avatar-group';
9
9
  import Heading from '@atlaskit/heading';
10
10
  import LinkItem from '@atlaskit/menu/link-item';
11
11
  import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public/verified-team-icon';
12
+ import { fg } from '@atlaskit/platform-feature-flags';
12
13
  import { Box, Flex, Inline, Stack, Text } from '@atlaskit/primitives/compiled';
13
14
  import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics';
14
15
  import TeamAvatar from '@atlaskit/teams-avatar';
@@ -64,7 +65,7 @@ export const TeamProfileCard = ({
64
65
  src: headerImageUrl,
65
66
  xcss: styles.headerImageStyles,
66
67
  testId: "profile-header-image",
67
- alt: "team-header-image"
68
+ alt: fg('create_modernization_ga_fixes_drop_2') ? '' : 'team-header-image'
68
69
  }), /*#__PURE__*/React.createElement(Stack, {
69
70
  space: "space.200",
70
71
  xcss: styles.containerStyles
@@ -2,7 +2,7 @@ var _process$env$_PACKAGE, _process$env$_PACKAGE2;
2
2
  import { getPageTime } from './performance';
3
3
  export const PACKAGE_META_DATA = {
4
4
  packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
5
- packageVersion: (_process$env$_PACKAGE2 = "26.1.4") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
5
+ packageVersion: (_process$env$_PACKAGE2 = "26.1.6") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
6
6
  };
7
7
  const TEAM_SUBJECT = 'teamProfileCard';
8
8
  const USER_SUBJECT = 'profilecard';
@@ -19,7 +19,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
19
19
  actionSubjectId,
20
20
  attributes: {
21
21
  packageName: "@atlaskit/profilecard",
22
- packageVersion: "26.1.4",
22
+ packageVersion: "26.1.6",
23
23
  ...attributes,
24
24
  firedAt: Math.round(getPageTime())
25
25
  }
@@ -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', "26.1.4");
7
+ headers.append('atl-client-version', "26.1.6");
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', "26.1.4");
62
+ headers.append('atl-client-version', "26.1.6");
63
63
  return headers;
64
64
  };
65
65
  export function getTeamFromAGG(_x, _x2, _x3) {
@@ -11,6 +11,7 @@ import AvatarGroup from '@atlaskit/avatar-group';
11
11
  import Heading from '@atlaskit/heading';
12
12
  import LinkItem from '@atlaskit/menu/link-item';
13
13
  import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public/verified-team-icon';
14
+ import { fg } from '@atlaskit/platform-feature-flags';
14
15
  import { Box, Flex, Inline, Stack, Text } from '@atlaskit/primitives/compiled';
15
16
  import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics';
16
17
  import TeamAvatar from '@atlaskit/teams-avatar';
@@ -67,7 +68,7 @@ export var TeamProfileCard = function TeamProfileCard(_ref) {
67
68
  src: headerImageUrl,
68
69
  xcss: styles.headerImageStyles,
69
70
  testId: "profile-header-image",
70
- alt: "team-header-image"
71
+ alt: fg('create_modernization_ga_fixes_drop_2') ? '' : 'team-header-image'
71
72
  }), /*#__PURE__*/React.createElement(Stack, {
72
73
  space: "space.200",
73
74
  xcss: styles.containerStyles
@@ -5,7 +5,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
5
5
  import { getPageTime } from './performance';
6
6
  export var PACKAGE_META_DATA = {
7
7
  packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
8
- packageVersion: (_process$env$_PACKAGE2 = "26.1.4") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
8
+ packageVersion: (_process$env$_PACKAGE2 = "26.1.6") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
9
9
  };
10
10
  var TEAM_SUBJECT = 'teamProfileCard';
11
11
  var USER_SUBJECT = 'profilecard';
@@ -24,7 +24,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
24
24
  actionSubjectId: actionSubjectId,
25
25
  attributes: _objectSpread(_objectSpread({
26
26
  packageName: "@atlaskit/profilecard",
27
- packageVersion: "26.1.4"
27
+ packageVersion: "26.1.6"
28
28
  }, attributes), {}, {
29
29
  firedAt: Math.round(getPageTime())
30
30
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "26.1.5",
3
+ "version": "26.1.7",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -50,7 +50,7 @@
50
50
  "@atlaskit/give-kudos": "^6.1.0",
51
51
  "@atlaskit/heading": "^6.0.0",
52
52
  "@atlaskit/icon": "^36.0.0",
53
- "@atlaskit/link": "4.0.0",
53
+ "@atlaskit/link": "4.0.1",
54
54
  "@atlaskit/lozenge": "^14.0.0",
55
55
  "@atlaskit/menu": "^9.0.0",
56
56
  "@atlaskit/modal-dialog": "^16.0.0",
@@ -62,14 +62,15 @@
62
62
  "@atlaskit/rovo-triggers": "^9.2.0",
63
63
  "@atlaskit/spinner": "^20.0.0",
64
64
  "@atlaskit/teams-app-config": "^2.0.0",
65
- "@atlaskit/teams-app-internal-analytics": "^2.0.0",
65
+ "@atlaskit/teams-app-internal-analytics": "^2.1.0",
66
66
  "@atlaskit/teams-app-internal-navigation": "^2.0.0",
67
67
  "@atlaskit/teams-avatar": "^3.0.0",
68
68
  "@atlaskit/teams-public": "^2.0.0",
69
69
  "@atlaskit/theme": "^26.0.0",
70
- "@atlaskit/tmp-editor-statsig": "^109.1.0",
71
- "@atlaskit/tokens": "^14.0.0",
70
+ "@atlaskit/tmp-editor-statsig": "^111.0.0",
71
+ "@atlaskit/tokens": "^15.0.0",
72
72
  "@atlaskit/tooltip": "^23.0.0",
73
+ "@atlassian/react-compiler-gating": "^0.2.0",
73
74
  "@atlassian/studio-entry-link": "^1.1.0",
74
75
  "@babel/runtime": "^7.0.0",
75
76
  "@compiled/react": "^0.20.0",
@@ -92,7 +93,6 @@
92
93
  "@atlassian/feature-flags-test-utils": "^1.1.0",
93
94
  "@atlassian/platform-storybook-helpers": "^0.3.0",
94
95
  "@atlassian/ptc-test-utils": "^0.13.0",
95
- "@atlassian/react-compiler-gating": "workspace:^",
96
96
  "@storybook/addon-actions": "^8.6.14",
97
97
  "@storybook/test": "^8.6.14",
98
98
  "@testing-library/react": "^16.3.0",
@@ -103,7 +103,7 @@
103
103
  "loader-utils": "^1.1.0",
104
104
  "react": "^18.2.0",
105
105
  "react-dom": "^18.2.0",
106
- "react-intl": "^6.6.2",
106
+ "react-intl": "^7.0.0",
107
107
  "sinon": "^2.2.0",
108
108
  "typescript": "5.9.3",
109
109
  "uid": "^0.0.2"
@@ -181,6 +181,9 @@
181
181
  "teams_app_react_19_upgrade": {
182
182
  "type": "boolean"
183
183
  },
184
+ "create_modernization_ga_fixes_drop_2": {
185
+ "type": "boolean"
186
+ },
184
187
  "fix_aria_attribute_violation_on_agent_card_trigger": {
185
188
  "type": "boolean"
186
189
  }