@kurkle/color
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -37,3 +37,3 @@ /** | ||
*/ | ||
export function hexString(v: import("./index.js").RGBA): string | import("./index.js").RGBA; | ||
export function hexString(v: RGBA): string | RGBA; | ||
/** | ||
@@ -74,3 +74,3 @@ * Rounds to decimal to nearest integer | ||
*/ | ||
export function rgb2hsl(v: import(".").RGBA): number[]; | ||
export function rgb2hsl(v: RGBA): number[]; | ||
/** | ||
@@ -105,3 +105,3 @@ * Convert hsl to rgb | ||
*/ | ||
export function hueParse(str: string): import(".").RGBA; | ||
export function hueParse(str: string): RGBA; | ||
/** | ||
@@ -112,3 +112,3 @@ * Rotate the `v` color by `deg` degrees | ||
*/ | ||
export function rotate(v: import(".").RGBA, deg: number): void; | ||
export function rotate(v: RGBA, deg: number): void; | ||
/** | ||
@@ -119,3 +119,3 @@ * Return hsl(a) string from color components | ||
*/ | ||
export function hslString(v: import(".").RGBA): string; | ||
export function hslString(v: RGBA): string; | ||
/** | ||
@@ -126,3 +126,3 @@ * Parse color name | ||
*/ | ||
export function nameParse(str: string): import(".").RGBA; | ||
export function nameParse(str: string): RGBA; | ||
/** | ||
@@ -133,3 +133,3 @@ * Parse rgb(a) string to RGBA | ||
*/ | ||
export function rgbParse(str: string): import(".").RGBA; | ||
export function rgbParse(str: string): RGBA; | ||
/** | ||
@@ -139,3 +139,3 @@ * Return rgb(a) string from color | ||
*/ | ||
export function rgbString(v: import(".").RGBA): string; | ||
export function rgbString(v: RGBA): string; | ||
@@ -147,3 +147,3 @@ export class Color { | ||
*/ | ||
constructor(input: string | number[] | Color | import(".").RGBA); | ||
constructor(input: string | number[] | Color | RGBA); | ||
/** @type {RGBA} */ | ||
@@ -161,7 +161,7 @@ _rgb: RGBA; | ||
*/ | ||
set rgb(arg: import(".").RGBA); | ||
set rgb(arg: RGBA); | ||
/** | ||
* @returns {RGBA} - the color | ||
*/ | ||
get rgb(): import(".").RGBA; | ||
get rgb(): RGBA; | ||
/** | ||
@@ -174,3 +174,3 @@ * rgb(a) string | ||
*/ | ||
hexString(): string | import(".").RGBA; | ||
hexString(): string | RGBA; | ||
/** | ||
@@ -177,0 +177,0 @@ * hsl(a) string |
/*! | ||
* @kurkle/color v0.1.5 | ||
* @kurkle/color v0.1.6 | ||
* https://github.com/kurkle/color#readme | ||
@@ -4,0 +4,0 @@ * (c) 2020 Jukka Kurkela |
/*! | ||
* @kurkle/color v0.1.5 | ||
* @kurkle/color v0.1.6 | ||
* https://github.com/kurkle/color#readme | ||
@@ -8,3 +8,3 @@ * (c) 2020 Jukka Kurkela | ||
/*! | ||
* @kurkle/color v0.1.5 | ||
* @kurkle/color v0.1.6 | ||
* https://github.com/kurkle/color#readme | ||
@@ -11,0 +11,0 @@ * (c) 2020 Jukka Kurkela |
/*! | ||
* @kurkle/color v0.1.5 | ||
* @kurkle/color v0.1.6 | ||
* https://github.com/kurkle/color#readme | ||
@@ -4,0 +4,0 @@ * (c) 2020 Jukka Kurkela |
/*! | ||
* @kurkle/color v0.1.5 | ||
* @kurkle/color v0.1.6 | ||
* https://github.com/kurkle/color#readme | ||
@@ -4,0 +4,0 @@ * (c) 2020 Jukka Kurkela |
{ | ||
"name": "@kurkle/color", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "css color parsing, manupulation and conversion", | ||
@@ -5,0 +5,0 @@ "main": "dist/color.js", |
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
46959