@gisce/react-ooui 1.4.14 → 1.4.15

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.
@@ -576,11 +576,13 @@ function hr(e, t) {
576
576
  });
577
577
  const o = `Icon${r}`;
578
578
  if (fr[o]) {
579
- const s = () => Ze.createElement(fr[o], {
580
- fill: "transparent",
581
- height: 17,
582
- width: 17
583
- });
579
+ const s = () => {
580
+ var l;
581
+ return Ze.createElement(fr[o], {
582
+ fill: "transparent",
583
+ size: ((l = t == null ? void 0 : t.style) == null ? void 0 : l.fontSize) || 17
584
+ });
585
+ };
584
586
  return () => Ze.createElement(Wr, {
585
587
  component: s,
586
588
  ...t
@@ -5952,7 +5954,11 @@ function wc({
5952
5954
  l && (u += " " + l);
5953
5955
  let d = Lo(u, `bold ${Math.floor(f * 1.03)}px sans-serif`);
5954
5956
  a && (d = d * 2), d >= t * 0.85 && (f = t * 0.85 / d * f);
5955
- const m = a && lt(a);
5957
+ const m = a && lt(a, {
5958
+ style: {
5959
+ fontSize: f * 0.7
5960
+ }
5961
+ });
5956
5962
  return /* @__PURE__ */ n("div", {
5957
5963
  ref: e,
5958
5964
  style: {
@@ -6001,9 +6007,13 @@ function bc({
6001
6007
  useGrouping: !0
6002
6008
  })}%`;
6003
6009
  let p = Lo(y, `bold ${Math.floor(u * 1.03)}px sans-serif`);
6004
- l && (p = p * 1.5);
6005
- const h = l && lt(l);
6006
- return (p >= r * 0.85 || u * 2 < c) && (u = r * 0.85 / p * u), /* @__PURE__ */ n("div", {
6010
+ l && (p = p * 1.5), (p >= r * 0.85 || u * 2 < c) && (u = r * 0.85 / p * u);
6011
+ const h = l && lt(l, {
6012
+ style: {
6013
+ fontSize: u
6014
+ }
6015
+ });
6016
+ return /* @__PURE__ */ n("div", {
6007
6017
  ref: e,
6008
6018
  style: {
6009
6019
  width: "100%",