@hig/input
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -267,10 +267,10 @@ import React from 'react'; | ||
} | ||
if (hasHover) { | ||
if (hasFocus) { | ||
return _extends$2({}, defaults, { | ||
borderBottomColor: themeData["input.hover.borderBottomColor"] | ||
borderBottomColor: themeData["input.focus.borderBottomColor"] | ||
}); | ||
} | ||
if (hasFocus) { | ||
if (hasHover) { | ||
return _extends$2({}, defaults, { | ||
borderBottomColor: themeData["input.focus.borderBottomColor"] | ||
borderBottomColor: themeData["input.hover.borderBottomColor"] | ||
}); | ||
@@ -296,8 +296,2 @@ } | ||
} | ||
if (hasHover) { | ||
return _extends$2({}, defaults, { | ||
height: themeData["input.hover.halo.width"], | ||
transitionDuration: "0.1s, 0.1s" | ||
}); | ||
} | ||
if (hasFocus) { | ||
@@ -310,2 +304,8 @@ return { | ||
} | ||
if (hasHover) { | ||
return _extends$2({}, defaults, { | ||
height: themeData["input.hover.halo.width"], | ||
transitionDuration: "0.1s, 0.1s" | ||
}); | ||
} | ||
return defaults; | ||
@@ -312,0 +312,0 @@ } |
@@ -273,10 +273,10 @@ 'use strict'; | ||
} | ||
if (hasHover) { | ||
if (hasFocus) { | ||
return _extends$2({}, defaults, { | ||
borderBottomColor: themeData["input.hover.borderBottomColor"] | ||
borderBottomColor: themeData["input.focus.borderBottomColor"] | ||
}); | ||
} | ||
if (hasFocus) { | ||
if (hasHover) { | ||
return _extends$2({}, defaults, { | ||
borderBottomColor: themeData["input.focus.borderBottomColor"] | ||
borderBottomColor: themeData["input.hover.borderBottomColor"] | ||
}); | ||
@@ -302,8 +302,2 @@ } | ||
} | ||
if (hasHover) { | ||
return _extends$2({}, defaults, { | ||
height: themeData["input.hover.halo.width"], | ||
transitionDuration: "0.1s, 0.1s" | ||
}); | ||
} | ||
if (hasFocus) { | ||
@@ -316,2 +310,8 @@ return { | ||
} | ||
if (hasHover) { | ||
return _extends$2({}, defaults, { | ||
height: themeData["input.hover.halo.width"], | ||
transitionDuration: "0.1s, 0.1s" | ||
}); | ||
} | ||
return defaults; | ||
@@ -318,0 +318,0 @@ } |
@@ -0,1 +1,8 @@ | ||
# [@hig/input-v1.1.6](https://github.com/Autodesk/hig/compare/@hig/input@1.1.5...@hig/input@1.1.6) (2019-08-07) | ||
### Bug Fixes | ||
* apply focus colour over hover ([abad5ed](https://github.com/Autodesk/hig/commit/abad5ed)) | ||
# [@hig/input-v1.1.5](https://github.com/Autodesk/hig/compare/@hig/input@1.1.4...@hig/input@1.1.5) (2019-07-01) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@hig/input", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "HIG Input", | ||
@@ -33,3 +33,3 @@ "author": "Autodesk Inc.", | ||
"@hig/theme-context": "^3.0.0", | ||
"@hig/theme-data": "^2.8.0", | ||
"@hig/theme-data": "^2.10.0", | ||
"react": "^15.4.1 || ^16.3.2" | ||
@@ -36,0 +36,0 @@ }, |
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
41492