@hoddy-ui/next 2.5.88 → 2.5.89

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,9 +1677,9 @@ var TextFieldBase = import_react16.default.forwardRef(
1677
1677
  height: height2,
1678
1678
  overflow: "hidden",
1679
1679
  flexDirection: "row",
1680
- backgroundColor: variant === "outlined" || variant === "text" ? "#fff0" : focused ? colors2.white[3] : colors2.white[2],
1681
- borderColor: error ? colors2.error.main : focused ? colors2[color].main : colors2.textSecondary.main,
1682
- borderWidth: error ? 1 : variant === "outlined" ? focused ? 2 : 0.5 : 0,
1680
+ backgroundColor: variant === "outlined" || variant === "text" ? "#fff0" : focused ? colors2.white[2] + "dd" : colors2.white[2],
1681
+ borderColor: error ? colors2.error.main : isFloating && focused && variant === "contained" ? colors2[color].light : focused ? colors2[color].main : colors2.textSecondary.main,
1682
+ borderWidth: error ? 1 : isFloating && focused && variant === "contained" ? 1 : variant === "outlined" ? focused ? 2 : 0.5 : 0,
1683
1683
  borderBottomWidth: variant === "text" ? 0.5 : void 0,
1684
1684
  width: "100%",
1685
1685
  borderRadius: containerBorderRadius,
@@ -1726,7 +1726,7 @@ var TextFieldBase = import_react16.default.forwardRef(
1726
1726
  helperText: {
1727
1727
  paddingHorizontal: "15@s",
1728
1728
  flex: 1,
1729
- color: focused ? colors2[color].dark : colors2.textSecondary.main,
1729
+ color: focused ? colors2[color].main : colors2.textSecondary.main,
1730
1730
  paddingTop: "4@ms"
1731
1731
  },
1732
1732
  error: {