@wistia/ui 0.13.12 → 0.13.13
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.13.
|
|
3
|
+
* @license @wistia/ui v0.13.13
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -9912,7 +9912,7 @@ var ColorPickerProvider = ({
|
|
|
9912
9912
|
}),
|
|
9913
9913
|
[colorForComparison, minimumContrastRatio, opacityForContrastCalculation]
|
|
9914
9914
|
);
|
|
9915
|
-
const valueAsHsv = shouldEnforceMinContrast ? getAccessibleDerivativeColor(
|
|
9915
|
+
const valueAsHsv = shouldEnforceMinContrast ? getAccessibleDerivativeColor(nonDerivedValueAsHsv) : nonDerivedValueAsHsv;
|
|
9916
9916
|
const currentContrastRatio = calculateContrast({
|
|
9917
9917
|
backgroundColor: valueAsHex,
|
|
9918
9918
|
foregroundColor: colorForComparison,
|