@hoddy-ui/next 2.5.95 → 2.5.98
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 +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1708,12 +1708,13 @@ var TextFieldBase = import_react16.default.forwardRef(
|
|
|
1708
1708
|
...inputStyles
|
|
1709
1709
|
},
|
|
1710
1710
|
input: {
|
|
1711
|
-
fontSize: "14@
|
|
1711
|
+
fontSize: "14@ms",
|
|
1712
1712
|
flex: 1,
|
|
1713
1713
|
alignSelf: "stretch",
|
|
1714
1714
|
paddingLeft: inputPadding,
|
|
1715
|
+
lineHeight: "18@ms",
|
|
1715
1716
|
paddingRight: (0, import_react_native_size_matters13.moderateScale)(10),
|
|
1716
|
-
...isFloating ? {
|
|
1717
|
+
...isFloating ? { marginTop: "13@ms", fontFamily: getFontFamily(400) } : {},
|
|
1717
1718
|
color: disabled ? colors2.textSecondary.main : colors2.dark.main,
|
|
1718
1719
|
zIndex: 10
|
|
1719
1720
|
},
|
|
@@ -1739,12 +1740,12 @@ var TextFieldBase = import_react16.default.forwardRef(
|
|
|
1739
1740
|
fontFamily: getFontFamily(400),
|
|
1740
1741
|
position: "absolute",
|
|
1741
1742
|
left: inputPadding,
|
|
1742
|
-
fontSize: labelOpen ? "10@
|
|
1743
|
+
fontSize: labelOpen ? "10@ms" : "13@ms",
|
|
1743
1744
|
color: error ? colors2.error.main : focused ? theme === "dark" ? colors2[color].light : colors2[color].main : colors2.textSecondary.main
|
|
1744
1745
|
}
|
|
1745
1746
|
} : {},
|
|
1746
1747
|
helperText: {
|
|
1747
|
-
paddingHorizontal: "15@
|
|
1748
|
+
paddingHorizontal: "15@ms",
|
|
1748
1749
|
flex: 1,
|
|
1749
1750
|
color: error ? colors2.error.main : focused ? theme === "dark" ? colors2[color].light : colors2[color].main : colors2.textSecondary.main,
|
|
1750
1751
|
paddingTop: "4@ms"
|
|
@@ -1872,6 +1873,7 @@ var TextFieldBase = import_react16.default.forwardRef(
|
|
|
1872
1873
|
placeholder: labelOpen ? placeholder : "",
|
|
1873
1874
|
selectTextOnFocus: !disabled,
|
|
1874
1875
|
onSubmitEditing,
|
|
1876
|
+
verticalAlign: "middle",
|
|
1875
1877
|
multiline,
|
|
1876
1878
|
textAlignVertical: multiline ? "top" : "center",
|
|
1877
1879
|
...formProps,
|