carbon-addons-beta-react
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -75,3 +75,4 @@ 'use strict'; | ||
'bx--typeahead-menu-icon': true, | ||
'bx--typeahead-menu-icon--active': isOpen | ||
'bx--typeahead-menu-icon--active': isOpen, | ||
'bx--typeahead-menu-icon--disabled': _this.props.disabled | ||
}); | ||
@@ -104,5 +105,11 @@ | ||
} | ||
var iconClearClass = (0, _classnames2.default)({ | ||
'bx--typeahead-clear-icon': true, | ||
'bx--typeahead-clear-icon--disabled': _this.props.disabled | ||
}); | ||
return _react2.default.createElement( | ||
'button', | ||
{ | ||
'aria-label': 'clear selection', | ||
onClick: clearSelection, | ||
@@ -114,3 +121,3 @@ className: 'bx--typeahead-clear', | ||
{ | ||
className: 'bx--typeahead-clear-icon', | ||
className: iconClearClass, | ||
width: '16', | ||
@@ -231,2 +238,4 @@ height: '16', | ||
}, getInputProps({ | ||
'aria-autocomplete': "list", | ||
'aria-expanded': isOpen, | ||
disabled: disabled, | ||
@@ -233,0 +242,0 @@ id: id, |
@@ -58,3 +58,4 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
'bx--typeahead-menu-icon': true, | ||
'bx--typeahead-menu-icon--active': isOpen | ||
'bx--typeahead-menu-icon--active': isOpen, | ||
'bx--typeahead-menu-icon--disabled': _this.props.disabled | ||
}); | ||
@@ -87,5 +88,11 @@ | ||
} | ||
var iconClearClass = classNames({ | ||
'bx--typeahead-clear-icon': true, | ||
'bx--typeahead-clear-icon--disabled': _this.props.disabled | ||
}); | ||
return React.createElement( | ||
'button', | ||
{ | ||
'aria-label': 'clear selection', | ||
onClick: clearSelection, | ||
@@ -97,3 +104,3 @@ className: 'bx--typeahead-clear', | ||
{ | ||
className: 'bx--typeahead-clear-icon', | ||
className: iconClearClass, | ||
width: '16', | ||
@@ -214,2 +221,4 @@ height: '16', | ||
}, getInputProps({ | ||
'aria-autocomplete': "list", | ||
'aria-expanded': isOpen, | ||
disabled: disabled, | ||
@@ -216,0 +225,0 @@ id: id, |
{ | ||
"name": "carbon-addons-beta-react", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": | ||
@@ -24,3 +24,3 @@ "Beta components, to be considered for potential main library components", | ||
"bluebird": "^3.5.0", | ||
"carbon-components": "^8.1.13", | ||
"carbon-components": "^8.16.8", | ||
"carbon-components-react": "^5.0.6", | ||
@@ -55,3 +55,4 @@ "css-loader": "^0.28.4", | ||
"semantic-release": | ||
"semantic-release pre && npm publish && semantic-release post" | ||
"semantic-release pre && npm publish && semantic-release post", | ||
"test": "" | ||
}, | ||
@@ -58,0 +59,0 @@ "files": ["cjs/**/*", "es/**/*", "scss/**/*"], |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
30649
561
2
1