@applicaster/zapp-react-native-utils 13.0.0-rc.101 → 13.0.0-rc.102
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/manifestUtils/keys.js +18 -2
- package/package.json +2 -2
package/manifestUtils/keys.js
CHANGED
|
@@ -21,7 +21,14 @@ const ZAPPIFEST_FIELDS = {
|
|
|
21
21
|
},
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
const
|
|
24
|
+
const TV_PLATFORMS_FOR_FONTS = [
|
|
25
|
+
"tvOS",
|
|
26
|
+
"android",
|
|
27
|
+
"LG",
|
|
28
|
+
"samsung",
|
|
29
|
+
"roku",
|
|
30
|
+
"vizio",
|
|
31
|
+
];
|
|
25
32
|
|
|
26
33
|
const MOBILE_PLATFORMS = [
|
|
27
34
|
"ios",
|
|
@@ -30,6 +37,15 @@ const MOBILE_PLATFORMS = [
|
|
|
30
37
|
"android_for_quickbrick",
|
|
31
38
|
];
|
|
32
39
|
|
|
40
|
+
const TV_PLATFORMS = [
|
|
41
|
+
"android_tv_for_quickbrick",
|
|
42
|
+
"amazon_fire_tv_for_quickbrick",
|
|
43
|
+
"tvos_for_quickbrick",
|
|
44
|
+
"samsung_tv",
|
|
45
|
+
"lg_tv",
|
|
46
|
+
"vizio",
|
|
47
|
+
];
|
|
48
|
+
|
|
33
49
|
const FontPropsForTVPlatform = (platform) => ({
|
|
34
50
|
[`${R.toLower(platform)}FontFamily`]: {
|
|
35
51
|
name: `${platform} font family`,
|
|
@@ -99,7 +115,7 @@ const TV_FONT_KEY_DATA = {
|
|
|
99
115
|
name: "focused font color",
|
|
100
116
|
type: ZAPPIFEST_FIELDS.color_picker,
|
|
101
117
|
},
|
|
102
|
-
...R.reduce(addTVFontsForPlatform, {},
|
|
118
|
+
...R.reduce(addTVFontsForPlatform, {}, TV_PLATFORMS_FOR_FONTS),
|
|
103
119
|
textAlignment: {
|
|
104
120
|
name: "text alignment",
|
|
105
121
|
type: ZAPPIFEST_FIELDS.select,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-utils",
|
|
3
|
-
"version": "13.0.0-rc.
|
|
3
|
+
"version": "13.0.0-rc.102",
|
|
4
4
|
"description": "Applicaster Zapp React Native utilities package",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"homepage": "https://github.com/applicaster/quickbrick#readme",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@applicaster/applicaster-types": "13.0.0-rc.
|
|
30
|
+
"@applicaster/applicaster-types": "13.0.0-rc.102",
|
|
31
31
|
"buffer": "^5.2.1",
|
|
32
32
|
"camelize": "^1.0.0",
|
|
33
33
|
"dayjs": "^1.11.10",
|