@hig/dropdown
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -32,7 +32,2 @@ import React, { Component } from 'react'; | ||
}, | ||
input: function input(styles) { | ||
return Object.assign(styles, { fontWeight: 600 }); | ||
}, | ||
caret: _extends({ | ||
@@ -53,2 +48,10 @@ position: "absolute", | ||
function customStyles(inputStylesheet) { | ||
return _extends$1({}, inputStylesheet, { | ||
input: _extends$1({}, inputStylesheet.input, { | ||
cursor: "pointer" | ||
}) | ||
}); | ||
} | ||
function InputPresenter(props) { | ||
@@ -71,6 +74,3 @@ var isOpen = props.isOpen, | ||
{ className: css(stylesheet(props, resolvedRoles).wrapper) }, | ||
React.createElement(Input, _extends$1({}, otherProps, { | ||
stylesheet: stylesheet(props, resolvedRoles).input, | ||
readOnly: true | ||
})), | ||
React.createElement(Input, _extends$1({}, otherProps, { stylesheet: customStyles, readOnly: true })), | ||
React.createElement(CaretIcon, { | ||
@@ -77,0 +77,0 @@ style: stylesheet(props, resolvedRoles).caret, |
@@ -40,7 +40,2 @@ 'use strict'; | ||
}, | ||
input: function input(styles) { | ||
return Object.assign(styles, { fontWeight: 600 }); | ||
}, | ||
caret: _extends({ | ||
@@ -61,2 +56,10 @@ position: "absolute", | ||
function customStyles(inputStylesheet) { | ||
return _extends$1({}, inputStylesheet, { | ||
input: _extends$1({}, inputStylesheet.input, { | ||
cursor: "pointer" | ||
}) | ||
}); | ||
} | ||
function InputPresenter(props) { | ||
@@ -79,6 +82,3 @@ var isOpen = props.isOpen, | ||
{ className: emotion.css(stylesheet(props, resolvedRoles).wrapper) }, | ||
React__default.createElement(Input, _extends$1({}, otherProps, { | ||
stylesheet: stylesheet(props, resolvedRoles).input, | ||
readOnly: true | ||
})), | ||
React__default.createElement(Input, _extends$1({}, otherProps, { stylesheet: customStyles, readOnly: true })), | ||
React__default.createElement(CaretIcon, { | ||
@@ -85,0 +85,0 @@ style: stylesheet(props, resolvedRoles).caret, |
@@ -0,1 +1,8 @@ | ||
# [@hig/dropdown-v2.0.6](https://github.com/Autodesk/hig/compare/@hig/dropdown@2.0.5...@hig/dropdown@2.0.6) (2019-06-07) | ||
### Bug Fixes | ||
* cursor should be pointer and not text ([0751d13](https://github.com/Autodesk/hig/commit/0751d13)) | ||
# [@hig/dropdown-v2.0.5](https://github.com/Autodesk/hig/compare/@hig/dropdown@2.0.4...@hig/dropdown@2.0.5) (2019-05-10) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@hig/dropdown", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "HIG Dropdown", | ||
@@ -22,3 +22,3 @@ "author": "Autodesk Inc.", | ||
"@hig/multi-downshift": "^0.1.1", | ||
"@hig/input": "^1.1.3", | ||
"@hig/input": "^1.1.4", | ||
"emotion": "^10.0.0", | ||
@@ -31,3 +31,3 @@ "downshift": "^3.2.0", | ||
"@hig/theme-context": "^3.0.0", | ||
"@hig/theme-data": "^2.5.0", | ||
"@hig/theme-data": "^2.8.0", | ||
"react": "^15.4.1 || ^16.3.2" | ||
@@ -34,0 +34,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
87472
2129
Updated@hig/input@^1.1.4