@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.cjs +2 -2
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.js +11 -8
- package/dist-lib/index.js.map +1 -1
- package/dist-lib/style.css +1 -1
- package/package.json +1 -1
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
|
|
10007
|
-
return `${Th(e).toFixed(
|
|
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,
|
|
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
|
-
|
|
10435
|
-
|
|
10436
|
-
|
|
10434
|
+
r ? "fin-line--strong" : "",
|
|
10435
|
+
i ? "fin-line--accent" : "",
|
|
10436
|
+
a ? "fin-line--negative" : ""
|
|
10437
10437
|
].filter(Boolean).join(" "),
|
|
10438
|
-
children: [/* @__PURE__ */
|
|
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
|