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

@uiw/react-color-wheel

Package Overview
Dependencies
Maintainers
2
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.3.0 to 1.3.1

19

cjs/index.js

@@ -60,2 +60,13 @@ "use strict";

};
var pointerStyle = {
zIndex: 1,
transform: "translate(".concat(positions.x, "px, ").concat(positions.y, "px)")
};
var pointerElement = pointer && typeof pointer === 'function' ? pointer((0, _objectSpread2["default"])({
prefixCls: prefixCls,
style: pointerStyle
}, comProps)) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Pointer.Pointer, (0, _objectSpread2["default"])({
prefixCls: prefixCls,
style: pointerStyle
}, comProps));
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactDragEventInteractive["default"], (0, _objectSpread2["default"])((0, _objectSpread2["default"])({

@@ -72,10 +83,4 @@ className: [prefixCls, className || ''].filter(Boolean).join(' ')

onDown: handleChange,
children: [/*#__PURE__*/_react["default"].createElement(pointer || _Pointer.Pointer, (0, _objectSpread2["default"])({
prefixCls: prefixCls,
children: [pointerElement, /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
style: {
zIndex: 1,
transform: "translate(".concat(positions.x, "px, ").concat(positions.y, "px)")
}
}, comProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
style: {
position: 'absolute',

@@ -82,0 +87,0 @@ borderRadius: '50%',

@@ -50,2 +50,13 @@ import _extends from "@babel/runtime/helpers/extends";

};
var pointerStyle = {
zIndex: 1,
transform: "translate(" + positions.x + "px, " + positions.y + "px)"
};
var pointerElement = pointer && typeof pointer === 'function' ? pointer(_extends({
prefixCls,
style: pointerStyle
}, comProps)) : /*#__PURE__*/_jsx(Pointer, _extends({
prefixCls: prefixCls,
style: pointerStyle
}, comProps));
return /*#__PURE__*/_jsxs(Interactive, _extends({

@@ -62,10 +73,4 @@ className: [prefixCls, className || ''].filter(Boolean).join(' ')

onDown: handleChange,
children: [/*#__PURE__*/React.createElement(pointer || Pointer, _extends({
prefixCls,
children: [pointerElement, /*#__PURE__*/_jsx("div", {
style: {
zIndex: 1,
transform: "translate(" + positions.x + "px, " + positions.y + "px)"
}
}, comProps)), /*#__PURE__*/_jsx("div", {
style: {
position: 'absolute',

@@ -72,0 +77,0 @@ borderRadius: '50%',

{
"name": "@uiw/react-color-wheel",
"version": "1.3.0",
"version": "1.3.1",
"description": "Color wheel",

@@ -38,4 +38,4 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"dependencies": {
"@uiw/color-convert": "1.3.0",
"@uiw/react-drag-event-interactive": "1.3.0"
"@uiw/color-convert": "1.3.1",
"@uiw/react-drag-event-interactive": "1.3.1"
},

@@ -42,0 +42,0 @@ "devDependencies": {

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