@uiw/react-color-editable-input-hsla
Advanced tools
Comparing version 1.3.2 to 1.3.3
{ | ||
"name": "@uiw/react-color-editable-input-hsla", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Color Editable Input HSLA", | ||
@@ -41,4 +41,4 @@ "author": "Kenny Wong <wowohoo@qq.com>", | ||
"dependencies": { | ||
"@uiw/color-convert": "1.3.2", | ||
"@uiw/react-color-editable-input-rgba": "1.3.2" | ||
"@uiw/color-convert": "1.3.3", | ||
"@uiw/react-color-editable-input-rgba": "1.3.3" | ||
}, | ||
@@ -45,0 +45,0 @@ "devDependencies": { |
@@ -8,3 +8,5 @@ React Color Editable Input HSLA | ||
<!--rehype:ignore:start--> | ||
[![react-color-editable-input-rgba](https://user-images.githubusercontent.com/1680273/126024611-516a5174-4cf2-4986-af36-ddc4d3d620bb.png)](https://uiwjs.github.io/react-color/#/editable-input-hsla) | ||
<!--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 EditableInputHSLA from '@uiw/react-color-editable-input-hsla'; | ||
function Demo() { | ||
export default function Demo() { | ||
const [hsva, setHsva] = useState({ h: 209, s: 36, v: 90, a: 1 }); | ||
@@ -51,2 +53,4 @@ return ( | ||
} | ||
declare const EditableInputHSLA: React.ForwardRefExoticComponent<EditableInputHSLAProps & React.RefAttributes<HTMLDivElement>>; | ||
export default EditableInputHSLA; | ||
``` | ||
@@ -53,0 +57,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
14243
60
+ Added@uiw/color-convert@1.3.3(transitive)
+ Added@uiw/react-color-editable-input@1.3.3(transitive)
+ Added@uiw/react-color-editable-input-rgba@1.3.3(transitive)
- Removed@uiw/color-convert@1.3.2(transitive)
- Removed@uiw/react-color-editable-input@1.3.2(transitive)
- Removed@uiw/react-color-editable-input-rgba@1.3.2(transitive)
Updated@uiw/color-convert@1.3.3