@hig/avatar
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -1802,3 +1802,3 @@ import React, { Component } from 'react'; | ||
var backgroundId = backgroundIdFromName(name); | ||
var backgroundId = backgroundIdFromName(name) <= COLOR_VARIANT_COUNT ? backgroundIdFromName(name) : COLOR_VARIANT_COUNT; | ||
var label = "Avatar for " + name; | ||
@@ -1805,0 +1805,0 @@ var showImage = imageUrl && !hasImageError; |
@@ -1809,3 +1809,3 @@ 'use strict'; | ||
var backgroundId = backgroundIdFromName(name); | ||
var backgroundId = backgroundIdFromName(name) <= COLOR_VARIANT_COUNT ? backgroundIdFromName(name) : COLOR_VARIANT_COUNT; | ||
var label = "Avatar for " + name; | ||
@@ -1812,0 +1812,0 @@ var showImage = imageUrl && !hasImageError; |
@@ -0,1 +1,8 @@ | ||
# [@hig/avatar-v1.0.6](https://github.com/Autodesk/hig/compare/@hig/avatar@1.0.5...@hig/avatar@1.0.6) (2019-03-20) | ||
### Bug Fixes | ||
* backgroundId to account for lowercase name ([4c0ac9d](https://github.com/Autodesk/hig/commit/4c0ac9d)) | ||
# [@hig/avatar-v1.0.5](https://github.com/Autodesk/hig/compare/@hig/avatar@1.0.4...@hig/avatar@1.0.5) (2019-03-13) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@hig/avatar", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "HIG Avatar", | ||
@@ -5,0 +5,0 @@ "author": "Autodesk Inc.", |
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
115668