mgtypes 1.0.79 → 1.0.80
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
|
@@ -3,9 +3,13 @@ import { ReactElement } from 'react';
|
|
|
3
3
|
export interface mgComponentConfiguration {
|
|
4
4
|
authentication: mgAuthenticationComponentConfig;
|
|
5
5
|
feed: mgFeedComponentConfig;
|
|
6
|
+
map: mgMapComponentConfig;
|
|
6
7
|
other: mgOtherComponentConfig;
|
|
7
8
|
}
|
|
8
9
|
|
|
10
|
+
export interface mgMapComponentConfig{
|
|
11
|
+
mapIconButtonSize:number;
|
|
12
|
+
}
|
|
9
13
|
export interface mgAuthenticationComponentConfig {
|
|
10
14
|
TOP_VIEW: ReactElement;
|
|
11
15
|
}
|
|
@@ -14,28 +18,28 @@ export interface mgFeedComponentConfig {
|
|
|
14
18
|
HEADER: { height: number; OVERLAY: ReactElement };
|
|
15
19
|
NOTIFICATION: {
|
|
16
20
|
height: number;
|
|
17
|
-
fallbackText:string; // what's displayed if server doesn't work
|
|
21
|
+
fallbackText: string; // what's displayed if server doesn't work
|
|
18
22
|
};
|
|
19
23
|
}
|
|
20
24
|
|
|
21
25
|
export interface mgOtherComponentConfig {
|
|
22
26
|
STICKY: {
|
|
23
27
|
height: number;
|
|
24
|
-
SEARCH_BAR: {
|
|
28
|
+
SEARCH_BAR: { fontSize: number; height: number; placeholder: string };
|
|
25
29
|
BOTTOM: { height: number };
|
|
26
30
|
};
|
|
27
31
|
CARD: {
|
|
28
|
-
mediaHeight: number;
|
|
29
|
-
voteButtonIconSize: number;
|
|
30
32
|
avatarImageSize: number;
|
|
33
|
+
mediaHeight: number;
|
|
34
|
+
voteIconButtonSize: number;
|
|
31
35
|
};
|
|
32
36
|
CUSTOM_CHIP: {
|
|
33
|
-
|
|
34
|
-
|
|
37
|
+
height: number;
|
|
38
|
+
iconSize: number;
|
|
35
39
|
};
|
|
36
40
|
BOTTOM_NAV: {
|
|
37
41
|
buttonSize: number;
|
|
38
|
-
iconSize: number;
|
|
39
42
|
height: number;
|
|
40
|
-
|
|
43
|
+
iconSize: number;
|
|
44
|
+
};
|
|
41
45
|
}
|