mgtypes 1.0.88 → 1.0.89
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
|
@@ -13,8 +13,49 @@ export interface mgClientConfiguration {
|
|
|
13
13
|
PROFILES: mgProfilesConfig;
|
|
14
14
|
CONTENT: mgContentConfig;
|
|
15
15
|
PLACEHOLDERS: mgPlaceholdersConfig;
|
|
16
|
+
COMPONENTS: mgComponentsConfig;
|
|
16
17
|
}
|
|
17
18
|
|
|
19
|
+
export interface mgComponentsConfig {
|
|
20
|
+
BOTTOM_NAV: {
|
|
21
|
+
buttonSize: number;
|
|
22
|
+
height: number;
|
|
23
|
+
iconSize: number;
|
|
24
|
+
};
|
|
25
|
+
FEED: {
|
|
26
|
+
HEADER: {
|
|
27
|
+
height: number;
|
|
28
|
+
GRAPHIC_PADDING: {
|
|
29
|
+
top: number;
|
|
30
|
+
right: number;
|
|
31
|
+
bottom: number;
|
|
32
|
+
left: number;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
NOTIFICATION: {
|
|
36
|
+
height: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
MAP: { mapIconButtonSize: number };
|
|
40
|
+
|
|
41
|
+
STICKY: {
|
|
42
|
+
height: number;
|
|
43
|
+
SEARCH_BAR: { fontSize: number; height: number };
|
|
44
|
+
BOTTOM: { height: number };
|
|
45
|
+
};
|
|
46
|
+
UI: {
|
|
47
|
+
CARD: {
|
|
48
|
+
avatarImageSize: number;
|
|
49
|
+
mediaHeight: number;
|
|
50
|
+
mapHeight: number;
|
|
51
|
+
voteIconButtonSize: number;
|
|
52
|
+
};
|
|
53
|
+
CUSTOM_CHIP: {
|
|
54
|
+
height: number;
|
|
55
|
+
iconSize: number;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
}
|
|
18
59
|
export interface mgPlaceholdersConfig {
|
|
19
60
|
networkFailureMessage: string;
|
|
20
61
|
FEED_NOTIFICATION: {
|
|
@@ -1,53 +1,54 @@
|
|
|
1
1
|
// COMPONENT DIMENSIONS
|
|
2
2
|
// VALUES ARE NUMBER ONLY!
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
// TODO:delete after refactor
|
|
4
|
+
// export interface mgComponentConfiguration {
|
|
5
|
+
// authentication: mgAuthenticationComponentConfig;
|
|
6
|
+
// feed: mgFeedComponentConfig;
|
|
7
|
+
// map: mgMapComponentConfig;
|
|
8
|
+
// other: mgOtherComponentConfig;
|
|
9
|
+
// }
|
|
9
10
|
|
|
10
|
-
export interface mgMapComponentConfig {
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
export interface mgAuthenticationComponentConfig {
|
|
14
|
-
|
|
15
|
-
}
|
|
11
|
+
// export interface mgMapComponentConfig {
|
|
12
|
+
// mapIconButtonSize: number;
|
|
13
|
+
// }
|
|
14
|
+
// export interface mgAuthenticationComponentConfig {
|
|
15
|
+
// THIS_INTERFACE_HAS_NO_PROPERTIES: undefined;
|
|
16
|
+
// }
|
|
16
17
|
|
|
17
|
-
export interface mgFeedComponentConfig {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
18
|
+
// export interface mgFeedComponentConfig {
|
|
19
|
+
// HEADER: {
|
|
20
|
+
// height: number;
|
|
21
|
+
// graphicPadding: {
|
|
22
|
+
// top: number;
|
|
23
|
+
// right: number;
|
|
24
|
+
// bottom: number;
|
|
25
|
+
// left: number;
|
|
26
|
+
// };
|
|
27
|
+
// };
|
|
28
|
+
// NOTIFICATION: {
|
|
29
|
+
// height: number;
|
|
30
|
+
// };
|
|
31
|
+
// }
|
|
31
32
|
|
|
32
|
-
export interface mgOtherComponentConfig {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
33
|
+
// export interface mgOtherComponentConfig {
|
|
34
|
+
// STICKY: {
|
|
35
|
+
// height: number;
|
|
36
|
+
// SEARCH_BAR: { fontSize: number; height: number; };
|
|
37
|
+
// BOTTOM: { height: number };
|
|
38
|
+
// };
|
|
39
|
+
// CARD: {
|
|
40
|
+
// avatarImageSize: number;
|
|
41
|
+
// mediaHeight: number;
|
|
42
|
+
// mapHeight: number;
|
|
43
|
+
// voteIconButtonSize: number;
|
|
44
|
+
// };
|
|
45
|
+
// CUSTOM_CHIP: {
|
|
46
|
+
// height: number;
|
|
47
|
+
// iconSize: number;
|
|
48
|
+
// };
|
|
49
|
+
// BOTTOM_NAV: {
|
|
50
|
+
// buttonSize: number;
|
|
51
|
+
// height: number;
|
|
52
|
+
// iconSize: number;
|
|
53
|
+
// };
|
|
54
|
+
// }
|