@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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1642,9 +1642,9 @@ var TextFieldBase = React15.forwardRef(
|
|
|
1642
1642
|
height: height2,
|
|
1643
1643
|
overflow: "hidden",
|
|
1644
1644
|
flexDirection: "row",
|
|
1645
|
-
backgroundColor: variant === "outlined" || variant === "text" ? "#fff0" : focused ? colors2.white[
|
|
1646
|
-
borderColor: error ? colors2.error.main : focused ? colors2[color].main : colors2.textSecondary.main,
|
|
1647
|
-
borderWidth: error ? 1 : variant === "outlined" ? focused ? 2 : 0.5 : 0,
|
|
1645
|
+
backgroundColor: variant === "outlined" || variant === "text" ? "#fff0" : focused ? colors2.white[2] + "dd" : colors2.white[2],
|
|
1646
|
+
borderColor: error ? colors2.error.main : isFloating && focused && variant === "contained" ? colors2[color].light : focused ? colors2[color].main : colors2.textSecondary.main,
|
|
1647
|
+
borderWidth: error ? 1 : isFloating && focused && variant === "contained" ? 1 : variant === "outlined" ? focused ? 2 : 0.5 : 0,
|
|
1648
1648
|
borderBottomWidth: variant === "text" ? 0.5 : void 0,
|
|
1649
1649
|
width: "100%",
|
|
1650
1650
|
borderRadius: containerBorderRadius,
|
|
@@ -1691,7 +1691,7 @@ var TextFieldBase = React15.forwardRef(
|
|
|
1691
1691
|
helperText: {
|
|
1692
1692
|
paddingHorizontal: "15@s",
|
|
1693
1693
|
flex: 1,
|
|
1694
|
-
color: focused ? colors2[color].
|
|
1694
|
+
color: focused ? colors2[color].main : colors2.textSecondary.main,
|
|
1695
1695
|
paddingTop: "4@ms"
|
|
1696
1696
|
},
|
|
1697
1697
|
error: {
|