@movable/ui 3.10.1 → 3.10.2

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/lib/index.mjs CHANGED
@@ -21644,11 +21644,14 @@ function jO({ groupingProps: e, filterDrawerBtnProps: t, showFilterDrawerBtn: n
21644
21644
  }, "data-cy": "grid-tool-bar-quick-filter" }), n && t && p.jsx(Xp, { badgeContent: t.filterBtnBadgeContent, color: "primary", "data-cy": "grid-tool-bar-filter-badge", children: p.jsx(jS, { onClick: t.onShowFilterDrawerClick }) })] }), p.jsxs(Re, { direction: "row", spacing: 1, children: [a && p.jsx(wf, {}), c && p.jsx(AS, { columnData: c.columnData, handleColumnFilterChange: c.handleColumnFilterChange, customGridVisibility: c.customGridVisibility, lockedFields: c.lockedFields, hiddenInColumnPicker: c.hiddenInColumnPicker }), i && p.jsx(Sf, {}), m !== void 0 && h && g && p.jsx(kS, { value: m, onChange: h, options: g }), s && p.jsx(RS, { onClick: s, loadingExport: l })] })] }), u] }) });
21645
21645
  }
21646
21646
  function kO({ testSelector: e = "", disableColumnReorder: t = !0, sx: n, rows: o, ...i }) {
21647
- return p.jsx(Hc, { "data-test-ink-data-grid": e, rows: o, disableColumnReorder: t, sx: {
21648
- ...n,
21647
+ const a = o != null && o.length ? null : {
21649
21648
  ".MuiDataGrid-virtualScroller": {
21650
- display: o && o.length ? "block" : "none"
21649
+ display: "none"
21651
21650
  }
21651
+ };
21652
+ return p.jsx(Hc, { "data-test-ink-data-grid": e, rows: o, disableColumnReorder: t, sx: {
21653
+ ...n,
21654
+ ...a
21652
21655
  }, ...i });
21653
21656
  }
21654
21657
  const MS = [{ id: 0 }, { id: 1 }, { id: 2 }];