@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 CHANGED
@@ -274,6 +274,7 @@ interface RatingStarsProps {
274
274
  rating: number;
275
275
  size: number;
276
276
  color?: colorTypes | (string & {});
277
+ inactiveColor?: colorTypes | (string & {});
277
278
  }
278
279
  interface RatingInputProps {
279
280
  rating?: number;
package/dist/index.d.ts CHANGED
@@ -274,6 +274,7 @@ interface RatingStarsProps {
274
274
  rating: number;
275
275
  size: number;
276
276
  color?: colorTypes | (string & {});
277
+ inactiveColor?: colorTypes | (string & {});
277
278
  }
278
279
  interface RatingInputProps {
279
280
  rating?: number;
package/dist/index.js CHANGED
@@ -1291,7 +1291,8 @@ var RatingInput = ({
1291
1291
  var RatingStars = ({
1292
1292
  rating = 0,
1293
1293
  size = 16,
1294
- color = "#FFD700"
1294
+ color = "#FFD700",
1295
+ inactiveColor = "textSecondary"
1295
1296
  }) => {
1296
1297
  const colors2 = useColors();
1297
1298
  const styles = import_react_native_size_matters9.ScaledSheet.create({
@@ -1314,7 +1315,7 @@ var RatingStars = ({
1314
1315
  key: index,
1315
1316
  name: "star",
1316
1317
  size,
1317
- color: colors2.textSecondary.light
1318
+ color: colors2[inactiveColor]?.main || inactiveColor
1318
1319
  }
1319
1320
  )));
1320
1321
  };