@uiw/react-color-editable-input-rgba
Advanced tools
Comparing version 1.3.2 to 1.3.3
{ | ||
"name": "@uiw/react-color-editable-input-rgba", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Color Editable Input RGBA", | ||
@@ -41,4 +41,4 @@ "author": "Kenny Wong <wowohoo@qq.com>", | ||
"dependencies": { | ||
"@uiw/color-convert": "1.3.2", | ||
"@uiw/react-color-editable-input": "1.3.2" | ||
"@uiw/color-convert": "1.3.3", | ||
"@uiw/react-color-editable-input": "1.3.3" | ||
}, | ||
@@ -45,0 +45,0 @@ "devDependencies": { |
@@ -8,3 +8,5 @@ React Color Editable Input RGBA | ||
<!--rehype:ignore:start--> | ||
[![react-color-editable-input-rgba](https://user-images.githubusercontent.com/1680273/125950920-96bbfc1e-031a-4ea2-bfa2-28fab4d3c9d3.png)](https://uiwjs.github.io/react-color/#/editable-input-rgba) | ||
<!--rehype:ignore:end--> | ||
@@ -19,8 +21,8 @@ ## Install | ||
```js | ||
import { useState } from 'react'; | ||
```jsx mdx:preview | ||
import React, { useState } from 'react'; | ||
import { hsvaToHex } from '@uiw/color-convert'; | ||
import EditableInputRGBA from '@uiw/react-color-editable-input-rgba'; | ||
function Demo() { | ||
export default function Demo() { | ||
const [hsva, setHsva] = useState({ h: 209, s: 36, v: 90, a: 1 }); | ||
@@ -56,2 +58,4 @@ return ( | ||
} | ||
declare const EditableInputRGBA: React.ForwardRefExoticComponent<EditableInputRGBAProps & React.RefAttributes<HTMLDivElement>>; | ||
export default EditableInputRGBA; | ||
``` | ||
@@ -58,0 +62,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
17531
65
+ Added@uiw/color-convert@1.3.3(transitive)
+ Added@uiw/react-color-editable-input@1.3.3(transitive)
- Removed@uiw/color-convert@1.3.2(transitive)
- Removed@uiw/react-color-editable-input@1.3.2(transitive)
Updated@uiw/color-convert@1.3.3