Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@instructure/ui-color-utils

Package Overview
Dependencies
Maintainers
0
Versions
1510
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/ui-color-utils - npm Package Compare versions

Comparing version 9.9.0 to 9.9.1-pr-snapshot-1731682046909

es/contrastWithAlpha.js

11

CHANGELOG.md

@@ -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 @@

3

es/index.js

@@ -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 @@ /*

6

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc