@movable/ui 3.20.1 → 3.20.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
@@ -23788,7 +23788,7 @@ function uO({ value: e, onChange: t, options: r = [] }) {
23788
23788
  }, s = () => {
23789
23789
  i(null);
23790
23790
  };
23791
- return p.jsxs("div", { children: [p.jsx(Rt, { "aria-controls": "simple-menu", "aria-haspopup": "true", onClick: (l) => i(l.currentTarget), startIcon: p.jsx(xf, {}), children: "Group" }), p.jsxs(Oi, { id: "simple-menu", anchorEl: o, open: !!o, onClose: s, children: [p.jsx(kr, { onClick: () => a(""), selected: e === "", children: "None" }, ""), r.map((l) => p.jsx(kr, { onClick: () => a(l), selected: l === e, children: Ff(l) }, l))] })] });
23791
+ return p.jsxs("div", { children: [p.jsx(Rt, { "aria-controls": "simple-menu", "aria-haspopup": "true", onClick: (l) => i(l.currentTarget), size: "small", startIcon: p.jsx(xf, {}), children: "Group" }), p.jsxs(Oi, { id: "simple-menu", anchorEl: o, open: !!o, onClose: s, children: [p.jsx(kr, { onClick: () => a(""), selected: e === "", children: "None" }, ""), r.map((l) => p.jsx(kr, { onClick: () => a(l), selected: l === e, children: Ff(l) }, l))] })] });
23792
23792
  }
23793
23793
  const dO = ft(/* @__PURE__ */ p.jsx("path", {
23794
23794
  d: "M14.67 5v14H9.33V5zm1 14H21V5h-5.33zm-7.34 0V5H3v14z"
@@ -23855,7 +23855,7 @@ function lP({ groupingProps: e, filterDrawerBtnProps: t, showFilterDrawerBtn: r
23855
23855
  return p.jsx(Lf, { sx: { py: d }, children: p.jsxs(De, { direction: "column", sx: { width: "100%" }, children: [p.jsxs(De, { justifyContent: o ? "space-between" : "end", alignItems: "center", direction: "row", width: "100%", children: [p.jsxs(De, { direction: "row", spacing: 2, alignItems: "center", children: [o && p.jsx(_f, { sx: {
23856
23856
  ".MuiInputBase-input": { p: 0 },
23857
23857
  ".MuiInput-root:after": { borderBottom: "none" }
23858
- }, "data-cy": "grid-tool-bar-quick-filter" }), r && t && p.jsx(hf, { badgeContent: t.filterBtnBadgeContent, color: "primary", "data-cy": "grid-tool-bar-filter-badge", children: p.jsx(cO, { onClick: t.onShowFilterDrawerClick }) })] }), p.jsxs(De, { direction: "row", spacing: 1, children: [a && p.jsx(Df, {}), c && p.jsx(pO, { columnData: c.columnData, handleColumnFilterChange: c.handleColumnFilterChange, customGridVisibility: c.customGridVisibility, lockedFields: c.lockedFields, hiddenInColumnPicker: c.hiddenInColumnPicker }), i && p.jsx(Bf, {}), h !== void 0 && m && g && p.jsx(uO, { value: h, onChange: m, options: g }), s && p.jsx(lO, { onClick: s, loadingExport: l })] })] }), u] }) });
23858
+ }, "data-cy": "grid-tool-bar-quick-filter" }), r && t && p.jsx(hf, { badgeContent: t.filterBtnBadgeContent, color: "primary", "data-cy": "grid-tool-bar-filter-badge", children: p.jsx(cO, { onClick: t.onShowFilterDrawerClick }) })] }), p.jsxs(De, { direction: "row", spacing: 1, children: [a && p.jsx(Df, { slotProps: { button: { size: "small" } } }), c && p.jsx(pO, { columnData: c.columnData, handleColumnFilterChange: c.handleColumnFilterChange, customGridVisibility: c.customGridVisibility, lockedFields: c.lockedFields, hiddenInColumnPicker: c.hiddenInColumnPicker }), i && p.jsx(Bf, { slotProps: { button: { size: "small" } } }), h !== void 0 && m && g && p.jsx(uO, { value: h, onChange: m, options: g }), s && p.jsx(lO, { onClick: s, loadingExport: l })] })] }), u] }) });
23859
23859
  }
23860
23860
  function cP({ testSelector: e = "", disableColumnReorder: t = !0, sx: r, rows: o, ...i }) {
23861
23861
  const a = o?.length ? null : {