cloudmr-ux 1.4.4 → 1.4.7

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
@@ -341,7 +341,7 @@ function CmrUploadWindow({
341
341
  setInfoOpen(true);
342
342
  setInfoStyle("error");
343
343
  setWarningText("Alias contains invalid characters ( , : % > < or spaces )");
344
- setTimeout(() => setInfoOpen(false), 5e3);
344
+ setTimeout(() => setInfoOpen(false), 1e4);
345
345
  return;
346
346
  }
347
347
  setOpen(false);
@@ -982,7 +982,7 @@ function CmrEditConfirmation({
982
982
  }
983
983
  ) }),
984
984
  /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_DialogActions5.default, { children: [
985
- cancellable && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(CmrButton_default, { variant: "outlined", color: "inherit", sx: { color: "#333" }, onClick: handleCancel, children: "Cancel" }),
985
+ cancellable && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(CmrButton_default, { variant: "outlined", onClick: handleCancel, children: "Cancel" }),
986
986
  /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(CmrButton_default, { variant: "contained", color, onClick: handleConfirm, children: "Confirm" })
987
987
  ] })
988
988
  ] })
package/dist/index.mjs CHANGED
@@ -293,7 +293,7 @@ function CmrUploadWindow({
293
293
  setInfoOpen(true);
294
294
  setInfoStyle("error");
295
295
  setWarningText("Alias contains invalid characters ( , : % > < or spaces )");
296
- setTimeout(() => setInfoOpen(false), 5e3);
296
+ setTimeout(() => setInfoOpen(false), 1e4);
297
297
  return;
298
298
  }
299
299
  setOpen(false);
@@ -934,7 +934,7 @@ function CmrEditConfirmation({
934
934
  }
935
935
  ) }),
936
936
  /* @__PURE__ */ jsxs10(DialogActions5, { children: [
937
- cancellable && /* @__PURE__ */ jsx14(CmrButton_default, { variant: "outlined", color: "inherit", sx: { color: "#333" }, onClick: handleCancel, children: "Cancel" }),
937
+ cancellable && /* @__PURE__ */ jsx14(CmrButton_default, { variant: "outlined", onClick: handleCancel, children: "Cancel" }),
938
938
  /* @__PURE__ */ jsx14(CmrButton_default, { variant: "contained", color, onClick: handleConfirm, children: "Confirm" })
939
939
  ] })
940
940
  ] })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudmr-ux",
3
- "version": "1.4.4",
3
+ "version": "1.4.7",
4
4
  "author": "erosmontin@gmail.com",
5
5
  "license": "MIT",
6
6
  "repository": "erosmontin/cloudmr-ux",
@@ -11,13 +11,16 @@
11
11
  "dist"
12
12
  ],
13
13
  "scripts": {
14
- "build": "tsup src/index.ts --format cjs,esm --dts --external react,react-dom"
14
+ "build": "tsup src/index.ts --format cjs,esm --external react,react-dom",
15
+ "build:typed": "tsup src/index.ts --format cjs,esm --dts --external react,react-dom"
15
16
  },
16
17
  "peerDependencies": {
17
18
  "react": "^18.0.0",
18
- "react-dom": "^18.0.0"
19
+ "react-dom": "^18.0.0",
20
+ "axios": "^1.9.0"
19
21
  },
20
22
  "devDependencies": {
23
+ "axios": "^1.9.0",
21
24
  "process": "^0.11.10",
22
25
  "react": "^18.0.0",
23
26
  "react-dom": "^18.0.0",
@@ -31,10 +34,9 @@
31
34
  "@mui/material": "^5.14.2",
32
35
  "@mui/x-data-grid": "^6.10.1",
33
36
  "antd": "^5.22.1",
34
- "axios": "^1.9.0",
35
37
  "css-loader": "^7.1.2",
36
38
  "sass": "^1.81.0",
37
39
  "sass-loader": "^16.0.3",
38
40
  "style-loader": "^4.0.0"
39
41
  }
40
- }
42
+ }