@bigbinary/neetoui 6.0.0-beta → 6.0.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/layouts.js CHANGED
@@ -5020,7 +5020,7 @@ var Avatar = function Avatar(_ref) {
5020
5020
  "neeto-ui-avatar__container--medium": isMedium,
5021
5021
  "neeto-ui-avatar__container--large": isLarge,
5022
5022
  "neeto-ui-avatar__container--xlarge": isExtraLarge
5023
- }, [className]);
5023
+ }, className);
5024
5024
  var imageClasses = classnames("neeto-ui-avatar", {
5025
5025
  "neeto-ui-avatar--medium": isMedium,
5026
5026
  "neeto-ui-avatar--large": isLarge,
@@ -5045,13 +5045,13 @@ var Avatar = function Avatar(_ref) {
5045
5045
  disabled: !showTooltip,
5046
5046
  position: "bottom"
5047
5047
  }, tooltipProps), /*#__PURE__*/React.createElement("span", _extends({
5048
+ onClick: onClick,
5048
5049
  className: containerClasses,
5049
- "data-testid": "avatar",
5050
- onClick: onClick
5050
+ "data-testid": "avatar"
5051
5051
  }, otherProps), /*#__PURE__*/React.createElement(Indicator, null), shouldDisplayFallbackAvatar ? /*#__PURE__*/React.createElement(FallbackAvatar, {
5052
+ name: name,
5052
5053
  className: "neeto-ui-avatar__svg",
5053
5054
  colors: COLOR_PALLETE,
5054
- name: name,
5055
5055
  size: SIZE[size],
5056
5056
  variant: AVATAR_VARIANT
5057
5057
  }) : /*#__PURE__*/React.createElement("img", {