@movable/ui 3.10.0 → 3.10.2-alpha.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/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 }];
@@ -21694,7 +21697,7 @@ function MO(e, t, n = {}) {
21694
21697
  ...s
21695
21698
  };
21696
21699
  }
21697
- const $S = ({ action: e, onClose: t }) => p.jsxs(Re, { direction: "row", spacing: 1, children: [e && p.jsx(pt, { "data-test-ink-highlight-alert-action": !0, onClick: () => e.callback, variant: "contained", color: "inherit", size: "medium", sx: { color: "text.primary" }, children: e.label }), t && p.jsx(wr, { onClick: t, sx: { color: "neutral00" }, "data-test-ink-highlight-alert-close": !0, children: p.jsx(ld, {}) })] });
21700
+ const $S = ({ action: e, onClose: t }) => p.jsxs(Re, { direction: "row", spacing: 1, children: [e && p.jsx(pt, { "data-test-ink-highlight-alert-action": !0, onClick: e.callback, variant: "contained", color: "inherit", size: "medium", sx: { color: "text.primary" }, children: e.label }), t && p.jsx(wr, { onClick: t, sx: { color: "neutral00" }, "data-test-ink-highlight-alert-close": !0, children: p.jsx(ld, {}) })] });
21698
21701
  function IO({ testSelector: e = "ink-highlight-alert", onClose: t, action: n, alertProps: o, message: i }) {
21699
21702
  return p.jsx(Vc, { "data-test-ink-highlight-alert": e, variant: "highlight", icon: !1, onClose: t && !n ? t : void 0, action: (n || t) && p.jsx($S, { onClose: t, action: n ?? void 0 }), ...o, sx: {
21700
21703
  px: 3,