@applicaster/zapp-react-dom-app 13.0.5 → 13.0.6-alpha.1043196035
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,11 @@ 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
|
+
options: { skipAnnouncement: false },
|
|
559
|
+
});
|
|
551
560
|
} else {
|
|
552
561
|
focusManager.pressIn();
|
|
553
562
|
focusManager.press();
|
|
@@ -592,6 +601,12 @@ class InteractionManagerClass extends React.Component<Props, State> {
|
|
|
592
601
|
this.resetHudTimeout();
|
|
593
602
|
}
|
|
594
603
|
|
|
604
|
+
if (displayState === DISPLAY_STATES.PLAYER) {
|
|
605
|
+
this.accessibilityManager.addHeading(
|
|
606
|
+
"Video player controls - use left/right to navigate"
|
|
607
|
+
);
|
|
608
|
+
}
|
|
609
|
+
|
|
595
610
|
return true;
|
|
596
611
|
}
|
|
597
612
|
}
|
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.6-alpha.1043196035",
|
|
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.6-alpha.1043196035",
|
|
26
|
+
"@applicaster/zapp-react-native-bridge": "13.0.6-alpha.1043196035",
|
|
27
|
+
"@applicaster/zapp-react-native-redux": "13.0.6-alpha.1043196035",
|
|
28
|
+
"@applicaster/zapp-react-native-ui-components": "13.0.6-alpha.1043196035",
|
|
29
|
+
"@applicaster/zapp-react-native-utils": "13.0.6-alpha.1043196035",
|
|
30
30
|
"abortcontroller-polyfill": "^1.7.5",
|
|
31
31
|
"react-router-dom": "^5.1.2",
|
|
32
32
|
"typeface-montserrat": "^0.0.54",
|