cloudmr-ux 1.1.8 → 1.2.0

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
@@ -1165,7 +1165,8 @@ var CMRSelectUpload = (props) => {
1165
1165
  }
1166
1166
  ) }),
1167
1167
  /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_Box3.default, { sx: { pt: 2, justifyContent: "center", display: "flex", padding: "8px" }, children: [
1168
- fileIndex !== -1 && !uploading && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material12.Button, { fullWidth: true, sx: { marginRight: "8px" }, variant: "contained", color: "success", onClick: onSet, children: "Ok" }),
1168
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material12.Button, { fullWidth: true, variant: "outlined", color: "inherit", sx: { color: "#333", marginLeft: "8px" }, onClick: handleClose, children: " Cancel" }),
1169
+ fileIndex !== -1 && !uploading && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material12.Button, { fullWidth: true, sx: { marginRight: "8px" }, variant: "contained", onClick: onSet, children: "OK" }),
1169
1170
  fileIndex == -1 && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1170
1171
  Upload_default,
1171
1172
  {
@@ -1191,8 +1192,7 @@ var CMRSelectUpload = (props) => {
1191
1192
  },
1192
1193
  uploadEnded: () => setUploading(false)
1193
1194
  }
1194
- ),
1195
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material12.Button, { fullWidth: true, variant: "outlined", color: "inherit", sx: { color: "#333", marginLeft: "8px" }, onClick: handleClose, children: " Cancel" })
1195
+ )
1196
1196
  ] })
1197
1197
  ] })
1198
1198
  ] });
package/dist/index.mjs CHANGED
@@ -1118,7 +1118,8 @@ var CMRSelectUpload = (props) => {
1118
1118
  }
1119
1119
  ) }),
1120
1120
  /* @__PURE__ */ jsxs12(Box4, { sx: { pt: 2, justifyContent: "center", display: "flex", padding: "8px" }, children: [
1121
- fileIndex !== -1 && !uploading && /* @__PURE__ */ jsx19(Button4, { fullWidth: true, sx: { marginRight: "8px" }, variant: "contained", color: "success", onClick: onSet, children: "Ok" }),
1121
+ /* @__PURE__ */ jsx19(Button4, { fullWidth: true, variant: "outlined", color: "inherit", sx: { color: "#333", marginLeft: "8px" }, onClick: handleClose, children: " Cancel" }),
1122
+ fileIndex !== -1 && !uploading && /* @__PURE__ */ jsx19(Button4, { fullWidth: true, sx: { marginRight: "8px" }, variant: "contained", onClick: onSet, children: "OK" }),
1122
1123
  fileIndex == -1 && /* @__PURE__ */ jsx19(
1123
1124
  Upload_default,
1124
1125
  {
@@ -1144,8 +1145,7 @@ var CMRSelectUpload = (props) => {
1144
1145
  },
1145
1146
  uploadEnded: () => setUploading(false)
1146
1147
  }
1147
- ),
1148
- /* @__PURE__ */ jsx19(Button4, { fullWidth: true, variant: "outlined", color: "inherit", sx: { color: "#333", marginLeft: "8px" }, onClick: handleClose, children: " Cancel" })
1148
+ )
1149
1149
  ] })
1150
1150
  ] })
1151
1151
  ] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudmr-ux",
3
- "version": "1.1.8",
3
+ "version": "1.2.0",
4
4
  "author": "erosmontin@gmail.com",
5
5
  "license": "MIT",
6
6
  "repository": "erosmontin/cloudmr-ux",