Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-color-picker

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-color-picker - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

11

lib/ColorPicker.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc