Socket
Socket
Sign inDemoInstall

@uiw/react-color-saturation

Package Overview
Dependencies
Maintainers
2
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.3.2 to 1.3.3

6

package.json
{
"name": "@uiw/react-color-saturation",
"version": "1.3.2",
"version": "1.3.3",
"description": "Color Saturation",

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

"dependencies": {
"@uiw/color-convert": "1.3.2",
"@uiw/react-drag-event-interactive": "1.3.2"
"@uiw/color-convert": "1.3.3",
"@uiw/react-drag-event-interactive": "1.3.3"
},

@@ -42,0 +42,0 @@ "devDependencies": {

@@ -8,3 +8,5 @@ React Color Saturation

<!--rehype:ignore:start-->
[![react-color-saturation](https://user-images.githubusercontent.com/1680273/125951532-ee5bb5df-1d1f-43ed-a4be-e7e8818bf897.png)](https://uiwjs.github.io/react-color/#/saturation)
<!--rehype:ignore:end-->

@@ -19,6 +21,7 @@ ## Install

```js
```jsx mdx:preview
import React, { useState } from 'react';
import Saturation from '@uiw/react-color-saturation';
function Demo() {
export default function Demo() {
const [hsva, setHsva] = useState({ h: 0, s: 0, v: 68, a: 1 });

@@ -41,9 +44,3 @@ return (

import { HsvaColor } from '@uiw/color-convert';
export interface PointerProps extends React.HTMLAttributes<HTMLDivElement> {
prefixCls?: string;
top?: string;
left: string;
color?: string;
}
export declare const Pointer: ({ className, color, left, top, prefixCls }: PointerProps) => JSX.Element;
import { PointerProps } from './Pointer';
export interface SaturationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {

@@ -58,2 +55,4 @@ prefixCls?: string;

}
declare const Saturation: React.ForwardRefExoticComponent<SaturationProps & React.RefAttributes<HTMLDivElement>>;
export default Saturation;
```

@@ -60,0 +59,0 @@

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