@atlaskit/profilecard 24.10.2 → 24.11.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 +13 -0
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/components/User/ProfileCardDetails.compiled.css +1 -0
- package/dist/cjs/components/User/ProfileCardDetails.js +2 -2
- package/dist/cjs/components/User/ProfileCardTrigger.js +1 -0
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/es2019/client/getTeamFromAGG.js +1 -1
- package/dist/es2019/components/User/ProfileCardDetails.compiled.css +1 -0
- package/dist/es2019/components/User/ProfileCardDetails.js +2 -2
- package/dist/es2019/components/User/ProfileCardTrigger.js +1 -0
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/esm/client/getTeamFromAGG.js +1 -1
- package/dist/esm/components/User/ProfileCardDetails.compiled.css +1 -0
- package/dist/esm/components/User/ProfileCardDetails.js +2 -2
- package/dist/esm/components/User/ProfileCardTrigger.js +1 -0
- package/dist/esm/util/analytics.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 24.11.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 24.11.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`34525433d4537`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/34525433d4537) -
|
|
14
|
+
Fixed inline mentions starting a new line
|
|
15
|
+
|
|
3
16
|
## 24.10.2
|
|
4
17
|
|
|
5
18
|
### 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.
|
|
14
|
+
headers.append('atl-client-version', "24.11.0");
|
|
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.
|
|
68
|
+
headers.append('atl-client-version', "24.11.0");
|
|
69
69
|
return headers;
|
|
70
70
|
};
|
|
71
71
|
function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
._11c81ixg{font:var(--ds-font-body-large,normal 400 1pc/24px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._vvzr1ixg#profilecard-name-label{font:var(--ds-font-body-large,normal 400 1pc/24px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
3
|
._18m915vq{overflow-y:hidden}
|
|
3
4
|
._18u0idpf{margin-left:0}
|
|
4
5
|
._18u0ze3t{margin-left:var(--ds-space-0,0)}
|
|
@@ -28,9 +28,9 @@ var styles = {
|
|
|
28
28
|
detailedListWrapperNext: "_19pkxy5q _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
29
29
|
fullNameLabel: "_1reo15vq _18m915vq _11c81ixg _1bto1l2s _o5721q9c",
|
|
30
30
|
noMetaLabel: "_2hwxidpf _18u0idpf _rcujxy5q _1l6uutpp",
|
|
31
|
-
noMetaLabelWithHighSpecificity: "_1hpmxy5q _1bguutpp",
|
|
31
|
+
noMetaLabelWithHighSpecificity: "_vvzr1ixg _1hpmxy5q _1bguutpp",
|
|
32
32
|
metaLabel: "_2hwxidpf _otyridpf _18u0idpf _rcujutpp",
|
|
33
|
-
metaLabelWithHighSpecificity: "_2hwxidpf _otyridpf _18u0idpf _1hpmutpp",
|
|
33
|
+
metaLabelWithHighSpecificity: "_2hwxidpf _otyridpf _18u0idpf _vvzr1ixg _1hpmutpp",
|
|
34
34
|
disabledAccount: "_syaz1fxt",
|
|
35
35
|
activeAccount: "_syaz15cr"
|
|
36
36
|
};
|
|
@@ -362,6 +362,7 @@ function ProfilecardTriggerNext(_ref2) {
|
|
|
362
362
|
} : {};
|
|
363
363
|
if ((0, _platformFeatureFlags.fg)('enable_absolute_positioning_profile_card')) {
|
|
364
364
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
365
|
+
as: "span",
|
|
365
366
|
xcss: styles.profileCardTrigger
|
|
366
367
|
}, /*#__PURE__*/_react.default.createElement(_popup.default, {
|
|
367
368
|
isOpen: !!visible,
|
|
@@ -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.
|
|
48
|
+
packageVersion: "24.11.0"
|
|
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.
|
|
9
|
+
headers.append('atl-client-version', "24.11.0");
|
|
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.
|
|
77
|
+
headers.append('atl-client-version', "24.11.0");
|
|
78
78
|
return headers;
|
|
79
79
|
};
|
|
80
80
|
export async function getTeamFromAGG(url, teamId, siteId) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
._11c81ixg{font:var(--ds-font-body-large,normal 400 1pc/24px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._vvzr1ixg#profilecard-name-label{font:var(--ds-font-body-large,normal 400 1pc/24px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
3
|
._18m915vq{overflow-y:hidden}
|
|
3
4
|
._18u0idpf{margin-left:0}
|
|
4
5
|
._18u0ze3t{margin-left:var(--ds-space-0,0)}
|
|
@@ -20,9 +20,9 @@ const styles = {
|
|
|
20
20
|
detailedListWrapperNext: "_19pkxy5q _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
21
21
|
fullNameLabel: "_1reo15vq _18m915vq _11c81ixg _1bto1l2s _o5721q9c",
|
|
22
22
|
noMetaLabel: "_2hwxidpf _18u0idpf _rcujxy5q _1l6uutpp",
|
|
23
|
-
noMetaLabelWithHighSpecificity: "_1hpmxy5q _1bguutpp",
|
|
23
|
+
noMetaLabelWithHighSpecificity: "_vvzr1ixg _1hpmxy5q _1bguutpp",
|
|
24
24
|
metaLabel: "_2hwxidpf _otyridpf _18u0idpf _rcujutpp",
|
|
25
|
-
metaLabelWithHighSpecificity: "_2hwxidpf _otyridpf _18u0idpf _1hpmutpp",
|
|
25
|
+
metaLabelWithHighSpecificity: "_2hwxidpf _otyridpf _18u0idpf _vvzr1ixg _1hpmutpp",
|
|
26
26
|
disabledAccount: "_syaz1fxt",
|
|
27
27
|
activeAccount: "_syaz15cr"
|
|
28
28
|
};
|
|
@@ -290,6 +290,7 @@ export default function ProfilecardTriggerNext({
|
|
|
290
290
|
} : {};
|
|
291
291
|
if (fg('enable_absolute_positioning_profile_card')) {
|
|
292
292
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
|
|
293
|
+
as: "span",
|
|
293
294
|
xcss: styles.profileCardTrigger
|
|
294
295
|
}, /*#__PURE__*/React.createElement(Popup, {
|
|
295
296
|
isOpen: !!visible,
|
|
@@ -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.
|
|
35
|
+
packageVersion: "24.11.0",
|
|
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.
|
|
7
|
+
headers.append('atl-client-version', "24.11.0");
|
|
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.
|
|
59
|
+
headers.append('atl-client-version', "24.11.0");
|
|
60
60
|
return headers;
|
|
61
61
|
};
|
|
62
62
|
export function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
._11c81ixg{font:var(--ds-font-body-large,normal 400 1pc/24px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._vvzr1ixg#profilecard-name-label{font:var(--ds-font-body-large,normal 400 1pc/24px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
3
|
._18m915vq{overflow-y:hidden}
|
|
3
4
|
._18u0idpf{margin-left:0}
|
|
4
5
|
._18u0ze3t{margin-left:var(--ds-space-0,0)}
|
|
@@ -22,9 +22,9 @@ var styles = {
|
|
|
22
22
|
detailedListWrapperNext: "_19pkxy5q _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
23
23
|
fullNameLabel: "_1reo15vq _18m915vq _11c81ixg _1bto1l2s _o5721q9c",
|
|
24
24
|
noMetaLabel: "_2hwxidpf _18u0idpf _rcujxy5q _1l6uutpp",
|
|
25
|
-
noMetaLabelWithHighSpecificity: "_1hpmxy5q _1bguutpp",
|
|
25
|
+
noMetaLabelWithHighSpecificity: "_vvzr1ixg _1hpmxy5q _1bguutpp",
|
|
26
26
|
metaLabel: "_2hwxidpf _otyridpf _18u0idpf _rcujutpp",
|
|
27
|
-
metaLabelWithHighSpecificity: "_2hwxidpf _otyridpf _18u0idpf _1hpmutpp",
|
|
27
|
+
metaLabelWithHighSpecificity: "_2hwxidpf _otyridpf _18u0idpf _vvzr1ixg _1hpmutpp",
|
|
28
28
|
disabledAccount: "_syaz1fxt",
|
|
29
29
|
activeAccount: "_syaz15cr"
|
|
30
30
|
};
|
|
@@ -353,6 +353,7 @@ export default function ProfilecardTriggerNext(_ref2) {
|
|
|
353
353
|
} : {};
|
|
354
354
|
if (fg('enable_absolute_positioning_profile_card')) {
|
|
355
355
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
|
|
356
|
+
as: "span",
|
|
356
357
|
xcss: styles.profileCardTrigger
|
|
357
358
|
}, /*#__PURE__*/React.createElement(Popup, {
|
|
358
359
|
isOpen: !!visible,
|
|
@@ -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.
|
|
42
|
+
packageVersion: "24.11.0"
|
|
43
43
|
}, attributes), {}, {
|
|
44
44
|
firedAt: Math.round(getPageTime())
|
|
45
45
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.11.1",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@atlaskit/avatar": "^25.1.0",
|
|
56
56
|
"@atlaskit/avatar-group": "^12.2.0",
|
|
57
57
|
"@atlaskit/button": "^23.4.0",
|
|
58
|
-
"@atlaskit/css": "^0.
|
|
58
|
+
"@atlaskit/css": "^0.14.0",
|
|
59
59
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
60
60
|
"@atlaskit/empty-state": "^10.1.0",
|
|
61
61
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@atlaskit/people-teams-ui-public": "^3.1.0",
|
|
71
71
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
72
72
|
"@atlaskit/popup": "^4.3.0",
|
|
73
|
-
"@atlaskit/primitives": "^14.
|
|
73
|
+
"@atlaskit/primitives": "^14.14.0",
|
|
74
74
|
"@atlaskit/rovo-agent-components": "^3.2.0",
|
|
75
75
|
"@atlaskit/rovo-triggers": "^3.5.0",
|
|
76
76
|
"@atlaskit/spinner": "^19.0.0",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@atlaskit/teams-avatar": "^2.3.0",
|
|
79
79
|
"@atlaskit/teams-public": "^0.56.0",
|
|
80
80
|
"@atlaskit/theme": "^20.0.0",
|
|
81
|
-
"@atlaskit/tokens": "^6.
|
|
81
|
+
"@atlaskit/tokens": "^6.3.0",
|
|
82
82
|
"@atlaskit/tooltip": "^20.4.0",
|
|
83
83
|
"@babel/runtime": "^7.0.0",
|
|
84
84
|
"@compiled/react": "^0.18.3",
|