@flytedan/flytebot-design-system 0.54.0 → 0.55.0

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.cjs CHANGED
@@ -2651,11 +2651,11 @@ function formatPercent(n, digits = 0) {
2651
2651
  return n.toFixed(digits) + "%";
2652
2652
  }
2653
2653
  function ChartDataTable({ caption, columns, rows }) {
2654
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("table", { className: "fd-sr", children: [
2654
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "fd-sr", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("table", { children: [
2655
2655
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("caption", { children: caption }),
2656
2656
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("tr", { children: columns.map((c, i) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("th", { scope: "col", children: c }, i)) }) }),
2657
2657
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("tbody", { children: rows.map((r, i) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("tr", { children: r.map((cell, j) => j === 0 ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("th", { scope: "row", children: cell }, j) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("td", { children: cell }, j)) }, i)) })
2658
- ] });
2658
+ ] }) });
2659
2659
  }
2660
2660
  function ChartLegend({ items, activeKey, onActivate, className = "" }) {
2661
2661
  if (!items.length) return null;