@algorithm-shift/design-system 1.3.121 → 1.3.122
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/README.md +2 -2
- package/dist/{chunk-QZ2QO7MJ.mjs → chunk-A6Q7ZNV7.mjs} +1 -1
- package/dist/chunk-A6Q7ZNV7.mjs.map +1 -0
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +1 -1
- package/dist/client.mjs.map +1 -1
- package/dist/index.css +19 -11
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +347 -347
- package/dist/index.d.ts +347 -347
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +113 -106
- package/dist/chunk-QZ2QO7MJ.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -6178,7 +6178,7 @@ var ChartComponent = ({
|
|
|
6178
6178
|
}, [useApi]);
|
|
6179
6179
|
const fetchData = (0, import_react36.useCallback)(async (page) => {
|
|
6180
6180
|
if (!apiUrl) return;
|
|
6181
|
-
|
|
6181
|
+
const cancelled = false;
|
|
6182
6182
|
try {
|
|
6183
6183
|
setLocalLoading(true);
|
|
6184
6184
|
const params = new URLSearchParams({
|
|
@@ -6239,7 +6239,7 @@ var ChartComponent = ({
|
|
|
6239
6239
|
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
6240
6240
|
"div",
|
|
6241
6241
|
{
|
|
6242
|
-
className: isLegendRight2 ? "flex flex-col gap-2 w-full min-w-0 justify-start" : "flex flex-wrap justify-center gap-2 mt-4 w-full max-w-4xl",
|
|
6242
|
+
className: isLegendRight2 ? "flex flex-col gap-2 w-full min-w-0 justify-start overflow-y-auto max-h-[260px]" : "flex flex-wrap justify-center gap-2 mt-4 w-full max-w-4xl",
|
|
6243
6243
|
children: data.map((d, index) => {
|
|
6244
6244
|
const value = d[dataKey] ?? 0;
|
|
6245
6245
|
const displayValue = value >= 1e3 ? `${(value / 1e3).toFixed(0)}k` : value.toLocaleString();
|
|
@@ -6407,7 +6407,7 @@ var ChartComponent = ({
|
|
|
6407
6407
|
width: 60
|
|
6408
6408
|
}
|
|
6409
6409
|
),
|
|
6410
|
-
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_recharts.Tooltip, { formatter: (value) => [`${value}`, "Count"] }),
|
|
6410
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_recharts.Tooltip, { formatter: (value) => value != null ? [`${value}`, "Count"] : ["", "Count"] }),
|
|
6411
6411
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
6412
6412
|
import_recharts.Bar,
|
|
6413
6413
|
{
|
|
@@ -6449,7 +6449,7 @@ var ChartComponent = ({
|
|
|
6449
6449
|
width: 60
|
|
6450
6450
|
}
|
|
6451
6451
|
),
|
|
6452
|
-
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_recharts.Tooltip, { formatter: (value) => `${value}k` }),
|
|
6452
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_recharts.Tooltip, { formatter: (value) => value != null ? `${value}k` : "" }),
|
|
6453
6453
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
6454
6454
|
import_recharts.Area,
|
|
6455
6455
|
{
|
|
@@ -6653,7 +6653,7 @@ var DonutChart = ({
|
|
|
6653
6653
|
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6654
6654
|
"div",
|
|
6655
6655
|
{
|
|
6656
|
-
className: isLegendRight2 ? "flex flex-col gap-2 w-full min-w-0 justify-start" : "flex flex-wrap justify-center gap-2 mt-4 w-full max-w-4xl",
|
|
6656
|
+
className: isLegendRight2 ? "flex flex-col gap-2 w-full min-w-0 justify-start overflow-y-auto max-h-[260px]" : "flex flex-wrap justify-center gap-2 mt-4 w-full max-w-4xl",
|
|
6657
6657
|
children: chartData.map((d, index) => {
|
|
6658
6658
|
const actualValue = data.find(
|
|
6659
6659
|
(item) => item[dataLabel] === d[dataLabel]
|