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

@uiw/react-color-hue

Package Overview
Dependencies
Maintainers
2
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-color-hue - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

25

cjs/index.js
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
Object.defineProperty(exports, "__esModule", {

@@ -9,25 +8,18 @@ value: true

exports["default"] = void 0;
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
var _react = _interopRequireDefault(require("react"));
var _reactColorAlpha = _interopRequireDefault(require("@uiw/react-color-alpha"));
var _jsxRuntime = require("react/jsx-runtime");
var _excluded = ["prefixCls", "className", "hue", "onChange", "direction"];
var Hue = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
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,
_onChange = props.onChange,
_props$direction = props.direction,
direction = _props$direction === void 0 ? 'horizontal' : _props$direction,
other = (0, _objectWithoutProperties2["default"])(props, _excluded);
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,
_onChange = props.onChange,
_props$direction = props.direction,
direction = _props$direction === void 0 ? 'horizontal' : _props$direction,
other = (0, _objectWithoutProperties2["default"])(props, _excluded);
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactColorAlpha["default"], (0, _objectSpread2["default"])((0, _objectSpread2["default"])({

@@ -52,3 +44,2 @@ ref: ref,

});
Hue.displayName = 'Hue';

@@ -55,0 +46,0 @@ var _default = Hue;

@@ -9,10 +9,9 @@ import _extends from "@babel/runtime/helpers/extends";

var {
prefixCls = 'w-color-hue',
className,
hue = 0,
onChange: _onChange,
direction = 'horizontal'
} = props,
other = _objectWithoutPropertiesLoose(props, _excluded);
prefixCls = 'w-color-hue',
className,
hue = 0,
onChange: _onChange,
direction = 'horizontal'
} = props,
other = _objectWithoutPropertiesLoose(props, _excluded);
return /*#__PURE__*/_jsx(Alpha, _extends({

@@ -19,0 +18,0 @@ ref: ref,

{
"name": "@uiw/react-color-hue",
"version": "1.1.0",
"version": "1.1.1",
"description": "Color hue",

@@ -37,6 +37,6 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"dependencies": {
"@babel/runtime": "~7.18.0",
"@uiw/color-convert": "1.1.0",
"@uiw/react-color-alpha": "1.1.0"
"@babel/runtime": "~7.19.0",
"@uiw/color-convert": "1.1.1",
"@uiw/react-color-alpha": "1.1.1"
}
}

Sorry, the diff of this file is not supported yet

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