@uiw/react-color-chrome
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -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
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
31191
1
12
772
+ Added@babel/runtime@7.26.0(transitive)
+ Added@uiw/color-convert@1.1.3(transitive)
+ Added@uiw/react-color-alpha@1.1.3(transitive)
+ Added@uiw/react-color-editable-input@1.1.3(transitive)
+ Added@uiw/react-color-editable-input-hsla@1.1.3(transitive)
+ Added@uiw/react-color-editable-input-rgba@1.1.3(transitive)
+ Added@uiw/react-color-github@1.1.3(transitive)
+ Added@uiw/react-color-hue@1.1.3(transitive)
+ Added@uiw/react-color-saturation@1.1.3(transitive)
+ Added@uiw/react-color-swatch@1.1.3(transitive)
+ Added@uiw/react-drag-event-interactive@1.1.3(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
- Removed@babel/runtime@~7.19.0
- Removed@babel/runtime@7.19.4(transitive)
- Removed@uiw/color-convert@1.1.2(transitive)
- Removed@uiw/react-color-alpha@1.1.2(transitive)
- Removed@uiw/react-color-editable-input@1.1.2(transitive)
- Removed@uiw/react-color-editable-input-hsla@1.1.2(transitive)
- Removed@uiw/react-color-editable-input-rgba@1.1.2(transitive)
- Removed@uiw/react-color-github@1.1.2(transitive)
- Removed@uiw/react-color-hue@1.1.2(transitive)
- Removed@uiw/react-color-saturation@1.1.2(transitive)
- Removed@uiw/react-color-swatch@1.1.2(transitive)
- Removed@uiw/react-drag-event-interactive@1.1.2(transitive)
- Removedregenerator-runtime@0.13.11(transitive)
Updated@uiw/color-convert@1.1.3
Updated@uiw/react-color-alpha@1.1.3
Updated@uiw/react-color-hue@1.1.3