mgtypes 1.0.74 → 1.0.76

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mgtypes",
3
- "version": "1.0.74",
3
+ "version": "1.0.76",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -32,7 +32,7 @@ export interface mgMapConfig {
32
32
  * Configs for feed
33
33
  */
34
34
  export interface mgFeedConfig {
35
- DISPLAY_NETWORK_INDICATOR: boolean;
35
+ SHOW_NETWORK_INDICATOR: boolean;
36
36
  }
37
37
 
38
38
  /**
@@ -92,6 +92,8 @@ export interface mgNavigationConfig {
92
92
  */
93
93
  export interface mgFeaturesConfig {
94
94
  IS_CONTENT_THREADED: boolean;
95
+ VOTING_MODE: 'none' | 'up only' | 'up and down'
96
+ SHOW_CONTENT_CREATION_DATE: boolean
95
97
  }
96
98
 
97
99
  /**
@@ -185,6 +187,7 @@ export interface mgColorsConfig {
185
187
  lightNeutral: string;
186
188
  darkNeutral: string;
187
189
  dark: string;
190
+ sunkSurface:string;
188
191
  success: string;
189
192
  warning: string;
190
193
  locationPuck: string;
@@ -12,7 +12,10 @@ export interface mgAuthenticationComponentConfig {
12
12
 
13
13
  export interface mgFeedComponentConfig {
14
14
  HEADER: { height: number; OVERLAY: ReactElement };
15
- NOTIFICATION: { height: number };
15
+ NOTIFICATION: {
16
+ height: number;
17
+ fallbackText:string; // what's displayed if server doesn't work
18
+ };
16
19
  }
17
20
 
18
21
  export interface mgOtherComponentConfig {
@@ -23,7 +26,7 @@ export interface mgOtherComponentConfig {
23
26
  };
24
27
  CARD: {
25
28
  mediaHeight: number;
26
- actionButtonSize: number;
29
+ actionButtonIconSize: number;
27
30
  avatarImageSize: number;
28
31
  avatarIconSize: number;
29
32
  };