@uiw/react-color-swatch
Advanced tools
Comparing version 1.3.2 to 1.3.3
{ | ||
"name": "@uiw/react-color-swatch", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Color swatch component for React.", | ||
@@ -38,3 +38,3 @@ "homepage": "https://uiwjs.github.io/react-color/#/swatch", | ||
"dependencies": { | ||
"@uiw/color-convert": "1.3.2" | ||
"@uiw/color-convert": "1.3.3" | ||
}, | ||
@@ -41,0 +41,0 @@ "devDependencies": { |
@@ -8,3 +8,5 @@ React Color Swatch | ||
<!--rehype:ignore:start--> | ||
[![react-color-swatch](https://user-images.githubusercontent.com/1680273/125950289-f965e6c2-c21f-4b5c-a05c-a27aa07e738f.png)](https://uiwjs.github.io/react-color/#/swatch) | ||
<!--rehype:ignore:end--> | ||
@@ -19,3 +21,4 @@ ## Install | ||
```js | ||
```tsx mdx:preview | ||
import React, { useState } from 'react'; | ||
import { hsvaToHex, getContrastingColor, } from '@uiw/color-convert'; | ||
@@ -58,2 +61,4 @@ import Swatch from '@uiw/react-color-swatch'; | ||
} | ||
export default Demo; | ||
``` | ||
@@ -60,0 +65,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
16678
99
+ Added@uiw/color-convert@1.3.3(transitive)
- Removed@uiw/color-convert@1.3.2(transitive)
Updated@uiw/color-convert@1.3.3