Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uiw/react-color-compact

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-color-compact - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

16

package.json
{
"name": "@uiw/react-color-compact",
"version": "1.0.6",
"version": "1.0.7",
"description": "Color Compact component for React.",

@@ -33,11 +33,11 @@ "homepage": "https://uiwjs.github.io/react-color/#compact",

"dependencies": {
"@babel/runtime": "7.15.4",
"@uiw/color-convert": "1.0.6",
"@uiw/react-color-editable-input": "1.0.6",
"@uiw/react-color-editable-input-rgba": "1.0.6",
"@uiw/react-color-swatch": "1.0.6"
"@babel/runtime": "7.16.5",
"@uiw/color-convert": "1.0.7",
"@uiw/react-color-editable-input": "1.0.7",
"@uiw/react-color-editable-input-rgba": "1.0.7",
"@uiw/react-color-swatch": "1.0.7"
},
"devDependencies": {
"@types/react": "17.0.27",
"@types/react-dom": "17.0.9",
"@types/react": "17.0.38",
"@types/react-dom": "17.0.11",
"@types/react-test-renderer": "17.0.1",

@@ -44,0 +44,0 @@ "react": "17.0.2",

@@ -37,9 +37,9 @@ React Color Compact

```ts
import React from 'react';
import { ColorResult, HsvaColor } from '@uiw/color-convert';
interface CompactProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'color'> {
export interface CompactProps<T> extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'color'> {
prefixCls?: string;
color?: string | HsvaColor;
colors?: string[];
onChange?: (color: ColorResult, evn: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
onChange?: (color: ColorResult, evn?: T) => void;
}

@@ -46,0 +46,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc