@crystaldesign/diva-navigator 26.5.0-beta.6 → 26.5.0-beta.8
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/build/esm/index.js +1 -1
- package/package.json +2 -2
package/build/esm/index.js
CHANGED
|
@@ -1978,7 +1978,7 @@ var ProfileImg = function ProfileImg(_ref) {
|
|
|
1978
1978
|
var hash = md5(user.mainEmail.toLocaleLowerCase());
|
|
1979
1979
|
var gravatar = "https://www.gravatar.com/avatar/".concat(hash, "?s=90px&d=").concat(encodeURIComponent("https://eu.ui-avatars.com/api/".concat(user === null || user === void 0 ? void 0 : user.name, "+").concat(user === null || user === void 0 ? void 0 : user.familyName, "/128/").concat((_theme$palette = theme.palette) === null || _theme$palette === void 0 || (_theme$palette = _theme$palette.primary) === null || _theme$palette === void 0 ? void 0 : _theme$palette.main.substring(1), "/").concat((_theme$palette2 = theme.palette) === null || _theme$palette2 === void 0 || (_theme$palette2 = _theme$palette2.primary) === null || _theme$palette2 === void 0 ? void 0 : _theme$palette2.contrastText.substring(1), "/2/0.4/true/true/true")));
|
|
1980
1980
|
return user.picture ? user.picture : gravatar;
|
|
1981
|
-
}, [user]);
|
|
1981
|
+
}, [user, theme]);
|
|
1982
1982
|
return /*#__PURE__*/jsxs("div", {
|
|
1983
1983
|
id: 'Profile',
|
|
1984
1984
|
className: wrapper$3,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-navigator",
|
|
3
|
-
"version": "26.5.0-beta.
|
|
3
|
+
"version": "26.5.0-beta.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@testing-library/jest-dom": "^6.5.0",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
},
|
|
26
26
|
"module": "build/esm/index.js",
|
|
27
27
|
"types": "./build/types/navigator/src/index.d.ts",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "6ae526e06f770bf9c419a5a90eb6d649cbc7ed45"
|
|
29
29
|
}
|