infinity-ui-elements 1.14.7 → 1.14.8
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.js
CHANGED
|
@@ -1677,12 +1677,12 @@ const FormFooter = React__namespace.forwardRef(({ helperText, trailingText, vali
|
|
|
1677
1677
|
const config = sizeConfig[size];
|
|
1678
1678
|
// Determine text color based on validation state and disabled state
|
|
1679
1679
|
const getTextColor = () => {
|
|
1680
|
+
if (validationState === "negative")
|
|
1681
|
+
return "text-feedback-ink-negative-subtle";
|
|
1680
1682
|
if (isDisabled)
|
|
1681
1683
|
return "text-surface-ink-neutral-disabled";
|
|
1682
1684
|
if (validationState === "positive")
|
|
1683
1685
|
return "text-feedback-ink-positive-intense";
|
|
1684
|
-
if (validationState === "negative")
|
|
1685
|
-
return "text-feedback-ink-negative-subtle";
|
|
1686
1686
|
if (validationState === "default")
|
|
1687
1687
|
return "text-surface-ink-neutral-subtle";
|
|
1688
1688
|
return "text-surface-ink-neutral-subtle";
|