@hoddy-ui/next 2.5.84 → 2.5.85
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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
};
|