@instructure/ui-color-utils
Advanced tools
Comparing version 9.9.0 to 9.9.1-pr-snapshot-1731682046909
@@ -6,2 +6,13 @@ # Change Log | ||
## [9.9.1-pr-snapshot-1731682046909](https://github.com/instructure/instructure-ui/compare/v9.9.0...v9.9.1-pr-snapshot-1731682046909) (2024-11-15) | ||
### Features | ||
* **ui-color-picker,ui-color-utils:** add callback for contrast validation information and export validation methods ([3ac2582](https://github.com/instructure/instructure-ui/commit/3ac2582bd0b71ac8709bbe3e4c6ce481c53a239d)) | ||
# [9.9.0](https://github.com/instructure/instructure-ui/compare/v9.8.1...v9.9.0) (2024-11-12) | ||
@@ -8,0 +19,0 @@ |
@@ -30,2 +30,5 @@ /* | ||
export { isValid } from './isValid'; | ||
export { overlayColors } from './overlayColors'; | ||
export { contrastWithAlpha } from './contrastWithAlpha'; | ||
export { validateContrast } from './validateContrast'; | ||
export { color2hex, colorToHex8, colorToHsva, colorToHsla, colorToRGB } from './conversions'; | ||
@@ -32,0 +35,0 @@ import { color2hex, colorToHex8, colorToHsva, colorToHsla, colorToRGB } from './conversions'; |
@@ -48,2 +48,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "contrastWithAlpha", { | ||
enumerable: true, | ||
get: function () { | ||
return _contrastWithAlpha.contrastWithAlpha; | ||
} | ||
}); | ||
Object.defineProperty(exports, "darken", { | ||
@@ -68,2 +74,14 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "overlayColors", { | ||
enumerable: true, | ||
get: function () { | ||
return _overlayColors.overlayColors; | ||
} | ||
}); | ||
Object.defineProperty(exports, "validateContrast", { | ||
enumerable: true, | ||
get: function () { | ||
return _validateContrast.validateContrast; | ||
} | ||
}); | ||
var _alpha = require("./alpha"); | ||
@@ -74,2 +92,5 @@ var _darken = require("./darken"); | ||
var _isValid = require("./isValid"); | ||
var _overlayColors = require("./overlayColors"); | ||
var _contrastWithAlpha = require("./contrastWithAlpha"); | ||
var _validateContrast = require("./validateContrast"); | ||
var _conversions = require("./conversions"); | ||
@@ -76,0 +97,0 @@ /* |
{ | ||
"name": "@instructure/ui-color-utils", | ||
"version": "9.9.0", | ||
"version": "9.9.1-pr-snapshot-1731682046909", | ||
"description": "A color utility library made by Instructure Inc.", | ||
@@ -25,4 +25,4 @@ "author": "Instructure, Inc. Engineering and Product Design", | ||
"devDependencies": { | ||
"@instructure/ui-babel-preset": "9.9.0", | ||
"@instructure/ui-test-utils": "9.9.0", | ||
"@instructure/ui-babel-preset": "9.9.1-pr-snapshot-1731682046909", | ||
"@instructure/ui-test-utils": "9.9.1-pr-snapshot-1731682046909", | ||
"@types/tinycolor2": "^1.4.6" | ||
@@ -29,0 +29,0 @@ }, |
@@ -30,2 +30,5 @@ /* | ||
export { isValid } from './isValid' | ||
export { overlayColors } from './overlayColors' | ||
export { contrastWithAlpha } from './contrastWithAlpha' | ||
export { validateContrast } from './validateContrast' | ||
export { | ||
@@ -32,0 +35,0 @@ color2hex, |
@@ -6,2 +6,5 @@ export { alpha } from './alpha'; | ||
export { isValid } from './isValid'; | ||
export { overlayColors } from './overlayColors'; | ||
export { contrastWithAlpha } from './contrastWithAlpha'; | ||
export { validateContrast } from './validateContrast'; | ||
export { color2hex, colorToHex8, colorToHsva, colorToHsla, colorToRGB } from './conversions'; | ||
@@ -8,0 +11,0 @@ declare const _default: { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
184244
62
1891
1