react-best-gradient-color-picker
Advanced tools
Comparing version 3.0.13-beta.10 to 3.0.13-beta.11
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
477184
11310