@amateescu/portal-ui-components 0.0.30-beta2 → 0.0.30-beta4

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.
@@ -1 +1 @@
1
- ._container_1py0o_1{padding-top:10px;height:7%}
1
+ ._container_1eynx_1{padding-top:10px;height:7%}._MuiDataGrid-topContainer_1eynx_6._MuiDataGrid-container--top_1eynx_6{display:none}
@@ -1,15 +1,15 @@
1
- import { jsxs as m, Fragment as d, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as p, Fragment as d, jsx as e } from "react/jsx-runtime";
2
2
  import { CustomPagination as u } from "../CustomPagination/CustomPagination.js";
3
3
  import { TotalDataGrid as g } from "../TotalDataGrid/TotalDataGrid.js";
4
4
  import { getPageCount as l } from "../../portal-utils/pageCount.js";
5
- import { useGridApiContext as C, useGridSelector as n, gridFilteredTopLevelRowCountSelector as f, useGridRootProps as h, gridPageSizeSelector as F, GridFooterContainer as G } from "@mui/x-data-grid";
6
- import '../../assets/CustomFooter.css';const P = "_container_1py0o_1", S = {
7
- container: P
5
+ import { useGridApiContext as C, useGridSelector as n, gridFilteredTopLevelRowCountSelector as f, useGridRootProps as h, gridPageSizeSelector as x, GridFooterContainer as F } from "@mui/x-data-grid";
6
+ import '../../assets/CustomFooter.css';const G = "_container_1eynx_1", P = {
7
+ container: G
8
8
  };
9
9
  function _({ total: o, columnsDefinitions: t, isRtl: i }) {
10
- const r = C(), s = n(r, f), c = h(), a = n(r, F), p = l(c.rowCount ?? s, a);
11
- return /* @__PURE__ */ m(d, { children: [
12
- (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ e("div", { className: S.container, children: /* @__PURE__ */ e(
10
+ const r = C(), s = n(r, f), c = h(), a = n(r, x), m = l(c.rowCount ?? s, a);
11
+ return /* @__PURE__ */ p(d, { children: [
12
+ (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ e("div", { className: P.container, children: /* @__PURE__ */ e(
13
13
  g,
14
14
  {
15
15
  rows: o,
@@ -17,11 +17,11 @@ function _({ total: o, columnsDefinitions: t, isRtl: i }) {
17
17
  columnsDefinitions: t
18
18
  }
19
19
  ) }),
20
- /* @__PURE__ */ e(G, { children: /* @__PURE__ */ e(
20
+ /* @__PURE__ */ e(F, { children: /* @__PURE__ */ e(
21
21
  u,
22
22
  {
23
23
  isRtl: i,
24
- pageCount: p
24
+ pageCount: m
25
25
  }
26
26
  ) })
27
27
  ] });
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@amateescu/portal-ui-components",
3
3
  "main": "dist/main.js",
4
4
  "types": "dist/main.d.ts",
5
- "version": "0.0.30-beta2",
5
+ "version": "0.0.30-beta4",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist",