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
0
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.13-beta.10 to 3.0.13-beta.11

3

dist/cjs/components/Inputs.js

@@ -88,3 +88,4 @@ "use strict";

var label = showHexAlpha ? 'HEXA' : 'HEX';
return (react_1.default.createElement("div", { style: { width: 88, flexShrink: 0 }, id: "rbgcp-hex-input-wrapper".concat(pickerIdSuffix) },
var width = showHexAlpha ? 88 : 76;
return (react_1.default.createElement("div", { style: { width: width, flexShrink: 0 }, id: "rbgcp-hex-input-wrapper".concat(pickerIdSuffix) },
react_1.default.createElement("input", { onBlur: hexBlur, onFocus: hexFocus, onChange: function (e) { return handleHex(e); }, value: displayValue === null || displayValue === void 0 ? void 0 : displayValue.toUpperCase(), id: "rbgcp-hex-input".concat(pickerIdSuffix), style: __assign(__assign({}, defaultStyles.rbgcpInput), defaultStyles.rbgcpHexInput) }),

@@ -91,0 +92,0 @@ react_1.default.createElement("div", { style: __assign({}, defaultStyles.rbgcpInputLabel) }, label)));

@@ -60,3 +60,4 @@ var __assign = (this && this.__assign) || function () {

var label = showHexAlpha ? 'HEXA' : 'HEX';
return (React.createElement("div", { style: { width: 88, flexShrink: 0 }, id: "rbgcp-hex-input-wrapper".concat(pickerIdSuffix) },
var width = showHexAlpha ? 88 : 76;
return (React.createElement("div", { style: { width: width, flexShrink: 0 }, id: "rbgcp-hex-input-wrapper".concat(pickerIdSuffix) },
React.createElement("input", { onBlur: hexBlur, onFocus: hexFocus, onChange: function (e) { return handleHex(e); }, value: displayValue === null || displayValue === void 0 ? void 0 : displayValue.toUpperCase(), id: "rbgcp-hex-input".concat(pickerIdSuffix), style: __assign(__assign({}, defaultStyles.rbgcpInput), defaultStyles.rbgcpHexInput) }),

@@ -63,0 +64,0 @@ React.createElement("div", { style: __assign({}, defaultStyles.rbgcpInputLabel) }, label)));

{
"name": "react-best-gradient-color-picker",
"version": "3.0.13-beta.10",
"version": "3.0.13-beta.11",
"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