@leapdevuk/component-toolbox 0.1.3 → 0.1.5
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/dist/CHANGELOG.md +10 -0
- package/dist/components/datagrid/DataGrid.d.ts +3 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +18 -16
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5132,6 +5132,7 @@ const Sc = Cr(/* @__PURE__ */ l.jsx("path", {
|
|
|
5132
5132
|
defaultGroupingExpansionDepth: e.defaultGroupingExpansionDepth ? e.defaultGroupingExpansionDepth : 0,
|
|
5133
5133
|
disableColumnReorder: !0,
|
|
5134
5134
|
disableMultipleRowSelection: e.disableMultipleRowSelection,
|
|
5135
|
+
getRowClassName: e.getRowClassName,
|
|
5135
5136
|
getRowId: e.id,
|
|
5136
5137
|
getTreeDataPath: e.getTreeDataPath,
|
|
5137
5138
|
groupingColDef: e.groupingColDef,
|
|
@@ -5169,15 +5170,16 @@ const Sc = Cr(/* @__PURE__ */ l.jsx("path", {
|
|
|
5169
5170
|
},
|
|
5170
5171
|
sortingOrder: ["desc", "asc"],
|
|
5171
5172
|
sortModel: r,
|
|
5172
|
-
style: { borderBottom: 0 },
|
|
5173
5173
|
sx: {
|
|
5174
|
-
"&.MuiDataGrid-root": { border: 0 },
|
|
5175
|
-
borderRadius: 0,
|
|
5176
|
-
".MuiDataGrid-overlay ": { color: "#0060bb" },
|
|
5177
|
-
".Mui-selected": { backgroundColor: "#cde6f7 !important" },
|
|
5178
5174
|
".MuiDataGrid-columnHeaders": e.borderTop ? {
|
|
5179
5175
|
borderTop: "1px solid rgb(224, 224, 224)"
|
|
5180
|
-
} : {}
|
|
5176
|
+
} : {},
|
|
5177
|
+
".MuiDataGrid-overlay ": { color: "#0060bb" },
|
|
5178
|
+
"&.MuiDataGrid-root": e.showBorders ? {
|
|
5179
|
+
border: "1px solid rgb(224, 224, 224)"
|
|
5180
|
+
} : { border: 0 },
|
|
5181
|
+
borderRadius: 0,
|
|
5182
|
+
".Mui-selected": { backgroundColor: "#cde6f7 !important" }
|
|
5181
5183
|
},
|
|
5182
5184
|
treeData: e.treeData
|
|
5183
5185
|
}
|
|
@@ -10064,16 +10066,6 @@ const X = (e, r, t, n, o) => {
|
|
|
10064
10066
|
e && /* @__PURE__ */ l.jsx(l.Fragment, { children: e }),
|
|
10065
10067
|
/* @__PURE__ */ l.jsx("div", { className: "flex1" }),
|
|
10066
10068
|
r && /* @__PURE__ */ l.jsx(l.Fragment, { children: r }),
|
|
10067
|
-
t && /* @__PURE__ */ l.jsx(
|
|
10068
|
-
ut,
|
|
10069
|
-
{
|
|
10070
|
-
onClick: t,
|
|
10071
|
-
variant: "outlined",
|
|
10072
|
-
color: "secondary",
|
|
10073
|
-
size: "small",
|
|
10074
|
-
children: "Cancel"
|
|
10075
|
-
}
|
|
10076
|
-
),
|
|
10077
10069
|
o && /* @__PURE__ */ l.jsx("div", { style: { marginRight: 5 }, children: /* @__PURE__ */ l.jsx(
|
|
10078
10070
|
ut,
|
|
10079
10071
|
{
|
|
@@ -10084,6 +10076,16 @@ const X = (e, r, t, n, o) => {
|
|
|
10084
10076
|
children: "OK"
|
|
10085
10077
|
}
|
|
10086
10078
|
) }),
|
|
10079
|
+
t && /* @__PURE__ */ l.jsx(
|
|
10080
|
+
ut,
|
|
10081
|
+
{
|
|
10082
|
+
onClick: t,
|
|
10083
|
+
variant: "outlined",
|
|
10084
|
+
color: "secondary",
|
|
10085
|
+
size: "small",
|
|
10086
|
+
children: "Cancel"
|
|
10087
|
+
}
|
|
10088
|
+
),
|
|
10087
10089
|
n && /* @__PURE__ */ l.jsx(
|
|
10088
10090
|
ut,
|
|
10089
10091
|
{
|