@nukleus-sports/ui-patterns 0.6.3 → 0.6.4

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/team.cjs CHANGED
@@ -1794,7 +1794,7 @@ function StatsBody2({
1794
1794
  emptyMessage
1795
1795
  }) {
1796
1796
  return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_jsx_runtime16.Fragment, { children: [
1797
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center gap-2 min-[360px]:gap-3", children: [
1797
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center gap-2 min-[360px]:gap-3 xl:shrink-0", children: [
1798
1798
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SeasonSelector, { ...seasons, className: "gap-2 min-[360px]:gap-3" }),
1799
1799
  showsCategoryPicker && /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1800
1800
  import_ui_web14.Select,
@@ -1816,7 +1816,7 @@ function StatsBody2({
1816
1816
  }
1817
1817
  )
1818
1818
  ] }),
1819
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "space-y-4 xl:flex-1 xl:min-h-0 xl:overflow-hidden", children: [
1819
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex flex-col space-y-4 xl:flex-1 xl:min-h-0 xl:overflow-hidden", children: [
1820
1820
  isStatTypesError && !hasVisibleStatTypes && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "text-text-secondary text-13.5", children: "Couldn't load stat categories -- showing limited columns." }),
1821
1821
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1822
1822
  import_ui_web14.BaseTable,
@@ -1830,7 +1830,7 @@ function StatsBody2({
1830
1830
  splitLayoutGridCols: isSm ? "sm:!grid-cols-[minmax(232px,auto)_1fr]" : "!grid-cols-[minmax(117px,auto)_1fr]",
1831
1831
  loading: statsLoading,
1832
1832
  containerClassName: "border-0 rounded-none h-full",
1833
- className: "border-none xl:h-full xl:min-h-0",
1833
+ className: "h-full min-h-0 border-none xl:flex-1 xl:overflow-hidden",
1834
1834
  numberOfColumns: 2,
1835
1835
  emptyMessage: isStatsError && stats.length === 0 ? "Couldn't load stats. Please try again." : emptyMessage
1836
1836
  }
@@ -1902,7 +1902,7 @@ function TeamStatsTable({
1902
1902
  ),
1903
1903
  children: [
1904
1904
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_ui_web14.CardHeader, { className: "p-0", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_ui_web14.CardTitle, { children: "Stats" }) }),
1905
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_ui_web14.CardContent, { className: "space-y-0 p-0 flex flex-col gap-3 xl:flex-1 xl:min-h-0", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1905
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_ui_web14.CardContent, { className: "space-y-0 p-0 flex flex-col gap-3 xl:flex-1 xl:min-h-0 xl:overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1906
1906
  StatsBody2,
1907
1907
  {
1908
1908
  seasons,