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

@uiw/react-color-chrome

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.1.2 to 1.1.3

7

cjs/Arrow.js

@@ -18,6 +18,6 @@ "use strict";

var btn = (0, _react.useRef)(null);
var handleMouseEnter = (0, _react.useCallback)(function (evn) {
var handleMouseEnter = (0, _react.useCallback)(function () {
btn.current.style['backgroundColor'] = '#e8e8e8';
}, []);
var handleMouseLeave = (0, _react.useCallback)(function (evn) {
var handleMouseLeave = (0, _react.useCallback)(function () {
btn.current.style['backgroundColor'] = 'transparent';

@@ -50,3 +50,2 @@ }, []);

}
module.exports = exports.default;
//# sourceMappingURL=Arrow.js.map
module.exports = exports.default;

@@ -24,9 +24,9 @@ "use strict";

var _excluded = ["prefixCls", "className", "style", "color", "inputType", "rectProps", "onChange"];
var ChromeInputType;
exports.ChromeInputType = ChromeInputType;
(function (ChromeInputType) {
var ChromeInputType = /*#__PURE__*/function (ChromeInputType) {
ChromeInputType["HEXA"] = "hexa";
ChromeInputType["RGBA"] = "rgba";
ChromeInputType["HSLA"] = "hsla";
})(ChromeInputType || (exports.ChromeInputType = ChromeInputType = {}));
return ChromeInputType;
}({});
exports.ChromeInputType = ChromeInputType;
var Chrome = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {

@@ -240,3 +240,2 @@ var _props$prefixCls = props.prefixCls,

var _default = Chrome;
exports["default"] = _default;
//# sourceMappingURL=index.js.map
exports["default"] = _default;

@@ -12,6 +12,6 @@ import _extends from "@babel/runtime/helpers/extends";

var btn = useRef(null);
var handleMouseEnter = useCallback(evn => {
var handleMouseEnter = useCallback(() => {
btn.current.style['backgroundColor'] = '#e8e8e8';
}, []);
var handleMouseLeave = useCallback(evn => {
var handleMouseLeave = useCallback(() => {
btn.current.style['backgroundColor'] = 'transparent';

@@ -43,3 +43,2 @@ }, []);

}));
}
//# sourceMappingURL=Arrow.js.map
}

@@ -17,8 +17,8 @@ import _extends from "@babel/runtime/helpers/extends";

import { jsxs as _jsxs } from "react/jsx-runtime";
export var ChromeInputType;
(function (ChromeInputType) {
export var ChromeInputType = /*#__PURE__*/function (ChromeInputType) {
ChromeInputType["HEXA"] = "hexa";
ChromeInputType["RGBA"] = "rgba";
ChromeInputType["HSLA"] = "hsla";
})(ChromeInputType || (ChromeInputType = {}));
return ChromeInputType;
}({});
var Chrome = /*#__PURE__*/React.forwardRef((props, ref) => {

@@ -221,3 +221,2 @@ var {

Chrome.displayName = 'Chrome';
export default Chrome;
//# sourceMappingURL=index.js.map
export default Chrome;
{
"name": "@uiw/react-color-chrome",
"version": "1.1.2",
"version": "1.1.3",
"description": "Color Github Picker",

@@ -15,4 +15,4 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"scripts": {
"build": "tsbb build",
"watch": "tsbb watch"
"build": "tsbb build src/*.tsx --use-babel --cjs cjs",
"watch": "tsbb watch src/*.tsx --use-babel --cjs cjs"
},

@@ -35,2 +35,3 @@ "keywords": [

"peerDependencies": {
"@babel/runtime": ">=7.19.0",
"react": ">=16.9.0",

@@ -40,12 +41,14 @@ "react-dom": ">=16.9.0"

"dependencies": {
"@babel/runtime": "~7.19.0",
"@uiw/color-convert": "1.1.2",
"@uiw/react-color-alpha": "1.1.2",
"@uiw/react-color-editable-input": "1.1.2",
"@uiw/react-color-editable-input-hsla": "1.1.2",
"@uiw/react-color-editable-input-rgba": "1.1.2",
"@uiw/react-color-github": "1.1.2",
"@uiw/react-color-hue": "1.1.2",
"@uiw/react-color-saturation": "1.1.2"
"@uiw/color-convert": "1.1.3",
"@uiw/react-color-alpha": "1.1.3",
"@uiw/react-color-editable-input": "1.1.3",
"@uiw/react-color-editable-input-hsla": "1.1.3",
"@uiw/react-color-editable-input-rgba": "1.1.3",
"@uiw/react-color-github": "1.1.3",
"@uiw/react-color-hue": "1.1.3",
"@uiw/react-color-saturation": "1.1.3"
},
"devDependencies": {
"@babel/runtime": "^7.21.0"
}
}

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