@uiw/react-color-saturation
Advanced tools
Comparing version 1.3.2 to 1.3.3
{ | ||
"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 @@ |
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
15300
61
+ Added@uiw/color-convert@1.3.3(transitive)
+ Added@uiw/react-drag-event-interactive@1.3.3(transitive)
- Removed@uiw/color-convert@1.3.2(transitive)
- Removed@uiw/react-drag-event-interactive@1.3.2(transitive)
Updated@uiw/color-convert@1.3.3