@gisce/react-ooui 2.6.0-alpha.1 → 2.6.0-alpha.3
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/react-ooui.es.js +10 -8
- package/dist/react-ooui.es.js.map +1 -1
- package/package.json +4 -4
package/dist/react-ooui.es.js
CHANGED
|
@@ -4848,15 +4848,17 @@ function El({
|
|
|
4848
4848
|
let d = n * sn < an ? an : n * sn;
|
|
4849
4849
|
const u = o == null ? void 0 : o.toLocaleString("es-ES", {
|
|
4850
4850
|
useGrouping: !0
|
|
4851
|
+
}), f = i == null ? void 0 : i.toLocaleString("es-ES", {
|
|
4852
|
+
useGrouping: !0
|
|
4851
4853
|
});
|
|
4852
|
-
let
|
|
4853
|
-
l && (
|
|
4854
|
-
let
|
|
4855
|
-
|
|
4854
|
+
let c = i ? `${u}/${f}` : `${u}`;
|
|
4855
|
+
l && (c += " " + l);
|
|
4856
|
+
let m = Oo(
|
|
4857
|
+
c,
|
|
4856
4858
|
`bold ${Math.floor(d * 1.03)}px sans-serif`
|
|
4857
4859
|
);
|
|
4858
|
-
a && (
|
|
4859
|
-
const
|
|
4860
|
+
a && (m = m * 2), m >= t * 0.85 && (d = t * 0.85 / m * d);
|
|
4861
|
+
const p = a && dt(a, { style: { fontSize: d * 0.7 } });
|
|
4860
4862
|
return /* @__PURE__ */ r(
|
|
4861
4863
|
"div",
|
|
4862
4864
|
{
|
|
@@ -4870,8 +4872,8 @@ function El({
|
|
|
4870
4872
|
overflow: "hidden"
|
|
4871
4873
|
},
|
|
4872
4874
|
children: /* @__PURE__ */ k(Vn, { style: { fontSize: d, margin: 0, color: s }, children: [
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
+
p && /* @__PURE__ */ r(p, { style: { fontSize: d * 0.7 } }),
|
|
4876
|
+
p ? ` ${c}` : c
|
|
4875
4877
|
] })
|
|
4876
4878
|
}
|
|
4877
4879
|
);
|