@uiw/react-color-shade-slider
Advanced tools
Comparing version 1.3.2 to 1.3.3
{ | ||
"name": "@uiw/react-color-shade-slider", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Color ShadeSlider component for React.", | ||
@@ -38,4 +38,4 @@ "homepage": "https://uiwjs.github.io/react-color/#/shade-slider", | ||
"dependencies": { | ||
"@uiw/color-convert": "1.3.2", | ||
"@uiw/react-color-alpha": "1.3.2" | ||
"@uiw/color-convert": "1.3.3", | ||
"@uiw/react-color-alpha": "1.3.3" | ||
}, | ||
@@ -42,0 +42,0 @@ "devDependencies": { |
@@ -8,3 +8,5 @@ React Color Shade Slider | ||
<!--rehype:ignore:start--> | ||
[![react-color-shade-slider](https://user-images.githubusercontent.com/1680273/125951397-89e90c05-1de2-4da7-81ed-4b77980482a0.png)](https://uiwjs.github.io/react-color/#/shade-slider) | ||
<!--rehype:ignore:end--> | ||
@@ -19,6 +21,7 @@ ## Install | ||
```js | ||
```jsx mdx:preview | ||
import React, { useState } from 'react'; | ||
import ShadeSlider from '@uiw/react-color-shade-slider'; | ||
function Demo() { | ||
export default function Demo() { | ||
const [hsva, setHsva] = useState({ h: 0, s: 0, v: 68, a: 1 }); | ||
@@ -43,6 +46,8 @@ return ( | ||
onChange?: (newShade: { | ||
v: number; | ||
s: number; | ||
v: number; | ||
}) => void; | ||
} | ||
declare const ShadeSlider: React.ForwardRefExoticComponent<ShadeSliderProps & React.RefAttributes<HTMLDivElement>>; | ||
export default ShadeSlider; | ||
``` | ||
@@ -49,0 +54,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
8231
57
+ Added@uiw/color-convert@1.3.3(transitive)
+ Added@uiw/react-color-alpha@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-color-alpha@1.3.2(transitive)
- Removed@uiw/react-drag-event-interactive@1.3.2(transitive)
Updated@uiw/color-convert@1.3.3
Updated@uiw/react-color-alpha@1.3.3