cloudmr-ux 1.5.9 → 1.6.1
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/index.js +6 -2
- package/dist/index.mjs +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -264,6 +264,7 @@ var Panel_default = CmrPanel;
|
|
|
264
264
|
// src/CmrComponents/upload/Upload.tsx
|
|
265
265
|
var import_react4 = __toESM(require("react"));
|
|
266
266
|
var import_material7 = require("@mui/material");
|
|
267
|
+
var import_Upload3 = __toESM(require("@mui/icons-material/Upload"));
|
|
267
268
|
|
|
268
269
|
// src/CmrComponents/upload/UploadWindow.tsx
|
|
269
270
|
var React4 = __toESM(require("react"));
|
|
@@ -709,6 +710,7 @@ var CmrUpload = (props) => {
|
|
|
709
710
|
color: props.color || "primary",
|
|
710
711
|
sx: props.sx,
|
|
711
712
|
children: [
|
|
713
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_Upload3.default, { className: "me-2" }),
|
|
712
714
|
props.changeNameAfterUpload ? uploadedFile === void 0 ? props.uploadButtonName ? props.uploadButtonName : "Upload" : uploadedFile : props.uploadButtonName ? props.uploadButtonName : "Upload",
|
|
713
715
|
" "
|
|
714
716
|
]
|
|
@@ -1257,11 +1259,13 @@ var CmrTable = (props) => {
|
|
|
1257
1259
|
sx: {
|
|
1258
1260
|
"& .MuiDataGrid-columnHeaders": {
|
|
1259
1261
|
backgroundColor: "#F3E5F5",
|
|
1260
|
-
color: "#333"
|
|
1261
|
-
fontWeight: "bold"
|
|
1262
|
+
color: "#333"
|
|
1262
1263
|
},
|
|
1263
1264
|
"& .MuiDataGrid-columnHeaders .MuiSvgIcon-root": {
|
|
1264
1265
|
color: "#580f8b"
|
|
1266
|
+
},
|
|
1267
|
+
"& .MuiDataGrid-columnHeaderTitle": {
|
|
1268
|
+
fontWeight: "bold"
|
|
1265
1269
|
}
|
|
1266
1270
|
},
|
|
1267
1271
|
localeText: { noRowsLabel: "" },
|
package/dist/index.mjs
CHANGED
|
@@ -216,6 +216,7 @@ var Panel_default = CmrPanel;
|
|
|
216
216
|
// src/CmrComponents/upload/Upload.tsx
|
|
217
217
|
import React5, { useState as useState4 } from "react";
|
|
218
218
|
import { Button as Button3 } from "@mui/material";
|
|
219
|
+
import UploadIcon from "@mui/icons-material/Upload";
|
|
219
220
|
|
|
220
221
|
// src/CmrComponents/upload/UploadWindow.tsx
|
|
221
222
|
import * as React4 from "react";
|
|
@@ -661,6 +662,7 @@ var CmrUpload = (props) => {
|
|
|
661
662
|
color: props.color || "primary",
|
|
662
663
|
sx: props.sx,
|
|
663
664
|
children: [
|
|
665
|
+
/* @__PURE__ */ jsx10(UploadIcon, { className: "me-2" }),
|
|
664
666
|
props.changeNameAfterUpload ? uploadedFile === void 0 ? props.uploadButtonName ? props.uploadButtonName : "Upload" : uploadedFile : props.uploadButtonName ? props.uploadButtonName : "Upload",
|
|
665
667
|
" "
|
|
666
668
|
]
|
|
@@ -1209,11 +1211,13 @@ var CmrTable = (props) => {
|
|
|
1209
1211
|
sx: {
|
|
1210
1212
|
"& .MuiDataGrid-columnHeaders": {
|
|
1211
1213
|
backgroundColor: "#F3E5F5",
|
|
1212
|
-
color: "#333"
|
|
1213
|
-
fontWeight: "bold"
|
|
1214
|
+
color: "#333"
|
|
1214
1215
|
},
|
|
1215
1216
|
"& .MuiDataGrid-columnHeaders .MuiSvgIcon-root": {
|
|
1216
1217
|
color: "#580f8b"
|
|
1218
|
+
},
|
|
1219
|
+
"& .MuiDataGrid-columnHeaderTitle": {
|
|
1220
|
+
fontWeight: "bold"
|
|
1217
1221
|
}
|
|
1218
1222
|
},
|
|
1219
1223
|
localeText: { noRowsLabel: "" },
|