Socket
Socket
Sign inDemoInstall

@uiw/react-color-github

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.0.6 to 1.0.7

12

package.json
{
"name": "@uiw/react-color-github",
"version": "1.0.6",
"version": "1.0.7",
"description": "Color Github Picker",

@@ -34,9 +34,9 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"dependencies": {
"@babel/runtime": "7.15.4",
"@uiw/color-convert": "1.0.6",
"@uiw/react-color-swatch": "1.0.6"
"@babel/runtime": "7.16.5",
"@uiw/color-convert": "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",

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

@@ -37,19 +37,22 @@ React Color Github

```ts
import { SwatchProps } from '@uiw/react-color-swatch';
export enum GithubPlacement {
Left = 'L',
LeftTop = 'LT',
LeftBotton = 'LB',
Right = 'R',
RightTop = 'RT',
RightBotton = 'RB',
Top = 'T',
TopRight = 'TR',
TopLeft = 'TL',
Botton = 'B',
BottonLeft = 'BL',
BottonRight = 'BR',
import React from 'react';
import { HsvaColor, ColorResult } from '@uiw/color-convert';
import { SwatchProps, SwatchRectRenderProps } from '@uiw/react-color-swatch';
export declare enum GithubPlacement {
Left = "L",
LeftTop = "LT",
LeftBotton = "LB",
Right = "R",
RightTop = "RT",
RightBotton = "RB",
Top = "T",
TopRight = "TR",
TopLeft = "TL",
Botton = "B",
BottonLeft = "BL",
BottonRight = "BR"
}
export interface GithubRectRenderProps extends SwatchRectRenderProps {
arrow?: JSX.Element;
}
export interface GithubProps extends Omit<SwatchProps, 'color' | 'onChange'> {

@@ -56,0 +59,0 @@ placement?: GithubPlacement;

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