@applicaster/zapp-react-native-ui-components 16.0.0-rc.13 → 16.0.0-rc.14
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.
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { FocusableGroupNative } from "@applicaster/zapp-react-native-ui-components/Components/NativeFocusables";
|
|
3
3
|
import { BaseFocusable } from "@applicaster/zapp-react-native-ui-components/Components/BaseFocusable";
|
|
4
|
-
|
|
4
|
+
// TODO: Enable when will be feature flags
|
|
5
|
+
// import { createLogger } from "@applicaster/zapp-react-native-utils/logger";
|
|
5
6
|
import { LayoutContext } from "@applicaster/zapp-react-native-tvos-app/Context/LayoutContext";
|
|
6
7
|
import { useRoute } from "@applicaster/zapp-react-native-utils/reactHooks/navigation/useRoute";
|
|
7
8
|
import { isScreenPlayable } from "@applicaster/zapp-react-native-utils/navigationUtils/itemTypes";
|
|
8
9
|
import { emitNativeRegistered } from "@applicaster/zapp-react-native-utils/appUtils/focusManagerAux/utils/utils.ios";
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
// TODO: Enable when will be feature flags
|
|
12
|
+
// const { log_verbose } = createLogger({
|
|
13
|
+
// subsystem: "General",
|
|
14
|
+
// category: "FocusableGroup",
|
|
15
|
+
// });
|
|
14
16
|
|
|
15
17
|
type FocusableGroupNativeEvent = {
|
|
16
18
|
nativeEvent: {
|
|
@@ -59,12 +61,14 @@ class FocusableGroupComponent extends BaseFocusable<Props> {
|
|
|
59
61
|
} = this.props;
|
|
60
62
|
|
|
61
63
|
const onGroupFocus = ({ nativeEvent }: FocusableGroupNativeEvent) => {
|
|
62
|
-
|
|
64
|
+
// TODO: Enable when will be feature flags
|
|
65
|
+
// log_verbose("FOCUSABLE_GROUP: onGroupFocus", { nativeEvent });
|
|
63
66
|
this.onFocus(this.ref, nativeEvent.focusHeading);
|
|
64
67
|
};
|
|
65
68
|
|
|
66
69
|
const onGroupBlur = ({ nativeEvent }: FocusableGroupNativeEvent) => {
|
|
67
|
-
|
|
70
|
+
// TODO: Enable when will be feature flags
|
|
71
|
+
// log_verbose("FOCUSABLE_GROUP: onGroupBlur", { nativeEvent });
|
|
68
72
|
this.onBlur(this.ref, nativeEvent.focusHeading);
|
|
69
73
|
};
|
|
70
74
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-ui-components",
|
|
3
|
-
"version": "16.0.0-rc.
|
|
3
|
+
"version": "16.0.0-rc.14",
|
|
4
4
|
"description": "Applicaster Zapp React Native ui components for the Quick Brick App",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/applicaster/quickbrick#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@applicaster/applicaster-types": "16.0.0-rc.
|
|
32
|
-
"@applicaster/zapp-react-native-bridge": "16.0.0-rc.
|
|
33
|
-
"@applicaster/zapp-react-native-redux": "16.0.0-rc.
|
|
34
|
-
"@applicaster/zapp-react-native-utils": "16.0.0-rc.
|
|
31
|
+
"@applicaster/applicaster-types": "16.0.0-rc.14",
|
|
32
|
+
"@applicaster/zapp-react-native-bridge": "16.0.0-rc.14",
|
|
33
|
+
"@applicaster/zapp-react-native-redux": "16.0.0-rc.14",
|
|
34
|
+
"@applicaster/zapp-react-native-utils": "16.0.0-rc.14",
|
|
35
35
|
"fast-json-stable-stringify": "^2.1.0",
|
|
36
36
|
"promise": "^8.3.0",
|
|
37
37
|
"url": "^0.11.0",
|