@uiw/react-color-hue
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -18,6 +18,9 @@ "use strict"; | ||
var _excluded = ["hue", "onChange", "direction"]; | ||
var _excluded = ["prefixCls", "className", "hue", "onChange", "direction"]; | ||
var _default = /*#__PURE__*/_react.default.forwardRef(function (props, ref) { | ||
var _props$hue = props.hue, | ||
var _props$prefixCls = props.prefixCls, | ||
prefixCls = _props$prefixCls === void 0 ? 'w-color-hue' : _props$prefixCls, | ||
className = props.className, | ||
_props$hue = props.hue, | ||
hue = _props$hue === void 0 ? 0 : _props$hue, | ||
@@ -29,3 +32,4 @@ _onChange = props.onChange, | ||
return /*#__PURE__*/_react.default.createElement(_reactColorAlpha.default, (0, _extends2.default)({ | ||
ref: ref | ||
ref: ref, | ||
className: "".concat(prefixCls, " ").concat(className || '') | ||
}, other, { | ||
@@ -50,2 +54,2 @@ direction: direction, | ||
module.exports = exports.default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJmb3J3YXJkUmVmIiwicHJvcHMiLCJyZWYiLCJodWUiLCJvbkNoYW5nZSIsImRpcmVjdGlvbiIsIm90aGVyIiwiaCIsInMiLCJ2IiwiYSIsIl8iLCJpbnRlcmFjdGlvbiIsImxlZnQiLCJ0b3AiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7QUFBQTs7QUFDQTs7Ozs0QkFPZUEsZUFBTUMsVUFBTixDQUEyQyxVQUFDQyxLQUFELEVBQVFDLEdBQVIsRUFBZ0I7QUFDeEUsbUJBQWtFRCxLQUFsRSxDQUFRRSxHQUFSO0FBQUEsTUFBUUEsR0FBUiwyQkFBYyxDQUFkO0FBQUEsTUFBaUJDLFNBQWpCLEdBQWtFSCxLQUFsRSxDQUFpQkcsUUFBakI7QUFBQSx5QkFBa0VILEtBQWxFLENBQTJCSSxTQ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ZWN0aW9uID0gJ2hvcml6b250YWwnLCAuLi5vdGhlciB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPEFscGhhXG4gICAgICByZWY9e3JlZn1cbiAgICAgIGNsYXNzTmFtZT17YCR7cHJlZml4Q2xzfSAke2NsYXNzTmFtZSB8fCAnJ31gfVxuICAgICAgey4uLm90aGVyfVxuICAgICAgZGlyZWN0aW9uPXtkaXJlY3Rpb259XG4gICAgICBiYWNrZ3JvdW5kPXtgbGluZWFyLWdyYWRpZW50KHRvICR7XG4gICAgICAgIGRpcmVjdGlvbiA9PT0gJ2hvcml6b250YWwnID8gJ3JpZ2h0JyA6ICdib3R0b20nXG4gICAgICB9LCByZ2IoMjU1LCAwLCAwKSAwJSwgcmdiKDI1NSwgMjU1LCAwKSAxNyUsIHJnYigwLCAyNTUsIDApIDMzJSwgcmdiKDAsIDI1NSwgMjU1KSA1MCUsIHJnYigwLCAwLCAyNTUpIDY3JSwgcmdiKDI1NSwgMCwgMjU1KSA4MyUsIHJnYigyNTUsIDAsIDApIDEwMCUpYH1cbiAgICAgIGhzdmE9e3sgaDogaHVlLCBzOiAxMDAsIHY6IDEwMCwgYTogaHVlIC8gMzYwIH19XG4gICAgICBvbkNoYW5nZT17KF8sIGludGVyYWN0aW9uKSA9PiB7XG4gICAgICAgIG9uQ2hhbmdlICYmIG9uQ2hhbmdlKHsgaDogZGlyZWN0aW9uID09PSAnaG9yaXpvbnRhbCcgPyAzNjAgKiBpbnRlcmFjdGlvbi5sZWZ0IDogMzYwICogaW50ZXJhY3Rpb24udG9wIH0pO1xuICAgICAgfX1cbiAgICAvPlxuICApO1xufSk7XG4iXX0= |
import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
var _excluded = ["hue", "onChange", "direction"]; | ||
var _excluded = ["prefixCls", "className", "hue", "onChange", "direction"]; | ||
import React from 'react'; | ||
import Alpha from '@uiw/react-color-alpha'; | ||
export default /*#__PURE__*/React.forwardRef(function (props, ref) { | ||
var _props$hue = props.hue, | ||
var _props$prefixCls = props.prefixCls, | ||
prefixCls = _props$prefixCls === void 0 ? 'w-color-hue' : _props$prefixCls, | ||
className = props.className, | ||
_props$hue = props.hue, | ||
hue = _props$hue === void 0 ? 0 : _props$hue, | ||
@@ -15,3 +18,4 @@ _onChange = props.onChange, | ||
return /*#__PURE__*/React.createElement(Alpha, _extends({ | ||
ref: ref | ||
ref: ref, | ||
className: "".concat(prefixCls, " ").concat(className || '') | ||
}, other, { | ||
@@ -33,2 +37,2 @@ direction: direction, | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJBbHBoYSIsImZvcndhcmRSZWYiLCJwcm9wcyIsInJlZiIsImh1ZSIsIm9uQ2hhbmdlIiwiZGlyZWN0aW9uIiwib3RoZXIiLCJoIiwicyIsInYiLCJhIiwiXyIsImludGVyYWN0aW9uIiwibGVmdCIsInRvcCJdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsT0FBT0EsS0FBUCxNQUFrQixPQUFsQjtBQUNBLE9BQU9DLEtBQVAsTUFBa0Msd0JBQWxDO0FBT0EsNEJBQWVELEtBQUssQ0FBQ0UsVUFBTixDQUEyQyxVQUFDQyxLQUFELEVBQVFDLEdBQVIsRUFBZ0I7QUFDeEUsbUJBQWtFRCxLQUFsRSxDQUFRRSxHQUFSO0FBQUEsTUFBUUEsR0FBUiwyQkFBYyxDQUFkO0FBQUEsTUFBaUJDLFNBQWpCLEdBQWtFSCxLQUFsRSxDQUFpQkcsUUFBakI7QUFBQSx5QkFBa0VILEtBQWxFLENBQTJCSSxTQUEzQjtBQUFBLE1BQTJCQSxTQUEzQixpQ0FBdUMsWUFBdkM7QUFBQSxNQUF3REMsS0FBeEQsNEJBQWtFTCxLQUFsRTs7QUFDQSxzQkFDR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9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPEFscGhhXG4gICAgICByZWY9e3JlZn1cbiAgICAgIGNsYXNzTmFtZT17YCR7cHJlZml4Q2xzfSAke2NsYXNzTmFtZSB8fCAnJ31gfVxuICAgICAgey4uLm90aGVyfVxuICAgICAgZGlyZWN0aW9uPXtkaXJlY3Rpb259XG4gICAgICBiYWNrZ3JvdW5kPXtgbGluZWFyLWdyYWRpZW50KHRvICR7XG4gICAgICAgIGRpcmVjdGlvbiA9PT0gJ2hvcml6b250YWwnID8gJ3JpZ2h0JyA6ICdib3R0b20nXG4gICAgICB9LCByZ2IoMjU1LCAwLCAwKSAwJSwgcmdiKDI1NSwgMjU1LCAwKSAxNyUsIHJnYigwLCAyNTUsIDApIDMzJSwgcmdiKDAsIDI1NSwgMjU1KSA1MCUsIHJnYigwLCAwLCAyNTUpIDY3JSwgcmdiKDI1NSwgMCwgMjU1KSA4MyUsIHJnYigyNTUsIDAsIDApIDEwMCUpYH1cbiAgICAgIGhzdmE9e3sgaDogaHVlLCBzOiAxMDAsIHY6IDEwMCwgYTogaHVlIC8gMzYwIH19XG4gICAgICBvbkNoYW5nZT17KF8sIGludGVyYWN0aW9uKSA9PiB7XG4gICAgICAgIG9uQ2hhbmdlICYmIG9uQ2hhbmdlKHsgaDogZGlyZWN0aW9uID09PSAnaG9yaXpvbnRhbCcgPyAzNjAgKiBpbnRlcmFjdGlvbi5sZWZ0IDogMzYwICogaW50ZXJhY3Rpb24udG9wIH0pO1xuICAgICAgfX1cbiAgICAvPlxuICApO1xufSk7XG4iXX0= |
{ | ||
"name": "@uiw/react-color-hue", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Color hue", | ||
@@ -31,4 +31,4 @@ "author": "Kenny Wong <wowohoo@qq.com>", | ||
"@babel/runtime": "7.14.6", | ||
"@uiw/color-convert": "^0.0.6", | ||
"@uiw/react-color-alpha": "^0.0.6" | ||
"@uiw/color-convert": "^0.0.7", | ||
"@uiw/react-color-alpha": "^0.0.7" | ||
}, | ||
@@ -35,0 +35,0 @@ "devDependencies": { |
@@ -1,2 +0,2 @@ | ||
Color Hue | ||
React Color Hue | ||
=== | ||
@@ -41,2 +41,8 @@ | ||
} | ||
``` | ||
``` | ||
<!--footer-dividing--> | ||
## License | ||
Licensed under the MIT License. |
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
13367
120
48
+ Added@uiw/color-convert@0.0.7(transitive)
+ Added@uiw/react-color-alpha@0.0.7(transitive)
+ Added@uiw/react-drag-event-interactive@0.0.7(transitive)
- Removed@uiw/color-convert@0.0.6(transitive)
- Removed@uiw/react-color-alpha@0.0.6(transitive)
- Removed@uiw/react-drag-event-interactive@0.0.6(transitive)
Updated@uiw/color-convert@^0.0.7