react-color
Advanced tools
Comparing version 2.11.6 to 2.11.7
@@ -31,3 +31,3 @@ 'use strict'; | ||
var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Link).call(this)); | ||
var _this = _possibleConstructorReturn(this, (Link.__proto__ || Object.getPrototypeOf(Link)).call(this)); | ||
@@ -81,2 +81,2 @@ _this.handleClick = _this.handleClick.bind(_this); | ||
exports.default = Link; | ||
exports.default = Link; |
@@ -14,2 +14,6 @@ /* jshint node: true, esnext: true */ | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _reactcss = require('reactcss'); | ||
@@ -33,3 +37,3 @@ | ||
return _possibleConstructorReturn(this, Object.getPrototypeOf(Raised).apply(this, arguments)); | ||
return _possibleConstructorReturn(this, (Raised.__proto__ || Object.getPrototypeOf(Raised)).apply(this, arguments)); | ||
} | ||
@@ -116,5 +120,5 @@ | ||
Raised.propTypes = { | ||
background: _react2.default.PropTypes.string, | ||
zDepth: _react2.default.PropTypes.oneOf(['0', '1', '2', '3', '4', '5', 0, 1, 2, 3, 4, 5]), | ||
radius: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.string, _react2.default.PropTypes.number]) | ||
background: _propTypes2.default.string, | ||
zDepth: _propTypes2.default.oneOf(['0', '1', '2', '3', '4', '5', 0, 1, 2, 3, 4, 5]), | ||
radius: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]) | ||
}; | ||
@@ -121,0 +125,0 @@ |
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _reactcss = require('reactcss'); | ||
@@ -32,3 +36,3 @@ | ||
var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Tab).call(this)); | ||
var _this = _possibleConstructorReturn(this, (Tab.__proto__ || Object.getPrototypeOf(Tab)).call(this)); | ||
@@ -88,3 +92,3 @@ _this.handleClick = _this.handleClick.bind(_this); | ||
Tab.propTypes = { | ||
selected: _react2.default.PropTypes.bool | ||
selected: _propTypes2.default.bool | ||
}; | ||
@@ -91,0 +95,0 @@ |
@@ -51,3 +51,3 @@ 'use strict'; | ||
var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Tabs).call(this)); | ||
var _this = _possibleConstructorReturn(this, (Tabs.__proto__ || Object.getPrototypeOf(Tabs)).call(this)); | ||
@@ -54,0 +54,0 @@ var selectedTab; |
@@ -34,3 +34,3 @@ /* jshint node: true, esnext: true */ | ||
return _possibleConstructorReturn(this, Object.getPrototypeOf(Tile).apply(this, arguments)); | ||
return _possibleConstructorReturn(this, (Tile.__proto__ || Object.getPrototypeOf(Tile)).apply(this, arguments)); | ||
} | ||
@@ -59,3 +59,2 @@ | ||
flexBasis: '56px' }, | ||
// 72 minus 16 | ||
content: { | ||
@@ -97,8 +96,6 @@ background: 'none', | ||
var _props$children = _slicedToArray(this.props.children, 2); | ||
var _props$children = _slicedToArray(this.props.children, 2), | ||
sidebar = _props$children[0], | ||
content = _props$children[1]; | ||
var sidebar = _props$children[0]; | ||
var content = _props$children[1]; | ||
return _react2.default.createElement( | ||
@@ -105,0 +102,0 @@ 'div', |
{ | ||
"name": "react-color", | ||
"version": "2.11.6", | ||
"version": "2.11.7", | ||
"description": "A Collection of Color Pickers from Sketch, Photoshop, Chrome & more", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
744850
12879