catchup-library-web 1.12.20 → 1.12.21

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.js CHANGED
@@ -376,7 +376,7 @@ var ScoreBar = ({ score, className }) => {
376
376
  className: `h-full rounded-catchup-full transition-all duration-300 ${getProgressBarColor(
377
377
  score
378
378
  )}`,
379
- style: { width: `${score}%` }
379
+ style: { width: `${score.toFixed(1)}%` }
380
380
  }
381
381
  ) }),
382
382
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
package/dist/index.mjs CHANGED
@@ -168,7 +168,7 @@ var ScoreBar = ({ score, className }) => {
168
168
  className: `h-full rounded-catchup-full transition-all duration-300 ${getProgressBarColor(
169
169
  score
170
170
  )}`,
171
- style: { width: `${score}%` }
171
+ style: { width: `${score.toFixed(1)}%` }
172
172
  }
173
173
  ) }),
174
174
  /* @__PURE__ */ jsxs2(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "1.12.20",
3
+ "version": "1.12.21",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -20,7 +20,7 @@ const ScoreBar = ({ score, className }: IScoreBarProperties) => {
20
20
  className={`h-full rounded-catchup-full transition-all duration-300 ${getProgressBarColor(
21
21
  score
22
22
  )}`}
23
- style={{ width: `${score}%` }}
23
+ style={{ width: `${score.toFixed(1)}%` }}
24
24
  />
25
25
  </div>
26
26
  <span