@atlaskit/profilecard 24.46.4 → 24.47.0
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 +11 -0
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/util/analytics.js +2 -2
- package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/es2019/client/getTeamFromAGG.js +1 -1
- package/dist/es2019/util/analytics.js +2 -2
- package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/esm/client/getTeamFromAGG.js +1 -1
- package/dist/esm/util/analytics.js +2 -2
- package/package.json +3 -3
- package/dist/cjs/styled/constants.js +0 -19
- package/dist/es2019/styled/constants.js +0 -13
- package/dist/esm/styled/constants.js +0 -13
- package/dist/types/styled/constants.d.ts +0 -13
- package/dist/types-ts4.5/styled/constants.d.ts +0 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 24.47.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b3d4b6644638a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b3d4b6644638a) -
|
|
8
|
+
Remove dead code from profilecard package
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 24.46.4
|
|
4
15
|
|
|
5
16
|
### 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', "24.46.
|
|
14
|
+
headers.append('atl-client-version', "24.46.4");
|
|
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', "24.46.
|
|
69
|
+
headers.append('atl-client-version', "24.46.4");
|
|
70
70
|
return headers;
|
|
71
71
|
};
|
|
72
72
|
function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -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 = "24.46.
|
|
15
|
+
packageVersion: (_process$env$_PACKAGE2 = "24.46.4") !== 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: "24.46.
|
|
34
|
+
packageVersion: "24.46.4"
|
|
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', "24.46.
|
|
9
|
+
headers.append('atl-client-version', "24.46.4");
|
|
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', "24.46.
|
|
81
|
+
headers.append('atl-client-version', "24.46.4");
|
|
82
82
|
return headers;
|
|
83
83
|
};
|
|
84
84
|
export async function getTeamFromAGG(url, teamId, siteId) {
|
|
@@ -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 = "24.46.
|
|
5
|
+
packageVersion: (_process$env$_PACKAGE2 = "24.46.4") !== 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: "24.46.
|
|
22
|
+
packageVersion: "24.46.4",
|
|
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', "24.46.
|
|
7
|
+
headers.append('atl-client-version', "24.46.4");
|
|
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', "24.46.
|
|
62
|
+
headers.append('atl-client-version', "24.46.4");
|
|
63
63
|
return headers;
|
|
64
64
|
};
|
|
65
65
|
export function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -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 = "24.46.
|
|
8
|
+
packageVersion: (_process$env$_PACKAGE2 = "24.46.4") !== 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: "24.46.
|
|
27
|
+
packageVersion: "24.46.4"
|
|
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": "24.
|
|
3
|
+
"version": "24.47.0",
|
|
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": "^4.18.0",
|
|
51
51
|
"@atlaskit/heading": "^5.3.0",
|
|
52
52
|
"@atlaskit/icon": "^34.0.0",
|
|
53
|
-
"@atlaskit/link": "3.3.
|
|
53
|
+
"@atlaskit/link": "3.3.4",
|
|
54
54
|
"@atlaskit/lozenge": "^13.5.0",
|
|
55
55
|
"@atlaskit/menu": "^8.4.0",
|
|
56
56
|
"@atlaskit/modal-dialog": "^14.14.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/teams-app-config": "^1.12.0",
|
|
65
65
|
"@atlaskit/teams-app-internal-analytics": "^1.27.0",
|
|
66
66
|
"@atlaskit/teams-avatar": "^2.4.0",
|
|
67
|
-
"@atlaskit/teams-public": "^0.
|
|
67
|
+
"@atlaskit/teams-public": "^0.74.0",
|
|
68
68
|
"@atlaskit/theme": "^22.0.0",
|
|
69
69
|
"@atlaskit/tmp-editor-statsig": "^54.3.0",
|
|
70
70
|
"@atlaskit/tokens": "^11.4.0",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.teamHeaderBgColor = exports.labelTextColor = exports.labelIconColor = exports.headerTextColorInactive = exports.headerTextColor = exports.headerBgColorDisabledUser = exports.headerBgColor = exports.errorTitleColor = exports.errorTextColor = exports.errorIconColor = exports.bgColor = exports.appLabelTextColor = exports.appLabelBgColor = void 0;
|
|
7
|
-
var bgColor = exports.bgColor = "var(--ds-surface-overlay, #FFFFFF)";
|
|
8
|
-
var headerBgColor = exports.headerBgColor = "var(--ds-background-brand-bold, #1868DB)";
|
|
9
|
-
var teamHeaderBgColor = exports.teamHeaderBgColor = "var(--ds-background-neutral, #0515240F)";
|
|
10
|
-
var headerBgColorDisabledUser = exports.headerBgColorDisabledUser = "var(--ds-background-disabled, #17171708)";
|
|
11
|
-
var headerTextColor = exports.headerTextColor = "var(--ds-text-inverse, #FFFFFF)";
|
|
12
|
-
var headerTextColorInactive = exports.headerTextColorInactive = "var(--ds-text, #292A2E)";
|
|
13
|
-
var appLabelBgColor = exports.appLabelBgColor = "var(--ds-background-neutral, #0515240F)";
|
|
14
|
-
var appLabelTextColor = exports.appLabelTextColor = "var(--ds-text, #292A2E)";
|
|
15
|
-
var labelTextColor = exports.labelTextColor = "var(--ds-text, #292A2E)";
|
|
16
|
-
var labelIconColor = exports.labelIconColor = "var(--ds-text-subtlest, #6B6E76)";
|
|
17
|
-
var errorIconColor = exports.errorIconColor = "var(--ds-text-disabled, #080F214A)";
|
|
18
|
-
var errorTitleColor = exports.errorTitleColor = "var(--ds-text, #292A2E)";
|
|
19
|
-
var errorTextColor = exports.errorTextColor = "var(--ds-text-subtlest, #6B6E76)";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export const bgColor = "var(--ds-surface-overlay, #FFFFFF)";
|
|
2
|
-
export const headerBgColor = "var(--ds-background-brand-bold, #1868DB)";
|
|
3
|
-
export const teamHeaderBgColor = "var(--ds-background-neutral, #0515240F)";
|
|
4
|
-
export const headerBgColorDisabledUser = "var(--ds-background-disabled, #17171708)";
|
|
5
|
-
export const headerTextColor = "var(--ds-text-inverse, #FFFFFF)";
|
|
6
|
-
export const headerTextColorInactive = "var(--ds-text, #292A2E)";
|
|
7
|
-
export const appLabelBgColor = "var(--ds-background-neutral, #0515240F)";
|
|
8
|
-
export const appLabelTextColor = "var(--ds-text, #292A2E)";
|
|
9
|
-
export const labelTextColor = "var(--ds-text, #292A2E)";
|
|
10
|
-
export const labelIconColor = "var(--ds-text-subtlest, #6B6E76)";
|
|
11
|
-
export const errorIconColor = "var(--ds-text-disabled, #080F214A)";
|
|
12
|
-
export const errorTitleColor = "var(--ds-text, #292A2E)";
|
|
13
|
-
export const errorTextColor = "var(--ds-text-subtlest, #6B6E76)";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export var bgColor = "var(--ds-surface-overlay, #FFFFFF)";
|
|
2
|
-
export var headerBgColor = "var(--ds-background-brand-bold, #1868DB)";
|
|
3
|
-
export var teamHeaderBgColor = "var(--ds-background-neutral, #0515240F)";
|
|
4
|
-
export var headerBgColorDisabledUser = "var(--ds-background-disabled, #17171708)";
|
|
5
|
-
export var headerTextColor = "var(--ds-text-inverse, #FFFFFF)";
|
|
6
|
-
export var headerTextColorInactive = "var(--ds-text, #292A2E)";
|
|
7
|
-
export var appLabelBgColor = "var(--ds-background-neutral, #0515240F)";
|
|
8
|
-
export var appLabelTextColor = "var(--ds-text, #292A2E)";
|
|
9
|
-
export var labelTextColor = "var(--ds-text, #292A2E)";
|
|
10
|
-
export var labelIconColor = "var(--ds-text-subtlest, #6B6E76)";
|
|
11
|
-
export var errorIconColor = "var(--ds-text-disabled, #080F214A)";
|
|
12
|
-
export var errorTitleColor = "var(--ds-text, #292A2E)";
|
|
13
|
-
export var errorTextColor = "var(--ds-text-subtlest, #6B6E76)";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const bgColor: "var(--ds-surface-overlay)";
|
|
2
|
-
export declare const headerBgColor: "var(--ds-background-brand-bold)";
|
|
3
|
-
export declare const teamHeaderBgColor: "var(--ds-background-neutral)";
|
|
4
|
-
export declare const headerBgColorDisabledUser: "var(--ds-background-disabled)";
|
|
5
|
-
export declare const headerTextColor: "var(--ds-text-inverse)";
|
|
6
|
-
export declare const headerTextColorInactive: "var(--ds-text)";
|
|
7
|
-
export declare const appLabelBgColor: "var(--ds-background-neutral)";
|
|
8
|
-
export declare const appLabelTextColor: "var(--ds-text)";
|
|
9
|
-
export declare const labelTextColor: "var(--ds-text)";
|
|
10
|
-
export declare const labelIconColor: "var(--ds-text-subtlest)";
|
|
11
|
-
export declare const errorIconColor: "var(--ds-text-disabled)";
|
|
12
|
-
export declare const errorTitleColor: "var(--ds-text)";
|
|
13
|
-
export declare const errorTextColor: "var(--ds-text-subtlest)";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const bgColor: "var(--ds-surface-overlay)";
|
|
2
|
-
export declare const headerBgColor: "var(--ds-background-brand-bold)";
|
|
3
|
-
export declare const teamHeaderBgColor: "var(--ds-background-neutral)";
|
|
4
|
-
export declare const headerBgColorDisabledUser: "var(--ds-background-disabled)";
|
|
5
|
-
export declare const headerTextColor: "var(--ds-text-inverse)";
|
|
6
|
-
export declare const headerTextColorInactive: "var(--ds-text)";
|
|
7
|
-
export declare const appLabelBgColor: "var(--ds-background-neutral)";
|
|
8
|
-
export declare const appLabelTextColor: "var(--ds-text)";
|
|
9
|
-
export declare const labelTextColor: "var(--ds-text)";
|
|
10
|
-
export declare const labelIconColor: "var(--ds-text-subtlest)";
|
|
11
|
-
export declare const errorIconColor: "var(--ds-text-disabled)";
|
|
12
|
-
export declare const errorTitleColor: "var(--ds-text)";
|
|
13
|
-
export declare const errorTextColor: "var(--ds-text-subtlest)";
|