mgtypes 1.0.60 → 1.0.62

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.60",
3
+ "version": "1.0.62",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -31,25 +31,12 @@ export interface mgMapConfig {
31
31
  * Configs for feed
32
32
  */
33
33
  export interface mgFeedConfig {
34
- FEED_HEADER_IMAGE_NAMES: string[];
35
- FEED_HEADER_CONFIG: {
36
- position:
37
- | 'upperLeft'
38
- | 'upperRight'
39
- | 'center'
40
- | 'lowerLeft'
41
- | 'lowerRight'
42
- | null;
43
- graphic: 'logo-large' | 'logo-small' | null;
44
- fontFamily: string | null;
45
- fontSize: 'small' | 'normal' | 'large' | null;
46
- fontColor: 'primary' | 'light' | 'secondary';
47
- dropShadow: boolean;
48
- border: boolean;
49
- iconOrientation: 'left' | 'right' | 'top' | 'bottom';
50
- opacity: number;
34
+ DISPLAY_NETWORK_INDICATOR: boolean;
35
+ STICKY: {
36
+ SEARCH_BAR: { placeholder: string; fontSize: number };
37
+ height: number;
51
38
  };
52
- DISPLAY_NETWORK_INDICATOR: boolean
39
+ HEADER: { height: number };
53
40
  }
54
41
 
55
42
  /**
@@ -1,9 +1,20 @@
1
1
  import { ReactElement } from 'react';
2
2
 
3
3
  export interface mgComponentConfiguration {
4
- authentication: mgAuthenticationComponentConfig
4
+ authentication: mgAuthenticationComponentConfig;
5
+ feed: mgFeedComponentConfig;
6
+ other: mgOtherComponentConfig;
5
7
  }
6
8
 
7
9
  interface mgAuthenticationComponentConfig {
8
- PAGE: ReactElement
9
- }
10
+ TOP_VIEW: ReactElement;
11
+ }
12
+
13
+ interface mgFeedComponentConfig {
14
+ STICKY: { height: number };
15
+ HEADER: { height: number; OVERLAY: ReactElement };
16
+ }
17
+
18
+ interface mgOtherComponentConfig {
19
+ SEARCH_BAR: { placeholder: string; fontSize: number };
20
+ }