@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.cjs.js CHANGED
@@ -10371,9 +10371,9 @@ var ScoreboardSeriesBoxComponent = function (_a) {
10371
10371
  var teamSeriesScore = Number(team.series_score) || 0;
10372
10372
  var pointsCount = Math.ceil(bestOf / 2);
10373
10373
  var points = Array.from({ length: pointsCount }, function (_, index) { return index; });
10374
- var isLefTeam = team.id === 0;
10375
- var modifier = isLefTeam ? "left" : "right";
10376
- var teamColor = ((_b = team.color) === null || _b === void 0 ? void 0 : _b.primary_color) || (isLefTeam ? "#0052cc" : "#ff6600");
10374
+ var isLeftTeam = team.id === "0";
10375
+ var modifier = isLeftTeam ? "left" : "right";
10376
+ var teamColor = ((_b = team.color) === null || _b === void 0 ? void 0 : _b.primary_color) || (isLeftTeam ? "#0052cc" : "#ff6600");
10377
10377
  return (React.createElement("div", { className: "series_box ".concat(modifier, "_series_box"), style: { "--team-color": teamColor } }, points.map(function (index) {
10378
10378
  var pointClass = index < teamSeriesScore
10379
10379
  ? "series_score_box_point ".concat(modifier, "_series_score_box_point")