@atlaskit/profilecard 24.5.0 → 24.5.2

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,19 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 24.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2af42ad93c3e0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2af42ad93c3e0) -
8
+ Internal changes to use tokens for border radius.
9
+ - Updated dependencies
10
+
11
+ ## 24.5.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 24.5.0
4
18
 
5
19
  ### Minor Changes
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/components/Agent/index.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/components/Agent/index.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/client/index.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/client/index.d.ts"
14
14
  ]
@@ -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', "24.4.0");
14
+ headers.append('atl-client-version', "24.5.1");
15
15
  return headers;
16
16
  };
17
17
  function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -65,7 +65,7 @@ var addHeaders = exports.addHeaders = function addHeaders(headers) {
65
65
  headers.append('X-ExperimentalApi', 'teams-beta');
66
66
  headers.append('X-ExperimentalApi', 'team-members-beta');
67
67
  headers.append('atl-client-name', "@atlaskit/profilecard");
68
- headers.append('atl-client-version', "24.4.0");
68
+ headers.append('atl-client-version', "24.5.1");
69
69
  return headers;
70
70
  };
71
71
  function getTeamFromAGG(_x, _x2, _x3) {
@@ -54,6 +54,7 @@ var _default = exports.default = {
54
54
  'pt.profile-card.inactive.account.has.date.this.week': 'Their account was deactivated this week.',
55
55
  'pt.profile-card.inactive.account.no.date': 'Their account has been deactivated.',
56
56
  'pt.profile-card.more-icon-label': 'More',
57
+ 'pt.profile-card.more-icon-label-with-name': 'More actions for {fullName}',
57
58
  'pt.team-profile-card.aria-label': 'More information about this team',
58
59
  'pt.team-profile-card.directReports.heading': 'Direct reports',
59
60
  'pt.team-profile-card.error.refresh-button': 'Try again',
@@ -54,6 +54,7 @@ var _default = exports.default = {
54
54
  'pt.profile-card.inactive.account.has.date.this.week': 'Their account was deactivated this week.',
55
55
  'pt.profile-card.inactive.account.no.date': 'Their account has been deactivated.',
56
56
  'pt.profile-card.more-icon-label': 'More',
57
+ 'pt.profile-card.more-icon-label-with-name': 'More actions for {fullName}',
57
58
  'pt.team-profile-card.aria-label': 'More information about this team',
58
59
  'pt.team-profile-card.directReports.heading': 'Direct reports',
59
60
  'pt.team-profile-card.error.refresh-button': 'Try again',
@@ -54,6 +54,7 @@ var _default = exports.default = {
54
54
  'pt.profile-card.inactive.account.has.date.this.week': '⁣⁢Their account was deactivated this week.⁠‍⁠‍⁡؜⁣⁤',
55
55
  'pt.profile-card.inactive.account.no.date': '⁣⁢Their account has been deactivated.‌⁠⁠⁠‌⁡‌؜⁠⁠‌⁣⁤',
56
56
  'pt.profile-card.more-icon-label': '⁣⁢More‌‌‍؜⁡؜⁠⁠؜؜⁣⁤',
57
+ 'pt.profile-card.more-icon-label-with-name': '⁣⁢More actions for {fullName}‌؜؜⁡⁠‌⁠⁣⁤',
57
58
  'pt.team-profile-card.aria-label': '⁣⁢More information about this team⁠‍⁠؜⁠‍⁠⁡⁣⁤',
58
59
  'pt.team-profile-card.directReports.heading': '⁣⁢Direct reports⁠‍⁡⁠؜⁠‌؜⁣⁤',
59
60
  'pt.team-profile-card.error.refresh-button': '⁣⁢Try again⁡⁠‍‌⁠⁠⁡⁠؜⁠⁡‍⁣⁤',
@@ -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: "24.4.0"
48
+ packageVersion: "24.5.1"
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', "24.4.0");
9
+ headers.append('atl-client-version', "24.5.1");
10
10
  return headers;
11
11
  };
12
12
  export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
@@ -74,7 +74,7 @@ export const addHeaders = headers => {
74
74
  headers.append('X-ExperimentalApi', 'teams-beta');
75
75
  headers.append('X-ExperimentalApi', 'team-members-beta');
76
76
  headers.append('atl-client-name', "@atlaskit/profilecard");
77
- headers.append('atl-client-version', "24.4.0");
77
+ headers.append('atl-client-version', "24.5.1");
78
78
  return headers;
79
79
  };
80
80
  export async function getTeamFromAGG(url, teamId, siteId) {
@@ -48,6 +48,7 @@ export default {
48
48
  'pt.profile-card.inactive.account.has.date.this.week': 'Their account was deactivated this week.',
49
49
  'pt.profile-card.inactive.account.no.date': 'Their account has been deactivated.',
50
50
  'pt.profile-card.more-icon-label': 'More',
51
+ 'pt.profile-card.more-icon-label-with-name': 'More actions for {fullName}',
51
52
  'pt.team-profile-card.aria-label': 'More information about this team',
52
53
  'pt.team-profile-card.directReports.heading': 'Direct reports',
53
54
  'pt.team-profile-card.error.refresh-button': 'Try again',
@@ -48,6 +48,7 @@ export default {
48
48
  'pt.profile-card.inactive.account.has.date.this.week': 'Their account was deactivated this week.',
49
49
  'pt.profile-card.inactive.account.no.date': 'Their account has been deactivated.',
50
50
  'pt.profile-card.more-icon-label': 'More',
51
+ 'pt.profile-card.more-icon-label-with-name': 'More actions for {fullName}',
51
52
  'pt.team-profile-card.aria-label': 'More information about this team',
52
53
  'pt.team-profile-card.directReports.heading': 'Direct reports',
53
54
  'pt.team-profile-card.error.refresh-button': 'Try again',
@@ -48,6 +48,7 @@ export default {
48
48
  'pt.profile-card.inactive.account.has.date.this.week': '⁣⁢Their account was deactivated this week.⁠‍⁠‍⁡؜⁣⁤',
49
49
  'pt.profile-card.inactive.account.no.date': '⁣⁢Their account has been deactivated.‌⁠⁠⁠‌⁡‌؜⁠⁠‌⁣⁤',
50
50
  'pt.profile-card.more-icon-label': '⁣⁢More‌‌‍؜⁡؜⁠⁠؜؜⁣⁤',
51
+ 'pt.profile-card.more-icon-label-with-name': '⁣⁢More actions for {fullName}‌؜؜⁡⁠‌⁠⁣⁤',
51
52
  'pt.team-profile-card.aria-label': '⁣⁢More information about this team⁠‍⁠؜⁠‍⁠⁡⁣⁤',
52
53
  'pt.team-profile-card.directReports.heading': '⁣⁢Direct reports⁠‍⁡⁠؜⁠‌؜⁣⁤',
53
54
  'pt.team-profile-card.error.refresh-button': '⁣⁢Try again⁡⁠‍‌⁠⁠⁡⁠؜⁠⁡‍⁣⁤',
@@ -32,7 +32,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
32
32
  actionSubjectId,
33
33
  attributes: {
34
34
  packageName: "@atlaskit/profilecard",
35
- packageVersion: "24.4.0",
35
+ packageVersion: "24.5.1",
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', "24.4.0");
7
+ headers.append('atl-client-version', "24.5.1");
8
8
  return headers;
9
9
  };
10
10
  export function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -56,7 +56,7 @@ export var addHeaders = function addHeaders(headers) {
56
56
  headers.append('X-ExperimentalApi', 'teams-beta');
57
57
  headers.append('X-ExperimentalApi', 'team-members-beta');
58
58
  headers.append('atl-client-name', "@atlaskit/profilecard");
59
- headers.append('atl-client-version', "24.4.0");
59
+ headers.append('atl-client-version', "24.5.1");
60
60
  return headers;
61
61
  };
62
62
  export function getTeamFromAGG(_x, _x2, _x3) {
@@ -48,6 +48,7 @@ export default {
48
48
  'pt.profile-card.inactive.account.has.date.this.week': 'Their account was deactivated this week.',
49
49
  'pt.profile-card.inactive.account.no.date': 'Their account has been deactivated.',
50
50
  'pt.profile-card.more-icon-label': 'More',
51
+ 'pt.profile-card.more-icon-label-with-name': 'More actions for {fullName}',
51
52
  'pt.team-profile-card.aria-label': 'More information about this team',
52
53
  'pt.team-profile-card.directReports.heading': 'Direct reports',
53
54
  'pt.team-profile-card.error.refresh-button': 'Try again',
@@ -48,6 +48,7 @@ export default {
48
48
  'pt.profile-card.inactive.account.has.date.this.week': 'Their account was deactivated this week.',
49
49
  'pt.profile-card.inactive.account.no.date': 'Their account has been deactivated.',
50
50
  'pt.profile-card.more-icon-label': 'More',
51
+ 'pt.profile-card.more-icon-label-with-name': 'More actions for {fullName}',
51
52
  'pt.team-profile-card.aria-label': 'More information about this team',
52
53
  'pt.team-profile-card.directReports.heading': 'Direct reports',
53
54
  'pt.team-profile-card.error.refresh-button': 'Try again',
@@ -48,6 +48,7 @@ export default {
48
48
  'pt.profile-card.inactive.account.has.date.this.week': '⁣⁢Their account was deactivated this week.⁠‍⁠‍⁡؜⁣⁤',
49
49
  'pt.profile-card.inactive.account.no.date': '⁣⁢Their account has been deactivated.‌⁠⁠⁠‌⁡‌؜⁠⁠‌⁣⁤',
50
50
  'pt.profile-card.more-icon-label': '⁣⁢More‌‌‍؜⁡؜⁠⁠؜؜⁣⁤',
51
+ 'pt.profile-card.more-icon-label-with-name': '⁣⁢More actions for {fullName}‌؜؜⁡⁠‌⁠⁣⁤',
51
52
  'pt.team-profile-card.aria-label': '⁣⁢More information about this team⁠‍⁠؜⁠‍⁠⁡⁣⁤',
52
53
  'pt.team-profile-card.directReports.heading': '⁣⁢Direct reports⁠‍⁡⁠؜⁠‌؜⁣⁤',
53
54
  'pt.team-profile-card.error.refresh-button': '⁣⁢Try again⁡⁠‍‌⁠⁠⁡⁠؜⁠⁡‍⁣⁤',
@@ -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: "24.4.0"
42
+ packageVersion: "24.5.1"
43
43
  }, attributes), {}, {
44
44
  firedAt: Math.round(getPageTime())
45
45
  })
@@ -46,6 +46,7 @@ declare const _default: {
46
46
  'pt.profile-card.inactive.account.has.date.this.week': string;
47
47
  'pt.profile-card.inactive.account.no.date': string;
48
48
  'pt.profile-card.more-icon-label': string;
49
+ 'pt.profile-card.more-icon-label-with-name': string;
49
50
  'pt.team-profile-card.aria-label': string;
50
51
  'pt.team-profile-card.directReports.heading': string;
51
52
  'pt.team-profile-card.error.refresh-button': string;
@@ -46,6 +46,7 @@ declare const _default: {
46
46
  'pt.profile-card.inactive.account.has.date.this.week': string;
47
47
  'pt.profile-card.inactive.account.no.date': string;
48
48
  'pt.profile-card.more-icon-label': string;
49
+ 'pt.profile-card.more-icon-label-with-name': string;
49
50
  'pt.team-profile-card.aria-label': string;
50
51
  'pt.team-profile-card.directReports.heading': string;
51
52
  'pt.team-profile-card.error.refresh-button': string;
@@ -46,6 +46,7 @@ declare const _default: {
46
46
  'pt.profile-card.inactive.account.has.date.this.week': string;
47
47
  'pt.profile-card.inactive.account.no.date': string;
48
48
  'pt.profile-card.more-icon-label': string;
49
+ 'pt.profile-card.more-icon-label-with-name': string;
49
50
  'pt.team-profile-card.aria-label': string;
50
51
  'pt.team-profile-card.directReports.heading': string;
51
52
  'pt.team-profile-card.error.refresh-button': string;
@@ -46,6 +46,7 @@ declare const _default: {
46
46
  'pt.profile-card.inactive.account.has.date.this.week': string;
47
47
  'pt.profile-card.inactive.account.no.date': string;
48
48
  'pt.profile-card.more-icon-label': string;
49
+ 'pt.profile-card.more-icon-label-with-name': string;
49
50
  'pt.team-profile-card.aria-label': string;
50
51
  'pt.team-profile-card.directReports.heading': string;
51
52
  'pt.team-profile-card.error.refresh-button': string;
@@ -46,6 +46,7 @@ declare const _default: {
46
46
  'pt.profile-card.inactive.account.has.date.this.week': string;
47
47
  'pt.profile-card.inactive.account.no.date': string;
48
48
  'pt.profile-card.more-icon-label': string;
49
+ 'pt.profile-card.more-icon-label-with-name': string;
49
50
  'pt.team-profile-card.aria-label': string;
50
51
  'pt.team-profile-card.directReports.heading': string;
51
52
  'pt.team-profile-card.error.refresh-button': string;
@@ -46,6 +46,7 @@ declare const _default: {
46
46
  'pt.profile-card.inactive.account.has.date.this.week': string;
47
47
  'pt.profile-card.inactive.account.no.date': string;
48
48
  'pt.profile-card.more-icon-label': string;
49
+ 'pt.profile-card.more-icon-label-with-name': string;
49
50
  'pt.team-profile-card.aria-label': string;
50
51
  'pt.team-profile-card.directReports.heading': string;
51
52
  'pt.team-profile-card.error.refresh-button': string;
package/i18n/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/i18n/index.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/i18n/index.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/messages.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/messages.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/mocks/index.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/mocks/index.d.ts"
14
14
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "24.5.0",
3
+ "version": "24.5.2",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -54,7 +54,7 @@
54
54
  "@atlaskit/atlassian-context": "^0.4.0",
55
55
  "@atlaskit/avatar": "^25.1.0",
56
56
  "@atlaskit/avatar-group": "^12.2.0",
57
- "@atlaskit/button": "^23.3.0",
57
+ "@atlaskit/button": "^23.4.0",
58
58
  "@atlaskit/css": "^0.12.0",
59
59
  "@atlaskit/dropdown-menu": "^16.3.0",
60
60
  "@atlaskit/empty-state": "^10.1.0",
@@ -63,7 +63,7 @@
63
63
  "@atlaskit/heading": "^5.2.0",
64
64
  "@atlaskit/icon": "^27.12.0",
65
65
  "@atlaskit/link": "^3.2.0",
66
- "@atlaskit/logo": "^19.6.0",
66
+ "@atlaskit/logo": "^19.7.0",
67
67
  "@atlaskit/lozenge": "^13.0.0",
68
68
  "@atlaskit/menu": "^8.3.0",
69
69
  "@atlaskit/modal-dialog": "^14.3.0",
@@ -72,11 +72,11 @@
72
72
  "@atlaskit/popup": "^4.3.0",
73
73
  "@atlaskit/primitives": "^14.11.0",
74
74
  "@atlaskit/rovo-agent-components": "^3.1.0",
75
- "@atlaskit/rovo-triggers": "^3.2.0",
75
+ "@atlaskit/rovo-triggers": "^3.4.0",
76
76
  "@atlaskit/spinner": "^19.0.0",
77
77
  "@atlaskit/teams-app-config": "^1.11.0",
78
78
  "@atlaskit/teams-avatar": "^2.3.0",
79
- "@atlaskit/teams-public": "^0.53.0",
79
+ "@atlaskit/teams-public": "^0.54.0",
80
80
  "@atlaskit/theme": "^19.0.0",
81
81
  "@atlaskit/tokens": "^6.0.0",
82
82
  "@atlaskit/tooltip": "^20.4.0",
@@ -110,7 +110,7 @@
110
110
  "loader-utils": "^1.1.0",
111
111
  "react-router-dom": "^4.2.2",
112
112
  "sinon": "^2.2.0",
113
- "typescript": "~5.4.2",
113
+ "typescript": "5.9.2",
114
114
  "uid": "^0.0.2"
115
115
  },
116
116
  "keywords": [
package/team/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/components/Team/index.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/components/Team/index.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/types.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/types.d.ts"
14
14
  ]
package/user/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/components/User/index.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/components/User/index.d.ts"
14
14
  ]