@forter/avatar
Advanced tools
Comparing version 4.0.3 to 4.0.4
@@ -6,2 +6,10 @@ # Change Log | ||
## [4.0.4](https://github.com/forter/web-components/compare/@forter/avatar@4.0.3...@forter/avatar@4.0.4) (2020-01-10) | ||
**Note:** Version bump only for package @forter/avatar | ||
## [4.0.3](https://github.com/forter/web-components/compare/@forter/avatar@4.0.2...@forter/avatar@4.0.3) (2020-01-07) | ||
@@ -8,0 +16,0 @@ |
@@ -5,2 +5,9 @@ import { decorate as _decorate } from './_virtual/_rollupPluginBabelHelpers.js'; | ||
/** | ||
* initial value | ||
* @function | ||
* @param {String} x the current value | ||
* @return {String} the first two letters | ||
*/ | ||
const initial = x => typeof x !== 'string' ? '' : x.substring(0, 1).toUpperCase(); | ||
@@ -107,2 +114,6 @@ /** | ||
/** @inheritdoc */ | ||
/** @inheritdoc */ | ||
/** @inheritdoc */ | ||
function render() { | ||
@@ -109,0 +120,0 @@ const { |
{ | ||
"name": "@forter/avatar", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "Avatar from Forter Components", | ||
@@ -54,3 +54,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "18ec77052de658932ec984e5257fd8706d1028ad" | ||
"gitHead": "4aa5a5b097ffbf67446b25af63923309b9060b26" | ||
} |
@@ -5,2 +5,8 @@ import { LitElement, html, property } from 'lit-element'; | ||
/** | ||
* initial value | ||
* @function | ||
* @param {String} x the current value | ||
* @return {String} the first two letters | ||
*/ | ||
const initial = x => | ||
@@ -50,4 +56,7 @@ typeof x !== 'string' ? '' | ||
/** @inheritdoc */ | ||
static is = 'fc-avatar'; | ||
/** @inheritdoc */ | ||
static styles = [style]; | ||
@@ -54,0 +63,0 @@ |
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
48822
766