@realtek/core-theme 0.0.189 → 0.0.191

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-lib/index.js CHANGED
@@ -10003,8 +10003,8 @@ function Dh(e) {
10003
10003
  function Oh(e) {
10004
10004
  return `${Eh(e)}/hr`;
10005
10005
  }
10006
- function kh(e, t = 1) {
10007
- return `${Th(e).toFixed(t)}%`;
10006
+ function kh(e) {
10007
+ return `${parseFloat(Th(e).toFixed(2))}%`;
10008
10008
  }
10009
10009
  function Ah(e) {
10010
10010
  let t = String(e ?? "").trim().split(/\s+/).filter(Boolean);
@@ -10427,17 +10427,20 @@ function sg({ title: e, extra: t, children: n, empty: r, className: i = "", span
10427
10427
  })]
10428
10428
  });
10429
10429
  }
10430
- function cg({ label: e, value: t, strong: n, accent: r, negative: i }) {
10430
+ function cg({ label: e, value: t, hint: n, strong: r, accent: i, negative: a }) {
10431
10431
  return /* @__PURE__ */ Z("div", {
10432
10432
  className: [
10433
10433
  "fin-line",
10434
- n ? "fin-line--strong" : "",
10435
- r ? "fin-line--accent" : "",
10436
- i ? "fin-line--negative" : ""
10434
+ r ? "fin-line--strong" : "",
10435
+ i ? "fin-line--accent" : "",
10436
+ a ? "fin-line--negative" : ""
10437
10437
  ].filter(Boolean).join(" "),
10438
- children: [/* @__PURE__ */ X("span", {
10438
+ children: [/* @__PURE__ */ Z("span", {
10439
10439
  className: "fin-line__label",
10440
- children: e
10440
+ children: [e, n != null && n !== "" ? /* @__PURE__ */ X("span", {
10441
+ className: "fin-line__hint",
10442
+ children: n
10443
+ }) : null]
10441
10444
  }), /* @__PURE__ */ X("span", {
10442
10445
  className: "fin-line__value",
10443
10446
  children: t