@applicaster/zapp-react-dom-app 13.0.7-alpha.7163853950 → 13.0.7
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.
|
@@ -14,7 +14,6 @@ import {
|
|
|
14
14
|
} from "@applicaster/zapp-react-native-utils/functionUtils";
|
|
15
15
|
|
|
16
16
|
import {
|
|
17
|
-
AccessibilityManager,
|
|
18
17
|
ARROW_KEYS,
|
|
19
18
|
focusManager,
|
|
20
19
|
keyCode,
|
|
@@ -84,9 +83,6 @@ type KeyCode = { code: string; keyCode: number | string };
|
|
|
84
83
|
export const alertConfirmationMesage =
|
|
85
84
|
"Are you sure you want to exit application?";
|
|
86
85
|
|
|
87
|
-
const VIDEO_PLAYER_CONTROLS_NAVIGATION_MESSAGE =
|
|
88
|
-
"Video player controls - use left/right to navigate";
|
|
89
|
-
|
|
90
86
|
class InteractionManagerClass extends React.Component<Props, State> {
|
|
91
87
|
onKeyDownListener: (keyCode: KeyCode) => void;
|
|
92
88
|
onMouseDownListener: (event: MouseEvent) => void;
|
|
@@ -102,8 +98,6 @@ class InteractionManagerClass extends React.Component<Props, State> {
|
|
|
102
98
|
private confirmDialog: ConfirmationDialogState =
|
|
103
99
|
confirmationDialogStore.getState();
|
|
104
100
|
|
|
105
|
-
accessibilityManager: AccessibilityManager;
|
|
106
|
-
|
|
107
101
|
state: State = {
|
|
108
102
|
isKeyboardVisible: false,
|
|
109
103
|
keyboardInput: "",
|
|
@@ -155,7 +149,6 @@ class InteractionManagerClass extends React.Component<Props, State> {
|
|
|
155
149
|
this.confirmDialog.setConfirmAction(this.performExit);
|
|
156
150
|
this.confirmDialog.setCancelAction(this.onConfirmDialogClose);
|
|
157
151
|
this.longPressDetector = new KeyboardLongPressManager();
|
|
158
|
-
this.accessibilityManager = AccessibilityManager.getInstance();
|
|
159
152
|
}
|
|
160
153
|
|
|
161
154
|
componentDidMount() {
|
|
@@ -555,13 +548,6 @@ class InteractionManagerClass extends React.Component<Props, State> {
|
|
|
555
548
|
) {
|
|
556
549
|
if (displayState === DISPLAY_STATES.PLAYER) {
|
|
557
550
|
setDisplayState(DISPLAY_STATES.HUD);
|
|
558
|
-
|
|
559
|
-
this.accessibilityManager.addHeading(
|
|
560
|
-
VIDEO_PLAYER_CONTROLS_NAVIGATION_MESSAGE
|
|
561
|
-
);
|
|
562
|
-
|
|
563
|
-
focusManager.recoverFocus();
|
|
564
|
-
this.resetHudTimeout();
|
|
565
551
|
} else {
|
|
566
552
|
focusManager.pressIn();
|
|
567
553
|
focusManager.press();
|
|
@@ -606,12 +592,6 @@ class InteractionManagerClass extends React.Component<Props, State> {
|
|
|
606
592
|
this.resetHudTimeout();
|
|
607
593
|
}
|
|
608
594
|
|
|
609
|
-
if (displayState === DISPLAY_STATES.PLAYER) {
|
|
610
|
-
this.accessibilityManager.addHeading(
|
|
611
|
-
VIDEO_PLAYER_CONTROLS_NAVIGATION_MESSAGE
|
|
612
|
-
);
|
|
613
|
-
}
|
|
614
|
-
|
|
615
595
|
return true;
|
|
616
596
|
}
|
|
617
597
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-dom-app",
|
|
3
|
-
"version": "13.0.7
|
|
3
|
+
"version": "13.0.7",
|
|
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.7
|
|
26
|
-
"@applicaster/zapp-react-native-bridge": "13.0.7
|
|
27
|
-
"@applicaster/zapp-react-native-redux": "13.0.7
|
|
28
|
-
"@applicaster/zapp-react-native-ui-components": "13.0.7
|
|
29
|
-
"@applicaster/zapp-react-native-utils": "13.0.7
|
|
25
|
+
"@applicaster/zapp-react-dom-ui-components": "13.0.7",
|
|
26
|
+
"@applicaster/zapp-react-native-bridge": "13.0.7",
|
|
27
|
+
"@applicaster/zapp-react-native-redux": "13.0.7",
|
|
28
|
+
"@applicaster/zapp-react-native-ui-components": "13.0.7",
|
|
29
|
+
"@applicaster/zapp-react-native-utils": "13.0.7",
|
|
30
30
|
"abortcontroller-polyfill": "^1.7.5",
|
|
31
31
|
"react-router-dom": "^5.1.2",
|
|
32
32
|
"typeface-montserrat": "^0.0.54",
|