@ant-design/fast-color
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -303,3 +303,4 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
s: this.s, | ||
l: this.l | ||
l: this.l, | ||
a: this.a | ||
}; | ||
@@ -306,0 +307,0 @@ } |
@@ -5,3 +5,3 @@ export interface RGB { | ||
b: number; | ||
a?: number; | ||
a: number; | ||
} | ||
@@ -12,3 +12,3 @@ export interface HSL { | ||
l: number; | ||
a?: number; | ||
a: number; | ||
} | ||
@@ -19,4 +19,4 @@ export interface HSV { | ||
v: number; | ||
a?: number; | ||
a: number; | ||
} | ||
export type ColorInput = string | RGB | HSL | HSV; |
@@ -310,3 +310,4 @@ "use strict"; | ||
s: this.s, | ||
l: this.l | ||
l: this.l, | ||
a: this.a | ||
}; | ||
@@ -313,0 +314,0 @@ } |
@@ -5,3 +5,3 @@ export interface RGB { | ||
b: number; | ||
a?: number; | ||
a: number; | ||
} | ||
@@ -12,3 +12,3 @@ export interface HSL { | ||
l: number; | ||
a?: number; | ||
a: number; | ||
} | ||
@@ -19,4 +19,4 @@ export interface HSV { | ||
v: number; | ||
a?: number; | ||
a: number; | ||
} | ||
export type ColorInput = string | RGB | HSL | HSV; |
{ | ||
"name": "@ant-design/fast-color", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "fast and small color class", | ||
@@ -36,2 +36,3 @@ "engines": { | ||
"start": "dumi dev", | ||
"bench": "vitest bench", | ||
"build": "dumi build", | ||
@@ -51,2 +52,3 @@ "compile": "father build", | ||
"@umijs/fabric": "^4.0.1", | ||
"color2k": "^2.0.3", | ||
"cross-env": "^7.0.3", | ||
@@ -53,0 +55,0 @@ "dumi": "^2.3.8", |
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
40801
1222
14