@atlaskit/profilecard 24.21.4 → 24.21.6
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,18 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 24.21.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`792dcaffb2b4e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/792dcaffb2b4e) -
|
|
8
|
+
Suppress i18n eslint errors
|
|
9
|
+
|
|
10
|
+
## 24.21.5
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 24.21.4
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -43,11 +43,19 @@ var ErrorMessage = function ErrorMessage(props) {
|
|
|
43
43
|
}, [errorReason, fireAnalytics, fireAnalyticsNext, hasRetry]);
|
|
44
44
|
var errorContent = function errorContent() {
|
|
45
45
|
if (errorReason === 'NotFound') {
|
|
46
|
+
// eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
|
|
46
47
|
return /*#__PURE__*/_react.default.createElement(_Error.ErrorTitle, null, "The user is no longer available for the site");
|
|
47
48
|
}
|
|
48
|
-
return
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
return (
|
|
50
|
+
/*#__PURE__*/
|
|
51
|
+
// eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
|
|
52
|
+
_react.default.createElement(_Error.ErrorTitle, null, "Oops, looks like we\u2019re having issues", /*#__PURE__*/_react.default.createElement("br", null), reload &&
|
|
53
|
+
/*#__PURE__*/
|
|
54
|
+
// eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
|
|
55
|
+
_react.default.createElement(_compiled.Text, {
|
|
56
|
+
color: "color.text.subtlest"
|
|
57
|
+
}, "Try again and we\u2019ll give it another shot"))
|
|
58
|
+
);
|
|
51
59
|
};
|
|
52
60
|
return /*#__PURE__*/_react.default.createElement(_Error.ErrorWrapper, {
|
|
53
61
|
testId: "profilecard-error"
|
|
@@ -34,11 +34,19 @@ const ErrorMessage = props => {
|
|
|
34
34
|
}, [errorReason, fireAnalytics, fireAnalyticsNext, hasRetry]);
|
|
35
35
|
const errorContent = () => {
|
|
36
36
|
if (errorReason === 'NotFound') {
|
|
37
|
+
// eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
|
|
37
38
|
return /*#__PURE__*/React.createElement(ErrorTitle, null, "The user is no longer available for the site");
|
|
38
39
|
}
|
|
39
|
-
return
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
return (
|
|
41
|
+
/*#__PURE__*/
|
|
42
|
+
// eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
|
|
43
|
+
React.createElement(ErrorTitle, null, "Oops, looks like we\u2019re having issues", /*#__PURE__*/React.createElement("br", null), reload &&
|
|
44
|
+
/*#__PURE__*/
|
|
45
|
+
// eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
|
|
46
|
+
React.createElement(Text, {
|
|
47
|
+
color: "color.text.subtlest"
|
|
48
|
+
}, "Try again and we\u2019ll give it another shot"))
|
|
49
|
+
);
|
|
42
50
|
};
|
|
43
51
|
return /*#__PURE__*/React.createElement(ErrorWrapper, {
|
|
44
52
|
testId: "profilecard-error"
|
|
@@ -34,11 +34,19 @@ var ErrorMessage = function ErrorMessage(props) {
|
|
|
34
34
|
}, [errorReason, fireAnalytics, fireAnalyticsNext, hasRetry]);
|
|
35
35
|
var errorContent = function errorContent() {
|
|
36
36
|
if (errorReason === 'NotFound') {
|
|
37
|
+
// eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
|
|
37
38
|
return /*#__PURE__*/React.createElement(ErrorTitle, null, "The user is no longer available for the site");
|
|
38
39
|
}
|
|
39
|
-
return
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
return (
|
|
41
|
+
/*#__PURE__*/
|
|
42
|
+
// eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
|
|
43
|
+
React.createElement(ErrorTitle, null, "Oops, looks like we\u2019re having issues", /*#__PURE__*/React.createElement("br", null), reload &&
|
|
44
|
+
/*#__PURE__*/
|
|
45
|
+
// eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
|
|
46
|
+
React.createElement(Text, {
|
|
47
|
+
color: "color.text.subtlest"
|
|
48
|
+
}, "Try again and we\u2019ll give it another shot"))
|
|
49
|
+
);
|
|
42
50
|
};
|
|
43
51
|
return /*#__PURE__*/React.createElement(ErrorWrapper, {
|
|
44
52
|
testId: "profilecard-error"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "24.21.
|
|
3
|
+
"version": "24.21.6",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/avatar": "^25.5.0",
|
|
46
46
|
"@atlaskit/avatar-group": "^12.4.0",
|
|
47
47
|
"@atlaskit/button": "^23.6.0",
|
|
48
|
-
"@atlaskit/css": "^0.
|
|
48
|
+
"@atlaskit/css": "^0.16.0",
|
|
49
49
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
50
50
|
"@atlaskit/empty-state": "^10.1.0",
|
|
51
51
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
62
62
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
63
63
|
"@atlaskit/popup": "^4.6.0",
|
|
64
|
-
"@atlaskit/primitives": "^16.
|
|
64
|
+
"@atlaskit/primitives": "^16.2.0",
|
|
65
65
|
"@atlaskit/rovo-agent-components": "^3.11.0",
|
|
66
66
|
"@atlaskit/rovo-triggers": "^4.3.0",
|
|
67
67
|
"@atlaskit/spinner": "^19.0.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@atlaskit/teams-avatar": "^2.4.0",
|
|
71
71
|
"@atlaskit/teams-public": "^0.63.0",
|
|
72
72
|
"@atlaskit/theme": "^21.0.0",
|
|
73
|
-
"@atlaskit/tokens": "^8.
|
|
73
|
+
"@atlaskit/tokens": "^8.1.0",
|
|
74
74
|
"@atlaskit/tooltip": "^20.10.0",
|
|
75
75
|
"@babel/runtime": "^7.0.0",
|
|
76
76
|
"@compiled/react": "^0.18.6",
|