@hoddy-ui/next 2.5.84 → 2.5.86
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- 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 +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1246,7 +1246,8 @@ var RatingInput = ({
|
|
|
1246
1246
|
var RatingStars = ({
|
|
1247
1247
|
rating = 0,
|
|
1248
1248
|
size = 16,
|
|
1249
|
-
color = "#FFD700"
|
|
1249
|
+
color = "#FFD700",
|
|
1250
|
+
inactiveColor = "textSecondary"
|
|
1250
1251
|
}) => {
|
|
1251
1252
|
const colors2 = useColors();
|
|
1252
1253
|
const styles = ScaledSheet8.create({
|
|
@@ -1269,7 +1270,7 @@ var RatingStars = ({
|
|
|
1269
1270
|
key: index,
|
|
1270
1271
|
name: "star",
|
|
1271
1272
|
size,
|
|
1272
|
-
color: colors2
|
|
1273
|
+
color: colors2[inactiveColor]?.main || inactiveColor
|
|
1273
1274
|
}
|
|
1274
1275
|
)));
|
|
1275
1276
|
};
|
|
@@ -1576,7 +1577,7 @@ var TextField = ({
|
|
|
1576
1577
|
paddingRight: moderateScale2(10),
|
|
1577
1578
|
paddingTop: "11@vs",
|
|
1578
1579
|
fontFamily: getFontFamily(400),
|
|
1579
|
-
color: colors2.
|
|
1580
|
+
color: disabled ? colors2.textSecondary.main : colors2.dark.main,
|
|
1580
1581
|
zIndex: 10
|
|
1581
1582
|
// backgroundColor: "#284",
|
|
1582
1583
|
},
|
|
@@ -1878,7 +1879,7 @@ var TextField2 = React15.forwardRef(
|
|
|
1878
1879
|
alignSelf: "stretch",
|
|
1879
1880
|
paddingLeft: moderateScale2(10),
|
|
1880
1881
|
paddingRight: moderateScale2(10),
|
|
1881
|
-
color: colors2.dark.main,
|
|
1882
|
+
color: disabled ? colors2.textSecondary.main : colors2.dark.main,
|
|
1882
1883
|
zIndex: 10
|
|
1883
1884
|
// backgroundColor: "#284",
|
|
1884
1885
|
},
|