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 2.0.2 to 2.0.3

1

lib/Controls.js

@@ -81,3 +81,2 @@ import React, { useState } from 'react';

width: 30,
...controlBtnStyles(coverUp),
height: 24,

@@ -84,0 +83,0 @@ borderRadius: 4,

2

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

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -38,3 +38,3 @@ import React, { useState } from 'react'

<div className='df ac jfe' style={{height: 28, background: '#e9e9f5', borderRadius: 6, padding: 2, display: noTools ? 'none' : ''}}>
{!hideEyeDrop && <EyeDropper onSelect={handleChange} buttonStyle={{width: 30, ...controlBtnStyles(coverUp), height: 24, borderRadius: 4, display: 'flex', alignItems: 'center', justifyContent: 'center'}}/>}
{!hideEyeDrop && <EyeDropper onSelect={handleChange} buttonStyle={{width: 30, height: 24, borderRadius: 4, display: 'flex', alignItems: 'center', justifyContent: 'center'}}/>}
<div style={{width: 30, ...controlBtnStyles(openAdvanced), height: 24, borderRadius: 4, display: hideAdvancedSliders ? 'none' : 'flex'}} className='jc ac' onClick={() => setOpenAdvanced(!openAdvanced)}>

@@ -41,0 +41,0 @@ <SlidersIcon color={openAdvanced ? '#568CF5' : ''} />

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