@movalib/movalib-commons 1.1.33 → 1.1.34

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/.env.development CHANGED
@@ -1,6 +1,3 @@
1
- #Les variables d'environnements React doivent commencer par "REACT_APP_"
2
1
  HTTPS=true
3
2
  REACT_APP_API_URL=https://localhost:8443/api
4
- # Activer cette URL pour tester la PROD avec l'API en Localhost
5
- #REACT_APP_API_URL=http://localhost:8080/api
6
3
  REACT_APP_MOVALIB_APP_URL=https://localhost:3001
@@ -32,7 +32,7 @@ var ConfirmationDialog = function (_a) {
32
32
  var defaultCloseLabel = "Non";
33
33
  return ((0, jsx_runtime_1.jsxs)(Dialog_1.default, __assign({ open: open, onClose: onClose, "aria-labelledby": "alert-dialog-title", "aria-describedby": "alert-dialog-description", sx: __assign({}, sx) }, { children: [(0, jsx_runtime_1.jsx)(DialogTitle_1.default, __assign({ id: "alert-dialog-title", sx: {
34
34
  backgroundColor: theme.palette.grey[200]
35
- }, style: Tools_1.flexLeftRow }, { children: title || defaultTitle })), (0, jsx_runtime_1.jsxs)(DialogContent_1.default, __assign({ sx: { textAlign: 'center' } }, { children: [(0, jsx_runtime_1.jsx)(DialogContentText_1.default, __assign({ id: "alert-dialog-description", sx: { pt: 2 } }, { children: message || defaultMessage })), (0, jsx_runtime_1.jsx)(DialogContent_1.default, {})] })), (0, jsx_runtime_1.jsxs)(DialogActions_1.default, __assign({ sx: {
35
+ }, style: Tools_1.flexLeftRow }, { children: title || defaultTitle })), (0, jsx_runtime_1.jsx)(DialogContent_1.default, __assign({ sx: { textAlign: 'center' } }, { children: (0, jsx_runtime_1.jsx)(DialogContentText_1.default, __assign({ id: "alert-dialog-description", sx: { pt: 2 } }, { children: message || defaultMessage })) })), (0, jsx_runtime_1.jsxs)(DialogActions_1.default, __assign({ sx: {
36
36
  py: 1,
37
37
  backgroundColor: theme.palette.grey[200]
38
38
  } }, { children: [showConfirm && (0, jsx_runtime_1.jsx)(Button_1.default, __assign({ onClick: onConfirm, color: "inherit", autoFocus: true, sx: { ml: 1 } }, { children: (0, jsx_runtime_1.jsx)("b", { children: confirmLabel || defaultConfirmLabel }) })), (0, jsx_runtime_1.jsx)(Button_1.default, __assign({ onClick: onClose, color: "inherit" }, { children: closeLabel || defaultCloseLabel }))] }))] })));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movalib/movalib-commons",
3
- "version": "1.1.33",
3
+ "version": "1.1.34",
4
4
  "description": "Bibliothèque d'objets communs à l'ensemble des projets React de Movalib",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -47,9 +47,6 @@ const ConfirmationDialog: FunctionComponent<ConfirmationDialogProps> = ({ open,
47
47
  <DialogContentText id="alert-dialog-description" sx={{ pt: 2 }}>
48
48
  {message || defaultMessage}
49
49
  </DialogContentText>
50
- <DialogContent>
51
-
52
- </DialogContent>
53
50
  </DialogContent>
54
51
  <DialogActions sx={{
55
52
  py: 1,
package/.env.production DELETED
@@ -1,4 +0,0 @@
1
- #Les variables d'environnements React doivent commencer par "REACT_APP_"
2
- HTTPS=true
3
- REACT_APP_API_URL=https://api.movalib.com/api
4
- REACT_APP_MOVALIB_APP_URL=https://app.movalib.com