@applicaster/zapp-react-dom-app 13.0.8-alpha.1940580104 → 13.0.8-rc.1
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.
|
@@ -16,7 +16,6 @@ import {
|
|
|
16
16
|
} from "@applicaster/zapp-react-native-utils/functionUtils";
|
|
17
17
|
|
|
18
18
|
import {
|
|
19
|
-
AccessibilityManager,
|
|
20
19
|
ARROW_KEYS,
|
|
21
20
|
focusManager,
|
|
22
21
|
keyCode,
|
|
@@ -87,9 +86,6 @@ type KeyCode = { code: string; keyCode: number | string };
|
|
|
87
86
|
export const alertConfirmationMesage =
|
|
88
87
|
"Are you sure you want to exit application?";
|
|
89
88
|
|
|
90
|
-
const VIDEO_PLAYER_CONTROLS_NAVIGATION_MESSAGE =
|
|
91
|
-
"Video player controls - use left/right to navigate";
|
|
92
|
-
|
|
93
89
|
class InteractionManagerClass extends React.Component<Props, State> {
|
|
94
90
|
onKeyDownListener: (keyCode: KeyCode) => void;
|
|
95
91
|
onMouseDownListener: (event: MouseEvent) => void;
|
|
@@ -105,8 +101,6 @@ class InteractionManagerClass extends React.Component<Props, State> {
|
|
|
105
101
|
private confirmDialog: ConfirmationDialogState =
|
|
106
102
|
confirmationDialogStore.getState();
|
|
107
103
|
|
|
108
|
-
accessibilityManager: AccessibilityManager;
|
|
109
|
-
|
|
110
104
|
state: State = {
|
|
111
105
|
isKeyboardVisible: false,
|
|
112
106
|
keyboardInput: "",
|
|
@@ -158,7 +152,6 @@ class InteractionManagerClass extends React.Component<Props, State> {
|
|
|
158
152
|
this.confirmDialog.setConfirmAction(this.performExit);
|
|
159
153
|
this.confirmDialog.setCancelAction(this.onConfirmDialogClose);
|
|
160
154
|
this.longPressDetector = new KeyboardLongPressManager();
|
|
161
|
-
this.accessibilityManager = AccessibilityManager.getInstance();
|
|
162
155
|
}
|
|
163
156
|
|
|
164
157
|
componentDidMount() {
|
|
@@ -558,13 +551,6 @@ class InteractionManagerClass extends React.Component<Props, State> {
|
|
|
558
551
|
) {
|
|
559
552
|
if (displayState === DISPLAY_STATES.PLAYER) {
|
|
560
553
|
setDisplayState(DISPLAY_STATES.HUD);
|
|
561
|
-
|
|
562
|
-
this.accessibilityManager.addHeading(
|
|
563
|
-
VIDEO_PLAYER_CONTROLS_NAVIGATION_MESSAGE
|
|
564
|
-
);
|
|
565
|
-
|
|
566
|
-
focusManager.recoverFocus();
|
|
567
|
-
this.resetHudTimeout();
|
|
568
554
|
} else {
|
|
569
555
|
focusManager.pressIn();
|
|
570
556
|
focusManager.press();
|
|
@@ -609,12 +595,6 @@ class InteractionManagerClass extends React.Component<Props, State> {
|
|
|
609
595
|
this.resetHudTimeout();
|
|
610
596
|
}
|
|
611
597
|
|
|
612
|
-
if (displayState === DISPLAY_STATES.PLAYER) {
|
|
613
|
-
this.accessibilityManager.addHeading(
|
|
614
|
-
VIDEO_PLAYER_CONTROLS_NAVIGATION_MESSAGE
|
|
615
|
-
);
|
|
616
|
-
}
|
|
617
|
-
|
|
618
598
|
return true;
|
|
619
599
|
}
|
|
620
600
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-dom-app",
|
|
3
|
-
"version": "13.0.8-
|
|
3
|
+
"version": "13.0.8-rc.1",
|
|
4
4
|
"description": "Zapp App Component for Applicaster's Quick Brick React Native App",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/applicaster/zapp-react-dom-app#readme",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@applicaster/zapp-react-dom-ui-components": "13.0.8-
|
|
26
|
-
"@applicaster/zapp-react-native-bridge": "13.0.8-
|
|
27
|
-
"@applicaster/zapp-react-native-redux": "13.0.8-
|
|
28
|
-
"@applicaster/zapp-react-native-ui-components": "13.0.8-
|
|
29
|
-
"@applicaster/zapp-react-native-utils": "13.0.8-
|
|
25
|
+
"@applicaster/zapp-react-dom-ui-components": "13.0.8-rc.1",
|
|
26
|
+
"@applicaster/zapp-react-native-bridge": "13.0.8-rc.1",
|
|
27
|
+
"@applicaster/zapp-react-native-redux": "13.0.8-rc.1",
|
|
28
|
+
"@applicaster/zapp-react-native-ui-components": "13.0.8-rc.1",
|
|
29
|
+
"@applicaster/zapp-react-native-utils": "13.0.8-rc.1",
|
|
30
30
|
"abortcontroller-polyfill": "^1.7.5",
|
|
31
31
|
"react-router-dom": "^5.1.2",
|
|
32
32
|
"typeface-montserrat": "^0.0.54",
|