react-color-picker
Advanced tools
Comparing version 3.0.0 to 3.1.0
react-color-picker | ||
================= | ||
### 3.1.0 | ||
* rename css classes from `react-color-picker--*` to `react-color-picker__*` | ||
### 3.0.0 | ||
@@ -6,0 +9,0 @@ |
@@ -22,3 +22,2 @@ 'use strict'; | ||
<ColorPicker | ||
saturationWidth={100} | ||
defaultValue={ COLOR } | ||
@@ -25,0 +24,0 @@ onDrag={ this.onDrag } |
@@ -75,7 +75,7 @@ 'use strict'; | ||
'div', | ||
{ className: 'react-color-picker--hue-spectrum', style: style, onMouseDown: this.onMouseDown }, | ||
{ className: 'react-color-picker__hue-spectrum', style: style, onMouseDown: this.onMouseDown }, | ||
React.createElement( | ||
'div', | ||
{ className: 'react-color-picker--hue-drag', style: dragStyle }, | ||
React.createElement('div', { className: 'react-color-picker--hue-inner' }) | ||
{ className: 'react-color-picker__hue-drag', style: dragStyle }, | ||
React.createElement('div', { className: 'react-color-picker__hue-inner' }) | ||
) | ||
@@ -82,0 +82,0 @@ ); |
@@ -113,3 +113,3 @@ 'use strict'; | ||
className += ' react-color-picker--saturation-spectrum'; | ||
className += ' react-color-picker__saturation-spectrum'; | ||
@@ -156,9 +156,9 @@ return className; | ||
'div', | ||
{ className: 'react-color-picker--saturation-white' }, | ||
React.createElement('div', { className: 'react-color-picker--saturation-black' }) | ||
{ className: 'react-color-picker__saturation-white' }, | ||
React.createElement('div', { className: 'react-color-picker__saturation-black' }) | ||
), | ||
React.createElement( | ||
'div', | ||
{ className: 'react-color-picker--saturation-drag', style: dragStyle }, | ||
React.createElement('div', { className: 'react-color-picker--saturation-inner' }) | ||
{ className: 'react-color-picker__saturation-drag', style: dragStyle }, | ||
React.createElement('div', { className: 'react-color-picker__saturation-inner' }) | ||
) | ||
@@ -165,0 +165,0 @@ ); |
{ | ||
"name": "react-color-picker", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "React Color Picker", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -74,5 +74,5 @@ 'use strict' | ||
return ( | ||
<div className='react-color-picker--hue-spectrum' style={style} onMouseDown={this.onMouseDown}> | ||
<div className="react-color-picker--hue-drag" style={dragStyle}> | ||
<div className="react-color-picker--hue-inner" /> | ||
<div className='react-color-picker__hue-spectrum' style={style} onMouseDown={this.onMouseDown}> | ||
<div className="react-color-picker__hue-drag" style={dragStyle}> | ||
<div className="react-color-picker__hue-inner" /> | ||
</div> | ||
@@ -79,0 +79,0 @@ </div> |
@@ -110,3 +110,3 @@ 'use strict' | ||
className += ' react-color-picker--saturation-spectrum' | ||
className += ' react-color-picker__saturation-spectrum' | ||
@@ -150,7 +150,7 @@ return className | ||
<div className={props.className} style={props.style} onMouseDown={this.onMouseDown}> | ||
<div className='react-color-picker--saturation-white'> | ||
<div className='react-color-picker--saturation-black' /> | ||
<div className='react-color-picker__saturation-white'> | ||
<div className='react-color-picker__saturation-black' /> | ||
</div> | ||
<div className="react-color-picker--saturation-drag" style={dragStyle}> | ||
<div className="react-color-picker--saturation-inner" /> | ||
<div className="react-color-picker__saturation-drag" style={dragStyle}> | ||
<div className="react-color-picker__saturation-inner" /> | ||
</div> | ||
@@ -157,0 +157,0 @@ </div> |
Sorry, the diff of this file is too big to display
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 not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
1058019
22677
2
569