rc-color-picker
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -162,3 +162,4 @@ 'use strict'; | ||
onBlur: this.onBlur, | ||
mode: this.props.mode | ||
mode: this.props.mode, | ||
className: this.props.className | ||
}); | ||
@@ -184,3 +185,3 @@ }; | ||
var state = this.state; | ||
var classes = [props.prefixCls + '-wrap']; | ||
var classes = [props.prefixCls + '-wrap', props.className]; | ||
if (state.open) { | ||
@@ -262,3 +263,4 @@ classes.push(props.prefixCls + '-open'); | ||
placement: _react.PropTypes.oneOf(['topLeft', 'topRight', 'bottomLeft', 'bottomRight']), | ||
style: _react.PropTypes.object | ||
style: _react.PropTypes.object, | ||
className: _react.PropTypes.string | ||
}; | ||
@@ -276,4 +278,5 @@ | ||
placement: 'topLeft', | ||
style: {} | ||
style: {}, | ||
className: '' | ||
}; | ||
module.exports = exports['default']; |
@@ -172,3 +172,3 @@ 'use strict'; | ||
{ | ||
className: prefixCls, | ||
className: [prefixCls, this.props.className].join(' '), | ||
style: this.props.style, | ||
@@ -254,3 +254,4 @@ onFocus: this.onFocus, | ||
onBlur: _react.PropTypes.func, | ||
mode: _react.PropTypes.oneOf(['RGB', 'HSL', 'HSB']) | ||
mode: _react.PropTypes.oneOf(['RGB', 'HSL', 'HSB']), | ||
className: _react.PropTypes.string | ||
}; | ||
@@ -266,4 +267,5 @@ | ||
onBlur: noop, | ||
mode: 'RGB' | ||
mode: 'RGB', | ||
className: '' | ||
}; | ||
module.exports = exports['default']; |
{ | ||
"name": "rc-color-picker", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "color-picker ui component for react", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -69,2 +69,3 @@ # rc-color-picker | ||
children | Node |`<span className='react-colorpicker-trigger'></span>`|additional trigger appended to picker | ||
className | String | '' | Aditional class to be added to component | ||
@@ -85,2 +86,3 @@ | ||
mode | String |'RGB' | color mode, support mode 'RGB', 'HSB' or 'HSL' | ||
className | String | '' | Aditional class to be added to component | ||
@@ -87,0 +89,0 @@ ## License |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1306641
9070
90
2