@manuscripts/style-guide 1.2.0 → 1.2.1

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.
@@ -48,13 +48,13 @@ var DialogState;
48
48
  DialogState[DialogState["SUCCESS"] = 3] = "SUCCESS";
49
49
  DialogState[DialogState["CLOSED"] = 4] = "CLOSED";
50
50
  })(DialogState = exports.DialogState || (exports.DialogState = {}));
51
- const Editing = { label: 'Editing...', icon: __1.EditIcon };
51
+ const Editing = { label: 'Editing', icon: __1.EditIcon };
52
52
  const MapUserRole = {
53
53
  Editor: Editing,
54
54
  Owner: Editing,
55
55
  Writer: Editing,
56
- Annotator: { label: 'Suggesting...', icon: __1.AnnotatorIcon },
57
- Viewer: { label: 'Reading...', icon: __1.ReadingIcon },
56
+ Annotator: { label: 'Suggesting', icon: __1.AnnotatorIcon },
57
+ Viewer: { label: 'Reading', icon: __1.ReadingIcon },
58
58
  Proofer: { label: 'Proofing', icon: __1.AnnotatorIcon },
59
59
  };
60
60
  const EditorHeader = ({ handleSnapshot, submission, hasPendingSuggestions, userRole, canCompleteTask, submitProceed, goBack, status, isAnnotator, isProofer, message, exceptionDialog: ExceptionDialog, disabelProceedNote, }) => {
@@ -19,13 +19,13 @@ export var DialogState;
19
19
  DialogState[DialogState["SUCCESS"] = 3] = "SUCCESS";
20
20
  DialogState[DialogState["CLOSED"] = 4] = "CLOSED";
21
21
  })(DialogState || (DialogState = {}));
22
- const Editing = { label: 'Editing...', icon: EditIcon };
22
+ const Editing = { label: 'Editing', icon: EditIcon };
23
23
  const MapUserRole = {
24
24
  Editor: Editing,
25
25
  Owner: Editing,
26
26
  Writer: Editing,
27
- Annotator: { label: 'Suggesting...', icon: AnnotatorIcon },
28
- Viewer: { label: 'Reading...', icon: ReadingIcon },
27
+ Annotator: { label: 'Suggesting', icon: AnnotatorIcon },
28
+ Viewer: { label: 'Reading', icon: ReadingIcon },
29
29
  Proofer: { label: 'Proofing', icon: AnnotatorIcon },
30
30
  };
31
31
  export const EditorHeader = ({ handleSnapshot, submission, hasPendingSuggestions, userRole, canCompleteTask, submitProceed, goBack, status, isAnnotator, isProofer, message, exceptionDialog: ExceptionDialog, disabelProceedNote, }) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/style-guide",
3
3
  "description": "Shared components for Manuscripts applications",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-style-guide",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -141,4 +141,4 @@
141
141
  "resolutions": {
142
142
  "@types/react": "^17.0.2"
143
143
  }
144
- }
144
+ }