@applicaster/zapp-react-dom-app 13.0.6 → 13.0.7-alpha.2991546311
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,6 +14,7 @@ import {
|
|
|
14
14
|
} from "@applicaster/zapp-react-native-utils/functionUtils";
|
|
15
15
|
|
|
16
16
|
import {
|
|
17
|
+
AccessibilityManager,
|
|
17
18
|
ARROW_KEYS,
|
|
18
19
|
focusManager,
|
|
19
20
|
keyCode,
|
|
@@ -98,6 +99,8 @@ class InteractionManagerClass extends React.Component<Props, State> {
|
|
|
98
99
|
private confirmDialog: ConfirmationDialogState =
|
|
99
100
|
confirmationDialogStore.getState();
|
|
100
101
|
|
|
102
|
+
accessibilityManager: AccessibilityManager;
|
|
103
|
+
|
|
101
104
|
state: State = {
|
|
102
105
|
isKeyboardVisible: false,
|
|
103
106
|
keyboardInput: "",
|
|
@@ -149,6 +152,7 @@ class InteractionManagerClass extends React.Component<Props, State> {
|
|
|
149
152
|
this.confirmDialog.setConfirmAction(this.performExit);
|
|
150
153
|
this.confirmDialog.setCancelAction(this.onConfirmDialogClose);
|
|
151
154
|
this.longPressDetector = new KeyboardLongPressManager();
|
|
155
|
+
this.accessibilityManager = AccessibilityManager.getInstance();
|
|
152
156
|
}
|
|
153
157
|
|
|
154
158
|
componentDidMount() {
|
|
@@ -548,6 +552,10 @@ class InteractionManagerClass extends React.Component<Props, State> {
|
|
|
548
552
|
) {
|
|
549
553
|
if (displayState === DISPLAY_STATES.PLAYER) {
|
|
550
554
|
setDisplayState(DISPLAY_STATES.HUD);
|
|
555
|
+
|
|
556
|
+
this.accessibilityManager.readText({
|
|
557
|
+
text: "Video player controls - click up to pause, play, rewind or fast forward",
|
|
558
|
+
});
|
|
551
559
|
} else {
|
|
552
560
|
focusManager.pressIn();
|
|
553
561
|
focusManager.press();
|
|
@@ -592,6 +600,12 @@ class InteractionManagerClass extends React.Component<Props, State> {
|
|
|
592
600
|
this.resetHudTimeout();
|
|
593
601
|
}
|
|
594
602
|
|
|
603
|
+
if (displayState === DISPLAY_STATES.PLAYER) {
|
|
604
|
+
this.accessibilityManager.addHeading(
|
|
605
|
+
"Video player controls - use left/right to navigate"
|
|
606
|
+
);
|
|
607
|
+
}
|
|
608
|
+
|
|
595
609
|
return true;
|
|
596
610
|
}
|
|
597
611
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-dom-app",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.7-alpha.2991546311",
|
|
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.
|
|
26
|
-
"@applicaster/zapp-react-native-bridge": "13.0.
|
|
27
|
-
"@applicaster/zapp-react-native-redux": "13.0.
|
|
28
|
-
"@applicaster/zapp-react-native-ui-components": "13.0.
|
|
29
|
-
"@applicaster/zapp-react-native-utils": "13.0.
|
|
25
|
+
"@applicaster/zapp-react-dom-ui-components": "13.0.7-alpha.2991546311",
|
|
26
|
+
"@applicaster/zapp-react-native-bridge": "13.0.7-alpha.2991546311",
|
|
27
|
+
"@applicaster/zapp-react-native-redux": "13.0.7-alpha.2991546311",
|
|
28
|
+
"@applicaster/zapp-react-native-ui-components": "13.0.7-alpha.2991546311",
|
|
29
|
+
"@applicaster/zapp-react-native-utils": "13.0.7-alpha.2991546311",
|
|
30
30
|
"abortcontroller-polyfill": "^1.7.5",
|
|
31
31
|
"react-router-dom": "^5.1.2",
|
|
32
32
|
"typeface-montserrat": "^0.0.54",
|