@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.
- package/dist/react-ooui.es.js +19 -9
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/react-ooui.umd.js +2 -2
- package/dist/react-ooui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/helpers/iconMapper.ts +1 -2
- package/src/stories/dashboard/DashboardGrid.stories.tsx +13 -0
- package/src/widgets/views/Graph/GraphIndicator.tsx +3 -3
package/dist/react-ooui.es.js
CHANGED
|
@@ -576,11 +576,13 @@ function hr(e, t) {
|
|
|
576
576
|
});
|
|
577
577
|
const o = `Icon${r}`;
|
|
578
578
|
if (fr[o]) {
|
|
579
|
-
const s = () =>
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
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
|
-
|
|
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%",
|