Socket
Socket
Sign inDemoInstall

@uiw/react-color-shade-slider

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-color-shade-slider - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

6

lib/cjs/index.js

@@ -40,3 +40,3 @@ "use strict";

v: hsva.v,
a: hsva.v / 100
a: 1 - hsva.v / 100
},

@@ -47,3 +47,3 @@ direction: direction,

_onChange && _onChange({
v: direction === 'horizontal' ? interaction.left * 100 : interaction.top * 100,
v: direction === 'horizontal' ? 100 - interaction.left * 100 : 100 - interaction.top * 100,
s: 100

@@ -57,2 +57,2 @@ });

module.exports = exports.default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJmb3J3YXJkUmVmIiwicHJvcHMiLCJyZWYiLCJvbkNoYW5nZSIsImRpcmVjdGlvbiIsImhzdmEiLCJvdGhlciIsImNvbG9yRnJvbSIsIk9iamVjdCIsImFzc2lnbiIsImEiLCJzIiwidiIsImgiLCJfIiwiaW50ZXJhY3Rpb24iLCJsZWZ0IiwidG9wIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQUE7O0FBQ0E7O0FBQ0E7Ozs7NEJBTWVBLGVBQU1DLFVBQU4sQ0FBbUQsVUFBQ0MsS0FBRCxFQUFRQyxHQUFSLEVBQWdCO0FBQ2hGLE1BQVFDLFNBQVIsR0FBK0RGLEtBQS9ELENBQVFFLFFBQVI7QUFBQSx5QkFBK0RGLEtBQS9ELENBQWtCRyxTQUFsQjtBQUFBLE1BQWtCQSxTQUFsQixpQ0FBOEIsWUFBOUI7QUFBQSxNQUE0Q0MsSUFBNUMsR0FBK0RKLEtBQS9ELENBQTRDSSxJQUE1QztBQUFBLE1BQXFEQyxLQUFyRCwwQ0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SA9PiB7XG4gICAgICAgIG9uQ2hhbmdlICYmXG4gICAgICAgICAgb25DaGFuZ2UoeyB2OiBkaXJlY3Rpb24gPT09ICdob3Jpem9udGFsJyA/IDEwMCAtIGludGVyYWN0aW9uLmxlZnQgKiAxMDAgOiAxMDAgLSBpbnRlcmFjdGlvbi50b3AgKiAxMDAsIHM6IDEwMCB9KTtcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn0pO1xuIl19

@@ -26,3 +26,3 @@ import _extends from "@babel/runtime/helpers/extends";

v: hsva.v,
a: hsva.v / 100
a: 1 - hsva.v / 100
},

@@ -33,3 +33,3 @@ direction: direction,

_onChange && _onChange({
v: direction === 'horizontal' ? interaction.left * 100 : interaction.top * 100,
v: direction === 'horizontal' ? 100 - interaction.left * 100 : 100 - interaction.top * 100,
s: 100

@@ -40,2 +40,2 @@ });

});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJoc3ZhVG9Ic2xhU3RyaW5nIiwiQWxwaGEiLCJmb3J3YXJkUmVmIiwicHJvcHMiLCJyZWYiLCJvbkNoYW5nZSIsImRpcmVjdGlvbiIsImhzdmEiLCJvdGhlciIsImNvbG9yRnJvbSIsIk9iamVjdCIsImFzc2lnbiIsImEiLCJzIiwidiIsImgiLCJfIiwiaW50ZXJhY3Rpb24iLCJsZWZ0IiwidG9wIl0sIm1hcHBpbmdzIjoiOzs7QUFBQSxPQUFPQSxLQUFQLE1BQWtCLE9BQWxCO0FBQ0EsU0FBU0MsZ0JBQVQsUUFBaUMsb0JBQWpDO0FBQ0EsT0FBT0MsS0FBUCxNQUFrQyx3QkFBbEM7QUFNQSw0QkFBZUYsS0FBSyxDQUFDRyxVQUFOLENBQW1ELFVBQUNDLEtBQUQsRUFBUUMsR0FBUixFQUFnQjtBQUNoRixNQUFRQyxTQUFSLEdBQStERixLQUE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uICAgICAgaHN2YT17eyBoOiBoc3ZhLmgsIHM6IDEwMCwgdjogaHN2YS52LCBhOiAxIC0gaHN2YS52IC8gMTAwIH19XG4gICAgICBkaXJlY3Rpb249e2RpcmVjdGlvbn1cbiAgICAgIGJhY2tncm91bmQ9e2BsaW5lYXItZ3JhZGllbnQodG8gJHtkaXJlY3Rpb24gPT09ICdob3Jpem9udGFsJyA/ICdyaWdodCcgOiAnYm90dG9tJ30sICR7Y29sb3JGcm9tfSwgcmdiKDAsIDAsIDApKWB9XG4gICAgICBvbkNoYW5nZT17KF8sIGludGVyYWN0aW9uKSA9PiB7XG4gICAgICAgIG9uQ2hhbmdlICYmXG4gICAgICAgICAgb25DaGFuZ2UoeyB2OiBkaXJlY3Rpb24gPT09ICdob3Jpem9udGFsJyA/IDEwMCAtIGludGVyYWN0aW9uLmxlZnQgKiAxMDAgOiAxMDAgLSBpbnRlcmFjdGlvbi50b3AgKiAxMDAsIHM6IDEwMCB9KTtcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn0pO1xuIl19
{
"name": "@uiw/react-color-shade-slider",
"version": "0.0.3",
"version": "0.0.4",
"description": "Color ShadeSlider component for React.",

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

"@babel/runtime": "7.14.6",
"@uiw/color-convert": "^0.0.3",
"@uiw/react-color-alpha": "^0.0.3"
"@uiw/color-convert": "^0.0.4",
"@uiw/react-color-alpha": "^0.0.4"
},

@@ -44,3 +44,3 @@ "devDependencies": {

},
"gitHead": "9989b5d8f5938809c207ecd7a0bf34b50f131404"
"gitHead": "973ee0fb55033f9b6c0357b60792a3bd71b65dd8"
}

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