@manuscripts/style-guide 0.31.23 → 0.31.24

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.
@@ -40,6 +40,8 @@ const SaveStatus = ({ status }) => {
40
40
  react_1.default.createElement(PopPop, null,
41
41
  react_1.default.createElement(save_icon_saved_1.default, null)),
42
42
  react_1.default.createElement(Text, null, "Saved")));
43
+ default:
44
+ return null;
43
45
  }
44
46
  };
45
47
  exports.SaveStatus = SaveStatus;
@@ -34,6 +34,8 @@ export const SaveStatus = ({ status }) => {
34
34
  React.createElement(PopPop, null,
35
35
  React.createElement(SaveIconSaved, null)),
36
36
  React.createElement(Text, null, "Saved")));
37
+ default:
38
+ return null;
37
39
  }
38
40
  };
39
41
  const Container = styled.div `
@@ -41,7 +41,7 @@ export declare const EditorHeader: React.FC<{
41
41
  submit: (statusId: string, noteValue: string) => Promise<unknown>;
42
42
  };
43
43
  goBack?: () => void;
44
- status?: 'saved' | 'saving' | 'offline';
44
+ status?: 'saved' | 'saving' | 'offline' | 'failed';
45
45
  isAnnotator: boolean;
46
46
  message: React.FC;
47
47
  disabelProceedNote?: boolean;
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import React from 'react';
17
17
  interface Props {
18
- status: 'saving' | 'saved' | 'offline';
18
+ status: 'saving' | 'saved' | 'offline' | 'failed';
19
19
  }
20
20
  export declare const SaveStatus: React.FC<Props>;
21
21
  export {};
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": "0.31.23",
4
+ "version": "0.31.24",
5
5
  "repository": "gitlab:atypon-opensource/manuscripts-style-guide",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",