anchor-ui
Advanced tools
Comparing version 1.9.2 to 1.9.3
@@ -104,8 +104,2 @@ 'use strict'; | ||
var buttonStyle = { | ||
position: 'absolute', | ||
right: '20px', | ||
top: '4px' | ||
}; | ||
return _react2.default.createElement( | ||
@@ -116,3 +110,3 @@ 'section', | ||
'div', | ||
{ className: classes.button }, | ||
{ className: (0, _classnames2.default)(classes.button, [classes.disabled]) }, | ||
leftButton | ||
@@ -132,5 +126,9 @@ ) : null, | ||
_react2.default.createElement( | ||
_button2.default, | ||
{ iconButton: true, onClick: sendMessage, style: buttonStyle }, | ||
_react2.default.createElement(_iconSend2.default, { color: iconColor }) | ||
'div', | ||
{ className: (0, _classnames2.default)(classes.rightButton, [classes.disabled]) }, | ||
_react2.default.createElement( | ||
_button2.default, | ||
{ iconButton: true, onClick: sendMessage }, | ||
_react2.default.createElement(_iconSend2.default, { color: iconColor }) | ||
) | ||
) | ||
@@ -153,3 +151,4 @@ ); | ||
input: _react.PropTypes.string.isRequired, | ||
button: _react.PropTypes.string.isRequired | ||
button: _react.PropTypes.string.isRequired, | ||
rightButton: _react.PropTypes.string.isRequired | ||
}).isRequired | ||
@@ -156,0 +155,0 @@ }).isRequired, |
@@ -33,4 +33,10 @@ 'use strict'; | ||
outline: 'none' | ||
}, | ||
'&:disabled': { | ||
opacity: '0.38' | ||
} | ||
}, | ||
disabled: { | ||
opacity: '0.38' | ||
}, | ||
leftButton: { | ||
@@ -43,2 +49,7 @@ paddingLeft: '48px' | ||
top: '4px' | ||
}, | ||
rightButton: { | ||
position: 'absolute', | ||
right: '20px', | ||
top: '4px' | ||
} | ||
@@ -45,0 +56,0 @@ }; |
{ | ||
"name": "anchor-ui", | ||
"version": "1.9.2", | ||
"version": "1.9.3", | ||
"description": "React Component UI Kit", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
214614
3572