@hig/icon-button
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -184,2 +184,3 @@ import React, { Component } from 'react'; | ||
}); | ||
var tabIndex = disabled ? "-1" : "0"; | ||
@@ -190,2 +191,3 @@ return React.createElement( | ||
className: css(styles.iconButton), | ||
disabled: disabled, | ||
onClick: onClick, | ||
@@ -198,2 +200,3 @@ onBlur: onBlur, | ||
onMouseUp: onMouseUp, | ||
tabIndex: tabIndex, | ||
title: title | ||
@@ -200,0 +203,0 @@ }, linkProps), |
@@ -191,2 +191,3 @@ 'use strict'; | ||
}); | ||
var tabIndex = disabled ? "-1" : "0"; | ||
@@ -197,2 +198,3 @@ return React__default.createElement( | ||
className: emotion.css(styles.iconButton), | ||
disabled: disabled, | ||
onClick: onClick, | ||
@@ -205,2 +207,3 @@ onBlur: onBlur, | ||
onMouseUp: onMouseUp, | ||
tabIndex: tabIndex, | ||
title: title | ||
@@ -207,0 +210,0 @@ }, linkProps), |
@@ -0,1 +1,9 @@ | ||
# [@hig/icon-button-v2.1.3](https://github.com/Autodesk/hig/compare/@hig/icon-button@2.1.2...@hig/icon-button@2.1.3) (2019-07-26) | ||
### Bug Fixes | ||
* pass down disabled attribute to root element ([3f57c24](https://github.com/Autodesk/hig/commit/3f57c24)) | ||
* prevent disabled IconButton gaining tab focus ([f548f9c](https://github.com/Autodesk/hig/commit/f548f9c)) | ||
# [@hig/icon-button-v2.1.2](https://github.com/Autodesk/hig/compare/@hig/icon-button@2.1.1...@hig/icon-button@2.1.2) (2019-07-24) | ||
@@ -2,0 +10,0 @@ |
{ | ||
"name": "@hig/icon-button", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "HIG IconButton component", | ||
@@ -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
44447
1096