mgtypes 1.0.18 → 1.0.20

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.18",
3
+ "version": "1.0.20",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -26,6 +26,23 @@ export interface EventSpecs {
26
26
  APP_ALIAS: string;
27
27
  MAP_STYLE_URL: string;
28
28
  FEED_HEADER_IMAGE_NAMES: string[];
29
+ FEED_HEADER_CONFIG: {
30
+ position:
31
+ | 'upperLeft'
32
+ | 'upperRight'
33
+ | 'center'
34
+ | 'lowerLeft'
35
+ | 'lowerRight'
36
+ | null;
37
+ graphic: 'logo-large' | 'logo-small' | null;
38
+ fontFamily: string | null;
39
+ fontSize: 'small' | 'normal' | 'large' | null;
40
+ fontColor: 'primary' | 'light' | 'secondary';
41
+ dropShadow: boolean;
42
+ border: boolean;
43
+ iconOrientation: 'left' | 'right' | 'top' | 'bottom';
44
+ opacity: number;
45
+ };
29
46
  }
30
47
 
31
48
  export interface EventColors {
@@ -98,7 +115,11 @@ export interface EventFonts {
98
115
  }
99
116
 
100
117
  export interface EventStyles {
101
- borderRadius: 'none' | 'small' | 'large' | 'full';
102
- borderWidth: 'none' | 'thin' | 'normal' | 'thick';
103
- shadow: 'none' | 'small' | 'large';
118
+ containerBorderRadius: 'none' | 'small' | 'large' | 'full';
119
+ containerBorderWidth: 'none' | 'thin' | 'normal' | 'thick';
120
+ containerShadow: 'none' | 'small' | 'large';
121
+ buttonBorderRadius: 'none' | 'small' | 'large' | 'full';
122
+ buttonBorderWidth: 'none' | 'thin' | 'normal' | 'thick';
123
+ buttonShadow: 'none' | 'small' | 'large';
124
+ shadowRadius: 'small' | 'large' | 'none';
104
125
  }