@lykkex/react-components
Advanced tools
Comparing version 0.5.5 to 0.5.6
@@ -34,2 +34,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import { MobileMenu } from './MobileMenu'; | ||
import { UserAvatar } from './UserAvatar'; | ||
import { UserMenu } from './UserMenu'; | ||
@@ -64,5 +65,4 @@ import './style.css'; | ||
React.createElement(DropdownControl, null, | ||
React.createElement("span", null, | ||
React.createElement("span", { className: "header__user-icon" }), | ||
React.createElement("span", { className: "header__user-name" }, userName))), | ||
React.createElement(UserAvatar, { userName: userName }), | ||
React.createElement("span", { className: "header__user-name" }, userName)), | ||
React.createElement(DropdownContainer, null, | ||
@@ -75,3 +75,3 @@ React.createElement(UserMenu, { userName: userName, email: email, onLogout: this.props.onLogout }))) | ||
userName ? | ||
React.createElement("div", { className: "header__mobile-icon" }) | ||
React.createElement(UserAvatar, { userName: userName }) | ||
: | ||
@@ -78,0 +78,0 @@ React.createElement("div", { className: "header__mobile-get-started" }, |
@@ -7,2 +7,3 @@ import './style.css'; | ||
export { default as SecondaryMenu } from './SecondaryMenu'; | ||
export { default as UserAvatar } from './UserAvatar'; | ||
export { default as UserMenu } from './UserMenu'; |
@@ -7,3 +7,4 @@ import './style.css'; | ||
export { default as SecondaryMenu } from './SecondaryMenu'; | ||
export { default as UserAvatar } from './UserAvatar'; | ||
export { default as UserMenu } from './UserMenu'; | ||
//# sourceMappingURL=index.js.map |
@@ -23,2 +23,3 @@ var __assign = (this && this.__assign) || Object.assign || function(t) { | ||
import { SecondaryMenu } from './SecondaryMenu'; | ||
import { UserAvatar } from './UserAvatar'; | ||
export var MobileMenu = function (_a) { | ||
@@ -30,3 +31,3 @@ var className = _a.className, userName = _a.userName, onCloseClick = _a.onCloseClick, attributes = __rest(_a, ["className", "userName", "onCloseClick"]); | ||
userName ? | ||
React.createElement("div", { className: "mobile-menu__user-icon" }) | ||
React.createElement(UserAvatar, { userName: userName }) | ||
: | ||
@@ -33,0 +34,0 @@ React.createElement("div", { className: "mobile-menu__get-started" }, |
@@ -20,2 +20,3 @@ var __assign = (this && this.__assign) || Object.assign || function(t) { | ||
import React from 'react'; | ||
import { UserAvatar } from './UserAvatar'; | ||
export var UserMenu = function (_a) { | ||
@@ -30,3 +31,3 @@ var userName = _a.userName, email = _a.email, onLogout = _a.onLogout, className = _a.className, attributes = __rest(_a, ["userName", "email", "onLogout", "className"]); | ||
React.createElement("a", { className: "user-menu__sign-out", href: "#", onClick: handleLogoutClick })), | ||
React.createElement("div", { className: "user-menu__icon" }), | ||
React.createElement(UserAvatar, { userName: userName }), | ||
React.createElement("div", { className: "user-menu__name" }, userName), | ||
@@ -33,0 +34,0 @@ email && React.createElement("div", { className: "user-menu__email" }, email))); |
{ | ||
"name": "@lykkex/react-components", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "React Components for Lykke projects", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10459669
216
65159