argous 1.2.224 → 1.2.226

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.
@@ -94,7 +94,8 @@ var useStyles = core_1.makeStyles(function (theme) {
94
94
  },
95
95
  annotationHeader: {
96
96
  display: 'flex',
97
- justifyContent: 'space-between'
97
+ justifyContent: 'space-between',
98
+ gap: utils_1.SMALL_SIZE
98
99
  },
99
100
  annotationUser: {
100
101
  display: 'flex',
@@ -213,6 +213,6 @@ var Input = function () {
213
213
  react_1.default.createElement(PrivacySelection_1.default, { disabled: loading.save, value: privacyType, onChange: function (event) { return setPrivacyType(event.target.value); } })))),
214
214
  react_1.default.createElement("div", { className: classes.buttonsDiv },
215
215
  (replying) && (react_1.default.createElement(core_1.Button, { color: 'default', variant: 'contained', size: 'small', onClick: cancelReply }, "Cancelar")),
216
- react_1.default.createElement(core_1.Button, { color: 'primary', variant: 'contained', size: 'small', disabled: !text.length || loading.save, onClick: saveAnnotation, style: { width: (replying) ? 97.13 : 72.45 } }, (loading.save) ? react_1.default.createElement(core_1.CircularProgress, { color: 'primary', size: 22 }) : (replying) ? 'Responder' : 'Anotar')));
216
+ react_1.default.createElement(core_1.Button, { color: 'primary', variant: 'contained', size: 'small', disabled: !text.length || loading.save || loading.file, onClick: saveAnnotation, style: { width: (replying) ? 97.13 : 72.45 } }, (loading.save) ? react_1.default.createElement(core_1.CircularProgress, { color: 'primary', size: 22 }) : (replying) ? 'Responder' : 'Anotar')));
217
217
  };
218
218
  exports.default = Input;
@@ -179,7 +179,7 @@ var Annotations = function (_a) {
179
179
  handleDialogClose: handleDialogClose,
180
180
  dispatch: dispatch })); }, [code, pgTitle, annotationParameters, openAnnotationParameters, loggedUser, state, handleDialogClose, dispatch]);
181
181
  return react_1.default.createElement(exports.AnnotationsContext.Provider, { value: contextValues },
182
- react_1.default.createElement(core_1.Dialog, __assign({}, { open: open }, { maxWidth: 'lg', disableRestoreFocus: true, disableEnforceFocus: true, ref: dialogRef, onClose: handleDialogClose }),
182
+ react_1.default.createElement(core_1.Dialog, __assign({}, { open: open }, { fullWidth: true, maxWidth: 'lg', disableRestoreFocus: true, disableEnforceFocus: true, ref: dialogRef, onClose: handleDialogClose }),
183
183
  react_1.default.createElement("div", { className: classes.dialogContainer },
184
184
  react_1.default.createElement("div", { className: classes.dialogHeader },
185
185
  react_1.default.createElement(core_1.Typography, { variant: 'h6' },
@@ -23,7 +23,8 @@ const useStyles = makeStyles((theme) => ({
23
23
  },
24
24
  annotationHeader: {
25
25
  display: 'flex',
26
- justifyContent: 'space-between'
26
+ justifyContent: 'space-between',
27
+ gap: SMALL_SIZE
27
28
  },
28
29
  annotationUser: {
29
30
  display: 'flex',
@@ -176,7 +176,7 @@ const Input = () => {
176
176
  color='primary'
177
177
  variant='contained'
178
178
  size='small'
179
- disabled={!text.length || loading.save}
179
+ disabled={!text.length || loading.save || loading.file}
180
180
  onClick={saveAnnotation}
181
181
  style={{ width: (replying) ? 97.13 : 72.45 }}
182
182
  >
@@ -114,7 +114,7 @@ const Annotations = ({ open, proceed, onClose, code, pgTitle, annotationParamete
114
114
 
115
115
 
116
116
  return <AnnotationsContext.Provider value={contextValues}>
117
- <Dialog {...{ open }} maxWidth='lg' disableRestoreFocus disableEnforceFocus ref={dialogRef} onClose={handleDialogClose}>
117
+ <Dialog {...{ open }} fullWidth maxWidth='lg' disableRestoreFocus disableEnforceFocus ref={dialogRef} onClose={handleDialogClose}>
118
118
  <div className={classes.dialogContainer}>
119
119
  <div className={classes.dialogHeader}>
120
120
  <Typography variant='h6'>Anotações {pgTitle}</Typography>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "argous",
3
- "version": "1.2.224",
3
+ "version": "1.2.226",
4
4
  "description": "Argous.",
5
5
  "main": "lib/index.js",
6
6
  "author": "Carlos Schneider",