@hoddy-ui/next 2.5.96 → 2.5.99
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 +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1673,10 +1673,12 @@ var TextFieldBase = React15.forwardRef(
|
|
|
1673
1673
|
...inputStyles
|
|
1674
1674
|
},
|
|
1675
1675
|
input: {
|
|
1676
|
-
fontSize: "14@
|
|
1676
|
+
fontSize: "14@ms",
|
|
1677
1677
|
flex: 1,
|
|
1678
1678
|
alignSelf: "stretch",
|
|
1679
|
+
padding: 0,
|
|
1679
1680
|
paddingLeft: inputPadding,
|
|
1681
|
+
lineHeight: "18@ms",
|
|
1680
1682
|
paddingRight: moderateScale2(10),
|
|
1681
1683
|
...isFloating ? { marginTop: "13@ms", fontFamily: getFontFamily(400) } : {},
|
|
1682
1684
|
color: disabled ? colors2.textSecondary.main : colors2.dark.main,
|
|
@@ -1704,12 +1706,12 @@ var TextFieldBase = React15.forwardRef(
|
|
|
1704
1706
|
fontFamily: getFontFamily(400),
|
|
1705
1707
|
position: "absolute",
|
|
1706
1708
|
left: inputPadding,
|
|
1707
|
-
fontSize: labelOpen ? "10@
|
|
1709
|
+
fontSize: labelOpen ? "10@ms" : "13@ms",
|
|
1708
1710
|
color: error ? colors2.error.main : focused ? theme === "dark" ? colors2[color].light : colors2[color].main : colors2.textSecondary.main
|
|
1709
1711
|
}
|
|
1710
1712
|
} : {},
|
|
1711
1713
|
helperText: {
|
|
1712
|
-
paddingHorizontal: "15@
|
|
1714
|
+
paddingHorizontal: "15@ms",
|
|
1713
1715
|
flex: 1,
|
|
1714
1716
|
color: error ? colors2.error.main : focused ? theme === "dark" ? colors2[color].light : colors2[color].main : colors2.textSecondary.main,
|
|
1715
1717
|
paddingTop: "4@ms"
|
|
@@ -1837,7 +1839,6 @@ var TextFieldBase = React15.forwardRef(
|
|
|
1837
1839
|
placeholder: labelOpen ? placeholder : "",
|
|
1838
1840
|
selectTextOnFocus: !disabled,
|
|
1839
1841
|
onSubmitEditing,
|
|
1840
|
-
verticalAlign: "middle",
|
|
1841
1842
|
multiline,
|
|
1842
1843
|
textAlignVertical: multiline ? "top" : "center",
|
|
1843
1844
|
...formProps,
|