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

react-best-gradient-color-picker

Package Overview
Dependencies
Maintainers
1
Versions
247
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-best-gradient-color-picker - npm Package Compare versions

Comparing version 3.0.3-beta.7 to 3.0.3-beta.8

13

dist/cjs/components/AdvancedControls.js

@@ -70,4 +70,15 @@ "use strict";

react_1.default.createElement("div", { className: "c-resize ps-rl", onMouseMove: (e) => handleMove(e) },
react_1.default.createElement("div", { style: { left, top: handleTop }, onMouseDown: handleDown, className: "rbgcp-handle", role: "button", tabIndex: 0 }),
react_1.default.createElement("div", { style: {
left,
top: handleTop,
position: 'absolute',
border: '2px solid white',
borderRadius: '50%',
boxShadow: '0px 0px 3px rgba(0,0,0,.5)',
width: '18px',
height: '18px',
zIndex: 1000,
transition: 'all 10ms linear',
}, onMouseDown: handleDown, className: "rbgcp-handle", role: "button", tabIndex: 0 }),
react_1.default.createElement("div", { style: {
textAlign: 'center',

@@ -74,0 +85,0 @@ color: '#fff',

@@ -42,4 +42,15 @@ import React, { useState, useRef, useEffect } from 'react';

React.createElement("div", { className: "c-resize ps-rl", onMouseMove: (e) => handleMove(e) },
React.createElement("div", { style: { left, top: handleTop }, onMouseDown: handleDown, className: "rbgcp-handle", role: "button", tabIndex: 0 }),
React.createElement("div", { style: {
left,
top: handleTop,
position: 'absolute',
border: '2px solid white',
borderRadius: '50%',
boxShadow: '0px 0px 3px rgba(0,0,0,.5)',
width: '18px',
height: '18px',
zIndex: 1000,
transition: 'all 10ms linear',
}, onMouseDown: handleDown, className: "rbgcp-handle", role: "button", tabIndex: 0 }),
React.createElement("div", { style: {
textAlign: 'center',

@@ -46,0 +57,0 @@ color: '#fff',

2

package.json
{
"name": "react-best-gradient-color-picker",
"version": "3.0.3-beta.7",
"version": "3.0.3-beta.8",
"description": "An easy to use color/gradient picker for React.js",

@@ -5,0 +5,0 @@ "type": "module",

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