wed-components-beta 0.0.17 → 0.0.18

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.
Files changed (2) hide show
  1. package/dist/main.js +2 -3
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -498,9 +498,8 @@ function tt({ data: n, index: d, showAllGrades: c, showStandards: _, signature:
498
498
  /* @__PURE__ */ e("div", { className: l.tableCell, style: { minWidth: r[2] * 100 }, children: /* @__PURE__ */ e("p", { children: a.standard_short_code }) }),
499
499
  /* @__PURE__ */ e("div", { className: l.tableCell, style: { flexGrow: 1 }, children: /* @__PURE__ */ e("p", { children: a.grade_specific }) }),
500
500
  /* @__PURE__ */ e("div", { className: l.tableCell, style: { minWidth: 150 }, children: /* @__PURE__ */ t("p", { style: { textAlign: "center", whiteSpace: "wrap" }, children: [
501
- a.score,
502
- " / ",
503
- a.max_score
501
+ Math.ceil(a.score * 100 / a.max_score),
502
+ "%"
504
503
  ] }) })
505
504
  ] }, h))
506
505
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wed-components-beta",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "type": "module",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",