@wedgekit/color
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -25,2 +25,9 @@ # Change Log | ||
## [4.2.1] - 2021-02-23 | ||
## Fixed | ||
- Fixed file structure to allow for type imports in other TS modules | ||
- Convert invalid return type of hexToRGBA to undefined to allowed inclusion in Styles without null coalescing | ||
## [4.2.0] - 2021-01-29 | ||
@@ -27,0 +34,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { ColorTag } from './color'; | ||
import { ColorTag } from './colorPalette'; | ||
export declare type Context = { | ||
@@ -3,0 +3,0 @@ bg: ColorTag; |
@@ -0,0 +0,0 @@ declare const contrastColors: { |
@@ -1,2 +0,2 @@ | ||
import { ColorTag } from './color'; | ||
import { ColorTag } from './colorPalette'; | ||
import { ContrastColorTag } from './contrastColors'; | ||
@@ -3,0 +3,0 @@ declare type ContrastColors = { |
@@ -7,2 +7,2 @@ /** | ||
*/ | ||
export default function hexToRGBA(color: string, alpha?: number): string; | ||
export default function hexToRGBA(color: string, alpha?: number | string): string | undefined; |
export {}; |
@@ -1,2 +0,2 @@ | ||
export { default, ColorPalette, ColorTag } from './color'; | ||
export { default, ColorPalette, ColorTag } from './colorPalette'; | ||
export { default as contextualize, Context, ContextDomain } from './contextualize'; | ||
@@ -3,0 +3,0 @@ export { default as getContrastColors } from './getContrastColors'; |
{ | ||
"name": "@wedgekit/color", | ||
"version": "4.2.0", | ||
"main": "dist/color.js", | ||
"version": "4.2.1", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
@@ -13,3 +14,3 @@ "dist/*" | ||
"ava-ts": "^0.25.2", | ||
"esbuild": "^0.8.39", | ||
"esbuild": "^0.8.50", | ||
"nyc": "^15.0.1", | ||
@@ -22,2 +23,3 @@ "prettier": "^1.17.1", | ||
"build": "node ./build.js && tsc", | ||
"start": "node ./build.js --watch", | ||
"prepublish:test": "yarn version --prerelease --preid tc --no-git-tag-version", | ||
@@ -24,0 +26,0 @@ "publish:test": "yarn publish --tag test", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
11103