@plaidev/karte-action-sdk 1.1.250-28786567.83d7df8b → 1.1.251-28786588.7177c726
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hydrate/index.es.js +1 -1
- package/dist/index.es.js +1 -1
- package/package.json +1 -1
package/dist/hydrate/index.es.js
CHANGED
@@ -15120,7 +15120,7 @@ function rgbToHex(r, g, b) {
|
|
15120
15120
|
function darkenColor(color, percent) {
|
15121
15121
|
let r, g, b;
|
15122
15122
|
if (color.startsWith('rgba') || color.startsWith('rgb')) {
|
15123
|
-
const rgbaMatch = color.replace(
|
15123
|
+
const rgbaMatch = color.replace(/, /g, ',').match(/rgba?\((\d+),(\d+),(\d+)(?:,[\d.]+)?\)/);
|
15124
15124
|
if (rgbaMatch) {
|
15125
15125
|
r = parseInt(rgbaMatch[1]);
|
15126
15126
|
g = parseInt(rgbaMatch[2]);
|
package/dist/index.es.js
CHANGED
@@ -14032,7 +14032,7 @@ function rgbToHex(r, g, b) {
|
|
14032
14032
|
function darkenColor(color, percent) {
|
14033
14033
|
let r, g, b;
|
14034
14034
|
if (color.startsWith('rgba') || color.startsWith('rgb')) {
|
14035
|
-
const rgbaMatch = color.replace(
|
14035
|
+
const rgbaMatch = color.replace(/, /g, ',').match(/rgba?\((\d+),(\d+),(\d+)(?:,[\d.]+)?\)/);
|
14036
14036
|
if (rgbaMatch) {
|
14037
14037
|
r = parseInt(rgbaMatch[1]);
|
14038
14038
|
g = parseInt(rgbaMatch[2]);
|