@nethru/ui 1.0.72 → 1.0.74

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,4 +1,4 @@
1
- import { Button, Stack } from "@mui/material";
1
+ import { Box, Button, Stack } from "@mui/material";
2
2
  import DialogContent from "@mui/material/DialogContent";
3
3
  import DialogContentText from "@mui/material/DialogContentText";
4
4
  import DialogActions from "@mui/material/DialogActions";
@@ -30,7 +30,11 @@ export default function AlertDialog({
30
30
  }
31
31
  }), /*#__PURE__*/_jsx(DialogContentText, {
32
32
  component: "div",
33
- children: /*#__PURE__*/_jsx("pre", {
33
+ children: /*#__PURE__*/_jsx(Box, {
34
+ component: "div",
35
+ sx: {
36
+ whiteSpace: 'pre-wrap'
37
+ },
34
38
  children: content.replace(/(\\n)/g, '\n')
35
39
  })
36
40
  })]
package/dist/DataGrid.js CHANGED
@@ -99,6 +99,7 @@ export default function DataGrid({
99
99
  columns: columns,
100
100
  rows: rows,
101
101
  autoHeight: true,
102
+ pagination: true,
102
103
  disableColumnMenu: true,
103
104
  disableRowSelectionOnClick: true,
104
105
  getRowClassName: params => params.indexRelativeToCurrentPage % 2 === 0 ? '' : 'odd',
@@ -131,6 +132,12 @@ export default function DataGrid({
131
132
  quickFilterExcludeHiddenColumns: true
132
133
  }
133
134
  },
135
+ pagination: {
136
+ paginationModel: {
137
+ pageSize: 25,
138
+ page: 0
139
+ }
140
+ },
134
141
  ...initialState
135
142
  },
136
143
  sx: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nethru/ui",
3
- "version": "1.0.72",
3
+ "version": "1.0.74",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "/dist"