@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.js CHANGED
@@ -1614,7 +1614,7 @@ function StatsBody2({
1614
1614
  emptyMessage
1615
1615
  }) {
1616
1616
  return /* @__PURE__ */ jsxs15(Fragment4, { children: [
1617
- /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-2 min-[360px]:gap-3", children: [
1617
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-2 min-[360px]:gap-3 xl:shrink-0", children: [
1618
1618
  /* @__PURE__ */ jsx15(SeasonSelector, { ...seasons, className: "gap-2 min-[360px]:gap-3" }),
1619
1619
  showsCategoryPicker && /* @__PURE__ */ jsxs15(
1620
1620
  Select2,
@@ -1636,7 +1636,7 @@ function StatsBody2({
1636
1636
  }
1637
1637
  )
1638
1638
  ] }),
1639
- /* @__PURE__ */ jsxs15("div", { className: "space-y-4 xl:flex-1 xl:min-h-0 xl:overflow-hidden", children: [
1639
+ /* @__PURE__ */ jsxs15("div", { className: "flex flex-col space-y-4 xl:flex-1 xl:min-h-0 xl:overflow-hidden", children: [
1640
1640
  isStatTypesError && !hasVisibleStatTypes && /* @__PURE__ */ jsx15("p", { className: "text-text-secondary text-13.5", children: "Couldn't load stat categories -- showing limited columns." }),
1641
1641
  /* @__PURE__ */ jsx15(
1642
1642
  BaseTable3,
@@ -1650,7 +1650,7 @@ function StatsBody2({
1650
1650
  splitLayoutGridCols: isSm ? "sm:!grid-cols-[minmax(232px,auto)_1fr]" : "!grid-cols-[minmax(117px,auto)_1fr]",
1651
1651
  loading: statsLoading,
1652
1652
  containerClassName: "border-0 rounded-none h-full",
1653
- className: "border-none xl:h-full xl:min-h-0",
1653
+ className: "h-full min-h-0 border-none xl:flex-1 xl:overflow-hidden",
1654
1654
  numberOfColumns: 2,
1655
1655
  emptyMessage: isStatsError && stats.length === 0 ? "Couldn't load stats. Please try again." : emptyMessage
1656
1656
  }
@@ -1722,7 +1722,7 @@ function TeamStatsTable({
1722
1722
  ),
1723
1723
  children: [
1724
1724
  /* @__PURE__ */ jsx15(CardHeader6, { className: "p-0", children: /* @__PURE__ */ jsx15(CardTitle6, { children: "Stats" }) }),
1725
- /* @__PURE__ */ jsx15(CardContent7, { className: "space-y-0 p-0 flex flex-col gap-3 xl:flex-1 xl:min-h-0", children: /* @__PURE__ */ jsx15(
1725
+ /* @__PURE__ */ jsx15(CardContent7, { className: "space-y-0 p-0 flex flex-col gap-3 xl:flex-1 xl:min-h-0 xl:overflow-hidden", children: /* @__PURE__ */ jsx15(
1726
1726
  StatsBody2,
1727
1727
  {
1728
1728
  seasons,