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

@uiw/react-color-colorful

Package Overview
Dependencies
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.2.4 to 1.3.0

27

cjs/index.js

@@ -23,15 +23,18 @@ "use strict";

props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
var stylePointer = (0, _objectSpread2["default"])({
'--colorful-pointer-background-color': '#fff',
'--colorful-pointer-border': '2px solid #fff',
height: 28,
width: 28,
position: 'absolute',
transform: 'translate(-14px, -4px)',
boxShadow: '0 2px 4px rgb(0 0 0 / 20%)',
borderRadius: '50%',
background: "url(".concat(_reactColorAlpha.BACKGROUND_IMG, ")"),
backgroundColor: 'var(--colorful-pointer-background-color)',
border: 'var(--colorful-pointer-border)',
zIndex: 1
}, style);
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, props), {}, {
style: (0, _objectSpread2["default"])({
height: 28,
width: 28,
position: 'absolute',
transform: 'translate(-14px, -4px)',
boxShadow: '0 2px 4px rgb(0 0 0 / 20%)',
borderRadius: '50%',
background: "url(".concat(_reactColorAlpha.BACKGROUND_IMG, ")"),
backgroundColor: '#fff',
border: '2px solid #fff',
zIndex: 1
}, style),
style: stylePointer,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {

@@ -38,0 +41,0 @@ style: {

@@ -18,15 +18,18 @@ import _extends from "@babel/runtime/helpers/extends";

props = _objectWithoutPropertiesLoose(_ref, _excluded);
var stylePointer = _extends({
'--colorful-pointer-background-color': '#fff',
'--colorful-pointer-border': '2px solid #fff',
height: 28,
width: 28,
position: 'absolute',
transform: 'translate(-14px, -4px)',
boxShadow: '0 2px 4px rgb(0 0 0 / 20%)',
borderRadius: '50%',
background: "url(" + BACKGROUND_IMG + ")",
backgroundColor: 'var(--colorful-pointer-background-color)',
border: 'var(--colorful-pointer-border)',
zIndex: 1
}, style);
return /*#__PURE__*/_jsx("div", _extends({}, props, {
style: _extends({
height: 28,
width: 28,
position: 'absolute',
transform: 'translate(-14px, -4px)',
boxShadow: '0 2px 4px rgb(0 0 0 / 20%)',
borderRadius: '50%',
background: "url(" + BACKGROUND_IMG + ")",
backgroundColor: '#fff',
border: '2px solid #fff',
zIndex: 1
}, style),
style: stylePointer,
children: /*#__PURE__*/_jsx("div", {

@@ -33,0 +36,0 @@ style: {

{
"name": "@uiw/react-color-colorful",
"version": "1.2.4",
"version": "1.3.0",
"description": "Color Colorful",

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

"dependencies": {
"@uiw/color-convert": "1.2.4",
"@uiw/react-color-alpha": "1.2.4",
"@uiw/react-color-hue": "1.2.4",
"@uiw/react-color-saturation": "1.2.4"
"@uiw/color-convert": "1.3.0",
"@uiw/react-color-alpha": "1.3.0",
"@uiw/react-color-hue": "1.3.0",
"@uiw/react-color-saturation": "1.3.0"
},

@@ -45,0 +45,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