@nethru/ui 1.0.66 → 1.0.68

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.
@@ -13,6 +13,7 @@ const PropertyTable = /*#__PURE__*/forwardRef(({
13
13
  error = false,
14
14
  helperText,
15
15
  sx,
16
+ outerSx,
16
17
  ...props
17
18
  }, ref) => {
18
19
  const styles = useMemo(() => {
@@ -85,6 +86,7 @@ const PropertyTable = /*#__PURE__*/forwardRef(({
85
86
  };
86
87
  return /*#__PURE__*/_jsxs(Box, {
87
88
  ref: ref,
89
+ sx: outerSx,
88
90
  children: [/*#__PURE__*/_jsx(DataGrid, {
89
91
  columns: arrangedColumns,
90
92
  rows: rows,
package/dist/Snackbar.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Alert, Slide } from "@mui/material";
1
+ import { Alert, Box, Slide } from "@mui/material";
2
2
  import MuiSnackbar from "@mui/material/Snackbar";
3
3
  import { jsx as _jsx } from "react/jsx-runtime";
4
4
  import { Fragment as _Fragment } from "react/jsx-runtime";
@@ -32,7 +32,10 @@ export default function Snackbar({
32
32
  ...props,
33
33
  children: /*#__PURE__*/_jsx(Alert, {
34
34
  severity: severity,
35
- children: content
35
+ children: /*#__PURE__*/_jsx(Box, {
36
+ whiteSpace: "pre",
37
+ children: content
38
+ })
36
39
  })
37
40
  }), children && /*#__PURE__*/_jsx(MuiSnackbar, {
38
41
  ...props,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nethru/ui",
3
- "version": "1.0.66",
3
+ "version": "1.0.68",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "/dist"