cloudmr-ux 1.6.0 → 1.6.2

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 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
  ]
@@ -864,7 +866,7 @@ function CmrConfirmation({
864
866
  /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_DialogContent3.default, { sx: { width }, children: [
865
867
  /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_DialogContentText2.default, { alignContent: "center", children: message }),
866
868
  /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_DialogActions3.default, { className: "mt-4", children: [
867
- cancellable && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(CmrButton_default, { variant: "outlined", color: "inherit", sx: { color: "#333" }, onClick: handleCancel, children: cancelText }),
869
+ cancellable && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(CmrButton_default, { variant: "outlined", onClick: handleCancel, children: cancelText }),
868
870
  /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(CmrButton_default, { variant: "contained", color, onClick: handleConfirm, children: confirmText })
869
871
  ] })
870
872
  ] })
@@ -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
  ]
@@ -816,7 +818,7 @@ function CmrConfirmation({
816
818
  /* @__PURE__ */ jsxs8(DialogContent3, { sx: { width }, children: [
817
819
  /* @__PURE__ */ jsx12(DialogContentText2, { alignContent: "center", children: message }),
818
820
  /* @__PURE__ */ jsxs8(DialogActions3, { className: "mt-4", children: [
819
- cancellable && /* @__PURE__ */ jsx12(CmrButton_default, { variant: "outlined", color: "inherit", sx: { color: "#333" }, onClick: handleCancel, children: cancelText }),
821
+ cancellable && /* @__PURE__ */ jsx12(CmrButton_default, { variant: "outlined", onClick: handleCancel, children: cancelText }),
820
822
  /* @__PURE__ */ jsx12(CmrButton_default, { variant: "contained", color, onClick: handleConfirm, children: confirmText })
821
823
  ] })
822
824
  ] })
@@ -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: "" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudmr-ux",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "author": "erosmontin@gmail.com",
5
5
  "license": "MIT",
6
6
  "repository": "erosmontin/cloudmr-ux",