mgtypes 1.0.16 → 1.0.18
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 +1 -1
- package/types/Configuration.ts +5 -7
package/package.json
CHANGED
package/types/Configuration.ts
CHANGED
|
@@ -5,6 +5,7 @@ export interface Configuration {
|
|
|
5
5
|
eventSpecs: EventSpecs;
|
|
6
6
|
eventColors: EventColors;
|
|
7
7
|
eventFonts: EventFonts;
|
|
8
|
+
eventStyles: EventStyles;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
export interface EventSpecs {
|
|
@@ -14,13 +15,9 @@ export interface EventSpecs {
|
|
|
14
15
|
USER_CREATABLE_CONTENT_TYPES: { [key: string]: { [key: string]: any } };
|
|
15
16
|
USER_MAP_FILTER_OPTIONS: { [key: string]: any };
|
|
16
17
|
SERVICE_TYPES: { [key: string]: any };
|
|
17
|
-
|
|
18
18
|
EMERGENCY_TYPES: { [key: string]: any };
|
|
19
|
-
|
|
20
19
|
MAP_LABELS: { zoomThresholds: number[]; labels: MapSign[][] };
|
|
21
|
-
|
|
22
20
|
EVENT_END_DATETIME: string;
|
|
23
|
-
|
|
24
21
|
EVENT_START_DATETIME: string;
|
|
25
22
|
EVENT_LONGITUDE: string;
|
|
26
23
|
EVENT_LATITUDE: string;
|
|
@@ -85,6 +82,7 @@ interface MGFontTextStyle {
|
|
|
85
82
|
fontWeight?: '200' | '300' | '400' | '500' | '700';
|
|
86
83
|
letterSpacing?: number;
|
|
87
84
|
fontSize?: number;
|
|
85
|
+
lineHeight?: number;
|
|
88
86
|
}
|
|
89
87
|
|
|
90
88
|
export interface EventFonts {
|
|
@@ -100,7 +98,7 @@ export interface EventFonts {
|
|
|
100
98
|
}
|
|
101
99
|
|
|
102
100
|
export interface EventStyles {
|
|
103
|
-
borderRadius: 'none' | 'small' | 'large'
|
|
104
|
-
borderWidth: 'none' | 'thin' | 'normal' | 'thick'
|
|
105
|
-
shadow: 'none' | 'small' | 'large'
|
|
101
|
+
borderRadius: 'none' | 'small' | 'large' | 'full';
|
|
102
|
+
borderWidth: 'none' | 'thin' | 'normal' | 'thick';
|
|
103
|
+
shadow: 'none' | 'small' | 'large';
|
|
106
104
|
}
|