mgtypes 1.0.59 → 1.0.61

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.59",
3
+ "version": "1.0.61",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,10 +1,9 @@
1
1
  import { mgMapBillboards } from './Content';
2
- import { ReactElement } from 'react';
3
2
 
4
3
  /**
5
4
  * Mother Config object
6
5
  */
7
- export interface mgConfiguration {
6
+ export interface mgClientConfiguration {
8
7
  specs: mgSpecsConfig;
9
8
  colors: mgColorsConfig;
10
9
  fonts: mgFontsConfig;
@@ -32,25 +31,12 @@ export interface mgMapConfig {
32
31
  * Configs for feed
33
32
  */
34
33
  export interface mgFeedConfig {
35
- FEED_HEADER_IMAGE_NAMES: string[];
36
- FEED_HEADER_CONFIG: {
37
- position:
38
- | 'upperLeft'
39
- | 'upperRight'
40
- | 'center'
41
- | 'lowerLeft'
42
- | 'lowerRight'
43
- | null;
44
- graphic: 'logo-large' | 'logo-small' | null;
45
- fontFamily: string | null;
46
- fontSize: 'small' | 'normal' | 'large' | null;
47
- fontColor: 'primary' | 'light' | 'secondary';
48
- dropShadow: boolean;
49
- border: boolean;
50
- iconOrientation: 'left' | 'right' | 'top' | 'bottom';
51
- opacity: number;
34
+ DISPLAY_NETWORK_INDICATOR: boolean;
35
+ STICKY: {
36
+ SEARCH_BAR: { placeholder: string; fontSize: number };
37
+ height: number;
52
38
  };
53
- DISPLAY_NETWORK_INDICATOR: boolean
39
+ HEADER: { height: number };
54
40
  }
55
41
 
56
42
  /**
@@ -209,7 +195,6 @@ export interface mgAuthenticationConfig {
209
195
  | '1 day'
210
196
  | '1 week'
211
197
  | '1 month';
212
- PAGE_COMPONENT: ReactElement
213
198
  };
214
199
  }
215
200
 
@@ -0,0 +1,14 @@
1
+ import { ReactElement } from 'react';
2
+
3
+ export interface mgComponentConfiguration {
4
+ authentication: mgAuthenticationComponentConfig
5
+ feed: mgFeedComponentConfig
6
+ }
7
+
8
+ interface mgAuthenticationComponentConfig {
9
+ TOP_VIEW: ReactElement
10
+ }
11
+
12
+ interface mgFeedComponentConfig {
13
+ HEADER_OVERLAY: ReactElement
14
+ }