@tsiky/components-r19 1.8.0 → 1.8.1
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/index.js
CHANGED
|
@@ -43374,7 +43374,7 @@ const Bme = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
|
|
|
43374
43374
|
]
|
|
43375
43375
|
}
|
|
43376
43376
|
);
|
|
43377
|
-
}, B6e = ({ x: e, y: t, width: n, payload: o, fontSize: i, fontWeight: r, stroke: s }) => /* @__PURE__ */ c("g", { transform: `translate(${e},${t})`, children: /* @__PURE__ */ c("foreignObject", { x: -n, y: -
|
|
43377
|
+
}, B6e = ({ x: e, y: t, width: n, payload: o, fontSize: i, fontWeight: r, stroke: s }) => /* @__PURE__ */ c("g", { transform: `translate(${e},${t})`, children: /* @__PURE__ */ c("foreignObject", { x: -n, y: -35, width: n, height: 70, style: { overflow: "visible" }, children: /* @__PURE__ */ c(
|
|
43378
43378
|
"div",
|
|
43379
43379
|
{
|
|
43380
43380
|
style: {
|
|
@@ -43382,15 +43382,30 @@ const Bme = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
|
|
|
43382
43382
|
fontWeight: r,
|
|
43383
43383
|
color: s,
|
|
43384
43384
|
lineHeight: "1.1",
|
|
43385
|
-
wordBreak: "break-word",
|
|
43386
43385
|
display: "flex",
|
|
43387
43386
|
justifyContent: "flex-end",
|
|
43388
43387
|
textAlign: "right",
|
|
43389
43388
|
alignItems: "center",
|
|
43390
43389
|
height: "100%",
|
|
43391
|
-
|
|
43390
|
+
width: "100%",
|
|
43391
|
+
paddingRight: "8px",
|
|
43392
|
+
paddingLeft: "8px",
|
|
43393
|
+
boxSizing: "border-box"
|
|
43392
43394
|
},
|
|
43393
|
-
children:
|
|
43395
|
+
children: /* @__PURE__ */ c(
|
|
43396
|
+
"span",
|
|
43397
|
+
{
|
|
43398
|
+
style: {
|
|
43399
|
+
wordBreak: "break-word",
|
|
43400
|
+
// overflowWrap: 'anywhere',
|
|
43401
|
+
whiteSpace: "normal",
|
|
43402
|
+
display: "block",
|
|
43403
|
+
maxWidth: "100%",
|
|
43404
|
+
width: "100%"
|
|
43405
|
+
},
|
|
43406
|
+
children: o.value
|
|
43407
|
+
}
|
|
43408
|
+
)
|
|
43394
43409
|
}
|
|
43395
43410
|
) }) }), DMe = ({
|
|
43396
43411
|
data: e,
|
|
@@ -43438,7 +43453,7 @@ const Bme = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
|
|
|
43438
43453
|
if (g == null || g === "")
|
|
43439
43454
|
return "";
|
|
43440
43455
|
const _ = M?.payload?.percentage;
|
|
43441
|
-
return typeof _ == "number" && Number.isFinite(_) ? `${g} (${_.toFixed(
|
|
43456
|
+
return typeof _ == "number" && Number.isFinite(_) ? `${g} (${_.toFixed(1)}%)` : g;
|
|
43442
43457
|
} }),
|
|
43443
43458
|
/* @__PURE__ */ c(wz, { dataKey: "value", fill: n, radius: 0, barSize: s, children: /* @__PURE__ */ c(
|
|
43444
43459
|
Lz,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HorizontalBarChart.d.ts","sourceRoot":"","sources":["../../../../src/components/HorizontalBarChart/HorizontalBarChart.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,KAAK;IACb,IAAI,EAAE,gBAAgB,EAAE,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC9C;
|
|
1
|
+
{"version":3,"file":"HorizontalBarChart.d.ts","sourceRoot":"","sources":["../../../../src/components/HorizontalBarChart/HorizontalBarChart.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,KAAK;IACb,IAAI,EAAE,gBAAgB,EAAE,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC9C;AAyCD,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA8E9C,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|