@uiw/react-color-github
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"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; |
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
61281
69
+ Added@babel/runtime@7.16.5(transitive)
+ Added@uiw/color-convert@1.0.7(transitive)
+ Added@uiw/react-color-swatch@1.0.7(transitive)
- Removed@babel/runtime@7.15.4(transitive)
- Removed@uiw/color-convert@1.0.6(transitive)
- Removed@uiw/react-color-swatch@1.0.6(transitive)
Updated@babel/runtime@7.16.5
Updated@uiw/color-convert@1.0.7