@etsoo/materialui 1.3.9 → 1.3.10

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/DataGridEx.js CHANGED
@@ -261,7 +261,7 @@ export function DataGridEx(props) {
261
261
  rowIndex,
262
262
  columnIndex,
263
263
  cellProps,
264
- renderProps,
264
+ renderProps: typeof renderProps === "function" ? renderProps(data) : renderProps,
265
265
  setItems
266
266
  });
267
267
  return (React.createElement("div", { className: rowClass, style: style, "data-row": rowIndex, "data-column": columnIndex, onMouseDown: selectable && !checkable ? handleMouseDown : undefined, onMouseOver: selectable ? handleMouseOver : undefined, onMouseOut: selectable ? handleMouseOut : undefined, onClick: (event) => onClick && data != null && onClick(event, data), onDoubleClick: (event) => onDoubleClick && data != null && onDoubleClick(event, data) },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.3.9",
3
+ "version": "1.3.10",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -50,13 +50,13 @@
50
50
  "@emotion/css": "^11.11.2",
51
51
  "@emotion/react": "^11.11.1",
52
52
  "@emotion/styled": "^11.11.0",
53
- "@etsoo/appscript": "^1.4.41",
53
+ "@etsoo/appscript": "^1.4.45",
54
54
  "@etsoo/notificationbase": "^1.1.28",
55
- "@etsoo/react": "^1.7.7",
55
+ "@etsoo/react": "^1.7.8",
56
56
  "@etsoo/shared": "^1.2.12",
57
57
  "@mui/icons-material": "^5.14.8",
58
58
  "@mui/material": "^5.14.8",
59
- "@mui/x-data-grid": "^6.12.1",
59
+ "@mui/x-data-grid": "^6.13.0",
60
60
  "@types/pica": "^9.0.1",
61
61
  "@types/pulltorefreshjs": "^0.1.5",
62
62
  "@types/react": "^18.2.21",
@@ -76,7 +76,7 @@
76
76
  },
77
77
  "devDependencies": {
78
78
  "@babel/cli": "^7.22.15",
79
- "@babel/core": "^7.22.15",
79
+ "@babel/core": "^7.22.17",
80
80
  "@babel/plugin-transform-runtime": "^7.22.15",
81
81
  "@babel/preset-env": "^7.22.15",
82
82
  "@babel/preset-react": "^7.22.15",
@@ -575,7 +575,8 @@ export function DataGridEx<
575
575
  rowIndex,
576
576
  columnIndex,
577
577
  cellProps,
578
- renderProps,
578
+ renderProps:
579
+ typeof renderProps === "function" ? renderProps(data) : renderProps,
579
580
  setItems
580
581
  });
581
582