@happeouikit/avatar
Advanced tools
Comparing version 1.4.12 to 1.4.14
# Changelog | ||
## 1.14.15 | ||
- Tab index is now a prop (defaults to 0). | ||
## 1.4.13 | ||
- [Fixed] stop publishing the docs | ||
## 1.4.12 | ||
@@ -4,0 +12,0 @@ |
@@ -174,3 +174,4 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray"; | ||
emoji = _ref17.emoji, | ||
onClick = _ref17.onClick; | ||
onClick = _ref17.onClick, | ||
tabIndex = _ref17.tabIndex; | ||
@@ -200,3 +201,3 @@ var _useState = useState(false), | ||
size: size, | ||
tabIndex: "0", | ||
tabIndex: tabIndex, | ||
onPointerDown: function onPointerDown(e) { | ||
@@ -214,3 +215,3 @@ return e.preventDefault(); | ||
size: size, | ||
tabIndex: "0", | ||
tabIndex: tabIndex, | ||
onPointerDown: function onPointerDown(e) { | ||
@@ -234,3 +235,3 @@ return e.preventDefault(); | ||
size: size, | ||
tabIndex: "0", | ||
tabIndex: tabIndex, | ||
onPointerDown: function onPointerDown(e) { | ||
@@ -269,8 +270,10 @@ return e.preventDefault(); | ||
showPresence: PropTypes.bool, | ||
emoji: PropTypes.string | ||
emoji: PropTypes.string, | ||
tabIndex: PropTypes.number | ||
}; | ||
Avatar.defaultProps = { | ||
size: "m", | ||
user: {} | ||
user: {}, | ||
tabIndex: 0 | ||
}; | ||
export default Avatar; |
{ | ||
"name": "@happeouikit/avatar", | ||
"version": "1.4.12", | ||
"version": "1.4.14", | ||
"description": "", | ||
@@ -8,4 +8,3 @@ "main": "dist/index.js", | ||
"files": [ | ||
"dist", | ||
"docs" | ||
"dist" | ||
], | ||
@@ -19,3 +18,3 @@ "scripts": { | ||
"dependencies": { | ||
"@happeouikit/colors": "^1.0.1" | ||
"@happeouikit/colors": "^1.0.2" | ||
}, | ||
@@ -22,0 +21,0 @@ "peerDependencies": { |
284
13355
7
Updated@happeouikit/colors@^1.0.2