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
36
Versions
1515
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 10.5.1-snapshot-4 to 10.5.1-snapshot-5

es/contrastWithAlpha.js

7

CHANGELOG.md

@@ -6,10 +6,13 @@ # Change Log

## [10.5.1-snapshot-4](https://github.com/instructure/instructure-ui/compare/v10.5.0...v10.5.1-snapshot-4) (2024-11-14)
## [10.5.1-snapshot-5](https://github.com/instructure/instructure-ui/compare/v10.5.0...v10.5.1-snapshot-5) (2024-11-14)
**Note:** Version bump only for package @instructure/ui-color-utils
### Features
* **ui-color-picker,ui-color-utils:** add callback for contrast validation information and export validation methods ([e756c7d](https://github.com/instructure/instructure-ui/commit/e756c7dde20158e82483a4541e916ee98a7a93ec))
# [10.5.0](https://github.com/instructure/instructure-ui/compare/v10.4.1...v10.5.0) (2024-11-07)

@@ -16,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": "10.5.1-snapshot-4",
"version": "10.5.1-snapshot-5",
"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": "10.5.1-snapshot-4",
"@instructure/ui-test-utils": "10.5.1-snapshot-4",
"@instructure/ui-babel-preset": "10.5.1-snapshot-5",
"@instructure/ui-test-utils": "10.5.1-snapshot-5",
"@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