@copilotz/admin 0.9.29 → 0.9.30

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
@@ -1486,6 +1486,7 @@ import {
1486
1486
  BarChart,
1487
1487
  CartesianGrid,
1488
1488
  Legend,
1489
+ Tooltip as RechartsTooltip,
1489
1490
  XAxis,
1490
1491
  YAxis
1491
1492
  } from "recharts";
@@ -1852,10 +1853,10 @@ function UsageDashboard({
1852
1853
  });
1853
1854
  return () => setHeaderRefresh?.(null);
1854
1855
  }, [loadUsage, setHeaderRefresh]);
1855
- return /* @__PURE__ */ jsxs8("div", { className: "grid h-full min-h-0 grid-rows-[auto_minmax(0,4fr)_minmax(0,5fr)] gap-3", children: [
1856
+ return /* @__PURE__ */ jsxs8("div", { className: "grid h-full min-h-[760px] grid-rows-[auto_minmax(280px,4fr)_minmax(260px,5fr)] gap-3", children: [
1856
1857
  /* @__PURE__ */ jsxs8("div", { className: "space-y-3", children: [
1857
- /* @__PURE__ */ jsxs8("div", { className: "flex flex-col gap-3 xl:flex-row xl:items-start xl:justify-between", children: [
1858
- /* @__PURE__ */ jsxs8("div", { className: "min-w-0", children: [
1858
+ /* @__PURE__ */ jsxs8("div", { className: "flex flex-wrap items-start justify-between gap-3", children: [
1859
+ /* @__PURE__ */ jsxs8("div", { className: "min-w-[180px]", children: [
1859
1860
  /* @__PURE__ */ jsx13("h2", { className: "text-xl font-semibold tracking-tight", children: config.labels.llmUsageTitle }),
1860
1861
  /* @__PURE__ */ jsxs8("div", { className: "mt-1 flex flex-wrap items-center gap-2", children: [
1861
1862
  /* @__PURE__ */ jsx13(Badge, { variant: "outline", children: formatUsageRangeLabel(period, range) }),
@@ -1996,7 +1997,7 @@ function UsageChart({
1996
1997
  }
1997
1998
  ),
1998
1999
  /* @__PURE__ */ jsx13(
1999
- Tooltip,
2000
+ RechartsTooltip,
2000
2001
  {
2001
2002
  content: /* @__PURE__ */ jsx13(
2002
2003
  ChartTooltipContent,
@@ -2222,7 +2223,7 @@ function InlineFilters({
2222
2223
  setThreadId,
2223
2224
  threadId
2224
2225
  }) {
2225
- return /* @__PURE__ */ jsxs8("div", { className: "flex max-w-full flex-wrap items-end justify-end gap-2", children: [
2226
+ return /* @__PURE__ */ jsxs8("div", { className: "flex min-w-[min(100%,520px)] flex-1 flex-wrap items-end justify-end gap-2", children: [
2226
2227
  /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-2 pb-1 text-xs font-medium text-muted-foreground", children: [
2227
2228
  /* @__PURE__ */ jsx13(Filter, { className: "size-3.5" }),
2228
2229
  /* @__PURE__ */ jsx13("span", { children: "Filters" }),