@four-leaf-studios/rl-overlay 1.0.3 → 1.0.4

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.esm.js CHANGED
@@ -10351,9 +10351,9 @@ var ScoreboardSeriesBoxComponent = function (_a) {
10351
10351
  var teamSeriesScore = Number(team.series_score) || 0;
10352
10352
  var pointsCount = Math.ceil(bestOf / 2);
10353
10353
  var points = Array.from({ length: pointsCount }, function (_, index) { return index; });
10354
- var isLefTeam = team.id === 0;
10355
- var modifier = isLefTeam ? "left" : "right";
10356
- var teamColor = ((_b = team.color) === null || _b === void 0 ? void 0 : _b.primary_color) || (isLefTeam ? "#0052cc" : "#ff6600");
10354
+ var isLeftTeam = team.id === "0";
10355
+ var modifier = isLeftTeam ? "left" : "right";
10356
+ var teamColor = ((_b = team.color) === null || _b === void 0 ? void 0 : _b.primary_color) || (isLeftTeam ? "#0052cc" : "#ff6600");
10357
10357
  return (React__default.createElement("div", { className: "series_box ".concat(modifier, "_series_box"), style: { "--team-color": teamColor } }, points.map(function (index) {
10358
10358
  var pointClass = index < teamSeriesScore
10359
10359
  ? "series_score_box_point ".concat(modifier, "_series_score_box_point")