@magicbell/magicbell-react
Advanced tools
Comparing version 10.5.2 to 10.6.0
/** | ||
* @license @magicbell/magicbell-react v10.5.2 | ||
* @license @magicbell/magicbell-react v10.6.0 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) MagicBell Inc. and its affiliates. |
{ | ||
"name": "@magicbell/magicbell-react", | ||
"version": "10.5.2", | ||
"version": "10.6.0", | ||
"description": "React components for building a notification inbox for your app", | ||
@@ -5,0 +5,0 @@ "author": "MagicBell <bot@magicbell.io> (https://magicbell.com/)", |
@@ -10,2 +10,4 @@ import tinycolor from 'tinycolor2'; | ||
export function toRGBA(baseColor: string, alpha: number) { | ||
// tinycolor doesn't support css variables, so assume the variable is correct as is | ||
if (baseColor.startsWith('var(')) return baseColor; | ||
const color = tinycolor(baseColor); | ||
@@ -12,0 +14,0 @@ color.setAlpha(alpha); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
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
1270949
14275